|
- import{E as oe,x as pe,r as T,o as ie,b as g,a3 as re,w as ne,c as i,L as v,h as e,f as a,e as S,d as u,F as I,H as B,t as d,N as L,u as p,i as b,j as h,k as te}from"./index-dd5fae99.js";import{t as de}from"./unitSelfEvaluation-247fb738.js";import{_ as z}from"./index-33a0e6e3.js";import{N as ue}from"./index-be0b3801.js";import{i as C,c as O,h as F,f as M,b as V,e as G}from"./uploadAction-3962500e.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"},Le={key:0},Ce={key:1},Oe={class:"el-upload__tip"},Fe={class:"el-upload__tip"},Me=te({name:"markScore"}),Te=Object.assign(Me,{setup(Ge,{expose:X}){const N=oe.dictStore.uploadUrl,Y=pe(),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:_}),ie(()=>{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"),q=g("el-collapse-item"),H=g("el-collapse"),ee=g("el-form"),ae=g("el-result"),le=g("el-card"),se=re("loading");return P.value?ne((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(q,{name:"1",class:"mb-16"},{title:e(()=>r[11]||(r[11]=[S("div",{class:"collapse-title"},"评价指标",-1)])),default:e(()=>[a(H,{class:"customCollapse"},{default:e(()=>[(i(!0),u(I,null,B(_.value.templateDetails,(k,f)=>(i(),v(q,{key:f},{title:e(()=>[S("div",fe,"一级指标:"+d(k.name),1)]),default:e(()=>[a(H,{class:"customCollapse"},{default:e(()=>[(i(!0),u(I,null,B(k.children,(J,c)=>(i(),v(q,{key:c},{title:e(()=>[S("div",ce,"二级指标:"+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:"三级指标",style:{"margin-bottom":"0"}},{default:e(()=>[S("span",null,d(s.name)+"("+d(s.indexScore)+"分)",1)]),_:2},1024),a(n,{label:"指标细则",style:{"margin-bottom":"0"}},{default:e(()=>[S("span",me,d(s.indexDetail),1)]),_:2},1024),a(n,{label:"评分细则",style:{"margin-bottom":"0"}},{default:e(()=>[S("span",_e,d(s.gradeDetail),1)]),_:2},1024),a(n,{label:"佐证材料",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:"自评得分",prop:`templateDetails[${f}].children[${c}].children[${m}].selfAppraisalScoreInfo1.appraisalScore`,rules:{required:!0,message:"请输入"}},{default:e(()=>[a(x,{modelValue:s.selfAppraisalScoreInfo1.appraisalScore,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo1.appraisalScore=l,placeholder:"请填写",min:0,max:s.indexScore,precision:2,controls:!1,onMousewheel:r[0]||(r[0]=L(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","max"])]),_:2},1032,["prop"])]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"评价依据"},{default:e(()=>[a($,{modelValue:s.selfAppraisalScoreInfo1.appraisalBasis,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo1.appraisalBasis=l,placeholder:"请填写",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(C),"on-preview":p(O),"on-success":l=>p(F)(l,_.value.templateDetails[f].children[c].children[m].selfAppraisalScoreInfo1.appraisalBasisAppendix),"before-upload":l=>p(M)(l,{types:p(V)}),accept:p(V).map(l=>`.${l}`).join(",")},{tip:e(()=>[S("div",Ae," 支持"+d(p(G))+"文件 ",1)]),default:e(()=>[a(D,{type:"primary",plain:"",size:"small"},{default:e(()=>r[12]||(r[12]=[b("选择文件")])),_: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:"自评得分",style:{"margin-bottom":"0"}},{default:e(()=>[b(d(s.selfAppraisalScoreInfo1.appraisalScore)+"分 ",1)]),_:2},1024)]),_:2},1024),a(t,{span:12},{default:e(()=>[a(n,{label:"自评依据",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:"复评员",style:{"margin-bottom":"0"}},{default:e(()=>[b(d(o.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"复评得分",style:{"margin-bottom":"0"}},{default:e(()=>[b(d(o.appraisalScore)+"分 ",1)]),_:2},1024)]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"复评依据",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,E)=>(i(),u("p",{key:E,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:"复评得分",prop:`templateDetails[${f}].children[${c}].children[${m}].selfAppraisalScoreInfo2.appraisalScore`,rules:{required:!0,message:"请输入"}},{default:e(()=>[a(x,{modelValue:s.selfAppraisalScoreInfo2.appraisalScore,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo2.appraisalScore=l,placeholder:"请填写",min:0,max:s.indexScore,precision:2,controls:!1,onMousewheel:r[1]||(r[1]=L(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","max"])]),_:2},1032,["prop"])]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"评价依据"},{default:e(()=>[a($,{modelValue:s.selfAppraisalScoreInfo2.appraisalBasis,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo2.appraisalBasis=l,placeholder:"请填写",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(C),"on-preview":p(O),"on-success":l=>p(F)(l,_.value.templateDetails[f].children[c].children[m].selfAppraisalScoreInfo2.appraisalBasisAppendix),"before-upload":l=>p(M)(l,{types:p(V)}),accept:p(V).map(l=>`.${l}`).join(",")},{tip:e(()=>[S("div",be," 支持"+d(p(G))+"文件 ",1)]),default:e(()=>[a(D,{type:"primary",plain:"",size:"small"},{default:e(()=>r[13]||(r[13]=[b("选择文件")])),_: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:"核查员",style:{"margin-bottom":"0"}},{default:e(()=>[b(d(o.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"核查得分",style:{"margin-bottom":"0"}},{default:e(()=>[b(d(o.appraisalScore)+"分 ",1)]),_:2},1024)]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"核查依据",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,E)=>(i(),u("p",{key:E,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:"核查得分",prop:`templateDetails[${f}].children[${c}].children[${m}].selfAppraisalScoreInfo3.appraisalScore`,rules:{required:!0,message:"请输入"}},{default:e(()=>[a(x,{modelValue:s.selfAppraisalScoreInfo3.appraisalScore,"onUpdate:modelValue":o=>s.selfAppraisalScoreInfo3.appraisalScore=o,placeholder:"请填写",min:0,max:s.indexScore,precision:2,controls:!1,onMousewheel:r[2]||(r[2]=L(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","max"])]),_:2},1032,["prop"])]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"评价依据"},{default:e(()=>[a($,{modelValue:s.selfAppraisalScoreInfo3.appraisalBasis,"onUpdate:modelValue":o=>s.selfAppraisalScoreInfo3.appraisalBasis=o,placeholder:"请填写",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(C),"on-preview":p(O),"on-success":o=>p(F)(o,_.value.templateDetails[f].children[c].children[m].selfAppraisalScoreInfo3.appraisalBasisAppendix),"before-upload":o=>p(M)(o,{types:p(V)}),accept:p(V).map(o=>`.${o}`).join(",")},{tip:e(()=>[S("div",Be," 支持"+d(p(G))+"文件 ",1)]),default:e(()=>[a(D,{type:"primary",plain:"",size:"small"},{default:e(()=>r[14]||(r[14]=[b("选择文件")])),_: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:"复核得分",prop:`templateDetails[${f}].children[${c}].children[${m}].selfAppraisalScoreInfo4.appraisalScore`,rules:{required:!0,message:"请输入"}},{default:e(()=>[a(x,{modelValue:s.selfAppraisalScoreInfo4.appraisalScore,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo4.appraisalScore=l,placeholder:"请填写",min:0,max:s.indexScore,precision:2,controls:!1,onMousewheel:r[3]||(r[3]=L(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","max"])]),_:2},1032,["prop"])]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"评价依据"},{default:e(()=>[a($,{modelValue:s.selfAppraisalScoreInfo4.appraisalBasis,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo4.appraisalBasis=l,placeholder:"请填写",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(C),"on-preview":p(O),"on-success":l=>p(F)(l,_.value.templateDetails[f].children[c].children[m].selfAppraisalScoreInfo4.appraisalBasisAppendix),"before-upload":l=>p(M)(l,{types:p(V)}),accept:p(V).map(l=>`.${l}`).join(",")},{tip:e(()=>[S("div",Ve," 支持"+d(p(G))+"文件 ",1)]),default:e(()=>[a(D,{type:"primary",plain:"",size:"small"},{default:e(()=>r[15]||(r[15]=[b("选择文件")])),_: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(q,{name:"4",class:"mb-16"},{title:e(()=>r[16]||(r[16]=[S("div",{class:"collapse-title"},"附加阶段",-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(q,{key:f},{title:e(()=>[S("div",ge,"一级指标:"+d(k.name),1)]),default:e(()=>[a(H,{class:"customCollapse"},{default:e(()=>[(i(!0),u(I,null,B(k.children,(J,c)=>(i(),v(q,{key:c},{title:e(()=>[S("div",we,"二级指标:"+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:"三级指标",style:{"margin-bottom":"0"}},{default:e(()=>[S("span",null,d(s.name)+"("+d(s.indexScore)+"分)",1)]),_:2},1024),a(n,{label:"指标细则",style:{"margin-bottom":"0"}},{default:e(()=>[S("span",$e,d(s.indexDetail),1)]),_:2},1024),a(n,{label:"评分细则",style:{"margin-bottom":"0"}},{default:e(()=>[S("span",De,d(s.gradeDetail),1)]),_:2},1024),a(n,{label:"佐证材料",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:"自评得分",prop:`additionalIndexDetails[${f}].children[${c}].children[${m}].selfAppraisalScoreInfo1.appraisalScore`,rules:{required:!0,message:"请输入"}},{default:e(()=>[a(x,{modelValue:s.selfAppraisalScoreInfo1.appraisalScore,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo1.appraisalScore=l,placeholder:"请填写",min:s.indexScore>0?0:s.indexScore,max:s.indexScore>=0?s.indexScore:0,precision:2,controls:!1,onMousewheel:r[4]||(r[4]=L(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","min","max"])]),_:2},1032,["prop"])]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"评价依据"},{default:e(()=>[a($,{modelValue:s.selfAppraisalScoreInfo1.appraisalBasis,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo1.appraisalBasis=l,placeholder:"请填写",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(C),"on-preview":p(O),"on-success":l=>p(F)(l,_.value.additionalIndexDetails[f].children[c].children[m].selfAppraisalScoreInfo1.appraisalBasisAppendix),"before-upload":l=>p(M)(l,{types:p(V)}),accept:p(V).map(l=>`.${l}`).join(",")},{tip:e(()=>[S("div",he," 支持"+d(p(G))+"文件 ",1)]),default:e(()=>[a(D,{type:"primary",plain:"",size:"small"},{default:e(()=>r[17]||(r[17]=[b("选择文件")])),_: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:"自评得分"},{default:e(()=>[b(d(s.selfAppraisalScoreInfo1.appraisalScore)+"分 ",1)]),_:2},1024)]),_:2},1024),a(t,{span:12},{default:e(()=>[a(n,{label:"自评依据"},{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:"复评员",style:{"margin-bottom":"0"}},{default:e(()=>[b(d(o.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"复评得分",style:{"margin-bottom":"0"}},{default:e(()=>[b(d(o.appraisalScore)+"分 ",1)]),_:2},1024)]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"复评依据",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,E)=>(i(),u("p",{key:E,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:"复评得分",prop:`additionalIndexDetails[${f}].children[${c}].children[${m}].selfAppraisalScoreInfo2.appraisalScore`,rules:{required:!0,message:"请输入"}},{default:e(()=>[a(x,{modelValue:s.selfAppraisalScoreInfo2.appraisalScore,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo2.appraisalScore=l,placeholder:"请填写",min:s.indexScore>0?0:s.indexScore,max:s.indexScore>=0?s.indexScore:0,precision:2,controls:!1,onMousewheel:r[5]||(r[5]=L(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","min","max"])]),_:2},1032,["prop"])]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"评价依据"},{default:e(()=>[a($,{modelValue:s.selfAppraisalScoreInfo2.appraisalBasis,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo2.appraisalBasis=l,placeholder:"请填写",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(C),"on-preview":p(O),"on-success":l=>p(F)(l,_.value.additionalIndexDetails[f].children[c].children[m].selfAppraisalScoreInfo2.appraisalBasisAppendix),"before-upload":l=>p(M)(l,{types:p(V)}),accept:p(V).map(l=>`.${l}`).join(",")},{tip:e(()=>[S("div",je," 支持"+d(p(G))+"文件 ",1)]),default:e(()=>[a(D,{type:"primary",plain:"",size:"small"},{default:e(()=>r[18]||(r[18]=[b("选择文件")])),_: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:"核查员",style:{"margin-bottom":"0"}},{default:e(()=>[b(d(o.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"核查得分",style:{"margin-bottom":"0"}},{default:e(()=>[b(d(o.appraisalScore)+"分 ",1)]),_:2},1024)]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"核查依据",style:{"margin-bottom":"0"}},{default:e(()=>[o.appraisalBasis||o.appraisalBasisAppendix?(i(),u("div",Le,[S("p",null,d(o.appraisalBasis),1),(i(!0),u(I,null,B(o.appraisalBasisAppendix&&JSON.parse(o.appraisalBasisAppendix),(w,E)=>(i(),u("p",{key:E,class:"mb-4"},[a(z,{"file-name":w.originalFileName,"file-id":w.id},null,8,["file-name","file-id"])]))),128))])):(i(),u("span",Ce,"-"))]),_: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:"核查得分",prop:`additionalIndexDetails[${f}].children[${c}].children[${m}].selfAppraisalScoreInfo3.appraisalScore`,rules:{required:!0,message:"请输入"}},{default:e(()=>[a(x,{modelValue:s.selfAppraisalScoreInfo3.appraisalScore,"onUpdate:modelValue":o=>s.selfAppraisalScoreInfo3.appraisalScore=o,placeholder:"请填写",min:s.indexScore>0?0:s.indexScore,max:s.indexScore>=0?s.indexScore:0,precision:2,controls:!1,onMousewheel:r[6]||(r[6]=L(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","min","max"])]),_:2},1032,["prop"])]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"评价依据"},{default:e(()=>[a($,{modelValue:s.selfAppraisalScoreInfo3.appraisalBasis,"onUpdate:modelValue":o=>s.selfAppraisalScoreInfo3.appraisalBasis=o,placeholder:"请填写",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(C),"on-preview":p(O),"on-success":o=>p(F)(o,_.value.additionalIndexDetails[f].children[c].children[m].selfAppraisalScoreInfo3.appraisalBasisAppendix),"before-upload":o=>p(M)(o,{types:p(V)}),accept:p(V).map(o=>`.${o}`).join(",")},{tip:e(()=>[S("div",Oe," 支持"+d(p(G))+"文件 ",1)]),default:e(()=>[a(D,{type:"primary",plain:"",size:"small"},{default:e(()=>r[19]||(r[19]=[b("选择文件")])),_: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:"复核得分",prop:`additionalIndexDetails[${f}].children[${c}].children[${m}].selfAppraisalScoreInfo4.appraisalScore`,rules:{required:!0,message:"请输入"}},{default:e(()=>[a(x,{modelValue:s.selfAppraisalScoreInfo4.appraisalScore,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo4.appraisalScore=l,placeholder:"请填写",min:s.indexScore>0?0:s.indexScore,max:s.indexScore>=0?s.indexScore:0,precision:2,controls:!1,onMousewheel:r[7]||(r[7]=L(()=>{},["prevent"]))},null,8,["modelValue","onUpdate:modelValue","min","max"])]),_:2},1032,["prop"])]),_:2},1024),a(t,{span:24},{default:e(()=>[a(n,{label:"评价依据"},{default:e(()=>[a($,{modelValue:s.selfAppraisalScoreInfo4.appraisalBasis,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo4.appraisalBasis=l,placeholder:"请填写",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(C),"on-preview":p(O),"on-success":l=>p(F)(l,_.value.additionalIndexDetails[f].children[c].children[m].selfAppraisalScoreInfo4.appraisalBasisAppendix),"before-upload":l=>p(M)(l,{types:p(V)}),accept:p(V).map(l=>`.${l}`).join(",")},{tip:e(()=>[S("div",Fe," 支持"+d(p(G))+"文件 ",1)]),default:e(()=>[a(D,{type:"primary",plain:"",size:"small"},{default:e(()=>r[20]||(r[20]=[b("选择文件")])),_: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:"该项目匹配不到指标模板,请返回上一页或刷新重试"},{extra:e(()=>[a(D,{onClick:r[9]||(r[9]=k=>A.$router.go(-1))},{default:e(()=>r[21]||(r[21]=[b("返回列表")])),_:1}),a(D,{type:"primary",onClick:r[10]||(r[10]=k=>A.$router.go(0))},{default:e(()=>r[22]||(r[22]=[b("刷新")])),_:1})]),_:1})]),_:1}))}}});export{Te as default};
|