|
1 |
- import{d as oe,B as pe,x as ie,r as T,o as re,c as g,a2 as ne,w as te,e as i,G as v,i as e,h as a,g as S,f as u,F as I,H as B,t as d,T as C,u as p,j as b,k as h}from"./index.a2494fc2.js";import{t as de}from"./unitSelfEvaluation.afcf0277.js";import{_ as z}from"./index.8851030e.js";import{N as ue}from"./index.82fd4159.js";import{i as L,b as O,h as F,f as G,c as V,e as M}from"./uploadAction.0eabe13b.js";const fe={class:"collapse-title"},ce={class:"collapse-title"},me={class:"text-info"},_e={class:"text-info"},Se={class:"text-info"},Ae={class:"el-upload__tip"},ve={key:0},Ie={key:1},be={class:"el-upload__tip"},ye={key:0},xe={key:1},Be={class:"el-upload__tip"},Ve={class:"el-upload__tip"},ge={class:"collapse-title"},we={class:"collapse-title"},$e={class:"text-info"},De={class:"text-info"},Ue={class:"text-info"},he={class:"el-upload__tip"},ke={key:0},Ne={key:1},je={class:"el-upload__tip"},Ce={key:0},Le={key:1},Oe={class:"el-upload__tip"},Fe={class:"el-upload__tip"},Ge=oe({name:"markScore"}),Te=Object.assign(Ge,{setup(Me,{expose:X}){const N=pe.dictStore.uploadUrl,Y=ie(),K=T(["1"]),R=T(!1),P=T(!0),_=T({}),Q=T(),Z=async()=>{R.value=!0;try{const A=await de(Y.query.projectCode);P.value=!0,_.value={...A.data,templateDetails:W(A.data.templateDetails),additionalIndexDetails:A.data.additionalIndexDetails?W(A.data.additionalIndexDetails):void 0},R.value=!1}catch{P.value=!1,R.value=!1}},W=A=>(A.forEach(r=>{r.children.forEach(n=>{n.children.forEach(x=>{var t;x.selfAppraisalScoreInfo1=((t=x==null?void 0:x.selfAppraisalScoreInfo)==null?void 0:t.find($=>$.appraisalType===1))||{appraisalScore:void 0,appraisalBasisAppendix:[],appraisalBasis:""},x.selfAppraisalScoreInfo2={appraisalScore:void 0,appraisalBasisAppendix:[],appraisalBasis:""},x.selfAppraisalScoreInfo3={appraisalScore:void 0,appraisalBasisAppendix:[],appraisalBasis:""},x.selfAppraisalScoreInfo4={appraisalScore:void 0,appraisalBasisAppendix:[],appraisalBasis:""}})})}),A);return X({formRef:Q,form:_}),re(()=>{Z()}),(A,r)=>{const n=g("el-form-item"),x=g("el-input-number"),t=g("el-col"),$=g("el-input"),D=g("el-button"),j=g("el-upload"),U=g("el-row"),E=g("el-collapse-item"),H=g("el-collapse"),ee=g("el-form"),ae=g("el-result"),le=g("el-card"),se=ne("loading");return P.value?te((i(),v(ee,{key:0,ref_key:"formRef",ref:Q,model:_.value,"label-suffix":":","scroll-to-error":"","label-width":"90",class:"scoreForm"},{default:e(()=>[a(H,{modelValue:K.value,"onUpdate:modelValue":r[8]||(r[8]=k=>K.value=k)},{default:e(()=>[a(E,{name:"1",class:"mb-16"},{title:e(()=>r[11]||(r[11]=[S("div",{class:"collapse-title"},"\u8BC4\u4EF7\u6307\u6807",-1)])),default:e(()=>[a(H,{class:"customCollapse"},{default:e(()=>[(i(!0),u(I,null,B(_.value.templateDetails,(k,f)=>(i(),v(E,{key:f},{title:e(()=>[S("div",fe,"\u4E00\u7EA7\u6307\u6807\uFF1A"+d(k.name),1)]),default:e(()=>[a(H,{class:"customCollapse"},{default:e(()=>[(i(!0),u(I,null,B(k.children,(J,c)=>(i(),v(E,{key:c},{title:e(()=>[S("div",ce,"\u4E8C\u7EA7\u6307\u6807\uFF1A"+d(J.name),1)]),default:e(()=>[(i(!0),u(I,null,B(J.children,(s,m)=>(i(),u("div",{key:m,class:"pl-16"},[a(n,{label:"\u4E09\u7EA7\u6307\u6807",style:{"margin-bottom":"0"}},{default:e(()=>[S("span",null,d(s.name)+"\uFF08"+d(s.indexScore)+"\u5206\uFF09",1)]),_:2},1024),a(n,{label:"\u6307\u6807\u7EC6\u5219",style:{"margin-bottom":"0"}},{default:e(()=>[S("span",me,d(s.indexDetail),1)]),_:2},1024),a(n,{label:"\u8BC4\u5206\u7EC6\u5219",style:{"margin-bottom":"0"}},{default:e(()=>[S("span",_e,d(s.gradeDetail),1)]),_:2},1024),a(n,{label:"\u4F50\u8BC1\u6750\u6599",style:{"margin-bottom":"0"}},{default:e(()=>[S("span",Se,d(s.supportMaterial),1)]),_:2},1024),A.$route.name==="unitSelfGiveScore"?(i(),v(U,{key:0},{default:e(()=>[a(t,{span:24},{default:e(()=>[a(n,{label:"\u81EA\u8BC4\u5F97\u5206",prop:`templateDetails[${f}].children[${c}].children[${m}].selfAppraisalScoreInfo1.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(x,{modelValue:s.selfAppraisalScoreInfo1.appraisalScore,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo1.appraisalScore=l,placeholder:"\u8BF7\u586B\u5199",min:0,max:s.indexScore,precision:2,controls:!1,onMousewheel:r[0]||(r[0]=C(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","max"])]),_:2},1032,["prop"])]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a($,{modelValue:s.selfAppraisalScoreInfo1.appraisalBasis,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo1.appraisalBasis=l,placeholder:"\u8BF7\u586B\u5199",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),a(j,{"file-list":_.value.templateDetails[f].children[c].children[m].selfAppraisalScoreInfo1.appraisalBasisAppendix,"onUpdate:fileList":l=>_.value.templateDetails[f].children[c].children[m].selfAppraisalScoreInfo1.appraisalBasisAppendix=l,class:"w-full",action:p(N),limit:5,"on-error":p(L),"on-preview":p(O),"on-success":l=>p(F)(l,_.value.templateDetails[f].children[c].children[m].selfAppraisalScoreInfo1.appraisalBasisAppendix),"before-upload":l=>p(G)(l,{types:p(V)}),accept:p(V).map(l=>`.${l}`).join(",")},{tip:e(()=>[S("div",Ae," \u652F\u6301"+d(p(M))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(D,{type:"primary",plain:"",size:"small"},{default:e(()=>r[12]||(r[12]=[b("\u9009\u62E9\u6587\u4EF6")])),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-error","on-preview","on-success","before-upload","accept"])]),_:2},1024)]),_:2},1024)]),_:2},1024)):(i(),v(U,{key:1,gutter:16,class:"w-full"},{default:e(()=>[a(t,{span:12},{default:e(()=>[a(n,{label:"\u81EA\u8BC4\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[b(d(s.selfAppraisalScoreInfo1.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(t,{span:12},{default:e(()=>[a(n,{label:"\u81EA\u8BC4\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[S("div",null,[S("p",null,d(s.selfAppraisalScoreInfo1.appraisalBasis),1),(i(!0),u(I,null,B(s.selfAppraisalScoreInfo1.appraisalBasisAppendix&&JSON.parse(s.selfAppraisalScoreInfo1.appraisalBasisAppendix),(l,o)=>(i(),u("p",{key:o,class:"mb-4"},[a(z,{"file-name":l.originalFileName,"file-id":l.id},null,8,["file-name","file-id"])]))),128))])]),_:2},1024)]),_:2},1024)]),_:2},1024)),A.$route.name==="reviewGiveScore"||A.$route.name==="checkGiveScore"||A.$route.name==="reformCheckHandle"?(i(),v(U,{key:2},{default:e(()=>{var l;return[(i(!0),u(I,null,B(s.reAppraisalScoreInfo&&((l=Object.values(s.reAppraisalScoreInfo))==null?void 0:l.length)&&Object.values(s.reAppraisalScoreInfo).reduce((o,y)=>o.concat(y,[])),(o,y)=>(i(),v(t,{key:y,span:12},{default:e(()=>[a(t,{span:24},{default:e(()=>[a(n,{label:"\u590D\u8BC4\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[b(d(o.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"\u590D\u8BC4\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[b(d(o.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"\u590D\u8BC4\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[o.appraisalBasis||o.appraisalBasisAppendix?(i(),u("div",ve,[S("p",null,d(o.appraisalBasis),1),(i(!0),u(I,null,B(o.appraisalBasisAppendix&&JSON.parse(o.appraisalBasisAppendix),(w,q)=>(i(),u("p",{key:q,class:"mb-4"},[a(z,{"file-name":w.originalFileName,"file-id":w.id},null,8,["file-name","file-id"])]))),128))])):(i(),u("span",Ie,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]}),_:2},1024)):h("",!0),A.$route.name==="reviewGiveScore"?(i(),v(U,{key:3},{default:e(()=>[a(t,null,{default:e(()=>[a(t,{span:24},{default:e(()=>[a(n,{label:"\u590D\u8BC4\u5F97\u5206",prop:`templateDetails[${f}].children[${c}].children[${m}].selfAppraisalScoreInfo2.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(x,{modelValue:s.selfAppraisalScoreInfo2.appraisalScore,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo2.appraisalScore=l,placeholder:"\u8BF7\u586B\u5199",min:0,max:s.indexScore,precision:2,controls:!1,onMousewheel:r[1]||(r[1]=C(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","max"])]),_:2},1032,["prop"])]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a($,{modelValue:s.selfAppraisalScoreInfo2.appraisalBasis,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo2.appraisalBasis=l,placeholder:"\u8BF7\u586B\u5199",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),a(j,{"file-list":_.value.templateDetails[f].children[c].children[m].selfAppraisalScoreInfo2.appraisalBasisAppendix,"onUpdate:fileList":l=>_.value.templateDetails[f].children[c].children[m].selfAppraisalScoreInfo2.appraisalBasisAppendix=l,class:"w-full",action:p(N),limit:5,"on-error":p(L),"on-preview":p(O),"on-success":l=>p(F)(l,_.value.templateDetails[f].children[c].children[m].selfAppraisalScoreInfo2.appraisalBasisAppendix),"before-upload":l=>p(G)(l,{types:p(V)}),accept:p(V).map(l=>`.${l}`).join(",")},{tip:e(()=>[S("div",be," \u652F\u6301"+d(p(M))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(D,{type:"primary",plain:"",size:"small"},{default:e(()=>r[13]||(r[13]=[b("\u9009\u62E9\u6587\u4EF6")])),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-error","on-preview","on-success","before-upload","accept"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)):h("",!0),A.$route.name==="checkGiveScore"||A.$route.name==="reformCheckHandle"?(i(),v(U,{key:4},{default:e(()=>{var l;return[(i(!0),u(I,null,B(s.verifyScoreInfo&&((l=Object.values(s.verifyScoreInfo))==null?void 0:l.length)&&Object.values(s.verifyScoreInfo).reduce((o,y)=>o.concat(y,[])),(o,y)=>(i(),v(t,{key:y,span:12},{default:e(()=>[a(t,{span:24},{default:e(()=>[a(n,{label:"\u6838\u67E5\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[b(d(o.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"\u6838\u67E5\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[b(d(o.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"\u6838\u67E5\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[o.appraisalBasis||o.appraisalBasisAppendix?(i(),u("div",ye,[S("p",null,d(o.appraisalBasis),1),(i(!0),u(I,null,B(o.appraisalBasisAppendix&&JSON.parse(o.appraisalBasisAppendix),(w,q)=>(i(),u("p",{key:q,class:"mb-4"},[a(z,{"file-name":w.originalFileName,"file-id":w.id},null,8,["file-name","file-id"])]))),128))])):(i(),u("span",xe,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128)),A.$route.name==="checkGiveScore"?(i(),u(I,{key:0},[a(t,{span:24},{default:e(()=>[a(n,{label:"\u6838\u67E5\u5F97\u5206",prop:`templateDetails[${f}].children[${c}].children[${m}].selfAppraisalScoreInfo3.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(x,{modelValue:s.selfAppraisalScoreInfo3.appraisalScore,"onUpdate:modelValue":o=>s.selfAppraisalScoreInfo3.appraisalScore=o,placeholder:"\u8BF7\u586B\u5199",min:0,max:s.indexScore,precision:2,controls:!1,onMousewheel:r[2]||(r[2]=C(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","max"])]),_:2},1032,["prop"])]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a($,{modelValue:s.selfAppraisalScoreInfo3.appraisalBasis,"onUpdate:modelValue":o=>s.selfAppraisalScoreInfo3.appraisalBasis=o,placeholder:"\u8BF7\u586B\u5199",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),a(j,{"file-list":_.value.templateDetails[f].children[c].children[m].selfAppraisalScoreInfo3.appraisalBasisAppendix,"onUpdate:fileList":o=>_.value.templateDetails[f].children[c].children[m].selfAppraisalScoreInfo3.appraisalBasisAppendix=o,class:"w-full",action:p(N),limit:5,"on-error":p(L),"on-preview":p(O),"on-success":o=>p(F)(o,_.value.templateDetails[f].children[c].children[m].selfAppraisalScoreInfo3.appraisalBasisAppendix),"before-upload":o=>p(G)(o,{types:p(V)}),accept:p(V).map(o=>`.${o}`).join(",")},{tip:e(()=>[S("div",Be," \u652F\u6301"+d(p(M))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(D,{type:"primary",plain:"",size:"small"},{default:e(()=>r[14]||(r[14]=[b("\u9009\u62E9\u6587\u4EF6")])),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-error","on-preview","on-success","before-upload","accept"])]),_:2},1024)]),_:2},1024)],64)):h("",!0)]}),_:2},1024)):h("",!0),A.$route.name==="reformCheckHandle"?(i(),u(I,{key:5},[a(t,{span:24},{default:e(()=>[a(n,{label:"\u590D\u6838\u5F97\u5206",prop:`templateDetails[${f}].children[${c}].children[${m}].selfAppraisalScoreInfo4.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(x,{modelValue:s.selfAppraisalScoreInfo4.appraisalScore,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo4.appraisalScore=l,placeholder:"\u8BF7\u586B\u5199",min:0,max:s.indexScore,precision:2,controls:!1,onMousewheel:r[3]||(r[3]=C(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","max"])]),_:2},1032,["prop"])]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a($,{modelValue:s.selfAppraisalScoreInfo4.appraisalBasis,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo4.appraisalBasis=l,placeholder:"\u8BF7\u586B\u5199",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),a(j,{"file-list":_.value.templateDetails[f].children[c].children[m].selfAppraisalScoreInfo4.appraisalBasisAppendix,"onUpdate:fileList":l=>_.value.templateDetails[f].children[c].children[m].selfAppraisalScoreInfo4.appraisalBasisAppendix=l,class:"w-full",action:p(N),limit:5,"on-error":p(L),"on-preview":p(O),"on-success":l=>p(F)(l,_.value.templateDetails[f].children[c].children[m].selfAppraisalScoreInfo4.appraisalBasisAppendix),"before-upload":l=>p(G)(l,{types:p(V)}),accept:p(V).map(l=>`.${l}`).join(",")},{tip:e(()=>[S("div",Ve," \u652F\u6301"+d(p(M))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(D,{type:"primary",plain:"",size:"small"},{default:e(()=>r[15]||(r[15]=[b("\u9009\u62E9\u6587\u4EF6")])),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-error","on-preview","on-success","before-upload","accept"])]),_:2},1024)]),_:2},1024)],64)):h("",!0)]))),128))]),_:2},1024))),128))]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),a(E,{name:"4",class:"mb-16"},{title:e(()=>r[16]||(r[16]=[S("div",{class:"collapse-title"},"\u9644\u52A0\u9636\u6BB5",-1)])),default:e(()=>[_.value.additionalIndexDetails?(i(),v(H,{key:0,class:"customCollapse"},{default:e(()=>[(i(!0),u(I,null,B(_.value.additionalIndexDetails,(k,f)=>(i(),v(E,{key:f},{title:e(()=>[S("div",ge,"\u4E00\u7EA7\u6307\u6807\uFF1A"+d(k.name),1)]),default:e(()=>[a(H,{class:"customCollapse"},{default:e(()=>[(i(!0),u(I,null,B(k.children,(J,c)=>(i(),v(E,{key:c},{title:e(()=>[S("div",we,"\u4E8C\u7EA7\u6307\u6807\uFF1A"+d(J.name),1)]),default:e(()=>[(i(!0),u(I,null,B(J.children,(s,m)=>(i(),u("div",{key:m,class:"pl-16"},[a(n,{label:"\u4E09\u7EA7\u6307\u6807",style:{"margin-bottom":"0"}},{default:e(()=>[S("span",null,d(s.name)+"\uFF08"+d(s.indexScore)+"\u5206\uFF09",1)]),_:2},1024),a(n,{label:"\u6307\u6807\u7EC6\u5219",style:{"margin-bottom":"0"}},{default:e(()=>[S("span",$e,d(s.indexDetail),1)]),_:2},1024),a(n,{label:"\u8BC4\u5206\u7EC6\u5219",style:{"margin-bottom":"0"}},{default:e(()=>[S("span",De,d(s.gradeDetail),1)]),_:2},1024),a(n,{label:"\u4F50\u8BC1\u6750\u6599",style:{"margin-bottom":"0"}},{default:e(()=>[S("span",Ue,d(s.supportMaterial),1)]),_:2},1024),A.$route.name==="unitSelfGiveScore"?(i(),v(U,{key:0},{default:e(()=>[a(t,{span:24},{default:e(()=>[a(n,{label:"\u81EA\u8BC4\u5F97\u5206",prop:`additionalIndexDetails[${f}].children[${c}].children[${m}].selfAppraisalScoreInfo1.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(x,{modelValue:s.selfAppraisalScoreInfo1.appraisalScore,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo1.appraisalScore=l,placeholder:"\u8BF7\u586B\u5199",min:s.indexScore>0?0:s.indexScore,max:s.indexScore>=0?s.indexScore:0,precision:2,controls:!1,onMousewheel:r[4]||(r[4]=C(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","min","max"])]),_:2},1032,["prop"])]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a($,{modelValue:s.selfAppraisalScoreInfo1.appraisalBasis,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo1.appraisalBasis=l,placeholder:"\u8BF7\u586B\u5199",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),a(j,{"file-list":_.value.additionalIndexDetails[f].children[c].children[m].selfAppraisalScoreInfo1.appraisalBasisAppendix,"onUpdate:fileList":l=>_.value.additionalIndexDetails[f].children[c].children[m].selfAppraisalScoreInfo1.appraisalBasisAppendix=l,class:"w-full",action:p(N),limit:5,"on-error":p(L),"on-preview":p(O),"on-success":l=>p(F)(l,_.value.additionalIndexDetails[f].children[c].children[m].selfAppraisalScoreInfo1.appraisalBasisAppendix),"before-upload":l=>p(G)(l,{types:p(V)}),accept:p(V).map(l=>`.${l}`).join(",")},{tip:e(()=>[S("div",he," \u652F\u6301"+d(p(M))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(D,{type:"primary",plain:"",size:"small"},{default:e(()=>r[17]||(r[17]=[b("\u9009\u62E9\u6587\u4EF6")])),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-error","on-preview","on-success","before-upload","accept"])]),_:2},1024)]),_:2},1024)]),_:2},1024)):(i(),v(U,{key:1,gutter:16,class:"w-full"},{default:e(()=>[a(t,{span:12},{default:e(()=>[a(n,{label:"\u81EA\u8BC4\u5F97\u5206"},{default:e(()=>[b(d(s.selfAppraisalScoreInfo1.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(t,{span:12},{default:e(()=>[a(n,{label:"\u81EA\u8BC4\u4F9D\u636E"},{default:e(()=>{var l;return[S("div",null,[S("p",null,d(s.selfAppraisalScoreInfo1.appraisalBasis),1),(i(!0),u(I,null,B(((l=s.selfAppraisalScoreInfo1)==null?void 0:l.appraisalBasisAppendix)&&JSON.parse(s.selfAppraisalScoreInfo1.appraisalBasisAppendix),(o,y)=>(i(),u("p",{key:y,class:"mb-4"},[a(z,{"file-name":o.originalFileName,"file-id":o.id},null,8,["file-name","file-id"])]))),128))])]}),_:2},1024)]),_:2},1024)]),_:2},1024)),A.$route.name==="reviewGiveScore"||A.$route.name==="checkGiveScore"||A.$route.name==="reformCheckHandle"?(i(),v(U,{key:2},{default:e(()=>{var l;return[(i(!0),u(I,null,B(s.reAppraisalScoreInfo&&((l=Object.values(s.reAppraisalScoreInfo))==null?void 0:l.length)&&Object.values(s.reAppraisalScoreInfo).reduce((o,y)=>o.concat(y,[])),(o,y)=>(i(),v(t,{key:y,span:12},{default:e(()=>[a(t,{span:24},{default:e(()=>[a(n,{label:"\u590D\u8BC4\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[b(d(o.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"\u590D\u8BC4\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[b(d(o.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"\u590D\u8BC4\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[o.appraisalBasis||o.appraisalBasisAppendix?(i(),u("div",ke,[S("p",null,d(o.appraisalBasis),1),(i(!0),u(I,null,B((o==null?void 0:o.appraisalBasisAppendix)&&JSON.parse(o.appraisalBasisAppendix),(w,q)=>(i(),u("p",{key:q,class:"mb-4"},[a(z,{"file-name":w.originalFileName,"file-id":w.id},null,8,["file-name","file-id"])]))),128))])):(i(),u("span",Ne,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]}),_:2},1024)):h("",!0),A.$route.name==="reviewGiveScore"?(i(),v(U,{key:3},{default:e(()=>[a(t,{span:24},{default:e(()=>[a(n,{label:"\u590D\u8BC4\u5F97\u5206",prop:`additionalIndexDetails[${f}].children[${c}].children[${m}].selfAppraisalScoreInfo2.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(x,{modelValue:s.selfAppraisalScoreInfo2.appraisalScore,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo2.appraisalScore=l,placeholder:"\u8BF7\u586B\u5199",min:s.indexScore>0?0:s.indexScore,max:s.indexScore>=0?s.indexScore:0,precision:2,controls:!1,onMousewheel:r[5]||(r[5]=C(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","min","max"])]),_:2},1032,["prop"])]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a($,{modelValue:s.selfAppraisalScoreInfo2.appraisalBasis,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo2.appraisalBasis=l,placeholder:"\u8BF7\u586B\u5199",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),a(j,{"file-list":_.value.additionalIndexDetails[f].children[c].children[m].selfAppraisalScoreInfo2.appraisalBasisAppendix,"onUpdate:fileList":l=>_.value.additionalIndexDetails[f].children[c].children[m].selfAppraisalScoreInfo2.appraisalBasisAppendix=l,class:"w-full",action:p(N),limit:5,"on-error":p(L),"on-preview":p(O),"on-success":l=>p(F)(l,_.value.additionalIndexDetails[f].children[c].children[m].selfAppraisalScoreInfo2.appraisalBasisAppendix),"before-upload":l=>p(G)(l,{types:p(V)}),accept:p(V).map(l=>`.${l}`).join(",")},{tip:e(()=>[S("div",je," \u652F\u6301"+d(p(M))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(D,{type:"primary",plain:"",size:"small"},{default:e(()=>r[18]||(r[18]=[b("\u9009\u62E9\u6587\u4EF6")])),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-error","on-preview","on-success","before-upload","accept"])]),_:2},1024)]),_:2},1024)]),_:2},1024)):h("",!0),A.$route.name==="checkGiveScore"||A.$route.name==="reformCheckHandle"?(i(),v(U,{key:4},{default:e(()=>{var l;return[(i(!0),u(I,null,B(s.verifyScoreInfo&&((l=Object.values(s.verifyScoreInfo))==null?void 0:l.length)&&Object.values(s.verifyScoreInfo).reduce((o,y)=>o.concat(y,[])),(o,y)=>(i(),v(t,{key:y,span:12},{default:e(()=>[a(t,{span:24},{default:e(()=>[a(n,{label:"\u6838\u67E5\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[b(d(o.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"\u6838\u67E5\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[b(d(o.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"\u6838\u67E5\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[o.appraisalBasis||o.appraisalBasisAppendix?(i(),u("div",Ce,[S("p",null,d(o.appraisalBasis),1),(i(!0),u(I,null,B(o.appraisalBasisAppendix&&JSON.parse(o.appraisalBasisAppendix),(w,q)=>(i(),u("p",{key:q,class:"mb-4"},[a(z,{"file-name":w.originalFileName,"file-id":w.id},null,8,["file-name","file-id"])]))),128))])):(i(),u("span",Le,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128)),A.$route.name==="checkGiveScore"?(i(),u(I,{key:0},[a(t,{span:24},{default:e(()=>[a(n,{label:"\u6838\u67E5\u5F97\u5206",prop:`additionalIndexDetails[${f}].children[${c}].children[${m}].selfAppraisalScoreInfo3.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(x,{modelValue:s.selfAppraisalScoreInfo3.appraisalScore,"onUpdate:modelValue":o=>s.selfAppraisalScoreInfo3.appraisalScore=o,placeholder:"\u8BF7\u586B\u5199",min:s.indexScore>0?0:s.indexScore,max:s.indexScore>=0?s.indexScore:0,precision:2,controls:!1,onMousewheel:r[6]||(r[6]=C(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","min","max"])]),_:2},1032,["prop"])]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a($,{modelValue:s.selfAppraisalScoreInfo3.appraisalBasis,"onUpdate:modelValue":o=>s.selfAppraisalScoreInfo3.appraisalBasis=o,placeholder:"\u8BF7\u586B\u5199",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),a(j,{"file-list":_.value.additionalIndexDetails[f].children[c].children[m].selfAppraisalScoreInfo3.appraisalBasisAppendix,"onUpdate:fileList":o=>_.value.additionalIndexDetails[f].children[c].children[m].selfAppraisalScoreInfo3.appraisalBasisAppendix=o,class:"w-full",action:p(N),limit:5,"on-error":p(L),"on-preview":p(O),"on-success":o=>p(F)(o,_.value.additionalIndexDetails[f].children[c].children[m].selfAppraisalScoreInfo3.appraisalBasisAppendix),"before-upload":o=>p(G)(o,{types:p(V)}),accept:p(V).map(o=>`.${o}`).join(",")},{tip:e(()=>[S("div",Oe," \u652F\u6301"+d(p(M))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(D,{type:"primary",plain:"",size:"small"},{default:e(()=>r[19]||(r[19]=[b("\u9009\u62E9\u6587\u4EF6")])),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-error","on-preview","on-success","before-upload","accept"])]),_:2},1024)]),_:2},1024)],64)):h("",!0)]}),_:2},1024)):h("",!0),A.$route.name==="reformCheckHandle"?(i(),u(I,{key:5},[a(t,{span:24},{default:e(()=>[a(n,{label:"\u590D\u6838\u5F97\u5206",prop:`additionalIndexDetails[${f}].children[${c}].children[${m}].selfAppraisalScoreInfo4.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(x,{modelValue:s.selfAppraisalScoreInfo4.appraisalScore,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo4.appraisalScore=l,placeholder:"\u8BF7\u586B\u5199",min:s.indexScore>0?0:s.indexScore,max:s.indexScore>=0?s.indexScore:0,precision:2,controls:!1,onMousewheel:r[7]||(r[7]=C(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","min","max"])]),_:2},1032,["prop"])]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a($,{modelValue:s.selfAppraisalScoreInfo4.appraisalBasis,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo4.appraisalBasis=l,placeholder:"\u8BF7\u586B\u5199",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),a(j,{"file-list":_.value.additionalIndexDetails[f].children[c].children[m].selfAppraisalScoreInfo4.appraisalBasisAppendix,"onUpdate:fileList":l=>_.value.additionalIndexDetails[f].children[c].children[m].selfAppraisalScoreInfo4.appraisalBasisAppendix=l,class:"w-full",action:p(N),limit:5,"on-error":p(L),"on-preview":p(O),"on-success":l=>p(F)(l,_.value.additionalIndexDetails[f].children[c].children[m].selfAppraisalScoreInfo4.appraisalBasisAppendix),"before-upload":l=>p(G)(l,{types:p(V)}),accept:p(V).map(l=>`.${l}`).join(",")},{tip:e(()=>[S("div",Fe," \u652F\u6301"+d(p(M))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(D,{type:"primary",plain:"",size:"small"},{default:e(()=>r[20]||(r[20]=[b("\u9009\u62E9\u6587\u4EF6")])),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-error","on-preview","on-success","before-upload","accept"])]),_:2},1024)]),_:2},1024)],64)):h("",!0)]))),128))]),_:2},1024))),128))]),_:2},1024)]),_:2},1024))),128))]),_:1})):(i(),v(ue,{key:1}))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["model"])),[[se,R.value]]):(i(),v(le,{key:1},{default:e(()=>[a(ae,{icon:"error",title:"\u8BE5\u9879\u76EE\u5339\u914D\u4E0D\u5230\u6307\u6807\u6A21\u677F\uFF0C\u8BF7\u8FD4\u56DE\u4E0A\u4E00\u9875\u6216\u5237\u65B0\u91CD\u8BD5"},{extra:e(()=>[a(D,{onClick:r[9]||(r[9]=k=>A.$router.go(-1))},{default:e(()=>r[21]||(r[21]=[b("\u8FD4\u56DE\u5217\u8868")])),_:1}),a(D,{type:"primary",onClick:r[10]||(r[10]=k=>A.$router.go(0))},{default:e(()=>r[22]||(r[22]=[b("\u5237\u65B0")])),_:1})]),_:1})]),_:1}))}}});export{Te as default};
|