25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
41KB

  1. import{d as Ce,B as ye,x as qe,y as he,r as U,C as Le,o as Re,c as G,a2 as Pe,e as o,f as m,h as a,i as e,g as d,t as c,j as S,u as t,G as B,k as D,w as Te,F as g,H as k,T as Y,q as ze}from"./index.b0d60c48.js";import{N as Ee}from"./index.56de0c0d.js";import{h as R,f as P,c as E,b as T,e as ne,j as Me,i as Je,r as Ae,g as be}from"./uploadAction.a8acc1a0.js";import{d as He,t as ke,e as Ye,s as Ke,a as Qe}from"./unitSelfEvaluation.088e49d6.js";import{_ as M}from"./index.6288621d.js";import{a as We}from"./projectStore.5a299d29.js";import{s as Xe}from"./projectReview.2457c135.js";import{s as Ze}from"./expertVerification.51729b6a.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=Ce({name:"giveScore"}),tl=Object.assign(Xa,{setup(Za){const O=ye.dictStore.uploadUrl,{statusOptions:De}=ye.dictStore.globalDicts||{},u=qe(),Ve=he(),{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:"\u8BF7\u9009\u62E9"}],reAppraisalPass:[{required:!0,message:"\u8BF7\u9009\u62E9"}],consultationForm:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}]},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?void 0:s.templateDetails)||((r=f==null?void 0:f.data)==null?void 0: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=Le(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?void 0:_.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?void 0:_.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?void 0: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("\u63D0\u4EA4\u6210\u529F\uFF01"),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?void 0: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("\u4FDD\u5B58\u6210\u529F")},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 Re(()=>{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=Pe("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:"\u7533\u62A5\u5355\u4F4D"},{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:"\u9879\u76EE\u72B6\u6001"},{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:"\u6279\u590D\u91D1\u989D"},{default:e(()=>{var v;return[S(c((v=J.value)==null?void 0:v.approvalAmount)+"\u4E07\u5143",1)]}),_:1})]),_:1}),a(p,{span:6},{default:e(()=>[a(r,{label:"\u9884\u7B97\u5E74\u5EA6"},{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("\u4E0B\u8F7D\u5206\u6790\u62A5\u544A")])),_: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("\u81EA\u8BC4\u603B\u5206(\u5F53\u524D)\uFF1A")),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("\u590D\u8BC4\u603B\u5206(\u5F53\u524D)\uFF1A")),d("span",ua,c(W.value),1)]),d("p",null,[s[22]||(s[22]=S("\u81EA\u8BC4\u6253\u5206\u603B\u5206\uFF1A")),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("\u6838\u67E5\u603B\u5206(\u5F53\u524D)\uFF1A")),d("span",va,c(W.value),1)]),d("p",null,[s[24]||(s[24]=S("\u81EA\u8BC4\u6253\u5206\u603B\u5206\uFF1A")),d("span",Sa,c(pe.value),1)]),d("p",_a,[s[25]||(s[25]=S("\u590D\u8BC4\u6253\u5206\u603B\u5206\uFF1A")),d("span",ya,c((b=me.value)==null?void 0:b.split(",").join("\u3001")),1)])])):D("",!0)])]}),_:1}),oe.value?Te((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"},"\u8BC4\u4EF7\u6307\u6807",-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,"\u4E00\u7EA7\u6307\u6807\uFF1A"+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,"\u4E8C\u7EA7\u6307\u6807\uFF1A"+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:"\u4E09\u7EA7\u6307\u6807",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",null,c(i.name)+"\uFF08"+c(i.indexScore)+"\u5206\uFF09",1)]),_:2},1024),a(r,{label:"\u6307\u6807\u7EC6\u5219",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",Ia,c(i.indexDetail),1)]),_:2},1024),a(r,{label:"\u8BC4\u5206\u7EC6\u5219",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",xa,c(i.gradeDetail),1)]),_:2},1024),a(r,{label:"\u662F\u5426\u4E0A\u4F20\u4F50\u8BC1\u6750\u6599\u9644\u4EF6",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",Ba,c(i.isUploadSupportFile?"\u662F":"\u5426"),1)]),_:2},1024),D("",!0),a(r,{label:"\u4F50\u8BC1\u6750\u6599",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:"\u81EA\u8BC4\u5F97\u5206",prop:`templateDetails[${v}].children[${I}].children[${x}].selfAppraisalScoreInfo1.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(q,{modelValue:i.selfAppraisalScoreInfo1.appraisalScore,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo1.appraisalScore=l,placeholder:"\u8BF7\u586B\u5199",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:"\u8BC4\u4EF7\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[a(V,{modelValue:i.selfAppraisalScoreInfo1.appraisalBasis,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo1.appraisalBasis=l,placeholder:"\u8BF7\u586B\u5199",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:"\u4F50\u8BC1\u6750\u6599\u9644\u4EF6",prop:`templateDetails[${v}].children[${I}].children[${x}].selfAppraisalScoreInfo1.appraisalBasisAppendix`,rules:{required:!0,message:"\u8BF7\u4E0A\u4F20"}},{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"}," \u652F\u6301pdf\u3001word\u3001zip\u3001rar\u6587\u4EF6 ",-1)])),default:e(()=>[a(_,{type:"primary",plain:"",size:"small"},{default:e(()=>s[28]||(s[28]=[S("\u9009\u62E9\u6587\u4EF6")])),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","before-upload","on-preview"])]),_:2},1032,["prop"])):(o(),B(r,{key:1,label:"\u4F50\u8BC1\u6750\u6599\u9644\u4EF6"},{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"}," \u652F\u6301pdf\u3001word\u3001zip\u3001rar\u6587\u4EF6 ",-1)])),default:e(()=>[a(_,{type:"primary",plain:"",size:"small"},{default:e(()=>s[30]||(s[30]=[S("\u9009\u62E9\u6587\u4EF6")])),_: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:"\u81EA\u8BC4\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(i.selfAppraisalScoreInfo1.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(p,{span:12},{default:e(()=>[a(r,{label:"\u81EA\u8BC4\u4F9D\u636E",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:"\u4F50\u8BC1\u6750\u6599\u9644\u4EF6",style:{"margin-bottom":"0"}},{default:e(()=>{var l;return[i.selfAppraisalScoreInfo1.appraisalBasisAppendix&&((l=JSON.parse(i.selfAppraisalScoreInfo1.appraisalBasisAppendix))==null?void 0: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?void 0: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:"\u590D\u8BC4\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(y.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(y.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u4F9D\u636E",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:"\u590D\u8BC4\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(A.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(A.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u4F9D\u636E",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:"\u590D\u8BC4\u5F97\u5206",prop:`templateDetails[${v}].children[${I}].children[${x}].selfAppraisalScoreInfo2.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(q,{modelValue:i.selfAppraisalScoreInfo2.appraisalScore,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo2.appraisalScore=l,placeholder:"\u8BF7\u586B\u5199",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:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a(V,{modelValue:i.selfAppraisalScoreInfo2.appraisalBasis,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo2.appraisalBasis=l,placeholder:"\u8BF7\u586B\u5199",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," \u652F\u6301"+c(t(ne))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(_,{type:"primary",plain:"",size:"small"},{default:e(()=>s[32]||(s[32]=[S("\u9009\u62E9\u6587\u4EF6")])),_: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?void 0: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:"\u6838\u67E5\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(l.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"\u6838\u67E5\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(l.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"\u6838\u67E5\u4F9D\u636E",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:"\u6838\u67E5\u5F97\u5206",prop:`templateDetails[${v}].children[${I}].children[${x}].selfAppraisalScoreInfo3.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(q,{modelValue:i.selfAppraisalScoreInfo3.appraisalScore,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo3.appraisalScore=l,placeholder:"\u8BF7\u586B\u5199",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:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a(V,{modelValue:i.selfAppraisalScoreInfo3.appraisalBasis,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo3.appraisalBasis=l,placeholder:"\u8BF7\u586B\u5199",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," \u652F\u6301"+c(t(ne))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(_,{type:"primary",plain:"",size:"small"},{default:e(()=>s[33]||(s[33]=[S("\u9009\u62E9\u6587\u4EF6")])),_: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"},"\u9644\u52A0\u9636\u6BB5",-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,"\u4E00\u7EA7\u6307\u6807\uFF1A"+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,"\u4E8C\u7EA7\u6307\u6807\uFF1A"+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:"\u4E09\u7EA7\u6307\u6807",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",null,c(i.name)+"\uFF08"+c(i.indexScore)+"\u5206\uFF09",1)]),_:2},1024),a(r,{label:"\u6307\u6807\u7EC6\u5219",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",qa,c(i.indexDetail),1)]),_:2},1024),a(r,{label:"\u8BC4\u5206\u7EC6\u5219",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",ha,c(i.gradeDetail),1)]),_:2},1024),a(r,{label:"\u662F\u5426\u4E0A\u4F20\u4F50\u8BC1\u6750\u6599\u9644\u4EF6",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",La,c(i.isUploadSupportFile?"\u662F":"\u5426"),1)]),_:2},1024),a(r,{label:"\u4F50\u8BC1\u6750\u6599",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:"\u81EA\u8BC4\u5F97\u5206",prop:`additionalIndexDetails[${v}].children[${I}].children[${x}].selfAppraisalScoreInfo1.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(q,{modelValue:i.selfAppraisalScoreInfo1.appraisalScore,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo1.appraisalScore=l,placeholder:"\u8BF7\u586B\u5199",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:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a(V,{modelValue:i.selfAppraisalScoreInfo1.appraisalBasis,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo1.appraisalBasis=l,placeholder:"\u8BF7\u586B\u5199",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:"\u4F50\u8BC1\u6750\u6599\u9644\u4EF6",prop:`additionalIndexDetails[${v}].children[${I}].children[${x}].selfAppraisalScoreInfo1.appraisalBasisAppendix`,rules:{required:!0,message:"\u8BF7\u4E0A\u4F20"}},{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"}," \u652F\u6301pdf\u3001word\u3001zip\u3001rar\u6587\u4EF6 ",-1)])),default:e(()=>[a(_,{type:"primary",plain:"",size:"small"},{default:e(()=>s[36]||(s[36]=[S("\u9009\u62E9\u6587\u4EF6")])),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","before-upload","on-preview"])]),_:2},1032,["prop"])):(o(),B(r,{key:1,label:"\u4F50\u8BC1\u6750\u6599\u9644\u4EF6"},{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"}," \u652F\u6301pdf\u3001word\u3001zip\u3001rar\u6587\u4EF6 ",-1)])),default:e(()=>[a(_,{type:"primary",plain:"",size:"small"},{default:e(()=>s[38]||(s[38]=[S("\u9009\u62E9\u6587\u4EF6")])),_: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:"\u81EA\u8BC4\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(i.selfAppraisalScoreInfo1.appraisalScore||"-")+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(p,{span:12},{default:e(()=>[a(r,{label:"\u81EA\u8BC4\u4F9D\u636E",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:"\u4F50\u8BC1\u6750\u6599\u9644\u4EF6",style:{"margin-bottom":"0"}},{default:e(()=>{var l;return[i.selfAppraisalScoreInfo1.appraisalBasisAppendix&&((l=JSON.parse(i.selfAppraisalScoreInfo1.appraisalBasisAppendix))==null?void 0: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?void 0: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:"\u590D\u8BC4\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(y.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(y.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u4F9D\u636E",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:"\u590D\u8BC4\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(A.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(A.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"\u590D\u8BC4\u4F9D\u636E",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:"\u590D\u8BC4\u5F97\u5206",prop:`additionalIndexDetails[${v}].children[${I}].children[${x}].selfAppraisalScoreInfo2.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(q,{modelValue:i.selfAppraisalScoreInfo2.appraisalScore,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo2.appraisalScore=l,placeholder:"\u8BF7\u586B\u5199",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:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a(V,{modelValue:i.selfAppraisalScoreInfo2.appraisalBasis,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo2.appraisalBasis=l,placeholder:"\u8BF7\u586B\u5199",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," \u652F\u6301"+c(t(ne))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(_,{type:"primary",plain:"",size:"small"},{default:e(()=>s[40]||(s[40]=[S("\u9009\u62E9\u6587\u4EF6")])),_: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?void 0: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:"\u6838\u67E5\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(l.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"\u6838\u67E5\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[S(c(l.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(p,{span:24},{default:e(()=>[a(r,{label:"\u6838\u67E5\u4F9D\u636E",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:"\u6838\u67E5\u5F97\u5206",prop:`additionalIndexDetails[${v}].children[${I}].children[${x}].selfAppraisalScoreInfo3.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(q,{modelValue:i.selfAppraisalScoreInfo3.appraisalScore,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo3.appraisalScore=l,placeholder:"\u8BF7\u586B\u5199",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:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a(V,{modelValue:i.selfAppraisalScoreInfo3.appraisalBasis,"onUpdate:modelValue":l=>i.selfAppraisalScoreInfo3.appraisalBasis=l,placeholder:"\u8BF7\u586B\u5199",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," \u652F\u6301"+c(t(ne))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(_,{type:"primary",plain:"",size:"small"},{default:e(()=>s[41]||(s[41]=[S("\u9009\u62E9\u6587\u4EF6")])),_: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("\u590D\u8BC4\u7ED3\u679C")])),default:e(()=>[a(r,{label:"\u662F\u5426\u901A\u8FC7",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("\u662F")])),_:1}),a(te,{label:!1},{default:e(()=>s[44]||(s[44]=[S("\u5426")])),_:1})]),_:1},8,["modelValue"])]),_:1}),n.value.reAppraisalPass?D("",!0):(o(),B(r,{key:0,label:"\u4E0A\u4F20\u54A8\u8BE2\u5355","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"},"\u652F\u6301word\u6587\u4EF6",-1),d("a",{class:"ml-4",href:"/\u6E56\u5DDE\u5E02\u672C\u7EA7\u653F\u5E9C\u6295\u8D44\u4FE1\u606F\u5316\u9879\u76EE\u7EE9\u6548\u8BC4\u4EF7\u54A8\u8BE2\u5355.wps",download:"\u6E56\u5DDE\u5E02\u672C\u7EA7\u653F\u5E9C\u6295\u8D44\u4FE1\u606F\u5316\u9879\u76EE\u7EE9\u6548\u8BC4\u4EF7\u54A8\u8BE2\u5355.wps"},"\u4E0B\u8F7D\u6A21\u677F",-1)])),default:e(()=>[a(_,{type:"primary",class:"mr-4"},{default:e(()=>s[45]||(s[45]=[S("\u4E0A\u4F20\u9644\u4EF6")])),_: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("\u7ED3\u679C")])),default:e(()=>[a(r,{label:"\u9879\u76EE\u662F\u5426\u9700\u8981\u6574\u6539",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("\u662F")])),_:1}),a(te,{label:!1},{default:e(()=>s[49]||(s[49]=[S("\u5426")])),_:1})]),_:1},8,["modelValue"])]),_:1}),a(r,{label:"\u6574\u6539\u610F\u89C1","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:"\u8BF7\u8BE6\u60C5\u586B\u5199\u6574\u6539\u610F\u89C1\uFF0C\u4F8B\u59821\u3001\u65B9\u6848\u4E2D\u5199\u660E\u5E94\u7528\u5C06\u4E0A\u67B6\u6D59\u653F\u9489\uFF0C\u4F46\u662F\u76EE\u524D\u8FD8\u6CA1\u5B8C\u6210\u4E0A\u67B6\uFF0C\u9700\u8981\u53CA\u65F6\u5B8C\u6210\u4E0A\u67B6\u5DE5\u4F5C\uFF0C2\u3001..."},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:"\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:s[15]||(s[15]=b=>f.$router.go(-1))},{default:e(()=>s[50]||(s[50]=[S("\u8FD4\u56DE\u5217\u8868")])),_:1}),a(_,{type:"primary",onClick:s[16]||(s[16]=b=>f.$router.go(0))},{default:e(()=>s[51]||(s[51]=[S("\u5237\u65B0")])),_:1})]),_:1})]),_:1})),d("div",Wa,[a(_,{onClick:s[17]||(s[17]=b=>f.$router.go(-1))},{default:e(()=>s[52]||(s[52]=[S(" \u8FD4\u56DE ")])),_:1}),a(_,{type:"primary",plain:"",onClick:je},{default:e(()=>s[53]||(s[53]=[S(" \u6682\u5B58 ")])),_:1}),a(_,{type:"primary",onClick:s[18]||(s[18]=b=>Ge(Be.value))},{default:e(()=>s[54]||(s[54]=[S(" \u63D0\u4EA4 ")])),_:1})])])}}});export{tl as default};