|
- import{E as ye,x as Ce,y as qe,r as U,G as he,o as Le,b as G,a3 as Re,c as o,d as m,f as a,h as e,e as d,t as c,i as S,u as t,L as B,j as D,w as Pe,F as g,H as k,N as Y,k as Te,s as ze}from"./index-dd5fae99.js";import{N as Ee}from"./index-be0b3801.js";import{h as R,f as P,b as E,c as T,e as ne,j as Me,i as Je,r as Ae,g as be}from"./uploadAction-3962500e.js";import{d as He,t as ke,e as Ye,s as Ke,a as Qe}from"./unitSelfEvaluation-247fb738.js";import{_ as M}from"./index-33a0e6e3.js";import{a as We}from"./projectStore-30136ff6.js";import{s as Xe}from"./projectReview-64da128f.js";import{s as Ze}from"./expertVerification-c7259e8f.js";const ea={class:"scoreForm footerPage"},aa={class:"card-header"},la={class:"flex justify-between items-center"},sa={class:"flex-1"},ia={class:"font-bold"},oa={class:"mt-8 search"},pa={class:"flex justify-between items-center"},ra={key:0,class:"flex"},ta={class:"font-bold text-18"},na={key:1,class:"flex"},da={class:"mr-16"},ua={class:"font-bold text-18"},fa={class:"font-bold text-18"},ca={key:2,class:"flex"},ma={class:"mr-16"},va={class:"font-bold text-18"},Sa={class:"font-bold text-18"},_a={class:"ml-16"},ya={class:"font-bold text-18"},Aa={class:"collapse-title"},ba={class:"collapse-title"},Ia={class:"text-info",style:{"word-break":"break-all"}},xa={class:"text-info",style:{"word-break":"break-all"}},Ba={class:"text-info",style:{"word-break":"break-all"}},wa={class:"text-info",style:{"word-break":"break-all"}};const ga={key:0},ka={key:1},Da={key:0},Va={key:1},$a={key:0},Ua={key:1},Na={class:"el-upload__tip"},Ga={key:0},ja={key:1},Fa={class:"el-upload__tip"},Oa={class:"collapse-title"},Ca={class:"collapse-title"},qa={class:"text-info",style:{"word-break":"break-all"}},ha={class:"text-info",style:{"word-break":"break-all"}},La={class:"text-info",style:{"word-break":"break-all"}},Ra={class:"text-info",style:{"word-break":"break-all"}};const Pa={key:0},Ta={key:1},za={key:0},Ea={key:1},Ma={key:0},Ja={key:1},Ha={class:"el-upload__tip"},Ya={key:0},Ka={key:1},Qa={class:"el-upload__tip"},Wa={class:"footer"},Xa=Te({name:"giveScore"}),tl=Object.assign(Xa,{setup(Za){const O=ye.dictStore.uploadUrl,{statusOptions:De}=ye.dictStore.globalDicts||{},u=Ce(),Ve=qe(),{proxy:Ie}=ze(),xe=U(["1","4"]),de=U([]),ue=U([]),fe=U([]),ce=U([]),n=U({reAppraisalPass:u.name==="reviewGiveScore"&&u.query.canReAppraisal==="true"?!0:void 0}),Be=U(),$e={isRectify:[{required:!0,message:"请选择"}],reAppraisalPass:[{required:!0,message:"请选择"}],consultationForm:[{required:!0,message:"请上传"}]},oe=U(!0),K=U(!0),J=U({}),Ue=async()=>{const f=await We(u.query.projectCode);J.value=f.data},pe=U(),me=U(),we=U(),Ne=async()=>{var s,r;K.value=!0;const f=await He({projectCode:u.query.projectCode,appraisalId:u.query.appraisalId,type:u.name==="reviewGiveScore"?2:u.name==="checkGiveScore"?3:1});if((s=f==null?void 0:f.data)!=null&&s.templateDetails||(r=f==null?void 0:f.data)!=null&&r.additionalIndexDetails){ve.value=f.data.draftId,oe.value=!0,n.value={...f.data,templateDetails:re(f.data.templateDetails,1),additionalIndexDetails:f.data.additionalIndexDetails?re(f.data.additionalIndexDetails,2):void 0,reAppraisalPass:u.name==="reviewGiveScore"&&u.query.canReAppraisal==="true"?!0:void 0},z();const p=await ke(u.query.projectCode);pe.value=p.data.selfAppraisalTotalScore,me.value=p.data.reAppraisalTotalScore,we.value=p.data.verifyTotalScore,K.value=!1}else try{const p=await ke(u.query.projectCode);oe.value=!0,n.value={...p.data,templateDetails:re(p.data.templateDetails,1),additionalIndexDetails:p.data.additionalIndexDetails?re(p.data.additionalIndexDetails,2):void 0,reAppraisalPass:u.name==="reviewGiveScore"&&u.query.canReAppraisal==="true"?!0:void 0},z(),pe.value=p.data.selfAppraisalTotalScore,me.value=p.data.reAppraisalTotalScore,we.value=p.data.verifyTotalScore,K.value=!1}catch{oe.value=!1,K.value=!1}},j=he(ye.userStore).userInfo,re=(f,s)=>(f.forEach((r,p)=>{s===1?de.value.push(r.templateId):fe.value.push(r.templateId),r.children.forEach((w,C)=>{s===1?ue.value.push(w.templateId):ce.value.push(w.templateId),w.children.forEach(_=>{var q;const F=((q=_==null?void 0:_.selfAppraisalScoreInfo)==null?void 0:q.find(V=>V.appraisalType===1))||void 0;if(_.selfAppraisalScoreInfo1=F?{...F,appraisalBasisAppendix:F.appraisalBasisAppendix&&(u.name==="unitSelfGiveScore"||u.name==="selfGiveScore")?Ae(JSON.parse(F.appraisalBasisAppendix)):F.appraisalBasisAppendix&&!["unitSelfGiveScore","selfGiveScore"].includes(u.name)?F.appraisalBasisAppendix:void 0}:{appraisalScore:void 0,appraisalBasisAppendix:void 0,appraisalBasis:""},_!=null&&_.reAppraisalScoreInfo&&Object.keys(_==null?void 0:_.reAppraisalScoreInfo).includes(j.value.realName)){const V=_==null?void 0:_.reAppraisalScoreInfo[j.value.realName][0];_.selfAppraisalScoreInfo2={...V,appraisalBasisAppendix:V.appraisalBasisAppendix&&Ae(JSON.parse(V.appraisalBasisAppendix))||void 0}}else _.selfAppraisalScoreInfo2={appraisalScore:void 0,appraisalBasisAppendix:void 0,appraisalBasis:""};if(_!=null&&_.verifyScoreInfo&&Object.keys(_==null?void 0:_.verifyScoreInfo).includes(j.value.realName)){const V=_==null?void 0:_.verifyScoreInfo[j.value.realName][0];_.selfAppraisalScoreInfo3={...V,appraisalBasisAppendix:V.appraisalBasisAppendix&&Ae(JSON.parse(V.appraisalBasisAppendix))||void 0}}else _.selfAppraisalScoreInfo3={appraisalScore:void 0,appraisalBasisAppendix:void 0,appraisalBasis:""}})})}),f),Ge=async f=>{const s=Q(n.value.templateDetails,[]),r=Q(n.value.additionalIndexDetails,[]);f&&await f.validate(async p=>{var w;if(p){const C={draftId:ve.value||void 0,groupId:u.query.groupId*1||void 0,appraisalProjectCode:u.query.projectCode,appraisalProjectId:u.query.projectId*1,appraisalId:u.query.appraisalId*1,appraisalInfoList:[...s,...r],reAppraisalPass:u.name==="reviewGiveScore"&&u.query.canReAppraisal==="true"?n.value.reAppraisalPass:void 0,consultationForm:u.name==="reviewGiveScore"&&u.query.canReAppraisal==="true"&&((w=n.value.consultationForm)!=null&&w.length)&&!n.value.reAppraisalPass?be(n.value.consultationForm):void 0,isRectify:u.name==="checkGiveScore"&&u.query.canRectify==="true"?n.value.isRectify:void 0,rectifyOpinion:u.name==="checkGiveScore"&&u.query.canRectify==="true"?n.value.rectifyOpinion:void 0};await((u.name==="unitSelfGiveScore"||u.name==="selfGiveScore")&&u.query.status==="4"?Ye:u.name==="unitSelfGiveScore"||u.name==="selfGiveScore"?Ke:u.name==="reviewGiveScore"?Xe:Ze)(C),Ie.$message.success("提交成功!"),Ve.go(-1)}})},ve=U(),je=async()=>{var w;const f=Q(n.value.templateDetails,[]),s=Q(n.value.additionalIndexDetails,[]),r={groupId:u.query.groupId*1||void 0,appraisalProjectCode:u.query.projectCode,appraisalProjectId:u.query.projectId*1,appraisalId:u.query.appraisalId*1,appraisalInfoList:[...f,...s],reAppraisalPass:u.name==="reviewGiveScore"&&u.query.canReAppraisal==="true"?n.value.reAppraisalPass:void 0,consultationForm:u.name==="reviewGiveScore"&&u.query.canReAppraisal==="true"&&((w=n.value.consultationForm)!=null&&w.length)&&!n.value.reAppraisalPass?be(n.value.consultationForm):void 0,isRectify:u.name==="checkGiveScore"&&u.query.canRectify==="true"?n.value.isRectify:void 0,rectifyOpinion:u.name==="checkGiveScore"&&u.query.canRectify==="true"?n.value.rectifyOpinion:void 0},p=await Qe(u.name==="reviewGiveScore"?2:u.name==="checkGiveScore"?3:1,r);ve.value=p.data,Ie.$message.success("保存成功")},Q=(f,s)=>{const r=u.name==="unitSelfGiveScore"||u.name==="selfGiveScore"?"selfAppraisalScoreInfo1":u.name==="reviewGiveScore"?"selfAppraisalScoreInfo2":"selfAppraisalScoreInfo3";return f.forEach(p=>{var w;p.children&&p.children.length>0?Q(p.children,s):s.push({projectTemplateDetailId:p.templateId,score:p[r].appraisalScore,appraisalBasis:p[r].appraisalBasis,appraisalBasisAppendix:((w=p[r].appraisalBasisAppendix)==null?void 0:w.length)&&JSON.stringify(be(p[r].appraisalBasisAppendix))||void 0})}),s},Se=(f,s)=>{const r=u.name==="unitSelfGiveScore"||u.name==="selfGiveScore"?"selfAppraisalScoreInfo1":u.name==="reviewGiveScore"?"selfAppraisalScoreInfo2":"selfAppraisalScoreInfo3";return f.forEach(p=>{p.children&&p.children.length>0?Se(p.children,s):s.push({score:p[r].appraisalScore})}),s},W=U(0),z=()=>{const f=Se(n.value.templateDetails,[]),s=Se(n.value.additionalIndexDetails,[]);W.value=0;const r=f.reduce((w,C)=>w+(C.score||0),0),p=s.reduce((w,C)=>w+(C.score||0),0);W.value=r+p};return Le(()=>{Ue(),Ne()}),(f,s)=>{const r=G("el-form-item"),p=G("el-col"),w=G("el-row"),C=G("el-form"),_=G("el-button"),F=G("el-card"),q=G("el-input-number"),V=G("el-input"),h=G("el-upload"),H=G("el-collapse-item"),X=G("el-collapse"),te=G("el-radio"),ge=G("el-radio-group"),Fe=G("el-result"),Oe=Re("loading");return o(),m("div",ea,[a(F,{class:"mb-16"},{default:e(()=>{var b;return[d("div",aa,[d("div",la,[d("div",sa,[d("p",ia,c((b=J.value)==null?void 0:b.projectName),1),d("div",oa,[a(C,{"label-suffix":":"},{default:e(()=>[a(w,{gutter:24},{default:e(()=>[a(p,{span:6},{default:e(()=>[a(r,{label:"申报单位"},{default:e(()=>{var v;return[S(c((v=J.value)==null?void 0:v.buildOrgName),1)]}),_:1})]),_:1}),a(p,{span:6},{default:e(()=>[a(r,{label:"项目状态"},{default:e(()=>{var v,N;return[S(c(((N=t(De)[(v=J.value)==null?void 0:v.status])==null?void 0:N.name)||"-"),1)]}),_:1})]),_:1}),a(p,{span:6},{default:e(()=>[a(r,{label:"批复金额"},{default:e(()=>{var v;return[S(c((v=J.value)==null?void 0:v.approvalAmount)+"万元",1)]}),_:1})]),_:1}),a(p,{span:6},{default:e(()=>[a(r,{label:"预算年度"},{default:e(()=>{var v;return[S(c((v=J.value)==null?void 0:v.projectYear),1)]}),_:1})]),_:1})]),_:1})]),_:1})])]),f.$route.name==="applicationMarkDetail"?(o(),B(_,{key:0,type:"primary",icon:"Download"},{default:e(()=>s[19]||(s[19]=[S("下载分析报告")])),_:1})):D("",!0)])])]}),_:1}),a(F,{class:"mb-16"},{default:e(()=>{var b;return[d("div",pa,[f.$route.name==="unitSelfGiveScore"||f.$route.name==="selfGiveScore"?(o(),m("div",ra,[d("p",null,[s[20]||(s[20]=S("自评总分(当前):")),d("span",ta,c(W.value),1)])])):D("",!0),f.$route.name==="reviewGiveScore"?(o(),m("div",na,[d("p",da,[s[21]||(s[21]=S("复评总分(当前):")),d("span",ua,c(W.value),1)]),d("p",null,[s[22]||(s[22]=S("自评打分总分:")),d("span",fa,c(pe.value),1)])])):D("",!0),f.$route.name==="checkGiveScore"?(o(),m("div",ca,[d("p",ma,[s[23]||(s[23]=S("核查总分(当前):")),d("span",va,c(W.value),1)]),d("p",null,[s[24]||(s[24]=S("自评打分总分:")),d("span",Sa,c(pe.value),1)]),d("p",_a,[s[25]||(s[25]=S("复评打分总分:")),d("span",ya,c((b=me.value)==null?void 0:b.split(",").join("、")),1)])])):D("",!0)])]}),_:1}),oe.value?Pe((o(),B(C,{key:0,ref_key:"formRef",ref:Be,model:n.value,rules:$e,"label-suffix":":","scroll-to-error":"","label-width":"160"},{default:e(()=>[a(X,{modelValue:xe.value,"onUpdate:modelValue":s[10]||(s[10]=b=>xe.value=b)},{default:e(()=>[a(H,{name:"1",class:"mb-16"},{title:e(()=>s[26]||(s[26]=[d("div",{class:"collapse-title"},"评价指标",-1)])),default:e(()=>[a(X,{modelValue:de.value,"onUpdate:modelValue":s[4]||(s[4]=b=>de.value=b),class:"customCollapse"},{default:e(()=>[(o(!0),m(g,null,k(n.value.templateDetails,(b,v)=>(o(),B(H,{key:v,name:b.templateId},{title:e(()=>[d("div",Aa,"一级指标:"+c(b.name),1)]),default:e(()=>[a(X,{modelValue:ue.value,"onUpdate:modelValue":s[3]||(s[3]=N=>ue.value=N),class:"customCollapse"},{default:e(()=>[(o(!0),m(g,null,k(b.children,(N,I)=>(o(),B(H,{key:I,name:N.templateId},{title:e(()=>[d("div",ba,"二级指标:"+c(N.name),1)]),default:e(()=>[(o(!0),m(g,null,k(N.children,(i,x)=>{var Z,ee,ae,le,se,ie;return o(),m("div",{key:x,class:"pl-16"},[a(r,{label:"三级指标",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",null,c(i.name)+"("+c(i.indexScore)+"分)",1)]),_:2},1024),a(r,{label:"指标细则",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",Ia,c(i.indexDetail),1)]),_:2},1024),a(r,{label:"评分细则",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",xa,c(i.gradeDetail),1)]),_:2},1024),a(r,{label:"是否上传佐证材料附件",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",Ba,c(i.isUploadSupportFile?"是":"否"),1)]),_:2},1024),D("",!0),a(r,{label:"佐证材料",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",wa,c(i.supportMaterial),1)]),_:2},1024),f.$route.name==="unitSelfGiveScore"||f.$route.name==="selfGiveScore"?(o(),B(w,{key:1},{default:e(()=>[a(p,{span:24},{default:e(()=>[a(r,{label:"自评得分",prop:`templateDetails[${v}].children[${I}].children[${x}].selfAppraisalScoreInfo1.appraisalScore`,rules:{required:!0,message:"请输入"}},{default:e(()=>[a(q,{modelValue:i.selfAppraisalScoreInfo1.appraisalScore,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo1.appraisalScore=l,placeholder:"请填写",min:0,max:i.indexScore,precision:2,controls:!1,onMousewheel:s[0]||(s[0]=Y(()=>{},["prevent"])),onBlur:z},null,8,["modelValue","onUpdate:modelValue","max"])]),_:2},1032,["prop"])]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"评价依据",style:{"margin-bottom":"0"}},{default:e(()=>[a(V,{modelValue:i.selfAppraisalScoreInfo1.appraisalBasis,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo1.appraisalBasis=l,placeholder:"请填写",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),D("",!0)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[i.isUploadSupportFile?(o(),B(r,{key:0,label:"佐证材料附件",prop:`templateDetails[${v}].children[${I}].children[${x}].selfAppraisalScoreInfo1.appraisalBasisAppendix`,rules:{required:!0,message:"请上传"}},{default:e(()=>[a(h,{"file-list":n.value.templateDetails[v].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix,"onUpdate:fileList":l=>n.value.templateDetails[v].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix=l,class:"w-full",action:t(O),limit:5,"on-success":l=>t(R)(l,n.value.templateDetails[v].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix),"before-upload":l=>t(P)(l,{types:["wps","pdf","doc","docx","zip","rar"]}),accept:".wps,.pdf,.doc,.docx,.zip,.rar","on-preview":t(T)},{tip:e(()=>s[29]||(s[29]=[d("div",{class:"el-upload__tip"}," 支持pdf、word、zip、rar文件 ",-1)])),default:e(()=>[a(_,{type:"primary",plain:"",size:"small"},{default:e(()=>s[28]||(s[28]=[S("选择文件")])),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","before-upload","on-preview"])]),_:2},1032,["prop"])):(o(),B(r,{key:1,label:"佐证材料附件"},{default:e(()=>[a(h,{"file-list":n.value.templateDetails[v].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix,"onUpdate:fileList":l=>n.value.templateDetails[v].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix=l,class:"w-full",action:t(O),limit:5,"on-success":l=>t(R)(l,n.value.templateDetails[v].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix),"before-upload":l=>t(P)(l,{types:["wps","pdf","doc","docx","zip","rar"]}),accept:".wps,.pdf,.doc,.docx,.zip,.rar","on-preview":t(T)},{tip:e(()=>s[31]||(s[31]=[d("div",{class:"el-upload__tip"}," 支持pdf、word、zip、rar文件 ",-1)])),default:e(()=>[a(_,{type:"primary",plain:"",size:"small"},{default:e(()=>s[30]||(s[30]=[S("选择文件")])),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","before-upload","on-preview"])]),_:2},1024))]),_:2},1024)]),_:2},1024)):(o(),B(w,{key:2,gutter:16,class:"w-full"},{default:e(()=>[a(p,{span:12},{default:e(()=>[a(r,{label:"自评得分",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(i.selfAppraisalScoreInfo1.appraisalScore)+"分 ",1)]),_:2},1024)]),_:2},1024),a(p,{span:12},{default:e(()=>[a(r,{label:"自评依据",style:{"margin-bottom":"0"}},{default:e(()=>[d("div",null,[d("p",null,c(i.selfAppraisalScoreInfo1.appraisalBasis),1)])]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"佐证材料附件",style:{"margin-bottom":"0"}},{default:e(()=>{var l;return[i.selfAppraisalScoreInfo1.appraisalBasisAppendix&&((l=JSON.parse(i.selfAppraisalScoreInfo1.appraisalBasisAppendix))!=null&&l.length)?(o(),m("div",ga,[(o(!0),m(g,null,k(i.selfAppraisalScoreInfo1.appraisalBasisAppendix&&JSON.parse(i.selfAppraisalScoreInfo1.appraisalBasisAppendix),(A,y)=>(o(),m("p",{key:y,class:"mb-4"},[a(M,{"file-name":A.originalFileName,"file-id":A.id},null,8,["file-name","file-id"])]))),128))])):(o(),m("span",ka,"-"))]}),_:2},1024)]),_:2},1024)]),_:2},1024)),f.$route.name==="reviewGiveScore"&&i.reAppraisalScoreInfo&&((ee=(Z=Object.keys(i.reAppraisalScoreInfo))==null?void 0:Z.filter(l=>l!==t(j).realName))!=null&&ee.length)?(o(),B(w,{key:3},{default:e(()=>{var l,A;return[(o(!0),m(g,null,k(i.reAppraisalScoreInfo&&((l=Object.values(i.reAppraisalScoreInfo))==null?void 0:l.length)&&((A=Object.values(i.reAppraisalScoreInfo).reduce((y,$)=>y.concat($,[])))==null?void 0:A.filter(y=>y.appraisalEmployeeCode!==t(j).employeeCode)),(y,$)=>(o(),B(p,{key:$,span:12},{default:e(()=>[a(p,{span:24},{default:e(()=>[a(r,{label:"复评员",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(y.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"复评得分",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(y.appraisalScore)+"分 ",1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"复评依据",style:{"margin-bottom":"0"}},{default:e(()=>[y.appraisalBasis||y.appraisalBasisAppendix?(o(),m("div",Da,[d("p",null,c(y.appraisalBasis),1),(o(!0),m(g,null,k(y.appraisalBasisAppendix&&JSON.parse(y.appraisalBasisAppendix),(L,_e)=>(o(),m("p",{key:_e,class:"mb-4"},[a(M,{"file-name":L.originalFileName,"file-id":L.id},null,8,["file-name","file-id"])]))),128))])):(o(),m("span",Va,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]}),_:2},1024)):f.$route.name==="checkGiveScore"?(o(),B(w,{key:4},{default:e(()=>{var l;return[(o(!0),m(g,null,k(i.reAppraisalScoreInfo&&((l=Object.values(i.reAppraisalScoreInfo))==null?void 0:l.length)&&Object.values(i.reAppraisalScoreInfo).reduce((A,y)=>A.concat(y,[])),(A,y)=>(o(),B(p,{key:y,span:12},{default:e(()=>[a(p,{span:24},{default:e(()=>[a(r,{label:"复评员",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(A.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"复评得分",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(A.appraisalScore)+"分 ",1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"复评依据",style:{"margin-bottom":"0"}},{default:e(()=>[A.appraisalBasis||A.appraisalBasisAppendix?(o(),m("div",$a,[d("p",null,c(A.appraisalBasis),1),(o(!0),m(g,null,k(A.appraisalBasisAppendix&&JSON.parse(A.appraisalBasisAppendix),($,L)=>(o(),m("p",{key:L,class:"mb-4"},[a(M,{"file-name":$.originalFileName,"file-id":$.id},null,8,["file-name","file-id"])]))),128))])):(o(),m("span",Ua,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]}),_:2},1024)):D("",!0),f.$route.name==="reviewGiveScore"?(o(),B(w,{key:5},{default:e(()=>[a(p,null,{default:e(()=>[a(p,{span:24},{default:e(()=>[a(r,{label:"复评得分",prop:`templateDetails[${v}].children[${I}].children[${x}].selfAppraisalScoreInfo2.appraisalScore`,rules:{required:!0,message:"请输入"}},{default:e(()=>[a(q,{modelValue:i.selfAppraisalScoreInfo2.appraisalScore,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo2.appraisalScore=l,placeholder:"请填写",min:0,max:i.indexScore,precision:2,controls:!1,onMousewheel:s[1]||(s[1]=Y(()=>{},["prevent"])),onBlur:z},null,8,["modelValue","onUpdate:modelValue","max"])]),_:2},1032,["prop"])]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"评价依据"},{default:e(()=>[a(V,{modelValue:i.selfAppraisalScoreInfo2.appraisalBasis,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo2.appraisalBasis=l,placeholder:"请填写",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),a(h,{"file-list":n.value.templateDetails[v].children[I].children[x].selfAppraisalScoreInfo2.appraisalBasisAppendix,"onUpdate:fileList":l=>n.value.templateDetails[v].children[I].children[x].selfAppraisalScoreInfo2.appraisalBasisAppendix=l,class:"w-full",action:t(O),limit:5,"on-success":l=>t(R)(l,n.value.templateDetails[v].children[I].children[x].selfAppraisalScoreInfo2.appraisalBasisAppendix),"before-upload":l=>t(P)(l,{types:t(E)}),accept:t(E).map(l=>`.${l}`).join(","),"on-preview":t(T)},{tip:e(()=>[d("div",Na," 支持"+c(t(ne))+"文件 ",1)]),default:e(()=>[a(_,{type:"primary",plain:"",size:"small"},{default:e(()=>s[32]||(s[32]=[S("选择文件")])),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","before-upload","accept","on-preview"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)):D("",!0),f.$route.name==="checkGiveScore"&&i.verifyScoreInfo&&((le=(ae=Object.keys(i.verifyScoreInfo))==null?void 0:ae.filter(l=>l!==t(j).realName))!=null&&le.length)?(o(!0),m(g,{key:6},k(i.verifyScoreInfo&&((se=Object.values(i.verifyScoreInfo))==null?void 0:se.length)&&((ie=Object.values(i.verifyScoreInfo).reduce((l,A)=>l.concat(A,[])))==null?void 0:ie.filter(l=>l.appraisalEmployeeCode!==t(j).employeeCode)),(l,A)=>(o(),B(p,{key:A,span:12},{default:e(()=>[a(p,{span:24},{default:e(()=>[a(r,{label:"核查员",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(l.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"核查得分",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(l.appraisalScore)+"分 ",1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"核查依据",style:{"margin-bottom":"0"}},{default:e(()=>[l.appraisalBasis||l.appraisalBasisAppendix?(o(),m("div",Ga,[d("p",null,c(l.appraisalBasis),1),(o(!0),m(g,null,k(l.appraisalBasisAppendix&&JSON.parse(l.appraisalBasisAppendix),(y,$)=>(o(),m("p",{key:$,class:"mb-4"},[a(M,{"file-name":y.originalFileName,"file-id":y.id},null,8,["file-name","file-id"])]))),128))])):(o(),m("span",ja,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128)):D("",!0),f.$route.name==="checkGiveScore"?(o(),B(w,{key:7},{default:e(()=>[a(p,{span:24},{default:e(()=>[a(r,{label:"核查得分",prop:`templateDetails[${v}].children[${I}].children[${x}].selfAppraisalScoreInfo3.appraisalScore`,rules:{required:!0,message:"请输入"}},{default:e(()=>[a(q,{modelValue:i.selfAppraisalScoreInfo3.appraisalScore,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo3.appraisalScore=l,placeholder:"请填写",min:0,max:i.indexScore,precision:2,controls:!1,onMousewheel:s[2]||(s[2]=Y(()=>{},["prevent"])),onBlur:z},null,8,["modelValue","onUpdate:modelValue","max"])]),_:2},1032,["prop"])]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"评价依据"},{default:e(()=>[a(V,{modelValue:i.selfAppraisalScoreInfo3.appraisalBasis,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo3.appraisalBasis=l,placeholder:"请填写",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),a(h,{"file-list":n.value.templateDetails[v].children[I].children[x].selfAppraisalScoreInfo3.appraisalBasisAppendix,"onUpdate:fileList":l=>n.value.templateDetails[v].children[I].children[x].selfAppraisalScoreInfo3.appraisalBasisAppendix=l,class:"w-full",action:t(O),limit:5,"on-success":l=>t(R)(l,n.value.templateDetails[v].children[I].children[x].selfAppraisalScoreInfo3.appraisalBasisAppendix),"before-upload":l=>t(P)(l,{types:t(E)}),accept:t(E).map(l=>`.${l}`).join(","),"on-preview":t(T)},{tip:e(()=>[d("div",Fa," 支持"+c(t(ne))+"文件 ",1)]),default:e(()=>[a(_,{type:"primary",plain:"",size:"small"},{default:e(()=>s[33]||(s[33]=[S("选择文件")])),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","before-upload","accept","on-preview"])]),_:2},1024)]),_:2},1024)]),_:2},1024)):D("",!0)])}),128))]),_:2},1032,["name"]))),128))]),_:2},1032,["modelValue"])]),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(H,{name:"4",class:"mb-16"},{title:e(()=>s[34]||(s[34]=[d("div",{class:"collapse-title"},"附加阶段",-1)])),default:e(()=>[n.value.additionalIndexDetails?(o(),B(X,{key:0,modelValue:fe.value,"onUpdate:modelValue":s[9]||(s[9]=b=>fe.value=b),class:"customCollapse"},{default:e(()=>[(o(!0),m(g,null,k(n.value.additionalIndexDetails,(b,v)=>(o(),B(H,{key:v,name:b.templateId},{title:e(()=>[d("div",Oa,"一级指标:"+c(b.name),1)]),default:e(()=>[a(X,{modelValue:ce.value,"onUpdate:modelValue":s[8]||(s[8]=N=>ce.value=N),class:"customCollapse"},{default:e(()=>[(o(!0),m(g,null,k(b.children,(N,I)=>(o(),B(H,{key:I,name:N.templateId},{title:e(()=>[d("div",Ca,"二级指标:"+c(N.name),1)]),default:e(()=>[(o(!0),m(g,null,k(N.children,(i,x)=>{var Z,ee,ae,le,se,ie;return o(),m("div",{key:x,class:"pl-16"},[a(r,{label:"三级指标",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",null,c(i.name)+"("+c(i.indexScore)+"分)",1)]),_:2},1024),a(r,{label:"指标细则",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",qa,c(i.indexDetail),1)]),_:2},1024),a(r,{label:"评分细则",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",ha,c(i.gradeDetail),1)]),_:2},1024),a(r,{label:"是否上传佐证材料附件",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",La,c(i.isUploadSupportFile?"是":"否"),1)]),_:2},1024),a(r,{label:"佐证材料",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",Ra,c(i.supportMaterial),1)]),_:2},1024),f.$route.name==="unitSelfGiveScore"||f.$route.name==="selfGiveScore"?(o(),B(w,{key:0},{default:e(()=>[a(p,{span:24},{default:e(()=>[a(r,{label:"自评得分",prop:`additionalIndexDetails[${v}].children[${I}].children[${x}].selfAppraisalScoreInfo1.appraisalScore`,rules:{required:!0,message:"请输入"}},{default:e(()=>[a(q,{modelValue:i.selfAppraisalScoreInfo1.appraisalScore,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo1.appraisalScore=l,placeholder:"请填写",min:i.indexScore>0?0:i.indexScore,max:i.indexScore>=0?i.indexScore:0,precision:2,controls:!1,onMousewheel:s[5]||(s[5]=Y(()=>{},["prevent"])),onBlur:z},null,8,["modelValue","onUpdate:modelValue","min","max"])]),_:2},1032,["prop"])]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"评价依据"},{default:e(()=>[a(V,{modelValue:i.selfAppraisalScoreInfo1.appraisalBasis,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo1.appraisalBasis=l,placeholder:"请填写",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),D("",!0)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[i.isUploadSupportFile?(o(),B(r,{key:0,label:"佐证材料附件",prop:`additionalIndexDetails[${v}].children[${I}].children[${x}].selfAppraisalScoreInfo1.appraisalBasisAppendix`,rules:{required:!0,message:"请上传"}},{default:e(()=>[a(h,{"file-list":n.value.additionalIndexDetails[v].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix,"onUpdate:fileList":l=>n.value.additionalIndexDetails[v].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix=l,class:"w-full",action:t(O),limit:5,"on-success":l=>t(R)(l,n.value.additionalIndexDetails[v].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix),"before-upload":l=>t(P)(l,{types:["wps","pdf","doc","docx","zip","rar"]}),accept:".wps,.pdf,.doc,.docx,.zip,.rar","on-preview":t(T)},{tip:e(()=>s[37]||(s[37]=[d("div",{class:"el-upload__tip"}," 支持pdf、word、zip、rar文件 ",-1)])),default:e(()=>[a(_,{type:"primary",plain:"",size:"small"},{default:e(()=>s[36]||(s[36]=[S("选择文件")])),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","before-upload","on-preview"])]),_:2},1032,["prop"])):(o(),B(r,{key:1,label:"佐证材料附件"},{default:e(()=>[a(h,{"file-list":n.value.additionalIndexDetails[v].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix,"onUpdate:fileList":l=>n.value.additionalIndexDetails[v].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix=l,class:"w-full",action:t(O),limit:5,"on-success":l=>t(R)(l,n.value.additionalIndexDetails[v].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix),"before-upload":l=>t(P)(l,{types:["wps","pdf","doc","docx","zip","rar"]}),accept:".wps,.pdf,.doc,.docx,.zip,.rar","on-preview":t(T)},{tip:e(()=>s[39]||(s[39]=[d("div",{class:"el-upload__tip"}," 支持pdf、word、zip、rar文件 ",-1)])),default:e(()=>[a(_,{type:"primary",plain:"",size:"small"},{default:e(()=>s[38]||(s[38]=[S("选择文件")])),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","before-upload","on-preview"])]),_:2},1024))]),_:2},1024)]),_:2},1024)):(o(),B(w,{key:1,gutter:16,class:"w-full"},{default:e(()=>[a(p,{span:12},{default:e(()=>[a(r,{label:"自评得分",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(i.selfAppraisalScoreInfo1.appraisalScore||"-")+"分 ",1)]),_:2},1024)]),_:2},1024),a(p,{span:12},{default:e(()=>[a(r,{label:"自评依据",style:{"margin-bottom":"0"}},{default:e(()=>[d("div",null,[d("p",null,c(i.selfAppraisalScoreInfo1.appraisalBasis||"-"),1)])]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"佐证材料附件",style:{"margin-bottom":"0"}},{default:e(()=>{var l;return[i.selfAppraisalScoreInfo1.appraisalBasisAppendix&&((l=JSON.parse(i.selfAppraisalScoreInfo1.appraisalBasisAppendix))!=null&&l.length)?(o(),m("div",Pa,[(o(!0),m(g,null,k(i.selfAppraisalScoreInfo1.appraisalBasisAppendix&&JSON.parse(i.selfAppraisalScoreInfo1.appraisalBasisAppendix),(A,y)=>(o(),m("p",{key:y,class:"mb-4"},[a(M,{"file-name":A.originalFileName,"file-id":A.id},null,8,["file-name","file-id"])]))),128))])):(o(),m("span",Ta,"-"))]}),_:2},1024)]),_:2},1024)]),_:2},1024)),f.$route.name==="reviewGiveScore"&&i.reAppraisalScoreInfo&&((ee=(Z=Object.keys(i.reAppraisalScoreInfo))==null?void 0:Z.filter(l=>l!==t(j).realName))!=null&&ee.length)?(o(),B(w,{key:2},{default:e(()=>{var l,A;return[(o(!0),m(g,null,k(i.reAppraisalScoreInfo&&((l=Object.values(i.reAppraisalScoreInfo))==null?void 0:l.length)&&((A=Object.values(i.reAppraisalScoreInfo).reduce((y,$)=>y.concat($,[])))==null?void 0:A.filter(y=>y.appraisalEmployeeCode!==t(j).employeeCode)),(y,$)=>(o(),B(p,{key:$,span:12},{default:e(()=>[a(p,{span:24},{default:e(()=>[a(r,{label:"复评员",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(y.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"复评得分",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(y.appraisalScore)+"分 ",1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"复评依据",style:{"margin-bottom":"0"}},{default:e(()=>[y.appraisalBasis||y.appraisalBasisAppendix?(o(),m("div",za,[d("p",null,c(y.appraisalBasis),1),(o(!0),m(g,null,k(y.appraisalBasisAppendix&&JSON.parse(y.appraisalBasisAppendix),(L,_e)=>(o(),m("p",{key:_e,class:"mb-4"},[a(M,{"file-name":L.originalFileName,"file-id":L.id},null,8,["file-name","file-id"])]))),128))])):(o(),m("span",Ea,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]}),_:2},1024)):f.$route.name==="checkGiveScore"?(o(),B(w,{key:3},{default:e(()=>{var l;return[(o(!0),m(g,null,k(i.reAppraisalScoreInfo&&((l=Object.values(i.reAppraisalScoreInfo))==null?void 0:l.length)&&Object.values(i.reAppraisalScoreInfo).reduce((A,y)=>A.concat(y,[])),(A,y)=>(o(),B(p,{key:y,span:12},{default:e(()=>[a(p,{span:24},{default:e(()=>[a(r,{label:"复评员",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(A.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"复评得分",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(A.appraisalScore)+"分 ",1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"复评依据",style:{"margin-bottom":"0"}},{default:e(()=>[A.appraisalBasis||A.appraisalBasisAppendix?(o(),m("div",Ma,[d("p",null,c(A.appraisalBasis),1),(o(!0),m(g,null,k(A.appraisalBasisAppendix&&JSON.parse(A.appraisalBasisAppendix),($,L)=>(o(),m("p",{key:L,class:"mb-4"},[a(M,{"file-name":$.originalFileName,"file-id":$.id},null,8,["file-name","file-id"])]))),128))])):(o(),m("span",Ja,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]}),_:2},1024)):D("",!0),f.$route.name==="reviewGiveScore"?(o(),B(w,{key:4},{default:e(()=>[a(p,{span:24},{default:e(()=>[a(r,{label:"复评得分",prop:`additionalIndexDetails[${v}].children[${I}].children[${x}].selfAppraisalScoreInfo2.appraisalScore`,rules:{required:!0,message:"请输入"}},{default:e(()=>[a(q,{modelValue:i.selfAppraisalScoreInfo2.appraisalScore,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo2.appraisalScore=l,placeholder:"请填写",min:i.indexScore>0?0:i.indexScore,max:i.indexScore>=0?i.indexScore:0,precision:2,controls:!1,onMousewheel:s[6]||(s[6]=Y(()=>{},["prevent"])),onBlur:z},null,8,["modelValue","onUpdate:modelValue","min","max"])]),_:2},1032,["prop"])]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"评价依据"},{default:e(()=>[a(V,{modelValue:i.selfAppraisalScoreInfo2.appraisalBasis,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo2.appraisalBasis=l,placeholder:"请填写",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),a(h,{"file-list":n.value.additionalIndexDetails[v].children[I].children[x].selfAppraisalScoreInfo2.appraisalBasisAppendix,"onUpdate:fileList":l=>n.value.additionalIndexDetails[v].children[I].children[x].selfAppraisalScoreInfo2.appraisalBasisAppendix=l,class:"w-full",action:t(O),limit:5,"on-success":l=>t(R)(l,n.value.additionalIndexDetails[v].children[I].children[x].selfAppraisalScoreInfo2.appraisalBasisAppendix),"before-upload":l=>t(P)(l,{types:t(E)}),accept:t(E).map(l=>`.${l}`).join(","),"on-preview":t(T)},{tip:e(()=>[d("div",Ha," 支持"+c(t(ne))+"文件 ",1)]),default:e(()=>[a(_,{type:"primary",plain:"",size:"small"},{default:e(()=>s[40]||(s[40]=[S("选择文件")])),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","before-upload","accept","on-preview"])]),_:2},1024)]),_:2},1024)]),_:2},1024)):D("",!0),f.$route.name==="checkGiveScore"&&i.verifyScoreInfo&&((le=(ae=Object.keys(i.verifyScoreInfo))==null?void 0:ae.filter(l=>l!==t(j).realName))!=null&&le.length)?(o(!0),m(g,{key:5},k(i.verifyScoreInfo&&((se=Object.values(i.verifyScoreInfo))==null?void 0:se.length)&&((ie=Object.values(i.verifyScoreInfo).reduce((l,A)=>l.concat(A,[])))==null?void 0:ie.filter(l=>l.appraisalEmployeeCode!==t(j).employeeCode)),(l,A)=>(o(),B(p,{key:A,span:12},{default:e(()=>[a(p,{span:24},{default:e(()=>[a(r,{label:"核查员",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(l.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"核查得分",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(l.appraisalScore)+"分 ",1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"核查依据",style:{"margin-bottom":"0"}},{default:e(()=>[l.appraisalBasis||l.appraisalBasisAppendix?(o(),m("div",Ya,[d("p",null,c(l.appraisalBasis),1),(o(!0),m(g,null,k(l.appraisalBasisAppendix&&JSON.parse(l.appraisalBasisAppendix),(y,$)=>(o(),m("p",{key:$,class:"mb-4"},[a(M,{"file-name":y.originalFileName,"file-id":y.id},null,8,["file-name","file-id"])]))),128))])):(o(),m("span",Ka,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128)):D("",!0),f.$route.name==="checkGiveScore"?(o(),B(w,{key:6},{default:e(()=>[a(p,{span:24},{default:e(()=>[a(r,{label:"核查得分",prop:`additionalIndexDetails[${v}].children[${I}].children[${x}].selfAppraisalScoreInfo3.appraisalScore`,rules:{required:!0,message:"请输入"}},{default:e(()=>[a(q,{modelValue:i.selfAppraisalScoreInfo3.appraisalScore,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo3.appraisalScore=l,placeholder:"请填写",min:i.indexScore>0?0:i.indexScore,max:i.indexScore>=0?i.indexScore:0,precision:2,controls:!1,onMousewheel:s[7]||(s[7]=Y(()=>{},["prevent"])),onBlur:z},null,8,["modelValue","onUpdate:modelValue","min","max"])]),_:2},1032,["prop"])]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"评价依据"},{default:e(()=>[a(V,{modelValue:i.selfAppraisalScoreInfo3.appraisalBasis,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo3.appraisalBasis=l,placeholder:"请填写",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),a(h,{"file-list":n.value.additionalIndexDetails[v].children[I].children[x].selfAppraisalScoreInfo3.appraisalBasisAppendix,"onUpdate:fileList":l=>n.value.additionalIndexDetails[v].children[I].children[x].selfAppraisalScoreInfo3.appraisalBasisAppendix=l,class:"w-full",action:t(O),limit:5,"on-success":l=>t(R)(l,n.value.additionalIndexDetails[v].children[I].children[x].selfAppraisalScoreInfo3.appraisalBasisAppendix),"before-upload":l=>t(P)(l,{types:t(E)}),accept:t(E).map(l=>`.${l}`).join(","),"on-preview":t(T)},{tip:e(()=>[d("div",Qa," 支持"+c(t(ne))+"文件 ",1)]),default:e(()=>[a(_,{type:"primary",plain:"",size:"small"},{default:e(()=>s[41]||(s[41]=[S("选择文件")])),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","before-upload","accept","on-preview"])]),_:2},1024)]),_:2},1024)]),_:2},1024)):D("",!0)])}),128))]),_:2},1032,["name"]))),128))]),_:2},1032,["modelValue"])]),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"])):(o(),B(Ee,{key:1}))]),_:1})]),_:1},8,["modelValue"]),f.$route.name==="reviewGiveScore"&&f.$route.query.canReAppraisal==="true"?(o(),B(F,{key:0,class:"mt-16"},{header:e(()=>s[42]||(s[42]=[S("复评结果")])),default:e(()=>[a(r,{label:"是否通过",prop:"reAppraisalPass","label-width":"140"},{default:e(()=>[a(ge,{modelValue:n.value.reAppraisalPass,"onUpdate:modelValue":s[11]||(s[11]=b=>n.value.reAppraisalPass=b)},{default:e(()=>[a(te,{label:!0},{default:e(()=>s[43]||(s[43]=[S("是")])),_:1}),a(te,{label:!1},{default:e(()=>s[44]||(s[44]=[S("否")])),_:1})]),_:1},8,["modelValue"])]),_:1}),n.value.reAppraisalPass?D("",!0):(o(),B(r,{key:0,label:"上传咨询单","label-width":"140",prop:"consultationForm"},{default:e(()=>[a(h,{"file-list":n.value.consultationForm,"onUpdate:fileList":s[12]||(s[12]=b=>n.value.consultationForm=b),class:"w-full",action:t(O),limit:1,"on-exceed":t(Me),"on-success":b=>t(R)(b,n.value.consultationForm),"on-error":t(Je),"on-preview":t(T),"before-upload":b=>t(P)(b,{types:["doc","docx","wps"]}),accept:".doc,.docx,.wps"},{tip:e(()=>s[46]||(s[46]=[d("div",{class:"el-upload__tip"},"支持word文件",-1),d("a",{class:"ml-4",href:"/湖州市本级政府投资信息化项目绩效评价咨询单.wps",download:"湖州市本级政府投资信息化项目绩效评价咨询单.wps"},"下载模板",-1)])),default:e(()=>[a(_,{type:"primary",class:"mr-4"},{default:e(()=>s[45]||(s[45]=[S("上传附件")])),_:1})]),_:1},8,["file-list","action","on-exceed","on-success","on-error","on-preview","before-upload"])]),_:1}))]),_:1})):D("",!0),f.$route.name==="checkGiveScore"&&f.$route.query.canRectify==="true"?(o(),B(F,{key:1,class:"mt-16"},{header:e(()=>s[47]||(s[47]=[S("结果")])),default:e(()=>[a(r,{label:"项目是否需要整改",prop:"isRectify","label-width":"140"},{default:e(()=>[a(ge,{modelValue:n.value.isRectify,"onUpdate:modelValue":s[13]||(s[13]=b=>n.value.isRectify=b)},{default:e(()=>[a(te,{label:!0},{default:e(()=>s[48]||(s[48]=[S("是")])),_:1}),a(te,{label:!1},{default:e(()=>s[49]||(s[49]=[S("否")])),_:1})]),_:1},8,["modelValue"])]),_:1}),a(r,{label:"整改意见","label-width":"140"},{default:e(()=>[a(V,{modelValue:n.value.rectifyOpinion,"onUpdate:modelValue":s[14]||(s[14]=b=>n.value.rectifyOpinion=b),type:"textarea",maxlength:2e3,"show-word-limit":"",placeholder:"请详情填写整改意见,例如1、方案中写明应用将上架浙政钉,但是目前还没完成上架,需要及时完成上架工作,2、..."},null,8,["modelValue"])]),_:1})]),_:1})):D("",!0)]),_:1},8,["model"])),[[Oe,K.value]]):(o(),B(F,{key:1},{default:e(()=>[a(Fe,{icon:"error",title:"该项目匹配不到指标模板,请返回上一页或刷新重试"},{extra:e(()=>[a(_,{onClick:s[15]||(s[15]=b=>f.$router.go(-1))},{default:e(()=>s[50]||(s[50]=[S("返回列表")])),_:1}),a(_,{type:"primary",onClick:s[16]||(s[16]=b=>f.$router.go(0))},{default:e(()=>s[51]||(s[51]=[S("刷新")])),_:1})]),_:1})]),_:1})),d("div",Wa,[a(_,{onClick:s[17]||(s[17]=b=>f.$router.go(-1))},{default:e(()=>s[52]||(s[52]=[S(" 返回 ")])),_:1}),a(_,{type:"primary",plain:"",onClick:je},{default:e(()=>s[53]||(s[53]=[S(" 暂存 ")])),_:1}),a(_,{type:"primary",onClick:s[18]||(s[18]=b=>Ge(Be.value))},{default:e(()=>s[54]||(s[54]=[S(" 提交 ")])),_:1})])])}}});export{tl as default};
|