You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
27KB

  1. var de=Object.defineProperty,ce=Object.defineProperties;var ue=Object.getOwnPropertyDescriptors;var ae=Object.getOwnPropertySymbols;var fe=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable;var le=(w,B,v)=>B in w?de(w,B,{enumerable:!0,configurable:!0,writable:!0,value:v}):w[B]=v,se=(w,B)=>{for(var v in B||(B={}))fe.call(B,v)&&le(w,v,B[v]);if(ae)for(var v of ae(B))me.call(B,v)&&le(w,v,B[v]);return w},oe=(w,B)=>ce(w,ue(B));var pe=(w,B,v)=>new Promise((Z,R)=>{var H=U=>{try{m(v.next(U))}catch(Y){R(Y)}},K=U=>{try{m(v.throw(U))}catch(Y){R(Y)}},m=U=>U.done?Z(U.value):Promise.resolve(U.value).then(H,K);m((v=v.apply(w,B)).next())});import{_ as _e,d as Se,D as ve,u as Ae,r as X,o as Ie,e as D,a6 as be,w as ye,f as i,I,l as e,k as a,g as d,F as b,J as g,h as _,t,Y as O,j as p,m as y,i as C}from"./index.11dc4694.js";import{t as xe}from"./unitSelfEvaluation.a1b9f52e.js";import{A as P}from"./index.3731dd96.js";import{N as Be}from"./index.90958342.js";import{i as F,b as G,h as E,f as q,c as h,e as z}from"./uploadAction.c865409e.js";const Ve=_("div",{class:"collapse-title"},"\u8BC4\u4EF7\u6307\u6807",-1),ge={class:"collapse-title"},he={class:"collapse-title"},we={class:"text-info"},De={class:"text-info"},$e={class:"text-info"},Ue={class:"el-upload__tip"},ke={key:0},Ne={key:1},je={class:"el-upload__tip"},Ce={key:0},Le={key:1},Me={class:"el-upload__tip"},Oe={class:"el-upload__tip"},Fe=_("div",{class:"collapse-title"},"\u9644\u52A0\u9636\u6BB5",-1),Ge={class:"collapse-title"},Ee={class:"collapse-title"},qe={class:"text-info"},ze={class:"text-info"},Je={class:"text-info"},He={class:"el-upload__tip"},Te={key:0},Pe={key:1},Re={class:"el-upload__tip"},Ke={key:0},Ye={key:1},Qe={class:"el-upload__tip"},We={class:"el-upload__tip"},Xe=Se({name:"markScore"}),Ze=Object.assign(Xe,{setup(w,{expose:B}){const v=ve.dictStore.uploadUrl,Z=Ae(),R=X(["1"]),H=X(!1),K=X(!0),m=X({}),U=X(),Y=()=>pe(this,null,function*(){H.value=!0;try{const S=yield xe(Z.query.projectCode);K.value=!0,m.value=oe(se({},S.data),{templateDetails:ee(S.data.templateDetails),additionalIndexDetails:S.data.additionalIndexDetails?ee(S.data.additionalIndexDetails):void 0}),H.value=!1}catch(S){K.value=!1,H.value=!1}}),ee=S=>(S.forEach(A=>{A.children.forEach(r=>{r.children.forEach(V=>{var n;V.selfAppraisalScoreInfo1=((n=V==null?void 0:V.selfAppraisalScoreInfo)==null?void 0:n.find(k=>k.appraisalType===1))||{appraisalScore:void 0,appraisalBasisAppendix:[],appraisalBasis:""},V.selfAppraisalScoreInfo2={appraisalScore:void 0,appraisalBasisAppendix:[],appraisalBasis:""},V.selfAppraisalScoreInfo3={appraisalScore:void 0,appraisalBasisAppendix:[],appraisalBasis:""},V.selfAppraisalScoreInfo4={appraisalScore:void 0,appraisalBasisAppendix:[],appraisalBasis:""}})})}),S);return B({formRef:U,form:m}),Ie(()=>{Y()}),(S,A)=>{const r=D("el-form-item"),V=D("el-input-number"),n=D("el-col"),k=D("el-input"),N=D("el-button"),M=D("el-upload"),j=D("el-row"),T=D("el-collapse-item"),Q=D("el-collapse"),ie=D("el-form"),re=D("el-result"),ne=D("el-card"),te=be("loading");return K.value?ye((i(),I(ie,{key:0,ref_key:"formRef",ref:U,model:m.value,"label-suffix":":","scroll-to-error":"","label-width":"90",class:"scoreForm"},{default:e(()=>[a(Q,{modelValue:R.value,"onUpdate:modelValue":A[8]||(A[8]=L=>R.value=L)},{default:e(()=>[a(T,{name:"1",class:"mb-16"},{title:e(()=>[Ve]),default:e(()=>[a(Q,{class:"customCollapse"},{default:e(()=>[(i(!0),d(b,null,g(m.value.templateDetails,(L,c)=>(i(),I(T,{key:c},{title:e(()=>[_("div",ge,"\u4E00\u7EA7\u6307\u6807\uFF1A"+t(L.name),1)]),default:e(()=>[a(Q,{class:"customCollapse"},{default:e(()=>[(i(!0),d(b,null,g(L.children,(W,u)=>(i(),I(T,{key:u},{title:e(()=>[_("div",he,"\u4E8C\u7EA7\u6307\u6807\uFF1A"+t(W.name),1)]),default:e(()=>[(i(!0),d(b,null,g(W.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",we,t(s.indexDetail),1)]),_:2},1024),a(r,{label:"\u8BC4\u5206\u7EC6\u5219",style:{"margin-bottom":"0"}},{default:e(()=>[_("span",De,t(s.gradeDetail),1)]),_:2},1024),a(r,{label:"\u4F50\u8BC1\u6750\u6599",style:{"margin-bottom":"0"}},{default:e(()=>[_("span",$e,t(s.supportMaterial),1)]),_:2},1024),S.$route.name==="unitSelfGiveScore"?(i(),I(j,{key:0},{default:e(()=>[a(n,{span:24},{default:e(()=>[a(r,{label:"\u81EA\u8BC4\u5F97\u5206",prop:`templateDetails[${c}].children[${u}].children[${f}].selfAppraisalScoreInfo1.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(V,{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]=O(()=>{},["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(k,{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(M,{"file-list":m.value.templateDetails[c].children[u].children[f].selfAppraisalScoreInfo1.appraisalBasisAppendix,"onUpdate:fileList":l=>m.value.templateDetails[c].children[u].children[f].selfAppraisalScoreInfo1.appraisalBasisAppendix=l,class:"w-full",action:p(v),limit:5,"on-error":p(F),"on-preview":p(G),"on-success":l=>p(E)(l,m.value.templateDetails[c].children[u].children[f].selfAppraisalScoreInfo1.appraisalBasisAppendix),"before-upload":l=>p(q)(l,{types:p(h)}),accept:p(h).map(l=>`.${l}`).join(",")},{tip:e(()=>[_("div",Ue," \u652F\u6301"+t(p(z))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(N,{type:"primary",plain:"",size:"small"},{default:e(()=>[y("\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(),I(j,{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(()=>[y(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(b,null,g(s.selfAppraisalScoreInfo1.appraisalBasisAppendix&&JSON.parse(s.selfAppraisalScoreInfo1.appraisalBasisAppendix),(l,o)=>(i(),d("p",{key:o,class:"mb-4"},[a(P,{"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(),I(j,{key:2},{default:e(()=>{var l;return[(i(!0),d(b,null,g(s.reAppraisalScoreInfo&&((l=Object.values(s.reAppraisalScoreInfo))==null?void 0:l.length)&&Object.values(s.reAppraisalScoreInfo).reduce((o,x)=>o.concat(x,[])),(o,x)=>(i(),I(n,{key:x,span:12},{default:e(()=>[a(n,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[y(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(()=>[y(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",ke,[_("p",null,t(o.appraisalBasis),1),(i(!0),d(b,null,g(o.appraisalBasisAppendix&&JSON.parse(o.appraisalBasisAppendix),($,J)=>(i(),d("p",{key:J,class:"mb-4"},[a(P,{"file-name":$.originalFileName,"file-id":$.id},null,8,["file-name","file-id"])]))),128))])):(i(),d("span",Ne,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]}),_:2},1024)):C("v-if",!0),S.$route.name==="reviewGiveScore"?(i(),I(j,{key:3},{default:e(()=>[a(n,null,{default:e(()=>[a(n,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u5F97\u5206",prop:`templateDetails[${c}].children[${u}].children[${f}].selfAppraisalScoreInfo2.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(V,{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]=O(()=>{},["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(k,{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(M,{"file-list":m.value.templateDetails[c].children[u].children[f].selfAppraisalScoreInfo2.appraisalBasisAppendix,"onUpdate:fileList":l=>m.value.templateDetails[c].children[u].children[f].selfAppraisalScoreInfo2.appraisalBasisAppendix=l,class:"w-full",action:p(v),limit:5,"on-error":p(F),"on-preview":p(G),"on-success":l=>p(E)(l,m.value.templateDetails[c].children[u].children[f].selfAppraisalScoreInfo2.appraisalBasisAppendix),"before-upload":l=>p(q)(l,{types:p(h)}),accept:p(h).map(l=>`.${l}`).join(",")},{tip:e(()=>[_("div",je," \u652F\u6301"+t(p(z))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(N,{type:"primary",plain:"",size:"small"},{default:e(()=>[y("\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)):C("v-if",!0),S.$route.name==="checkGiveScore"||S.$route.name==="reformCheckHandle"?(i(),I(j,{key:4},{default:e(()=>{var l;return[(i(!0),d(b,null,g(s.verifyScoreInfo&&((l=Object.values(s.verifyScoreInfo))==null?void 0:l.length)&&Object.values(s.verifyScoreInfo).reduce((o,x)=>o.concat(x,[])),(o,x)=>(i(),I(n,{key:x,span:12},{default:e(()=>[a(n,{span:24},{default:e(()=>[a(r,{label:"\u6838\u67E5\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[y(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(()=>[y(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",Ce,[_("p",null,t(o.appraisalBasis),1),(i(!0),d(b,null,g(o.appraisalBasisAppendix&&JSON.parse(o.appraisalBasisAppendix),($,J)=>(i(),d("p",{key:J,class:"mb-4"},[a(P,{"file-name":$.originalFileName,"file-id":$.id},null,8,["file-name","file-id"])]))),128))])):(i(),d("span",Le,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128)),S.$route.name==="checkGiveScore"?(i(),d(b,{key:0},[a(n,{span:24},{default:e(()=>[a(r,{label:"\u6838\u67E5\u5F97\u5206",prop:`templateDetails[${c}].children[${u}].children[${f}].selfAppraisalScoreInfo3.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(V,{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]=O(()=>{},["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(k,{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(M,{"file-list":m.value.templateDetails[c].children[u].children[f].selfAppraisalScoreInfo3.appraisalBasisAppendix,"onUpdate:fileList":o=>m.value.templateDetails[c].children[u].children[f].selfAppraisalScoreInfo3.appraisalBasisAppendix=o,class:"w-full",action:p(v),limit:5,"on-error":p(F),"on-preview":p(G),"on-success":o=>p(E)(o,m.value.templateDetails[c].children[u].children[f].selfAppraisalScoreInfo3.appraisalBasisAppendix),"before-upload":o=>p(q)(o,{types:p(h)}),accept:p(h).map(o=>`.${o}`).join(",")},{tip:e(()=>[_("div",Me," \u652F\u6301"+t(p(z))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(N,{type:"primary",plain:"",size:"small"},{default:e(()=>[y("\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)):C("v-if",!0)]}),_:2},1024)):C("v-if",!0),S.$route.name==="reformCheckHandle"?(i(),d(b,{key:5},[a(n,{span:24},{default:e(()=>[a(r,{label:"\u590D\u6838\u5F97\u5206",prop:`templateDetails[${c}].children[${u}].children[${f}].selfAppraisalScoreInfo4.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(V,{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]=O(()=>{},["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(k,{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(M,{"file-list":m.value.templateDetails[c].children[u].children[f].selfAppraisalScoreInfo4.appraisalBasisAppendix,"onUpdate:fileList":l=>m.value.templateDetails[c].children[u].children[f].selfAppraisalScoreInfo4.appraisalBasisAppendix=l,class:"w-full",action:p(v),limit:5,"on-error":p(F),"on-preview":p(G),"on-success":l=>p(E)(l,m.value.templateDetails[c].children[u].children[f].selfAppraisalScoreInfo4.appraisalBasisAppendix),"before-upload":l=>p(q)(l,{types:p(h)}),accept:p(h).map(l=>`.${l}`).join(",")},{tip:e(()=>[_("div",Oe," \u652F\u6301"+t(p(z))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(N,{type:"primary",plain:"",size:"small"},{default:e(()=>[y("\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)):C("v-if",!0)]))),128))]),_:2},1024))),128))]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),a(T,{name:"4",class:"mb-16"},{title:e(()=>[Fe]),default:e(()=>[m.value.additionalIndexDetails?(i(),I(Q,{key:0,class:"customCollapse"},{default:e(()=>[(i(!0),d(b,null,g(m.value.additionalIndexDetails,(L,c)=>(i(),I(T,{key:c},{title:e(()=>[_("div",Ge,"\u4E00\u7EA7\u6307\u6807\uFF1A"+t(L.name),1)]),default:e(()=>[a(Q,{class:"customCollapse"},{default:e(()=>[(i(!0),d(b,null,g(L.children,(W,u)=>(i(),I(T,{key:u},{title:e(()=>[_("div",Ee,"\u4E8C\u7EA7\u6307\u6807\uFF1A"+t(W.name),1)]),default:e(()=>[(i(!0),d(b,null,g(W.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",qe,t(s.indexDetail),1)]),_:2},1024),a(r,{label:"\u8BC4\u5206\u7EC6\u5219",style:{"margin-bottom":"0"}},{default:e(()=>[_("span",ze,t(s.gradeDetail),1)]),_:2},1024),a(r,{label:"\u4F50\u8BC1\u6750\u6599",style:{"margin-bottom":"0"}},{default:e(()=>[_("span",Je,t(s.supportMaterial),1)]),_:2},1024),S.$route.name==="unitSelfGiveScore"?(i(),I(j,{key:0},{default:e(()=>[a(n,{span:24},{default:e(()=>[a(r,{label:"\u81EA\u8BC4\u5F97\u5206",prop:`additionalIndexDetails[${c}].children[${u}].children[${f}].selfAppraisalScoreInfo1.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(V,{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]=O(()=>{},["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(k,{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(M,{"file-list":m.value.additionalIndexDetails[c].children[u].children[f].selfAppraisalScoreInfo1.appraisalBasisAppendix,"onUpdate:fileList":l=>m.value.additionalIndexDetails[c].children[u].children[f].selfAppraisalScoreInfo1.appraisalBasisAppendix=l,class:"w-full",action:p(v),limit:5,"on-error":p(F),"on-preview":p(G),"on-success":l=>p(E)(l,m.value.additionalIndexDetails[c].children[u].children[f].selfAppraisalScoreInfo1.appraisalBasisAppendix),"before-upload":l=>p(q)(l,{types:p(h)}),accept:p(h).map(l=>`.${l}`).join(",")},{tip:e(()=>[_("div",He," \u652F\u6301"+t(p(z))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(N,{type:"primary",plain:"",size:"small"},{default:e(()=>[y("\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(),I(j,{key:1,gutter:16,class:"w-full"},{default:e(()=>[a(n,{span:12},{default:e(()=>[a(r,{label:"\u81EA\u8BC4\u5F97\u5206"},{default:e(()=>[y(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(b,null,g(((l=s.selfAppraisalScoreInfo1)==null?void 0:l.appraisalBasisAppendix)&&JSON.parse(s.selfAppraisalScoreInfo1.appraisalBasisAppendix),(o,x)=>(i(),d("p",{key:x,class:"mb-4"},[a(P,{"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(),I(j,{key:2},{default:e(()=>{var l;return[(i(!0),d(b,null,g(s.reAppraisalScoreInfo&&((l=Object.values(s.reAppraisalScoreInfo))==null?void 0:l.length)&&Object.values(s.reAppraisalScoreInfo).reduce((o,x)=>o.concat(x,[])),(o,x)=>(i(),I(n,{key:x,span:12},{default:e(()=>[a(n,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[y(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(()=>[y(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",Te,[_("p",null,t(o.appraisalBasis),1),(i(!0),d(b,null,g((o==null?void 0:o.appraisalBasisAppendix)&&JSON.parse(o.appraisalBasisAppendix),($,J)=>(i(),d("p",{key:J,class:"mb-4"},[a(P,{"file-name":$.originalFileName,"file-id":$.id},null,8,["file-name","file-id"])]))),128))])):(i(),d("span",Pe,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]}),_:2},1024)):C("v-if",!0),S.$route.name==="reviewGiveScore"?(i(),I(j,{key:3},{default:e(()=>[a(n,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u5F97\u5206",prop:`additionalIndexDetails[${c}].children[${u}].children[${f}].selfAppraisalScoreInfo2.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(V,{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]=O(()=>{},["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(k,{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(M,{"file-list":m.value.additionalIndexDetails[c].children[u].children[f].selfAppraisalScoreInfo2.appraisalBasisAppendix,"onUpdate:fileList":l=>m.value.additionalIndexDetails[c].children[u].children[f].selfAppraisalScoreInfo2.appraisalBasisAppendix=l,class:"w-full",action:p(v),limit:5,"on-error":p(F),"on-preview":p(G),"on-success":l=>p(E)(l,m.value.additionalIndexDetails[c].children[u].children[f].selfAppraisalScoreInfo2.appraisalBasisAppendix),"before-upload":l=>p(q)(l,{types:p(h)}),accept:p(h).map(l=>`.${l}`).join(",")},{tip:e(()=>[_("div",Re," \u652F\u6301"+t(p(z))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(N,{type:"primary",plain:"",size:"small"},{default:e(()=>[y("\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)):C("v-if",!0),S.$route.name==="checkGiveScore"||S.$route.name==="reformCheckHandle"?(i(),I(j,{key:4},{default:e(()=>{var l;return[(i(!0),d(b,null,g(s.verifyScoreInfo&&((l=Object.values(s.verifyScoreInfo))==null?void 0:l.length)&&Object.values(s.verifyScoreInfo).reduce((o,x)=>o.concat(x,[])),(o,x)=>(i(),I(n,{key:x,span:12},{default:e(()=>[a(n,{span:24},{default:e(()=>[a(r,{label:"\u6838\u67E5\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[y(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(()=>[y(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",Ke,[_("p",null,t(o.appraisalBasis),1),(i(!0),d(b,null,g(o.appraisalBasisAppendix&&JSON.parse(o.appraisalBasisAppendix),($,J)=>(i(),d("p",{key:J,class:"mb-4"},[a(P,{"file-name":$.originalFileName,"file-id":$.id},null,8,["file-name","file-id"])]))),128))])):(i(),d("span",Ye,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128)),S.$route.name==="checkGiveScore"?(i(),d(b,{key:0},[a(n,{span:24},{default:e(()=>[a(r,{label:"\u6838\u67E5\u5F97\u5206",prop:`additionalIndexDetails[${c}].children[${u}].children[${f}].selfAppraisalScoreInfo3.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(V,{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]=O(()=>{},["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(k,{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(M,{"file-list":m.value.additionalIndexDetails[c].children[u].children[f].selfAppraisalScoreInfo3.appraisalBasisAppendix,"onUpdate:fileList":o=>m.value.additionalIndexDetails[c].children[u].children[f].selfAppraisalScoreInfo3.appraisalBasisAppendix=o,class:"w-full",action:p(v),limit:5,"on-error":p(F),"on-preview":p(G),"on-success":o=>p(E)(o,m.value.additionalIndexDetails[c].children[u].children[f].selfAppraisalScoreInfo3.appraisalBasisAppendix),"before-upload":o=>p(q)(o,{types:p(h)}),accept:p(h).map(o=>`.${o}`).join(",")},{tip:e(()=>[_("div",Qe," \u652F\u6301"+t(p(z))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(N,{type:"primary",plain:"",size:"small"},{default:e(()=>[y("\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)):C("v-if",!0)]}),_:2},1024)):C("v-if",!0),S.$route.name==="reformCheckHandle"?(i(),d(b,{key:5},[a(n,{span:24},{default:e(()=>[a(r,{label:"\u590D\u6838\u5F97\u5206",prop:`additionalIndexDetails[${c}].children[${u}].children[${f}].selfAppraisalScoreInfo4.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(V,{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]=O(()=>{},["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(k,{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(M,{"file-list":m.value.additionalIndexDetails[c].children[u].children[f].selfAppraisalScoreInfo4.appraisalBasisAppendix,"onUpdate:fileList":l=>m.value.additionalIndexDetails[c].children[u].children[f].selfAppraisalScoreInfo4.appraisalBasisAppendix=l,class:"w-full",action:p(v),limit:5,"on-error":p(F),"on-preview":p(G),"on-success":l=>p(E)(l,m.value.additionalIndexDetails[c].children[u].children[f].selfAppraisalScoreInfo4.appraisalBasisAppendix),"before-upload":l=>p(q)(l,{types:p(h)}),accept:p(h).map(l=>`.${l}`).join(",")},{tip:e(()=>[_("div",We," \u652F\u6301"+t(p(z))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(N,{type:"primary",plain:"",size:"small"},{default:e(()=>[y("\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)):C("v-if",!0)]))),128))]),_:2},1024))),128))]),_:2},1024)]),_:2},1024))),128))]),_:1})):(i(),I(Be,{key:1}))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["model"])),[[te,H.value]]):(i(),I(ne,{key:1},{default:e(()=>[a(re,{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(N,{onClick:A[9]||(A[9]=L=>S.$router.go(-1))},{default:e(()=>[y("\u8FD4\u56DE\u5217\u8868")]),_:1}),a(N,{type:"primary",onClick:A[10]||(A[10]=L=>S.$router.go(0))},{default:e(()=>[y("\u5237\u65B0")]),_:1})]),_:1})]),_:1}))}}}),ia=_e(Ze,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/performanceEvaluation/reformCheck/reformCheckProjectList/reformCheckHandle/components/markScore.vue"]]);export{ia as default};