Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

2 linhas
41KB

  1. import{d as Oe,D as ye,z as Ce,A as qe,r as $,G as Le,o as Re,c as N,a4 as Pe,e as i,f as m,h as a,i as e,g as d,t as f,j as v,u as r,I as B,k as h,w as Te,F as g,J as k,V as H,x as ze}from"./index.ce13ff81.js";import{N as Ee}from"./index.f6955892.js";import{h as R,f as P,c as E,b as T,e as ne,j as Je,i as Me,r as Ae,g as be}from"./uploadAction.f62a56f0.js";import{d as Ye,t as ke,e as He,s as Ke,a as Qe}from"./unitSelfEvaluation.91d0e3b9.js";import{_ as J}from"./index.ffa50a44.js";import{a as We}from"./projectStore.1d256069.js";import{s as Xe}from"./projectReview.97e61aea.js";import{s as Ze}from"./expertVerification.c52c63ef.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"},ca={class:"font-bold text-18"},fa={key:2,class:"flex"},ma={class:"mr-16"},_a={class:"font-bold text-18"},va={class:"font-bold text-18"},Sa={class:"ml-16"},ya={class:"font-bold text-18"},Aa=d("div",{class:"collapse-title"},"\u8BC4\u4EF7\u6307\u6807",-1),ba={class:"collapse-title"},Ia={class:"collapse-title"},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"}},ga={class:"text-info",style:{"word-break":"break-all"}};const ka=d("div",{class:"el-upload__tip"}," \u652F\u6301pdf\u3001word\u3001zip\u3001rar\u6587\u4EF6 ",-1),ha=d("div",{class:"el-upload__tip"}," \u652F\u6301pdf\u3001word\u3001zip\u3001rar\u6587\u4EF6 ",-1),Da={key:0},Va={key:1},$a={key:0},Ua={key:1},Na={key:0},Ga={key:1},ja={class:"el-upload__tip"},Fa={key:0},Oa={key:1},Ca={class:"el-upload__tip"},qa=d("div",{class:"collapse-title"},"\u9644\u52A0\u9636\u6BB5",-1),La={class:"collapse-title"},Ra={class:"collapse-title"},Pa={class:"text-info",style:{"word-break":"break-all"}},Ta={class:"text-info",style:{"word-break":"break-all"}},za={class:"text-info",style:{"word-break":"break-all"}},Ea={class:"text-info",style:{"word-break":"break-all"}};const Ja=d("div",{class:"el-upload__tip"}," \u652F\u6301pdf\u3001word\u3001zip\u3001rar\u6587\u4EF6 ",-1),Ma=d("div",{class:"el-upload__tip"}," \u652F\u6301pdf\u3001word\u3001zip\u3001rar\u6587\u4EF6 ",-1),Ya={key:0},Ha={key:1},Ka={key:0},Qa={key:1},Wa={key:0},Xa={key:1},Za={class:"el-upload__tip"},el={key:0},al={key:1},ll={class:"el-upload__tip"},sl=d("div",{class:"el-upload__tip"},"\u652F\u6301word\u6587\u4EF6",-1),il=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),ol={class:"footer"},pl=Oe({name:"giveScore"}),vl=Object.assign(pl,{setup(rl){const F=ye.dictStore.uploadUrl,{statusOptions:he}=ye.dictStore.globalDicts||{},u=Ce(),De=qe(),{proxy:Ie}=ze(),xe=$(["1","4"]),de=$([]),ue=$([]),ce=$([]),fe=$([]),t=$({reAppraisalPass:u.name==="reviewGiveScore"&&u.query.canReAppraisal==="true"?!0:void 0}),Be=$(),Ve={isRectify:[{required:!0,message:"\u8BF7\u9009\u62E9"}],reAppraisalPass:[{required:!0,message:"\u8BF7\u9009\u62E9"}],consultationForm:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}]},oe=$(!0),K=$(!0),M=$({}),$e=async()=>{const c=await We(u.query.projectCode);M.value=c.data},pe=$(),me=$(),we=$(),Ue=async()=>{var n,p;K.value=!0;const c=await Ye({projectCode:u.query.projectCode,appraisalId:u.query.appraisalId,type:u.name==="reviewGiveScore"?2:u.name==="checkGiveScore"?3:1});if(((n=c==null?void 0:c.data)==null?void 0:n.templateDetails)||((p=c==null?void 0:c.data)==null?void 0:p.additionalIndexDetails)){_e.value=c.data.draftId,oe.value=!0,t.value={...c.data,templateDetails:re(c.data.templateDetails,1),additionalIndexDetails:c.data.additionalIndexDetails?re(c.data.additionalIndexDetails,2):void 0,reAppraisalPass:u.name==="reviewGiveScore"&&u.query.canReAppraisal==="true"?!0:void 0},z();const o=await ke(u.query.projectCode);pe.value=o.data.selfAppraisalTotalScore,me.value=o.data.reAppraisalTotalScore,we.value=o.data.verifyTotalScore,K.value=!1}else try{const o=await ke(u.query.projectCode);oe.value=!0,t.value={...o.data,templateDetails:re(o.data.templateDetails,1),additionalIndexDetails:o.data.additionalIndexDetails?re(o.data.additionalIndexDetails,2):void 0,reAppraisalPass:u.name==="reviewGiveScore"&&u.query.canReAppraisal==="true"?!0:void 0},z(),pe.value=o.data.selfAppraisalTotalScore,me.value=o.data.reAppraisalTotalScore,we.value=o.data.verifyTotalScore,K.value=!1}catch{oe.value=!1,K.value=!1}},G=Le(ye.userStore).userInfo,re=(c,n)=>(c.forEach((p,o)=>{n===1?de.value.push(p.templateId):ce.value.push(p.templateId),p.children.forEach((w,O)=>{n===1?ue.value.push(w.templateId):fe.value.push(w.templateId),w.children.forEach(S=>{var C;const j=((C=S==null?void 0:S.selfAppraisalScoreInfo)==null?void 0:C.find(D=>D.appraisalType===1))||void 0;if(S.selfAppraisalScoreInfo1=j?{...j,appraisalBasisAppendix:j.appraisalBasisAppendix&&(u.name==="unitSelfGiveScore"||u.name==="selfGiveScore")?Ae(JSON.parse(j.appraisalBasisAppendix)):j.appraisalBasisAppendix&&!["unitSelfGiveScore","selfGiveScore"].includes(u.name)?j.appraisalBasisAppendix:void 0}:{appraisalScore:void 0,appraisalBasisAppendix:void 0,appraisalBasis:""},(S==null?void 0:S.reAppraisalScoreInfo)&&Object.keys(S==null?void 0:S.reAppraisalScoreInfo).includes(G.value.realName)){const D=S==null?void 0:S.reAppraisalScoreInfo[G.value.realName][0];S.selfAppraisalScoreInfo2={...D,appraisalBasisAppendix:D.appraisalBasisAppendix&&Ae(JSON.parse(D.appraisalBasisAppendix))||void 0}}else S.selfAppraisalScoreInfo2={appraisalScore:void 0,appraisalBasisAppendix:void 0,appraisalBasis:""};if((S==null?void 0:S.verifyScoreInfo)&&Object.keys(S==null?void 0:S.verifyScoreInfo).includes(G.value.realName)){const D=S==null?void 0:S.verifyScoreInfo[G.value.realName][0];S.selfAppraisalScoreInfo3={...D,appraisalBasisAppendix:D.appraisalBasisAppendix&&Ae(JSON.parse(D.appraisalBasisAppendix))||void 0}}else S.selfAppraisalScoreInfo3={appraisalScore:void 0,appraisalBasisAppendix:void 0,appraisalBasis:""}})})}),c),Ne=async c=>{const n=Q(t.value.templateDetails,[]),p=Q(t.value.additionalIndexDetails,[]);!c||await c.validate(async o=>{var w;if(o){const O={draftId:_e.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:[...n,...p],reAppraisalPass:u.name==="reviewGiveScore"&&u.query.canReAppraisal==="true"?t.value.reAppraisalPass:void 0,consultationForm:u.name==="reviewGiveScore"&&u.query.canReAppraisal==="true"&&((w=t.value.consultationForm)==null?void 0:w.length)&&!t.value.reAppraisalPass?be(t.value.consultationForm):void 0,isRectify:u.name==="checkGiveScore"&&u.query.canRectify==="true"?t.value.isRectify:void 0,rectifyOpinion:u.name==="checkGiveScore"&&u.query.canRectify==="true"?t.value.rectifyOpinion:void 0};await((u.name==="unitSelfGiveScore"||u.name==="selfGiveScore")&&u.query.status==="4"?He:u.name==="unitSelfGiveScore"||u.name==="selfGiveScore"?Ke:u.name==="reviewGiveScore"?Xe:Ze)(O),Ie.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),De.go(-1)}})},_e=$(),Ge=async()=>{var w;const c=Q(t.value.templateDetails,[]),n=Q(t.value.additionalIndexDetails,[]),p={groupId:u.query.groupId*1||void 0,appraisalProjectCode:u.query.projectCode,appraisalProjectId:u.query.projectId*1,appraisalId:u.query.appraisalId*1,appraisalInfoList:[...c,...n],reAppraisalPass:u.name==="reviewGiveScore"&&u.query.canReAppraisal==="true"?t.value.reAppraisalPass:void 0,consultationForm:u.name==="reviewGiveScore"&&u.query.canReAppraisal==="true"&&((w=t.value.consultationForm)==null?void 0:w.length)&&!t.value.reAppraisalPass?be(t.value.consultationForm):void 0,isRectify:u.name==="checkGiveScore"&&u.query.canRectify==="true"?t.value.isRectify:void 0,rectifyOpinion:u.name==="checkGiveScore"&&u.query.canRectify==="true"?t.value.rectifyOpinion:void 0},o=await Qe(u.name==="reviewGiveScore"?2:u.name==="checkGiveScore"?3:1,p);_e.value=o.data,Ie.$message.success("\u4FDD\u5B58\u6210\u529F")},Q=(c,n)=>{const p=u.name==="unitSelfGiveScore"||u.name==="selfGiveScore"?"selfAppraisalScoreInfo1":u.name==="reviewGiveScore"?"selfAppraisalScoreInfo2":"selfAppraisalScoreInfo3";return c.forEach(o=>{var w;o.children&&o.children.length>0?Q(o.children,n):n.push({projectTemplateDetailId:o.templateId,score:o[p].appraisalScore,appraisalBasis:o[p].appraisalBasis,appraisalBasisAppendix:((w=o[p].appraisalBasisAppendix)==null?void 0:w.length)&&JSON.stringify(be(o[p].appraisalBasisAppendix))||void 0})}),n},ve=(c,n)=>{const p=u.name==="unitSelfGiveScore"||u.name==="selfGiveScore"?"selfAppraisalScoreInfo1":u.name==="reviewGiveScore"?"selfAppraisalScoreInfo2":"selfAppraisalScoreInfo3";return c.forEach(o=>{o.children&&o.children.length>0?ve(o.children,n):n.push({score:o[p].appraisalScore})}),n},W=$(0),z=()=>{const c=ve(t.value.templateDetails,[]),n=ve(t.value.additionalIndexDetails,[]);W.value=0;const p=c.reduce((w,O)=>w+(O.score||0),0),o=n.reduce((w,O)=>w+(O.score||0),0);W.value=p+o};return Re(()=>{$e(),Ue()}),(c,n)=>{const p=N("el-form-item"),o=N("el-col"),w=N("el-row"),O=N("el-form"),S=N("el-button"),j=N("el-card"),C=N("el-input-number"),D=N("el-input"),q=N("el-upload"),Y=N("el-collapse-item"),X=N("el-collapse"),te=N("el-radio"),ge=N("el-radio-group"),je=N("el-result"),Fe=Pe("loading");return i(),m("div",ea,[a(j,{class:"mb-16"},{default:e(()=>{var b;return[d("div",aa,[d("div",la,[d("div",sa,[d("p",ia,f((b=M.value)==null?void 0:b.projectName),1),d("div",oa,[a(O,{"label-suffix":":"},{default:e(()=>[a(w,{gutter:24},{default:e(()=>[a(o,{span:6},{default:e(()=>[a(p,{label:"\u7533\u62A5\u5355\u4F4D"},{default:e(()=>{var _;return[v(f((_=M.value)==null?void 0:_.buildOrgName),1)]}),_:1})]),_:1}),a(o,{span:6},{default:e(()=>[a(p,{label:"\u9879\u76EE\u72B6\u6001"},{default:e(()=>{var _,U;return[v(f(((U=r(he)[(_=M.value)==null?void 0:_.status])==null?void 0:U.name)||"-"),1)]}),_:1})]),_:1}),a(o,{span:6},{default:e(()=>[a(p,{label:"\u6279\u590D\u91D1\u989D"},{default:e(()=>{var _;return[v(f((_=M.value)==null?void 0:_.approvalAmount)+"\u4E07\u5143",1)]}),_:1})]),_:1}),a(o,{span:6},{default:e(()=>[a(p,{label:"\u9884\u7B97\u5E74\u5EA6"},{default:e(()=>{var _;return[v(f((_=M.value)==null?void 0:_.projectYear),1)]}),_:1})]),_:1})]),_:1})]),_:1})])]),c.$route.name==="applicationMarkDetail"?(i(),B(S,{key:0,type:"primary",icon:"Download"},{default:e(()=>[v("\u4E0B\u8F7D\u5206\u6790\u62A5\u544A")]),_:1})):h("",!0)])])]}),_:1}),a(j,{class:"mb-16"},{default:e(()=>{var b;return[d("div",pa,[c.$route.name==="unitSelfGiveScore"||c.$route.name==="selfGiveScore"?(i(),m("div",ra,[d("p",null,[v("\u81EA\u8BC4\u603B\u5206(\u5F53\u524D)\uFF1A"),d("span",ta,f(W.value),1)])])):h("",!0),c.$route.name==="reviewGiveScore"?(i(),m("div",na,[d("p",da,[v("\u590D\u8BC4\u603B\u5206(\u5F53\u524D)\uFF1A"),d("span",ua,f(W.value),1)]),d("p",null,[v("\u81EA\u8BC4\u6253\u5206\u603B\u5206\uFF1A"),d("span",ca,f(pe.value),1)])])):h("",!0),c.$route.name==="checkGiveScore"?(i(),m("div",fa,[d("p",ma,[v("\u6838\u67E5\u603B\u5206(\u5F53\u524D)\uFF1A"),d("span",_a,f(W.value),1)]),d("p",null,[v("\u81EA\u8BC4\u6253\u5206\u603B\u5206\uFF1A"),d("span",va,f(pe.value),1)]),d("p",Sa,[v("\u590D\u8BC4\u6253\u5206\u603B\u5206\uFF1A"),d("span",ya,f((b=me.value)==null?void 0:b.split(",").join("\u3001")),1)])])):h("",!0)])]}),_:1}),oe.value?Te((i(),B(O,{key:0,ref_key:"formRef",ref:Be,model:t.value,rules:Ve,"label-suffix":":","scroll-to-error":"","label-width":"160"},{default:e(()=>[a(X,{modelValue:xe.value,"onUpdate:modelValue":n[10]||(n[10]=b=>xe.value=b)},{default:e(()=>[a(Y,{name:"1",class:"mb-16"},{title:e(()=>[Aa]),default:e(()=>[a(X,{modelValue:de.value,"onUpdate:modelValue":n[4]||(n[4]=b=>de.value=b),class:"customCollapse"},{default:e(()=>[(i(!0),m(g,null,k(t.value.templateDetails,(b,_)=>(i(),B(Y,{key:_,name:b.templateId},{title:e(()=>[d("div",ba,"\u4E00\u7EA7\u6307\u6807\uFF1A"+f(b.name),1)]),default:e(()=>[a(X,{modelValue:ue.value,"onUpdate:modelValue":n[3]||(n[3]=U=>ue.value=U),class:"customCollapse"},{default:e(()=>[(i(!0),m(g,null,k(b.children,(U,I)=>(i(),B(Y,{key:I,name:U.templateId},{title:e(()=>[d("div",Ia,"\u4E8C\u7EA7\u6307\u6807\uFF1A"+f(U.name),1)]),default:e(()=>[(i(!0),m(g,null,k(U.children,(s,x)=>{var Z,ee,ae,le,se,ie;return i(),m("div",{key:x,class:"pl-16"},[a(p,{label:"\u4E09\u7EA7\u6307\u6807",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",null,f(s.name)+"\uFF08"+f(s.indexScore)+"\u5206\uFF09",1)]),_:2},1024),a(p,{label:"\u6307\u6807\u7EC6\u5219",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",xa,f(s.indexDetail),1)]),_:2},1024),a(p,{label:"\u8BC4\u5206\u7EC6\u5219",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",Ba,f(s.gradeDetail),1)]),_:2},1024),a(p,{label:"\u662F\u5426\u4E0A\u4F20\u4F50\u8BC1\u6750\u6599\u9644\u4EF6",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",wa,f(s.isUploadSupportFile?"\u662F":"\u5426"),1)]),_:2},1024),h("",!0),a(p,{label:"\u4F50\u8BC1\u6750\u6599",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",ga,f(s.supportMaterial),1)]),_:2},1024),c.$route.name==="unitSelfGiveScore"||c.$route.name==="selfGiveScore"?(i(),B(w,{key:1},{default:e(()=>[a(o,{span:24},{default:e(()=>[a(p,{label:"\u81EA\u8BC4\u5F97\u5206",prop:`templateDetails[${_}].children[${I}].children[${x}].selfAppraisalScoreInfo1.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(C,{modelValue:s.selfAppraisalScoreInfo1.appraisalScore,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo1.appraisalScore=l,placeholder:"\u8BF7\u586B\u5199",min:0,max:s.indexScore,precision:2,controls:!1,onMousewheel:n[0]||(n[0]=H(()=>{},["prevent"])),onBlur:z},null,8,["modelValue","onUpdate:modelValue","max"])]),_:2},1032,["prop"])]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u8BC4\u4EF7\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[a(D,{modelValue:s.selfAppraisalScoreInfo1.appraisalBasis,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo1.appraisalBasis=l,placeholder:"\u8BF7\u586B\u5199",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),h("",!0)]),_:2},1024)]),_:2},1024),a(o,{span:24},{default:e(()=>[s.isUploadSupportFile?(i(),B(p,{key:0,label:"\u4F50\u8BC1\u6750\u6599\u9644\u4EF6",prop:`templateDetails[${_}].children[${I}].children[${x}].selfAppraisalScoreInfo1.appraisalBasisAppendix`,rules:{required:!0,message:"\u8BF7\u4E0A\u4F20"}},{default:e(()=>[a(q,{"file-list":t.value.templateDetails[_].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix,"onUpdate:fileList":l=>t.value.templateDetails[_].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix=l,class:"w-full",action:r(F),limit:5,"on-success":l=>r(R)(l,t.value.templateDetails[_].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix),"before-upload":l=>r(P)(l,{types:["wps","pdf","doc","docx","zip","rar"]}),accept:".wps,.pdf,.doc,.docx,.zip,.rar","on-preview":r(T)},{tip:e(()=>[ka]),default:e(()=>[a(S,{type:"primary",plain:"",size:"small"},{default:e(()=>[v("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","before-upload","on-preview"])]),_:2},1032,["prop"])):(i(),B(p,{key:1,label:"\u4F50\u8BC1\u6750\u6599\u9644\u4EF6"},{default:e(()=>[a(q,{"file-list":t.value.templateDetails[_].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix,"onUpdate:fileList":l=>t.value.templateDetails[_].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix=l,class:"w-full",action:r(F),limit:5,"on-success":l=>r(R)(l,t.value.templateDetails[_].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix),"before-upload":l=>r(P)(l,{types:["wps","pdf","doc","docx","zip","rar"]}),accept:".wps,.pdf,.doc,.docx,.zip,.rar","on-preview":r(T)},{tip:e(()=>[ha]),default:e(()=>[a(S,{type:"primary",plain:"",size:"small"},{default:e(()=>[v("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","before-upload","on-preview"])]),_:2},1024))]),_:2},1024)]),_:2},1024)):(i(),B(w,{key:2,gutter:16,class:"w-full"},{default:e(()=>[a(o,{span:12},{default:e(()=>[a(p,{label:"\u81EA\u8BC4\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[v(f(s.selfAppraisalScoreInfo1.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(o,{span:12},{default:e(()=>[a(p,{label:"\u81EA\u8BC4\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[d("div",null,[d("p",null,f(s.selfAppraisalScoreInfo1.appraisalBasis),1)])]),_:2},1024)]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u4F50\u8BC1\u6750\u6599\u9644\u4EF6",style:{"margin-bottom":"0"}},{default:e(()=>{var l;return[s.selfAppraisalScoreInfo1.appraisalBasisAppendix&&((l=JSON.parse(s.selfAppraisalScoreInfo1.appraisalBasisAppendix))==null?void 0:l.length)?(i(),m("div",Da,[(i(!0),m(g,null,k(s.selfAppraisalScoreInfo1.appraisalBasisAppendix&&JSON.parse(s.selfAppraisalScoreInfo1.appraisalBasisAppendix),(A,y)=>(i(),m("p",{key:y,class:"mb-4"},[a(J,{"file-name":A.originalFileName,"file-id":A.id},null,8,["file-name","file-id"])]))),128))])):(i(),m("span",Va,"-"))]}),_:2},1024)]),_:2},1024)]),_:2},1024)),c.$route.name==="reviewGiveScore"&&s.reAppraisalScoreInfo&&((ee=(Z=Object.keys(s.reAppraisalScoreInfo))==null?void 0:Z.filter(l=>l!==r(G).realName))==null?void 0:ee.length)?(i(),B(w,{key:3},{default:e(()=>{var l,A;return[(i(!0),m(g,null,k(s.reAppraisalScoreInfo&&((l=Object.values(s.reAppraisalScoreInfo))==null?void 0:l.length)&&((A=Object.values(s.reAppraisalScoreInfo).reduce((y,V)=>y.concat(V,[])))==null?void 0:A.filter(y=>y.appraisalEmployeeCode!==r(G).employeeCode)),(y,V)=>(i(),B(o,{key:V,span:12},{default:e(()=>[a(o,{span:24},{default:e(()=>[a(p,{label:"\u590D\u8BC4\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[v(f(y.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u590D\u8BC4\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[v(f(y.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u590D\u8BC4\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[y.appraisalBasis||y.appraisalBasisAppendix?(i(),m("div",$a,[d("p",null,f(y.appraisalBasis),1),(i(!0),m(g,null,k(y.appraisalBasisAppendix&&JSON.parse(y.appraisalBasisAppendix),(L,Se)=>(i(),m("p",{key:Se,class:"mb-4"},[a(J,{"file-name":L.originalFileName,"file-id":L.id},null,8,["file-name","file-id"])]))),128))])):(i(),m("span",Ua,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]}),_:2},1024)):c.$route.name==="checkGiveScore"?(i(),B(w,{key:4},{default:e(()=>{var l;return[(i(!0),m(g,null,k(s.reAppraisalScoreInfo&&((l=Object.values(s.reAppraisalScoreInfo))==null?void 0:l.length)&&Object.values(s.reAppraisalScoreInfo).reduce((A,y)=>A.concat(y,[])),(A,y)=>(i(),B(o,{key:y,span:12},{default:e(()=>[a(o,{span:24},{default:e(()=>[a(p,{label:"\u590D\u8BC4\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[v(f(A.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u590D\u8BC4\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[v(f(A.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u590D\u8BC4\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[A.appraisalBasis||A.appraisalBasisAppendix?(i(),m("div",Na,[d("p",null,f(A.appraisalBasis),1),(i(!0),m(g,null,k(A.appraisalBasisAppendix&&JSON.parse(A.appraisalBasisAppendix),(V,L)=>(i(),m("p",{key:L,class:"mb-4"},[a(J,{"file-name":V.originalFileName,"file-id":V.id},null,8,["file-name","file-id"])]))),128))])):(i(),m("span",Ga,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]}),_:2},1024)):h("",!0),c.$route.name==="reviewGiveScore"?(i(),B(w,{key:5},{default:e(()=>[a(o,null,{default:e(()=>[a(o,{span:24},{default:e(()=>[a(p,{label:"\u590D\u8BC4\u5F97\u5206",prop:`templateDetails[${_}].children[${I}].children[${x}].selfAppraisalScoreInfo2.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(C,{modelValue:s.selfAppraisalScoreInfo2.appraisalScore,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo2.appraisalScore=l,placeholder:"\u8BF7\u586B\u5199",min:0,max:s.indexScore,precision:2,controls:!1,onMousewheel:n[1]||(n[1]=H(()=>{},["prevent"])),onBlur:z},null,8,["modelValue","onUpdate:modelValue","max"])]),_:2},1032,["prop"])]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a(D,{modelValue:s.selfAppraisalScoreInfo2.appraisalBasis,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo2.appraisalBasis=l,placeholder:"\u8BF7\u586B\u5199",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),a(q,{"file-list":t.value.templateDetails[_].children[I].children[x].selfAppraisalScoreInfo2.appraisalBasisAppendix,"onUpdate:fileList":l=>t.value.templateDetails[_].children[I].children[x].selfAppraisalScoreInfo2.appraisalBasisAppendix=l,class:"w-full",action:r(F),limit:5,"on-success":l=>r(R)(l,t.value.templateDetails[_].children[I].children[x].selfAppraisalScoreInfo2.appraisalBasisAppendix),"before-upload":l=>r(P)(l,{types:r(E)}),accept:r(E).map(l=>`.${l}`).join(","),"on-preview":r(T)},{tip:e(()=>[d("div",ja," \u652F\u6301"+f(r(ne))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(S,{type:"primary",plain:"",size:"small"},{default:e(()=>[v("\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)):h("",!0),c.$route.name==="checkGiveScore"&&s.verifyScoreInfo&&((le=(ae=Object.keys(s.verifyScoreInfo))==null?void 0:ae.filter(l=>l!==r(G).realName))==null?void 0:le.length)?(i(!0),m(g,{key:6},k(s.verifyScoreInfo&&((se=Object.values(s.verifyScoreInfo))==null?void 0:se.length)&&((ie=Object.values(s.verifyScoreInfo).reduce((l,A)=>l.concat(A,[])))==null?void 0:ie.filter(l=>l.appraisalEmployeeCode!==r(G).employeeCode)),(l,A)=>(i(),B(o,{key:A,span:12},{default:e(()=>[a(o,{span:24},{default:e(()=>[a(p,{label:"\u6838\u67E5\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[v(f(l.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u6838\u67E5\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[v(f(l.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u6838\u67E5\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[l.appraisalBasis||l.appraisalBasisAppendix?(i(),m("div",Fa,[d("p",null,f(l.appraisalBasis),1),(i(!0),m(g,null,k(l.appraisalBasisAppendix&&JSON.parse(l.appraisalBasisAppendix),(y,V)=>(i(),m("p",{key:V,class:"mb-4"},[a(J,{"file-name":y.originalFileName,"file-id":y.id},null,8,["file-name","file-id"])]))),128))])):(i(),m("span",Oa,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128)):h("",!0),c.$route.name==="checkGiveScore"?(i(),B(w,{key:7},{default:e(()=>[a(o,{span:24},{default:e(()=>[a(p,{label:"\u6838\u67E5\u5F97\u5206",prop:`templateDetails[${_}].children[${I}].children[${x}].selfAppraisalScoreInfo3.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(C,{modelValue:s.selfAppraisalScoreInfo3.appraisalScore,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo3.appraisalScore=l,placeholder:"\u8BF7\u586B\u5199",min:0,max:s.indexScore,precision:2,controls:!1,onMousewheel:n[2]||(n[2]=H(()=>{},["prevent"])),onBlur:z},null,8,["modelValue","onUpdate:modelValue","max"])]),_:2},1032,["prop"])]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a(D,{modelValue:s.selfAppraisalScoreInfo3.appraisalBasis,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo3.appraisalBasis=l,placeholder:"\u8BF7\u586B\u5199",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),a(q,{"file-list":t.value.templateDetails[_].children[I].children[x].selfAppraisalScoreInfo3.appraisalBasisAppendix,"onUpdate:fileList":l=>t.value.templateDetails[_].children[I].children[x].selfAppraisalScoreInfo3.appraisalBasisAppendix=l,class:"w-full",action:r(F),limit:5,"on-success":l=>r(R)(l,t.value.templateDetails[_].children[I].children[x].selfAppraisalScoreInfo3.appraisalBasisAppendix),"before-upload":l=>r(P)(l,{types:r(E)}),accept:r(E).map(l=>`.${l}`).join(","),"on-preview":r(T)},{tip:e(()=>[d("div",Ca," \u652F\u6301"+f(r(ne))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(S,{type:"primary",plain:"",size:"small"},{default:e(()=>[v("\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)):h("",!0)])}),128))]),_:2},1032,["name"]))),128))]),_:2},1032,["modelValue"])]),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(Y,{name:"4",class:"mb-16"},{title:e(()=>[qa]),default:e(()=>[t.value.additionalIndexDetails?(i(),B(X,{key:0,modelValue:ce.value,"onUpdate:modelValue":n[9]||(n[9]=b=>ce.value=b),class:"customCollapse"},{default:e(()=>[(i(!0),m(g,null,k(t.value.additionalIndexDetails,(b,_)=>(i(),B(Y,{key:_,name:b.templateId},{title:e(()=>[d("div",La,"\u4E00\u7EA7\u6307\u6807\uFF1A"+f(b.name),1)]),default:e(()=>[a(X,{modelValue:fe.value,"onUpdate:modelValue":n[8]||(n[8]=U=>fe.value=U),class:"customCollapse"},{default:e(()=>[(i(!0),m(g,null,k(b.children,(U,I)=>(i(),B(Y,{key:I,name:U.templateId},{title:e(()=>[d("div",Ra,"\u4E8C\u7EA7\u6307\u6807\uFF1A"+f(U.name),1)]),default:e(()=>[(i(!0),m(g,null,k(U.children,(s,x)=>{var Z,ee,ae,le,se,ie;return i(),m("div",{key:x,class:"pl-16"},[a(p,{label:"\u4E09\u7EA7\u6307\u6807",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",null,f(s.name)+"\uFF08"+f(s.indexScore)+"\u5206\uFF09",1)]),_:2},1024),a(p,{label:"\u6307\u6807\u7EC6\u5219",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",Pa,f(s.indexDetail),1)]),_:2},1024),a(p,{label:"\u8BC4\u5206\u7EC6\u5219",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",Ta,f(s.gradeDetail),1)]),_:2},1024),a(p,{label:"\u662F\u5426\u4E0A\u4F20\u4F50\u8BC1\u6750\u6599\u9644\u4EF6",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",za,f(s.isUploadSupportFile?"\u662F":"\u5426"),1)]),_:2},1024),a(p,{label:"\u4F50\u8BC1\u6750\u6599",style:{"margin-bottom":"0"}},{default:e(()=>[d("span",Ea,f(s.supportMaterial),1)]),_:2},1024),c.$route.name==="unitSelfGiveScore"||c.$route.name==="selfGiveScore"?(i(),B(w,{key:0},{default:e(()=>[a(o,{span:24},{default:e(()=>[a(p,{label:"\u81EA\u8BC4\u5F97\u5206",prop:`additionalIndexDetails[${_}].children[${I}].children[${x}].selfAppraisalScoreInfo1.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(C,{modelValue:s.selfAppraisalScoreInfo1.appraisalScore,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo1.appraisalScore=l,placeholder:"\u8BF7\u586B\u5199",min:s.indexScore>0?0:s.indexScore,max:s.indexScore>=0?s.indexScore:0,precision:2,controls:!1,onMousewheel:n[5]||(n[5]=H(()=>{},["prevent"])),onBlur:z},null,8,["modelValue","onUpdate:modelValue","min","max"])]),_:2},1032,["prop"])]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a(D,{modelValue:s.selfAppraisalScoreInfo1.appraisalBasis,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo1.appraisalBasis=l,placeholder:"\u8BF7\u586B\u5199",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),h("",!0)]),_:2},1024)]),_:2},1024),a(o,{span:24},{default:e(()=>[s.isUploadSupportFile?(i(),B(p,{key:0,label:"\u4F50\u8BC1\u6750\u6599\u9644\u4EF6",prop:`additionalIndexDetails[${_}].children[${I}].children[${x}].selfAppraisalScoreInfo1.appraisalBasisAppendix`,rules:{required:!0,message:"\u8BF7\u4E0A\u4F20"}},{default:e(()=>[a(q,{"file-list":t.value.additionalIndexDetails[_].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix,"onUpdate:fileList":l=>t.value.additionalIndexDetails[_].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix=l,class:"w-full",action:r(F),limit:5,"on-success":l=>r(R)(l,t.value.additionalIndexDetails[_].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix),"before-upload":l=>r(P)(l,{types:["wps","pdf","doc","docx","zip","rar"]}),accept:".wps,.pdf,.doc,.docx,.zip,.rar","on-preview":r(T)},{tip:e(()=>[Ja]),default:e(()=>[a(S,{type:"primary",plain:"",size:"small"},{default:e(()=>[v("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","before-upload","on-preview"])]),_:2},1032,["prop"])):(i(),B(p,{key:1,label:"\u4F50\u8BC1\u6750\u6599\u9644\u4EF6"},{default:e(()=>[a(q,{"file-list":t.value.additionalIndexDetails[_].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix,"onUpdate:fileList":l=>t.value.additionalIndexDetails[_].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix=l,class:"w-full",action:r(F),limit:5,"on-success":l=>r(R)(l,t.value.additionalIndexDetails[_].children[I].children[x].selfAppraisalScoreInfo1.appraisalBasisAppendix),"before-upload":l=>r(P)(l,{types:["wps","pdf","doc","docx","zip","rar"]}),accept:".wps,.pdf,.doc,.docx,.zip,.rar","on-preview":r(T)},{tip:e(()=>[Ma]),default:e(()=>[a(S,{type:"primary",plain:"",size:"small"},{default:e(()=>[v("\u9009\u62E9\u6587\u4EF6")]),_:1})]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","before-upload","on-preview"])]),_:2},1024))]),_:2},1024)]),_:2},1024)):(i(),B(w,{key:1,gutter:16,class:"w-full"},{default:e(()=>[a(o,{span:12},{default:e(()=>[a(p,{label:"\u81EA\u8BC4\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[v(f(s.selfAppraisalScoreInfo1.appraisalScore||"-")+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(o,{span:12},{default:e(()=>[a(p,{label:"\u81EA\u8BC4\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[d("div",null,[d("p",null,f(s.selfAppraisalScoreInfo1.appraisalBasis||"-"),1)])]),_:2},1024)]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u4F50\u8BC1\u6750\u6599\u9644\u4EF6",style:{"margin-bottom":"0"}},{default:e(()=>{var l;return[s.selfAppraisalScoreInfo1.appraisalBasisAppendix&&((l=JSON.parse(s.selfAppraisalScoreInfo1.appraisalBasisAppendix))==null?void 0:l.length)?(i(),m("div",Ya,[(i(!0),m(g,null,k(s.selfAppraisalScoreInfo1.appraisalBasisAppendix&&JSON.parse(s.selfAppraisalScoreInfo1.appraisalBasisAppendix),(A,y)=>(i(),m("p",{key:y,class:"mb-4"},[a(J,{"file-name":A.originalFileName,"file-id":A.id},null,8,["file-name","file-id"])]))),128))])):(i(),m("span",Ha,"-"))]}),_:2},1024)]),_:2},1024)]),_:2},1024)),c.$route.name==="reviewGiveScore"&&s.reAppraisalScoreInfo&&((ee=(Z=Object.keys(s.reAppraisalScoreInfo))==null?void 0:Z.filter(l=>l!==r(G).realName))==null?void 0:ee.length)?(i(),B(w,{key:2},{default:e(()=>{var l,A;return[(i(!0),m(g,null,k(s.reAppraisalScoreInfo&&((l=Object.values(s.reAppraisalScoreInfo))==null?void 0:l.length)&&((A=Object.values(s.reAppraisalScoreInfo).reduce((y,V)=>y.concat(V,[])))==null?void 0:A.filter(y=>y.appraisalEmployeeCode!==r(G).employeeCode)),(y,V)=>(i(),B(o,{key:V,span:12},{default:e(()=>[a(o,{span:24},{default:e(()=>[a(p,{label:"\u590D\u8BC4\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[v(f(y.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u590D\u8BC4\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[v(f(y.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u590D\u8BC4\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[y.appraisalBasis||y.appraisalBasisAppendix?(i(),m("div",Ka,[d("p",null,f(y.appraisalBasis),1),(i(!0),m(g,null,k(y.appraisalBasisAppendix&&JSON.parse(y.appraisalBasisAppendix),(L,Se)=>(i(),m("p",{key:Se,class:"mb-4"},[a(J,{"file-name":L.originalFileName,"file-id":L.id},null,8,["file-name","file-id"])]))),128))])):(i(),m("span",Qa,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]}),_:2},1024)):c.$route.name==="checkGiveScore"?(i(),B(w,{key:3},{default:e(()=>{var l;return[(i(!0),m(g,null,k(s.reAppraisalScoreInfo&&((l=Object.values(s.reAppraisalScoreInfo))==null?void 0:l.length)&&Object.values(s.reAppraisalScoreInfo).reduce((A,y)=>A.concat(y,[])),(A,y)=>(i(),B(o,{key:y,span:12},{default:e(()=>[a(o,{span:24},{default:e(()=>[a(p,{label:"\u590D\u8BC4\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[v(f(A.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u590D\u8BC4\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[v(f(A.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u590D\u8BC4\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[A.appraisalBasis||A.appraisalBasisAppendix?(i(),m("div",Wa,[d("p",null,f(A.appraisalBasis),1),(i(!0),m(g,null,k(A.appraisalBasisAppendix&&JSON.parse(A.appraisalBasisAppendix),(V,L)=>(i(),m("p",{key:L,class:"mb-4"},[a(J,{"file-name":V.originalFileName,"file-id":V.id},null,8,["file-name","file-id"])]))),128))])):(i(),m("span",Xa,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]}),_:2},1024)):h("",!0),c.$route.name==="reviewGiveScore"?(i(),B(w,{key:4},{default:e(()=>[a(o,{span:24},{default:e(()=>[a(p,{label:"\u590D\u8BC4\u5F97\u5206",prop:`additionalIndexDetails[${_}].children[${I}].children[${x}].selfAppraisalScoreInfo2.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(C,{modelValue:s.selfAppraisalScoreInfo2.appraisalScore,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo2.appraisalScore=l,placeholder:"\u8BF7\u586B\u5199",min:s.indexScore>0?0:s.indexScore,max:s.indexScore>=0?s.indexScore:0,precision:2,controls:!1,onMousewheel:n[6]||(n[6]=H(()=>{},["prevent"])),onBlur:z},null,8,["modelValue","onUpdate:modelValue","min","max"])]),_:2},1032,["prop"])]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a(D,{modelValue:s.selfAppraisalScoreInfo2.appraisalBasis,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo2.appraisalBasis=l,placeholder:"\u8BF7\u586B\u5199",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),a(q,{"file-list":t.value.additionalIndexDetails[_].children[I].children[x].selfAppraisalScoreInfo2.appraisalBasisAppendix,"onUpdate:fileList":l=>t.value.additionalIndexDetails[_].children[I].children[x].selfAppraisalScoreInfo2.appraisalBasisAppendix=l,class:"w-full",action:r(F),limit:5,"on-success":l=>r(R)(l,t.value.additionalIndexDetails[_].children[I].children[x].selfAppraisalScoreInfo2.appraisalBasisAppendix),"before-upload":l=>r(P)(l,{types:r(E)}),accept:r(E).map(l=>`.${l}`).join(","),"on-preview":r(T)},{tip:e(()=>[d("div",Za," \u652F\u6301"+f(r(ne))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(S,{type:"primary",plain:"",size:"small"},{default:e(()=>[v("\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)):h("",!0),c.$route.name==="checkGiveScore"&&s.verifyScoreInfo&&((le=(ae=Object.keys(s.verifyScoreInfo))==null?void 0:ae.filter(l=>l!==r(G).realName))==null?void 0:le.length)?(i(!0),m(g,{key:5},k(s.verifyScoreInfo&&((se=Object.values(s.verifyScoreInfo))==null?void 0:se.length)&&((ie=Object.values(s.verifyScoreInfo).reduce((l,A)=>l.concat(A,[])))==null?void 0:ie.filter(l=>l.appraisalEmployeeCode!==r(G).employeeCode)),(l,A)=>(i(),B(o,{key:A,span:12},{default:e(()=>[a(o,{span:24},{default:e(()=>[a(p,{label:"\u6838\u67E5\u5458",style:{"margin-bottom":"0"}},{default:e(()=>[v(f(l.appraisalEmployeeName),1)]),_:2},1024)]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u6838\u67E5\u5F97\u5206",style:{"margin-bottom":"0"}},{default:e(()=>[v(f(l.appraisalScore)+"\u5206 ",1)]),_:2},1024)]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u6838\u67E5\u4F9D\u636E",style:{"margin-bottom":"0"}},{default:e(()=>[l.appraisalBasis||l.appraisalBasisAppendix?(i(),m("div",el,[d("p",null,f(l.appraisalBasis),1),(i(!0),m(g,null,k(l.appraisalBasisAppendix&&JSON.parse(l.appraisalBasisAppendix),(y,V)=>(i(),m("p",{key:V,class:"mb-4"},[a(J,{"file-name":y.originalFileName,"file-id":y.id},null,8,["file-name","file-id"])]))),128))])):(i(),m("span",al,"-"))]),_:2},1024)]),_:2},1024)]),_:2},1024))),128)):h("",!0),c.$route.name==="checkGiveScore"?(i(),B(w,{key:6},{default:e(()=>[a(o,{span:24},{default:e(()=>[a(p,{label:"\u6838\u67E5\u5F97\u5206",prop:`additionalIndexDetails[${_}].children[${I}].children[${x}].selfAppraisalScoreInfo3.appraisalScore`,rules:{required:!0,message:"\u8BF7\u8F93\u5165"}},{default:e(()=>[a(C,{modelValue:s.selfAppraisalScoreInfo3.appraisalScore,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo3.appraisalScore=l,placeholder:"\u8BF7\u586B\u5199",min:s.indexScore>0?0:s.indexScore,max:s.indexScore>=0?s.indexScore:0,precision:2,controls:!1,onMousewheel:n[7]||(n[7]=H(()=>{},["prevent"])),onBlur:z},null,8,["modelValue","onUpdate:modelValue","min","max"])]),_:2},1032,["prop"])]),_:2},1024),a(o,{span:24},{default:e(()=>[a(p,{label:"\u8BC4\u4EF7\u4F9D\u636E"},{default:e(()=>[a(D,{modelValue:s.selfAppraisalScoreInfo3.appraisalBasis,"onUpdate:modelValue":l=>s.selfAppraisalScoreInfo3.appraisalBasis=l,placeholder:"\u8BF7\u586B\u5199",maxlength:"500","show-word-limit":"",type:"textarea"},null,8,["modelValue","onUpdate:modelValue"]),a(q,{"file-list":t.value.additionalIndexDetails[_].children[I].children[x].selfAppraisalScoreInfo3.appraisalBasisAppendix,"onUpdate:fileList":l=>t.value.additionalIndexDetails[_].children[I].children[x].selfAppraisalScoreInfo3.appraisalBasisAppendix=l,class:"w-full",action:r(F),limit:5,"on-success":l=>r(R)(l,t.value.additionalIndexDetails[_].children[I].children[x].selfAppraisalScoreInfo3.appraisalBasisAppendix),"before-upload":l=>r(P)(l,{types:r(E)}),accept:r(E).map(l=>`.${l}`).join(","),"on-preview":r(T)},{tip:e(()=>[d("div",ll," \u652F\u6301"+f(r(ne))+"\u6587\u4EF6 ",1)]),default:e(()=>[a(S,{type:"primary",plain:"",size:"small"},{default:e(()=>[v("\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)):h("",!0)])}),128))]),_:2},1032,["name"]))),128))]),_:2},1032,["modelValue"])]),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"])):(i(),B(Ee,{key:1}))]),_:1})]),_:1},8,["modelValue"]),c.$route.name==="reviewGiveScore"&&c.$route.query.canReAppraisal==="true"?(i(),B(j,{key:0,class:"mt-16"},{header:e(()=>[v("\u590D\u8BC4\u7ED3\u679C")]),default:e(()=>[a(p,{label:"\u662F\u5426\u901A\u8FC7",prop:"reAppraisalPass","label-width":"140"},{default:e(()=>[a(ge,{modelValue:t.value.reAppraisalPass,"onUpdate:modelValue":n[11]||(n[11]=b=>t.value.reAppraisalPass=b)},{default:e(()=>[a(te,{label:!0},{default:e(()=>[v("\u662F")]),_:1}),a(te,{label:!1},{default:e(()=>[v("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1}),t.value.reAppraisalPass?h("",!0):(i(),B(p,{key:0,label:"\u4E0A\u4F20\u54A8\u8BE2\u5355","label-width":"140",prop:"consultationForm"},{default:e(()=>[a(q,{"file-list":t.value.consultationForm,"onUpdate:fileList":n[12]||(n[12]=b=>t.value.consultationForm=b),class:"w-full",action:r(F),limit:1,"on-exceed":r(Je),"on-success":b=>r(R)(b,t.value.consultationForm),"on-error":r(Me),"on-preview":r(T),"before-upload":b=>r(P)(b,{types:["doc","docx","wps"]}),accept:".doc,.docx,.wps"},{tip:e(()=>[sl,il]),default:e(()=>[a(S,{type:"primary",class:"mr-4"},{default:e(()=>[v("\u4E0A\u4F20\u9644\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-exceed","on-success","on-error","on-preview","before-upload"])]),_:1}))]),_:1})):h("",!0),c.$route.name==="checkGiveScore"&&c.$route.query.canRectify==="true"?(i(),B(j,{key:1,class:"mt-16"},{header:e(()=>[v("\u7ED3\u679C")]),default:e(()=>[a(p,{label:"\u9879\u76EE\u662F\u5426\u9700\u8981\u6574\u6539",prop:"isRectify","label-width":"140"},{default:e(()=>[a(ge,{modelValue:t.value.isRectify,"onUpdate:modelValue":n[13]||(n[13]=b=>t.value.isRectify=b)},{default:e(()=>[a(te,{label:!0},{default:e(()=>[v("\u662F")]),_:1}),a(te,{label:!1},{default:e(()=>[v("\u5426")]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(p,{label:"\u6574\u6539\u610F\u89C1","label-width":"140"},{default:e(()=>[a(D,{modelValue:t.value.rectifyOpinion,"onUpdate:modelValue":n[14]||(n[14]=b=>t.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})):h("",!0)]),_:1},8,["model"])),[[Fe,K.value]]):(i(),B(j,{key:1},{default:e(()=>[a(je,{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(S,{onClick:n[15]||(n[15]=b=>c.$router.go(-1))},{default:e(()=>[v("\u8FD4\u56DE\u5217\u8868")]),_:1}),a(S,{type:"primary",onClick:n[16]||(n[16]=b=>c.$router.go(0))},{default:e(()=>[v("\u5237\u65B0")]),_:1})]),_:1})]),_:1})),d("div",ol,[a(S,{onClick:n[17]||(n[17]=b=>c.$router.go(-1))},{default:e(()=>[v(" \u8FD4\u56DE ")]),_:1}),a(S,{type:"primary",plain:"",onClick:Ge},{default:e(()=>[v(" \u6682\u5B58 ")]),_:1}),a(S,{type:"primary",onClick:n[18]||(n[18]=b=>Ne(Be.value))},{default:e(()=>[v(" \u63D0\u4EA4 ")]),_:1})])])}}});export{vl as default};