|
- import{d as oe,D as pe,z as ie,r as T,o as re,c as g,a4 as ne,w as te,e as i,I as v,i as e,h as a,f as d,F as I,J as B,g as _,t,V as C,u as p,j as b,k as U}from"./index.50a8620e.js";import{t as de}from"./unitSelfEvaluation.b723b25e.js";import{_ as E}from"./index.75f93dd3.js";import{N as ue}from"./index.481762c8.js";import{i as L,b as O,h as F,f as M,c as V,e as G}from"./uploadAction.c1263c16.js";const ce=_("div",{class:"collapse-title"},"\u8BC4\u4EF7\u6307\u6807",-1),fe={class:"collapse-title"},me={class:"collapse-title"},_e={class:"text-info"},Se={class:"text-info"},Ae={class:"text-info"},ve={class:"el-upload__tip"},Ie={key:0},be={key:1},ye={class:"el-upload__tip"},xe={key:0},Be={key:1},Ve={class:"el-upload__tip"},ge={class:"el-upload__tip"},we=_("div",{class:"collapse-title"},"\u9644\u52A0\u9636\u6BB5",-1),he={class:"collapse-title"},$e={class:"collapse-title"},De={class:"text-info"},Ue={class:"text-info"},ke={class:"text-info"},Ne={class:"el-upload__tip"},je={key:0},Ce={key:1},Le={class:"el-upload__tip"},Oe={key:0},Fe={key:1},Me={class:"el-upload__tip"},Ge={class:"el-upload__tip"},qe=oe({name:"markScore"}),Pe=Object.assign(qe,{setup(ze,{expose:X}){const N=pe.dictStore.uploadUrl,Y=ie(),K=T(["1"]),R=T(!1),P=T(!0),m=T({}),Q=T(),Z=async()=>{R.value=!0;try{const S=await de(Y.query.projectCode);P.value=!0,m.value={...S.data,templateDetails:W(S.data.templateDetails),additionalIndexDetails:S.data.additionalIndexDetails?W(S.data.additionalIndexDetails):void 0},R.value=!1}catch{P.value=!1,R.value=!1}},W=S=>(S.forEach(A=>{A.children.forEach(r=>{r.children.forEach(x=>{var n;x.selfAppraisalScoreInfo1=((n=x==null?void 0:x.selfAppraisalScoreInfo)==null?void 0:n.find(h=>h.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:""}})})}),S);return X({formRef:Q,form:m}),re(()=>{Z()}),(S,A)=>{const r=g("el-form-item"),x=g("el-input-number"),n=g("el-col"),h=g("el-input"),$=g("el-button"),j=g("el-upload"),D=g("el-row"),z=g("el-collapse-item"),J=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:m.value,"label-suffix":":","scroll-to-error":"","label-width":"90",class:"scoreForm"},{default:e(()=>[a(J,{modelValue:K.value,"onUpdate:modelValue":A[8]||(A[8]=k=>K.value=k)},{default:e(()=>[a(z,{name:"1",class:"mb-16"},{title:e(()=>[ce]),default:e(()=>[a(J,{class:"customCollapse"},{default:e(()=>[(i(!0),d(I,null,B(m.value.templateDetails,(k,u)=>(i(),v(z,{key:u},{title:e(()=>[_("div",fe,"\u4E00\u7EA7\u6307\u6807\uFF1A"+t(k.name),1)]),default:e(()=>[a(J,{class:"customCollapse"},{default:e(()=>[(i(!0),d(I,null,B(k.children,(H,c)=>(i(),v(z,{key:c},{title:e(()=>[_("div",me,"\u4E8C\u7EA7\u6307\u6807\uFF1A"+t(H.name),1)]),default:e(()=>[(i(!0),d(I,null,B(H.children,(s,f)=>(i(),d("div",{key:f,class:"pl-16"},[a(r,{label:"\u4E09\u7EA7\u6307\u6807",style:{"margin-bottom":"0"}},{default:e(()=>[_("span",null,t(s.name)+"\uFF08"+t(s.indexScore)+"\u5206\uFF09",1)]),_:2},1024),a(r,{label:"\u6307\u6807\u7EC6\u5219",style:{"margin-bottom":"0"}},{default:e(()=>[_("span",_e,t(s.indexDetail),1)]),_:2},1024),a(r,{label:"\u8BC4\u5206\u7EC6\u5219",style:{"margin-bottom":"0"}},{default:e(()=>[_("span",Se,t(s.gradeDetail),1)]),_:2},1024),a(r,{label:"\u4F50\u8BC1\u6750\u6599",style:{"margin-bottom":"0"}},{default:e(()=>[_("span",Ae,t(s.supportMaterial),1)]),_:2},1024),S.$route.name==="unitSelfGiveScore"?(i(),v(D,{key:0},{default:e(()=>[a(n,{span:24},{default:e(()=>[a(r,{label:"\u81EA\u8BC4\u5F97\u5206",prop:`templateDetails[${u}].children[${c}].children[${f}].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:A[0]||(A[0]=C(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","max"])]),_:2},1032,["prop"])]),_:2},1024),a(n,{span:24},{default:e(()=>[a(r,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a(h,{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":m.value.templateDetails[u].children[c].children[f].selfAppraisalScoreInfo1.appraisalBasisAppendix,"onUpdate:fileList":l=>m.value.templateDetails[u].children[c].children[f].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,m.value.templateDetails[u].children[c].children[f].selfAppraisalScoreInfo1.appraisalBasisAppendix),"before-upload":l=>p(M)(l,{types:p(V)}),accept:p(V).map(l=>`.${l}`).join(",")},{tip:e(()=>[_("div",ve," \u652F\u6301"+t(p(G))+"\u6587\u4EF6 ",1)]),default:e(()=>[a($,{type:"primary",plain:"",size:"small"},{default:e(()=>[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(D,{key:1,gutter:16,class:"w-full"},{default:e(()=>[a(n,{span:12},{default:e(()=>[a(r,{label:"\u81EA\u8BC4\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[b(t(s.selfAppraisalScoreInfo1.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(n,{span:12},{default:e(()=>[a(r,{label:"\u81EA\u8BC4\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[_("div",null,[_("p",null,t(s.selfAppraisalScoreInfo1.appraisalBasis),1),(i(!0),d(I,null,B(s.selfAppraisalScoreInfo1.appraisalBasisAppendix&&JSON.parse(s.selfAppraisalScoreInfo1.appraisalBasisAppendix),(l,o)=>(i(),d("p",{key:o,class:"mb-4"},[a(E,{"file-name":l.originalFileName,"file-id":l.id},null,8,["file-name","file-id"])]))),128))])]),_:2},1024)]),_:2},1024)]),_:2},1024)),S.$route.name==="reviewGiveScore"||S.$route.name==="checkGiveScore"||S.$route.name==="reformCheckHandle"?(i(),v(D,{key:2},{default:e(()=>{var l;return[(i(!0),d(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(n,{key:y,span:12},{default:e(()=>[a(n,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[b(t(o.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(n,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[b(t(o.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(n,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[o.appraisalBasis||o.appraisalBasisAppendix?(i(),d("div",Ie,[_("p",null,t(o.appraisalBasis),1),(i(!0),d(I,null,B(o.appraisalBasisAppendix&&JSON.parse(o.appraisalBasisAppendix),(w,q)=>(i(),d("p",{key:q,class:"mb-4"},[a(E,{"file-name":w.originalFileName,"file-id":w.id},null,8,["file-name","file-id"])]))),128))])):(i(),d("span",be,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]}),_:2},1024)):U("",!0),S.$route.name==="reviewGiveScore"?(i(),v(D,{key:3},{default:e(()=>[a(n,null,{default:e(()=>[a(n,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u5F97\u5206",prop:`templateDetails[${u}].children[${c}].children[${f}].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:A[1]||(A[1]=C(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","max"])]),_:2},1032,["prop"])]),_:2},1024),a(n,{span:24},{default:e(()=>[a(r,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a(h,{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":m.value.templateDetails[u].children[c].children[f].selfAppraisalScoreInfo2.appraisalBasisAppendix,"onUpdate:fileList":l=>m.value.templateDetails[u].children[c].children[f].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,m.value.templateDetails[u].children[c].children[f].selfAppraisalScoreInfo2.appraisalBasisAppendix),"before-upload":l=>p(M)(l,{types:p(V)}),accept:p(V).map(l=>`.${l}`).join(",")},{tip:e(()=>[_("div",ye," \u652F\u6301"+t(p(G))+"\u6587\u4EF6 ",1)]),default:e(()=>[a($,{type:"primary",plain:"",size:"small"},{default:e(()=>[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)):U("",!0),S.$route.name==="checkGiveScore"||S.$route.name==="reformCheckHandle"?(i(),v(D,{key:4},{default:e(()=>{var l;return[(i(!0),d(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(n,{key:y,span:12},{default:e(()=>[a(n,{span:24},{default:e(()=>[a(r,{label:"\u6838\u67E5\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[b(t(o.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(n,{span:24},{default:e(()=>[a(r,{label:"\u6838\u67E5\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[b(t(o.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(n,{span:24},{default:e(()=>[a(r,{label:"\u6838\u67E5\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[o.appraisalBasis||o.appraisalBasisAppendix?(i(),d("div",xe,[_("p",null,t(o.appraisalBasis),1),(i(!0),d(I,null,B(o.appraisalBasisAppendix&&JSON.parse(o.appraisalBasisAppendix),(w,q)=>(i(),d("p",{key:q,class:"mb-4"},[a(E,{"file-name":w.originalFileName,"file-id":w.id},null,8,["file-name","file-id"])]))),128))])):(i(),d("span",Be,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128)),S.$route.name==="checkGiveScore"?(i(),d(I,{key:0},[a(n,{span:24},{default:e(()=>[a(r,{label:"\u6838\u67E5\u5F97\u5206",prop:`templateDetails[${u}].children[${c}].children[${f}].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:A[2]||(A[2]=C(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","max"])]),_:2},1032,["prop"])]),_:2},1024),a(n,{span:24},{default:e(()=>[a(r,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a(h,{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":m.value.templateDetails[u].children[c].children[f].selfAppraisalScoreInfo3.appraisalBasisAppendix,"onUpdate:fileList":o=>m.value.templateDetails[u].children[c].children[f].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,m.value.templateDetails[u].children[c].children[f].selfAppraisalScoreInfo3.appraisalBasisAppendix),"before-upload":o=>p(M)(o,{types:p(V)}),accept:p(V).map(o=>`.${o}`).join(",")},{tip:e(()=>[_("div",Ve," \u652F\u6301"+t(p(G))+"\u6587\u4EF6 ",1)]),default:e(()=>[a($,{type:"primary",plain:"",size:"small"},{default:e(()=>[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)):U("",!0)]}),_:2},1024)):U("",!0),S.$route.name==="reformCheckHandle"?(i(),d(I,{key:5},[a(n,{span:24},{default:e(()=>[a(r,{label:"\u590D\u6838\u5F97\u5206",prop:`templateDetails[${u}].children[${c}].children[${f}].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:A[3]||(A[3]=C(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","max"])]),_:2},1032,["prop"])]),_:2},1024),a(n,{span:24},{default:e(()=>[a(r,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a(h,{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":m.value.templateDetails[u].children[c].children[f].selfAppraisalScoreInfo4.appraisalBasisAppendix,"onUpdate:fileList":l=>m.value.templateDetails[u].children[c].children[f].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,m.value.templateDetails[u].children[c].children[f].selfAppraisalScoreInfo4.appraisalBasisAppendix),"before-upload":l=>p(M)(l,{types:p(V)}),accept:p(V).map(l=>`.${l}`).join(",")},{tip:e(()=>[_("div",ge," \u652F\u6301"+t(p(G))+"\u6587\u4EF6 ",1)]),default:e(()=>[a($,{type:"primary",plain:"",size:"small"},{default:e(()=>[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)):U("",!0)]))),128))]),_:2},1024))),128))]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),a(z,{name:"4",class:"mb-16"},{title:e(()=>[we]),default:e(()=>[m.value.additionalIndexDetails?(i(),v(J,{key:0,class:"customCollapse"},{default:e(()=>[(i(!0),d(I,null,B(m.value.additionalIndexDetails,(k,u)=>(i(),v(z,{key:u},{title:e(()=>[_("div",he,"\u4E00\u7EA7\u6307\u6807\uFF1A"+t(k.name),1)]),default:e(()=>[a(J,{class:"customCollapse"},{default:e(()=>[(i(!0),d(I,null,B(k.children,(H,c)=>(i(),v(z,{key:c},{title:e(()=>[_("div",$e,"\u4E8C\u7EA7\u6307\u6807\uFF1A"+t(H.name),1)]),default:e(()=>[(i(!0),d(I,null,B(H.children,(s,f)=>(i(),d("div",{key:f,class:"pl-16"},[a(r,{label:"\u4E09\u7EA7\u6307\u6807",style:{"margin-bottom":"0"}},{default:e(()=>[_("span",null,t(s.name)+"\uFF08"+t(s.indexScore)+"\u5206\uFF09",1)]),_:2},1024),a(r,{label:"\u6307\u6807\u7EC6\u5219",style:{"margin-bottom":"0"}},{default:e(()=>[_("span",De,t(s.indexDetail),1)]),_:2},1024),a(r,{label:"\u8BC4\u5206\u7EC6\u5219",style:{"margin-bottom":"0"}},{default:e(()=>[_("span",Ue,t(s.gradeDetail),1)]),_:2},1024),a(r,{label:"\u4F50\u8BC1\u6750\u6599",style:{"margin-bottom":"0"}},{default:e(()=>[_("span",ke,t(s.supportMaterial),1)]),_:2},1024),S.$route.name==="unitSelfGiveScore"?(i(),v(D,{key:0},{default:e(()=>[a(n,{span:24},{default:e(()=>[a(r,{label:"\u81EA\u8BC4\u5F97\u5206",prop:`additionalIndexDetails[${u}].children[${c}].children[${f}].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:A[4]||(A[4]=C(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","min","max"])]),_:2},1032,["prop"])]),_:2},1024),a(n,{span:24},{default:e(()=>[a(r,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a(h,{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":m.value.additionalIndexDetails[u].children[c].children[f].selfAppraisalScoreInfo1.appraisalBasisAppendix,"onUpdate:fileList":l=>m.value.additionalIndexDetails[u].children[c].children[f].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,m.value.additionalIndexDetails[u].children[c].children[f].selfAppraisalScoreInfo1.appraisalBasisAppendix),"before-upload":l=>p(M)(l,{types:p(V)}),accept:p(V).map(l=>`.${l}`).join(",")},{tip:e(()=>[_("div",Ne," \u652F\u6301"+t(p(G))+"\u6587\u4EF6 ",1)]),default:e(()=>[a($,{type:"primary",plain:"",size:"small"},{default:e(()=>[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(D,{key:1,gutter:16,class:"w-full"},{default:e(()=>[a(n,{span:12},{default:e(()=>[a(r,{label:"\u81EA\u8BC4\u5F97\u5206"},{default:e(()=>[b(t(s.selfAppraisalScoreInfo1.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(n,{span:12},{default:e(()=>[a(r,{label:"\u81EA\u8BC4\u4F9D\u636E"},{default:e(()=>{var l;return[_("div",null,[_("p",null,t(s.selfAppraisalScoreInfo1.appraisalBasis),1),(i(!0),d(I,null,B(((l=s.selfAppraisalScoreInfo1)==null?void 0:l.appraisalBasisAppendix)&&JSON.parse(s.selfAppraisalScoreInfo1.appraisalBasisAppendix),(o,y)=>(i(),d("p",{key:y,class:"mb-4"},[a(E,{"file-name":o.originalFileName,"file-id":o.id},null,8,["file-name","file-id"])]))),128))])]}),_:2},1024)]),_:2},1024)]),_:2},1024)),S.$route.name==="reviewGiveScore"||S.$route.name==="checkGiveScore"||S.$route.name==="reformCheckHandle"?(i(),v(D,{key:2},{default:e(()=>{var l;return[(i(!0),d(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(n,{key:y,span:12},{default:e(()=>[a(n,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[b(t(o.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(n,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[b(t(o.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(n,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[o.appraisalBasis||o.appraisalBasisAppendix?(i(),d("div",je,[_("p",null,t(o.appraisalBasis),1),(i(!0),d(I,null,B((o==null?void 0:o.appraisalBasisAppendix)&&JSON.parse(o.appraisalBasisAppendix),(w,q)=>(i(),d("p",{key:q,class:"mb-4"},[a(E,{"file-name":w.originalFileName,"file-id":w.id},null,8,["file-name","file-id"])]))),128))])):(i(),d("span",Ce,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]}),_:2},1024)):U("",!0),S.$route.name==="reviewGiveScore"?(i(),v(D,{key:3},{default:e(()=>[a(n,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u5F97\u5206",prop:`additionalIndexDetails[${u}].children[${c}].children[${f}].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:A[5]||(A[5]=C(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","min","max"])]),_:2},1032,["prop"])]),_:2},1024),a(n,{span:24},{default:e(()=>[a(r,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a(h,{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":m.value.additionalIndexDetails[u].children[c].children[f].selfAppraisalScoreInfo2.appraisalBasisAppendix,"onUpdate:fileList":l=>m.value.additionalIndexDetails[u].children[c].children[f].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,m.value.additionalIndexDetails[u].children[c].children[f].selfAppraisalScoreInfo2.appraisalBasisAppendix),"before-upload":l=>p(M)(l,{types:p(V)}),accept:p(V).map(l=>`.${l}`).join(",")},{tip:e(()=>[_("div",Le," \u652F\u6301"+t(p(G))+"\u6587\u4EF6 ",1)]),default:e(()=>[a($,{type:"primary",plain:"",size:"small"},{default:e(()=>[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)):U("",!0),S.$route.name==="checkGiveScore"||S.$route.name==="reformCheckHandle"?(i(),v(D,{key:4},{default:e(()=>{var l;return[(i(!0),d(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(n,{key:y,span:12},{default:e(()=>[a(n,{span:24},{default:e(()=>[a(r,{label:"\u6838\u67E5\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[b(t(o.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(n,{span:24},{default:e(()=>[a(r,{label:"\u6838\u67E5\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[b(t(o.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(n,{span:24},{default:e(()=>[a(r,{label:"\u6838\u67E5\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[o.appraisalBasis||o.appraisalBasisAppendix?(i(),d("div",Oe,[_("p",null,t(o.appraisalBasis),1),(i(!0),d(I,null,B(o.appraisalBasisAppendix&&JSON.parse(o.appraisalBasisAppendix),(w,q)=>(i(),d("p",{key:q,class:"mb-4"},[a(E,{"file-name":w.originalFileName,"file-id":w.id},null,8,["file-name","file-id"])]))),128))])):(i(),d("span",Fe,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128)),S.$route.name==="checkGiveScore"?(i(),d(I,{key:0},[a(n,{span:24},{default:e(()=>[a(r,{label:"\u6838\u67E5\u5F97\u5206",prop:`additionalIndexDetails[${u}].children[${c}].children[${f}].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:A[6]||(A[6]=C(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","min","max"])]),_:2},1032,["prop"])]),_:2},1024),a(n,{span:24},{default:e(()=>[a(r,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a(h,{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":m.value.additionalIndexDetails[u].children[c].children[f].selfAppraisalScoreInfo3.appraisalBasisAppendix,"onUpdate:fileList":o=>m.value.additionalIndexDetails[u].children[c].children[f].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,m.value.additionalIndexDetails[u].children[c].children[f].selfAppraisalScoreInfo3.appraisalBasisAppendix),"before-upload":o=>p(M)(o,{types:p(V)}),accept:p(V).map(o=>`.${o}`).join(",")},{tip:e(()=>[_("div",Me," \u652F\u6301"+t(p(G))+"\u6587\u4EF6 ",1)]),default:e(()=>[a($,{type:"primary",plain:"",size:"small"},{default:e(()=>[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)):U("",!0)]}),_:2},1024)):U("",!0),S.$route.name==="reformCheckHandle"?(i(),d(I,{key:5},[a(n,{span:24},{default:e(()=>[a(r,{label:"\u590D\u6838\u5F97\u5206",prop:`additionalIndexDetails[${u}].children[${c}].children[${f}].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:A[7]||(A[7]=C(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","min","max"])]),_:2},1032,["prop"])]),_:2},1024),a(n,{span:24},{default:e(()=>[a(r,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a(h,{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":m.value.additionalIndexDetails[u].children[c].children[f].selfAppraisalScoreInfo4.appraisalBasisAppendix,"onUpdate:fileList":l=>m.value.additionalIndexDetails[u].children[c].children[f].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,m.value.additionalIndexDetails[u].children[c].children[f].selfAppraisalScoreInfo4.appraisalBasisAppendix),"before-upload":l=>p(M)(l,{types:p(V)}),accept:p(V).map(l=>`.${l}`).join(",")},{tip:e(()=>[_("div",Ge," \u652F\u6301"+t(p(G))+"\u6587\u4EF6 ",1)]),default:e(()=>[a($,{type:"primary",plain:"",size:"small"},{default:e(()=>[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)):U("",!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($,{onClick:A[9]||(A[9]=k=>S.$router.go(-1))},{default:e(()=>[b("\u8FD4\u56DE\u5217\u8868")]),_:1}),a($,{type:"primary",onClick:A[10]||(A[10]=k=>S.$router.go(0))},{default:e(()=>[b("\u5237\u65B0")]),_:1})]),_:1})]),_:1}))}}});export{Pe as default};
|