var Ee=Object.defineProperty,Fe=Object.defineProperties;var Pe=Object.getOwnPropertyDescriptors;var Se=Object.getOwnPropertySymbols;var Oe=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable;var ge=(_,t,u)=>t in _?Ee(_,t,{enumerable:!0,configurable:!0,writable:!0,value:u}):_[t]=u,Y=(_,t)=>{for(var u in t||(t={}))Oe.call(t,u)&&ge(_,u,t[u]);if(Se)for(var u of Se(t))Be.call(t,u)&&ge(_,u,t[u]);return _},W=(_,t)=>Fe(_,Pe(t));var J=(_,t,u)=>new Promise((B,I)=>{var j=x=>{try{N(u.next(x))}catch(p){I(p)}},H=x=>{try{N(u.throw(x))}catch(p){I(p)}},N=x=>x.done?B(x.value):Promise.resolve(x.value).then(j,H);N((u=u.apply(_,t)).next())});import{_ as Je,d as Ve,u as Ke,r as F,H as Me,C as Ue,b as ze,o as He,f as R,a8 as Ge,g as s,h as n,i as b,l as i,m as o,t as y,p as v,k as se,K as V,j as S,w as Ye,a9 as Qe,G as O,L as X,a7 as We,F as Xe,q as Ze}from"./index.9fabe127.js";import{t as ea,g as aa,h as ta}from"./unitSelfEvaluation.ac3ab285.js";import{a as la}from"./projectStore.83309806.js";import{A as Z}from"./index.15f81060.js";import{d as sa}from"./projectReform.00cec9f0.js";import{u as oa}from"./useExportExc.d221218e.js";import ra from"./auditDialog.8076d20c.js";import ia from"./flowRecord.40585eda.js";import{t as na}from"./indicatorTemplate.f05b7bf7.js";import pa from"./projectProgress.8aa8293b.js";import"./uploadAction.3a8ed42d.js";import"./index.18a3894b.js";import"./performanceEvaluationReport.d48952af.js";import"./projectReview.8afe40ec.js";import"./projectCollectionEnter.1928303a.js";import"./expertOpinion.8725459c.js";import"./recordListDialog.aebbbb33.js";import"./inquirySheetManage.543fa794.js";import"./upLoadReplayDialog.1f0ce185.js";import"./upLoadZxDialog.a0266ffd.js";import"./evaluationPlan.fa509821.js";import"./checkList.2e03771f.js";import"./upLoadPlanDialog.b38cf37c.js";import"./getTimeDiffer.e509579a.js";import"./selfScoreDetailDialog.ea535d33.js";import"./upLoadSealReportDialog.850d604a.js";import"./flowRecordDialog.8e12a276.js";import"./sjFlowRecord.9a6394f0.js";import"./wpsUtils.d67ebf50.js";const da=`<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>Document</title>
  <style>
    html, body, p, div, span {
      padding: 0;
      margin: 0;
    }

    .pdfHtml {
      margin: 0 10px;
      padding: 10px 0 10px;
      text-align: center;
      color: #000000;
      font-family: SimSun;
    }
    .title{
      font-weight: bold;
      font-size: 32px;
      font-family: SimSun;
    }
    .top{
      /*display: flex;*/
      /*justify-content: space-between;*/
      /*align-items: center;*/
      padding:40px 0 60px;
      font-size: 20px;
      text-align: left
    }
    table {
      width: 100%;
      font-size: 16px;
      line-height: 1.5;
      border-collapse: collapse;
      table-layout: fixed;
      word-break: break-all;
      word-wrap: break-word;
      text-align: left;
      border: 1px solid #000000;
      line-height: 1.5;
      font-family: SimSun;
    }
    tr > td {
      padding: 8px 8px;
      border: 1px solid #000000;
      border-collapse: collapse;
      text-align: center;
    }

    tr > th {
      padding: 15px 8px;
      border: 1px solid #000000;
      border-collapse: collapse;
      text-align: center;
    }
    .bold{
      font-weight: bold;
    }
    @page{
        size: 297mm 210mm; /* A4 \u5BBD\u5EA6\u7684\u4E24\u500D */
        margin:15mm 5mm;
        marks:cross;
        @bottom-center {
            content:  counter(page) "/" counter(pages) ;
        }
    }
  </style>
</head>
<body>`,P=_=>{var t="";return _.length===0?"":(t=_.replace(/&/g,"&amp;"),t=t.replace(/</g,"&lt;"),t=t.replace(/>/g,"&gt;"),t=t.replace(/\'/g,"&apos;"),t=t.replace(/\"/g,"&quot;"),t)},ua=(_,t,u,B,I,j)=>{let H="";const N=I!=null&&I.length?I.map((p,c)=>`<tr>
    ${c===0?`<td rowspan="${I.length}">\u9879\u76EE\u7EF4\u5EA6</td>`:""}
    ${p.isFirstOne?`<td rowspan="${p.oneRows}">${P(p.oneName)}</td>`:""}
     ${p.isFirstTwo?`<td rowspan="${p.twoRows}">${P(p.twoName)}</td>`:""}
    <td>${P(p.name)}</td>
    <td style="text-align: left">${P(p.indexDetail)}</td>
    <td style="text-align: left">${P(p.gradeDetail)}</td>
    <td>${p.indexScore}</td>
    <td>${p.appraisalType1List[0].appraisalScore}</td>
    <td>${P(p.supportMaterial)}</td>
  </tr>`).join(""):"",x=j!=null&&j.length?j.map((p,c)=>`<tr>
 ${c===0?`<td rowspan="${j.length}">\u9644\u52A0\u9879</td>`:""}
    ${p.isFirstOne?`<td rowspan="${p.oneRows}">${P(p.oneName)}</td>`:""}
     ${p.isFirstTwo?`<td rowspan="${p.twoRows}">${P(p.twoName)}</td>`:""}
    <td>${p.name}</td>
    <td style="text-align: left">${P(p.indexDetail)}</td>
    <td style="text-align: left">${P(p.gradeDetail)}</td>
    <td>${p.indexScore}</td>
    <td>${p.appraisalType1List[0].appraisalScore}</td>
    <td>${P(p.supportMaterial)}</td>
  </tr>`).join(""):"";return H=`${da}<div class="pdfHtml">
  <p class="title">\u4E3D\u6C34\u5E02\u672C\u7EA7\u653F\u5E9C\u6295\u8D44\u4FE1\u606F\u5316\u9879\u76EE\u7EE9\u6548\u8BC4\u4EF7\u6307\u6807\uFF08${t}\uFF09${u}\u7248\u672C</p>
  <div class="top">
    <p style="margin-bottom: 20px">\u9879\u76EE\u540D\u79F0\uFF1A${_}</p>
    <p>\u5355\u4F4D\u540D\u79F0\uFF08\u76D6\u7AE0\uFF09\uFF1A</p>
  </div> <table>
    <thead>
    <tr>
      <th style="width: 70px;">\u8BC4\u4EF7\u7EF4\u5EA6</th>
      <th>\u4E00\u7EA7\u6307\u6807</th>
      <th>\u4E8C\u7EA7\u6307\u6807</th>
      <th>\u4E09\u7EA7\u6307\u6807</th>
      <th>\u6307\u6807\u7EC6\u5219</th>
      <th>\u8BC4\u4EF7\u7EC6\u5219</th>
      <th style="width: 50px;">\u5206\u503C</th>
      <th style="width: 80px;">\u81EA\u8BC4\u5F97\u5206</th>
      <th>\u4F50\u8BC1\u6750\u6599</th>
    </tr>
    </thead>
    <tbody>
        ${N}
        ${x}
        <tr>
      <td colspan="6" style="text-align: center" class="bold">\u5408\u8BA1</td>
      <td  class="bold"></td>
      <td  class="bold">${B}</td>
      <td></td>
    </tr>
        <tr>
      <td colspan="7" style="text-align: center"  class="bold">\u661F\u7EA7</td>
      <td  class="bold">${B>=90?"\u2605\u2605\u2605\u2605\u2605":B>=80?"\u2605\u2605\u2605\u2605":B>=70?"\u2605\u2605\u2605":B>=60?"\u2605\u2605":"\u2605"}</td>
      <td></td>
    </tr>
    </tbody>
  </table>
</div>
</body>
</html>`,H},ca={class:"footerPage"},ma={class:"card-header"},fa={class:"flex justify-between items-center"},ya={class:"flex-1"},va={class:"font-bold"},_a={class:"mt-8 search"},ba={class:"flex justify-between items-center"},wa={class:"flex"},ha={class:"mr-16"},Sa={class:"font-bold text-18"},ga={key:0,class:"mr-16"},ka={class:"ml-16"},Da={class:"font-bold text-18"},Ta={key:1},Ia={class:"ml-16"},xa={class:"font-bold text-18"},$a={key:0,class:"flex items-center justify-end"},ja={key:1,class:"flex items-center justify-end"},Na={key:0,class:"mb-16"},Aa={key:1,class:"mb-16 font-bold"},La={key:1},Ca={key:0},Ra={key:1},qa={key:1},Ea={key:0},Fa={key:1},Pa={key:1},Oa={key:0},Ba={key:1},Ja={key:0},Va={key:1},Ka={key:1},Ma={key:2,class:"footer"},Ua={class:"flex items-center botBtn"},za=Ve({beforeRouteEnter(_,t,u){_.query.appraisalAuditType&&(_.meta.title=(_.query.appraisalAuditType==="1"?"\u81EA\u8BC4\u786E\u8BA4":"\u6574\u6539\u8BA1\u5212")+"\u5BA1\u6838"),u()}}),Ha=Object.assign(za,{__name:"index",setup(_){const t=Ke(),u=F("1"),{statusOptions:B}=Me.dictStore.globalDicts||{},I=F([]),j=()=>{I.value=[{label:"\u4E00\u7EA7\u6307\u6807",key:"oneName",prop:"oneName"},{label:"\u4E8C\u7EA7\u6307\u6807",key:"twoName",prop:"twoName"},{label:"\u4E09\u7EA7\u6307\u6807",key:"name",prop:"name"},{label:"\u6307\u6807\u7EC6\u5219",key:"indexDetail",prop:"indexDetail"},{label:"\u8BC4\u5206\u7EC6\u5219",key:"gradeDetail",prop:"gradeDetail"},{label:"\u4F50\u8BC1\u6750\u6599",key:"supportMaterial",prop:"supportMaterial"},{label:"\u6307\u6807\u5206\u503C",key:"indexScore",prop:"indexScore",width:85},{label:"\u81EA\u8BC4\u4F9D\u636E",key:"selfBasis",slot:"selfBasis",width:200},{label:"\u81EA\u8BC4\u5F97\u5206",key:"selfScore",slot:"selfScore",width:85}]},H=({row:a,column:r,rowIndex:m,columnIndex:d})=>{if(d===0)return a.isFirstOne?{rowspan:a.oneRows,colspan:1}:{rowspan:0,colspan:0};if(d===1)return a.isFirstTwo?{rowspan:a.twoRows,colspan:1}:{rowspan:0,colspan:0}},N=F([]),x=F(!0),p=F(),c=F(),U=F(),oe=()=>J(this,null,function*(){var d,f,w,A,L,h,M,z,T;x.value=!0,N.value=[];const a=yield ea(t.query.projectCode);U.value=a.data.overview;let r,m;if(t.name==="selfScoreSureDetail"&&((w=(f=(d=U.value)==null?void 0:d.consultationForms)==null?void 0:f[0])==null?void 0:w.appraisalJson)){const k=JSON.parse((h=(L=(A=U.value)==null?void 0:A.consultationForms)==null?void 0:L[0])==null?void 0:h.appraisalJson);r=ee(k.templateDetails),m=ee(k.additionalIndexDetails)}else r=ee(a.data.templateDetails),m=ee(a.data.additionalIndexDetails);N.value=[...r,...m],c.value=a.data,c.value.selfAppraisalTotalScore=0,N.value.forEach(k=>{c.value.selfAppraisalTotalScore+=k.appraisalType1List[0].appraisalScore}),p.value=ua((M=q.value)==null?void 0:M.projectName,(T=(z=ne.value)==null?void 0:z.find(k=>k.id===q.value.templateType))==null?void 0:T.name,q.value.projectYear,c.value.selfAppraisalTotalScore,r,m),u.value!=="1"&&(j(),re()),x.value=!1}),re=()=>{var a,r;u.value==="2"?(a=N.value[0].appraisalType2List)==null||a.forEach((m,d)=>{I.value.push({label:`${m.appraisalEmployeeName}\uFF08\u7B2C\u4E09\u65B9\u673A\u6784\u8BC4\u4EF7\uFF09`,key:"review",children:[{label:"\u7B2C\u4E09\u65B9\u673A\u6784\u8BC4\u4EF7\u4F9D\u636E",key:"reviewDesc",slot:"reviewDesc",columnKey:d+"",width:200},{label:"\u7B2C\u4E09\u65B9\u673A\u6784\u8BC4\u4EF7\u5F97\u5206",key:"reviewScore",slot:"reviewScore",columnKey:d+"",width:85}]})}):u.value==="3"?(r=N.value[0].appraisalType3List)==null||r.forEach((m,d)=>{I.value.push({label:`${m.appraisalEmployeeName}\uFF08\u8BC4\u4EF7\uFF09`,key:"review",children:[{label:"\u8BC4\u4EF7\u4F9D\u636E",key:"checkDesc",slot:"checkDesc",columnKey:d+"",width:200},{label:"\u8BC4\u4EF7\u5F97\u5206",key:"checkScore",slot:"checkScore",columnKey:d+"",width:85}]})}):u.value==="4"&&(I.value=[{label:"\u4E00\u7EA7\u6307\u6807",key:"oneName",prop:"oneName"},{label:"\u4E8C\u7EA7\u6307\u6807",key:"twoName",prop:"twoName"},{label:"\u4E09\u7EA7\u6307\u6807",key:"name",prop:"name"},{label:"\u6307\u6807\u7EC6\u5219",key:"indexDetail",prop:"indexDetail"},{label:"\u8BC4\u5206\u7EC6\u5219",key:"gradeDetail",prop:"gradeDetail"},{label:"\u4F50\u8BC1\u6750\u6599",key:"supportMaterial",prop:"supportMaterial"},{label:"\u6307\u6807\u5206\u503C",key:"indexScore",prop:"indexScore",width:85},{label:"\u590D\u6838\u5F97\u5206",key:"reReviewScore",slot:"reReviewScore",width:85},{label:"\u590D\u6838\u8BF4\u660E",key:"reReviewDesc",slot:"reReviewDesc",width:200}])},ee=a=>{const r=[];return a.forEach((m,d)=>{let f=0;m.children.forEach((w,A)=>{let L=0;w.children.forEach((h,M)=>{var z,T;r.push(W(Y({oneId:m.templateId,oneName:m.name,twoId:w.templateId,twoName:w.name,isFirstOne:f===0,isFirstTwo:L===0,appraisalType1List:((z=h.selfAppraisalScoreInfo)==null?void 0:z.filter(k=>k.appraisalType===1))||[],appraisalType2List:h.reAppraisalScoreInfo&&Object.values(h.reAppraisalScoreInfo).reduce((k,Q)=>k.concat(Q,[]))||[],appraisalType3List:h.verifyScoreInfo&&Object.values(h.verifyScoreInfo).reduce((k,Q)=>k.concat(Q,[]))||[],appraisalType4List:((T=h.rectifyAuditScoreInfo)==null?void 0:T.length)&&h.rectifyAuditScoreInfo||[],oneRows:f,twoRows:L},h),{threeId:h.templateId})),f++,L++}),r.forEach(h=>{h.twoId===w.templateId&&(h.twoRows=L)})}),r.forEach(w=>{w.oneId===m.templateId&&(w.oneRows=f)})}),r},q=F({}),ae=()=>J(this,null,function*(){const a=yield la(t.query.projectCode);q.value=a.data,oe()}),ke=a=>{u.value=a,j(),re(),a==="4"&&De()},E=F({}),De=()=>J(this,null,function*(){const a=yield sa(t.query.appraisalId,t.query.projectCode);E.value=a.data}),{exportLoading:Te,exportData:Ie}=oa(),xe=()=>{var a;Ie(()=>aa(u.value,{projectCode:t.query.projectCode,appraisalId:t.query.appraisalId}),`${(a=q.value)==null?void 0:a.projectName}-\u7EE9\u6548\u8BC4\u5206`)},K=F({processProgressVo:{progressInfo:[]}}),te=a=>J(this,null,function*(){const r=yield We(W(Y({},t.query),{taskId:a||t.query.taskId}));if(r.data.status==="\u88AB\u64A4\u56DE"){le.go(-1);return}K.value=W(Y({},r.data),{processProgressVo:W(Y({},r.data.processProgressVo),{progressInfo:$e(r.data.processProgressVo.progressInfo)})})}),$e=a=>(a.forEach(r=>{if(r.children){const m=[],d=[];r.children.forEach(f=>{m.includes(f.nodeId)?(d.find(w=>w.nodeId===f.nodeId).list.push(f),d.find(w=>w.nodeId===f.nodeId).userIds.push(f.userId)):(m.push(f.nodeId),d.push({nodeId:f.nodeId,approvalMode:f.approvalMode,name:f.name,nodeType:f.nodeType,list:[Y({},f)],userIds:[f.userId]}))}),r.children=d}else r.userIds=[r.userId]}),a),le=Ue(),je=()=>J(this,null,function*(){var m,d,f,w;let a,r;t.query.appraisalAuditType==="1"?a=(yield ta({projectCode:t.query.projectCode,appraisalId:t.query.appraisalId,html:p.value})).data.fileId:t.query.appraisalAuditType==="2"&&(a=JSON.parse((m=c.value)==null?void 0:m.overview.rectifyPlanFile).fileId,r=JSON.parse((d=c.value)==null?void 0:d.overview.rectifyPlanFile).fileName),le.push({name:"selfScoreStamp",query:{appraisalAuditType:t.query.appraisalAuditType,projectId:t.query.projectId,projectCode:t.query.projectCode,appraisalId:t.query.appraisalId,instanceId:t.query.instanceId,taskId:t.query.taskId,fileId:a,fileName:r,isCommit:!1,instName:(w=(f=K.value)==null?void 0:f.processProgressVo)==null?void 0:w.processDefName}})}),D=ze({visible:!1,title:void 0,taskId:void 0,action:void 0,defalutComment:void 0}),ie=(a,r)=>J(this,null,function*(){D.visible=!0,D.title=a,D.taskId=t.query.taskId,D.action=r,D.constructionSuggestions=K.value.constructionSuggestions,D.projectCode=t.query.projectCode,D.defalutComment=r==="PASS"?"\u540C\u610F":""}),Ne=()=>{D.visible=!1},Ae=a=>{ae(),te(a),x.value=!1},ne=F(),{proxy:Le}=Ze(),Ce=()=>J(this,null,function*(){const a=c.value.selfAppraisalPdf&&JSON.parse(c.value.selfAppraisalPdf)[0]||void 0;if(!(a!=null&&a.id)){Le.$message.warning("\u76D6\u7AE0\u6587\u4EF6\u4E0D\u5B58\u5728\uFF01");return}const r=yield Xe({fileId:a.id}),m=URL.createObjectURL(r),d=document.createElement("a");d.style.display="none",d.href=m,d.download=a.originalFileName,document.body.appendChild(d),d.click(),document.body.removeChild(d),window.URL.revokeObjectURL(m)}),Re=()=>{j(),ae(),t.query.instanceId&&te(t.query.taskId)};return He(()=>J(this,null,function*(){const a=yield na();ne.value=a.data,j(),ae(),t.query.instanceId&&te(t.query.taskId)})),(a,r)=>{var pe;const m=R("el-form-item"),d=R("el-col"),f=R("el-row"),w=R("el-form"),A=R("el-button"),L=R("el-card"),h=R("el-rate"),M=R("el-tab-pane"),z=R("el-tabs"),T=R("el-descriptions-item"),k=R("el-descriptions"),Q=R("table-list"),qe=Ge("loading");return s(),n(O,null,[b("div",ca,[i(L,{class:"mb-16"},{default:o(()=>{var e;return[b("div",ma,[b("div",fa,[b("div",ya,[b("p",va,y(((e=q.value)==null?void 0:e.projectName)||"-"),1),b("div",_a,[i(w,{"label-suffix":":"},{default:o(()=>[i(f,{gutter:24},{default:o(()=>[i(d,{span:6},{default:o(()=>[i(m,{label:"\u7533\u62A5\u5355\u4F4D"},{default:o(()=>{var l;return[v(y(((l=q.value)==null?void 0:l.buildOrgName)||"-"),1)]}),_:1})]),_:1}),i(d,{span:6},{default:o(()=>[i(m,{label:"\u9879\u76EE\u72B6\u6001"},{default:o(()=>{var l,g;return[v(y(((g=se(B)[(l=q.value)==null?void 0:l.status])==null?void 0:g.name)||"-"),1)]}),_:1})]),_:1}),i(d,{span:6},{default:o(()=>[i(m,{label:"\u6279\u590D\u91D1\u989D"},{default:o(()=>{var l;return[v(y((l=q.value)==null?void 0:l.approvalAmount)+"\u4E07\u5143",1)]}),_:1})]),_:1}),i(d,{span:6},{default:o(()=>[i(m,{label:"\u9884\u7B97\u5E74\u5EA6"},{default:o(()=>{var l;return[v(y(((l=q.value)==null?void 0:l.projectYear)||"-"),1)]}),_:1})]),_:1})]),_:1})]),_:1})])]),a.$route.name==="applicationMarkDetail"?(s(),V(A,{key:0,type:"primary",icon:"Download"},{default:o(()=>[v("\u4E0B\u8F7D\u5206\u6790\u62A5\u544A")]),_:1})):S("v-if",!0)])])]}),_:1}),i(pa,{"overview-data":(pe=c.value)==null?void 0:pe.overview,"project-detail-data":q.value,"template-detail-data":c.value,onReLoad:Re,onGetDetail:oe},null,8,["overview-data","project-detail-data","template-detail-data"]),i(L,{class:"mb-16 mt-8"},{default:o(()=>{var e,l,g,$,C,G,de,ue,ce,me,fe,ye,ve,_e,be,we,he;return[b("div",ba,[b("div",wa,[b("div",ha,[b("p",null,[v("\u81EA\u8BC4\u5F97\u5206\uFF1A"),b("span",Sa,y((e=c.value)==null?void 0:e.selfAppraisalTotalScore),1)]),i(h,{disabled:"","model-value":((l=c.value)==null?void 0:l.selfAppraisalTotalScore)>=90?5:((g=c.value)==null?void 0:g.selfAppraisalTotalScore)>=80?4:(($=c.value)==null?void 0:$.selfAppraisalTotalScore)>=70?3:((C=c.value)==null?void 0:C.selfAppraisalTotalScore)>=60?2:1},null,8,["model-value"])]),((G=U.value)==null?void 0:G.reAppraisalStatus)>1?(s(),n("div",ga,[b("p",ka,[v("\u7B2C\u4E09\u65B9\u673A\u6784\u8BC4\u4EF7\u5F97\u5206\uFF1A"),b("span",Da,y((de=c.value)==null?void 0:de.reAppraisalTotalScore.split(",").join("\u3001")),1)]),i(h,{class:"ml-16",disabled:"","model-value":((ue=c.value)==null?void 0:ue.reAppraisalTotalScore.split(",")[0])>=90?5:((ce=c.value)==null?void 0:ce.reAppraisalTotalScore.split(",")[0])>=80?4:((me=c.value)==null?void 0:me.reAppraisalTotalScore.split(",")[0])>=70?3:((fe=c.value)==null?void 0:fe.reAppraisalTotalScore.split(",")[0])>=60?2:1},null,8,["model-value"])])):S("v-if",!0),((ye=U.value)==null?void 0:ye.verfityStatus)>2?(s(),n("div",Ta,[b("p",Ia,[v("\u4E13\u5BB6\u8BC4\u4EF7\u5F97\u5206\uFF1A"),b("span",xa,y((ve=c.value)==null?void 0:ve.verifyTotalScore.split(",").join("\u3001")),1)]),i(h,{class:"ml-16",disabled:"","model-value":((_e=c.value)==null?void 0:_e.verifyTotalScore.split(",")[0])>=90?5:((be=c.value)==null?void 0:be.verifyTotalScore.split(",")[0])>=80?4:((we=c.value)==null?void 0:we.verifyTotalScore.split(",")[0])>=70?3:((he=c.value)==null?void 0:he.verifyTotalScore.split(",")[0])>=60?2:1},null,8,["model-value"])])):S("v-if",!0),S(`          <p v-if="$route.name!=='unitSelfScoreDetail'&&$route.name!=='selfScoreDetail'" class="ml-16">\u590D\u8BC4\u603B\u5206\uFF1A<span class="font-bold text-18">{{ templateDetailData?.reAppraisalTotalScore.split(',').join('\u3001') }}</span></p>`),S(`          <p v-if="$route.name!=='unitSelfScoreDetail'&&$route.name!=='selfScoreDetail'&&$route.name!=='reviewScoreDetail'" class="ml-16">\u6838\u67E5\u603B\u5206\uFF1A<span class="font-bold text-18">{{ templateDetailData?.verifyTotalScore.split(',').join('\u3001') }}</span></p>`)]),(a.$route.name==="selfScoreSureDetail"||a.$route.name==="selfScoreDetail")&&K.value.status==="\u5BA1\u6838\u901A\u8FC7"?(s(),n("div",$a,[i(A,{type:"primary",plain:"",onClick:Ce},{default:o(()=>[v("\u8BC4\u5206\u5BFC\u51FA")]),_:1})])):S("v-if",!0),a.$route.name!=="selfScoreSureDetail"&&a.$route.name!=="unitSelfScoreDetail"&&a.$route.name!=="selfScoreDetail"?(s(),n("div",ja,[i(A,{type:"primary",plain:"",loading:se(Te),onClick:xe},{default:o(()=>[v("\u8BC4\u5206\u5BFC\u51FA")]),_:1},8,["loading"])])):S("v-if",!0)])]}),_:1}),S("v-if",!0),Ye((s(),V(L,{class:"tab-card"},Qe({default:o(()=>[u.value==="4"?(s(),n("div",Na,[i(k,{title:"\u6574\u6539\u610F\u89C1",column:2,border:"",class:"mb-16"},{default:o(()=>[i(T,{span:"2",label:"\u6574\u6539\u610F\u89C1"},{default:o(()=>{var e;return[v(y((e=E.value)==null?void 0:e.rectifyOpinion),1)]}),_:1}),i(T,{label:"\u63D0\u4EA4\u4EBA"},{default:o(()=>{var e;return[v(y((e=E.value.rectifyResSubEmployee)==null?void 0:e.username),1)]}),_:1}),i(T,{label:"\u63D0\u4EA4\u65F6\u95F4"},{default:o(()=>{var e;return[v(y((e=E.value)==null?void 0:e.rectifyResSubTime),1)]}),_:1})]),_:1}),i(k,{title:"\u6574\u6539\u60C5\u51B5",column:2,border:"",class:"mb-16"},{default:o(()=>[i(T,{span:"2",label:"\u6574\u6539\u7ED3\u679C\u8BF4\u660E"},{default:o(()=>{var e;return[v(y((e=E.value)==null?void 0:e.rectifyResult),1)]}),_:1}),i(T,{label:"\u76F8\u5173\u6750\u6599",span:"2"},{default:o(()=>[(s(!0),n(O,null,X(E.value.rectifyResultAppendix&&JSON.parse(E.value.rectifyResultAppendix),(e,l)=>(s(),n("p",{key:l,class:"mb-4"},[i(Z,{"file-name":e.originalFileName,"file-id":e.id},null,8,["file-name","file-id"])]))),128))]),_:1}),i(T,{label:"\u63D0\u4EA4\u4EBA"},{default:o(()=>{var e,l;return[v(y((l=(e=E.value)==null?void 0:e.rectifySubmitEmployee)==null?void 0:l.username),1)]}),_:1}),i(T,{label:"\u63D0\u4EA4\u65F6\u95F4"},{default:o(()=>{var e;return[v(y((e=E.value)==null?void 0:e.rectifySubmitTime),1)]}),_:1})]),_:1}),i(k,{title:"\u5BA1\u6838",column:2,border:"",class:"mb-16"},{default:o(()=>[i(T,{span:"2",label:"\u5BA1\u6838\u7ED3\u679C"},{default:o(()=>{var e;return[v(y((e=E.value)==null?void 0:e.rectifyStatusName),1)]}),_:1}),i(T,{label:"\u5BA1\u6838\u610F\u89C1"},{default:o(()=>{var e;return[v(y((e=E.value)==null?void 0:e.rectifyAuditOpinion),1)]}),_:1})]),_:1})])):S("v-if",!0),u.value==="4"?(s(),n("h4",Aa,"\u6700\u7EC8\u8BC4\u5206")):S("v-if",!0),i(Q,{stripe:!1,border:!0,pagination:!1,data:N.value,"span-method":H,column:I.value},{selfBasis:o(({scope:e})=>{var l,g,$;return[(l=e.row.appraisalType1List)!=null&&l.length?(s(),n(O,{key:0},[b("p",null,y(e.row.appraisalType1List[0].appraisalBasis||"-"),1),(s(!0),n(O,null,X((($=(g=e.row.appraisalType1List)==null?void 0:g[0])==null?void 0:$.appraisalBasisAppendix)&&JSON.parse(e.row.appraisalType1List[0].appraisalBasisAppendix),(C,G)=>(s(),n("p",{key:G,class:"mb-4"},[i(Z,{"file-name":C.originalFileName,"file-id":C.id},null,8,["file-name","file-id"])]))),128))],64)):(s(),n("span",La,"-"))]}),selfScore:o(({scope:e})=>{var l;return[(l=e.row.appraisalType1List)!=null&&l.length?(s(),n("div",Ca,y(e.row.appraisalType1List[0].appraisalScore),1)):(s(),n("span",Ra,"-"))]}),reviewDesc:o(({scope:e})=>{var l,g;return[(l=e.row.appraisalType2List)!=null&&l.length?(s(),n(O,{key:0},[b("p",null,y(e.row.appraisalType2List[e.column.columnKey].appraisalBasis||"-"),1),(s(!0),n(O,null,X(((g=e.row.appraisalType2List[e.column.columnKey])==null?void 0:g.appraisalBasisAppendix)&&JSON.parse(e.row.appraisalType2List[0].appraisalBasisAppendix),($,C)=>(s(),n("p",{key:C,class:"mb-4"},[i(Z,{"file-name":$.originalFileName,"file-id":$.id},null,8,["file-name","file-id"])]))),128))],64)):(s(),n("span",qa,"-"))]}),reviewScore:o(({scope:e})=>{var l;return[(l=e.row.appraisalType2List)!=null&&l.length?(s(),n("div",Ea,y(e.row.appraisalType2List[e.column.columnKey].appraisalScore),1)):(s(),n("span",Fa,"-"))]}),checkDesc:o(({scope:e})=>{var l,g;return[(l=e.row.appraisalType3List)!=null&&l.length?(s(),n(O,{key:0},[b("p",null,y(e.row.appraisalType3List[e.column.columnKey].appraisalBasis||"-"),1),(s(!0),n(O,null,X(((g=e.row.appraisalType3List[e.column.columnKey])==null?void 0:g.appraisalBasisAppendix)&&JSON.parse(e.row.appraisalType3List[0].appraisalBasisAppendix),($,C)=>(s(),n("p",{key:C,class:"mb-4"},[i(Z,{"file-name":$.originalFileName,"file-id":$.id},null,8,["file-name","file-id"])]))),128))],64)):(s(),n("span",Pa,"-"))]}),checkScore:o(({scope:e})=>{var l;return[(l=e.row.appraisalType3List)!=null&&l.length?(s(),n("div",Oa,y(e.row.appraisalType3List[e.column.columnKey].appraisalScore),1)):(s(),n("span",Ba,"-"))]}),reReviewScore:o(({scope:e})=>{var l;return[(l=e.row.appraisalType4List)!=null&&l.length?(s(),n("div",Ja,y(e.row.appraisalType4List[0].appraisalScore),1)):(s(),n("span",Va,"-"))]}),reReviewDesc:o(({scope:e})=>{var l,g,$;return[(l=e.row.appraisalType4List)!=null&&l.length?(s(),n(O,{key:0},[b("p",null,y(e.row.appraisalType4List[0].appraisalBasis||"-"),1),(s(!0),n(O,null,X((($=(g=e.row.appraisalType4List)==null?void 0:g[0])==null?void 0:$.appraisalBasisAppendix)&&JSON.parse(e.row.appraisalType4List[0].appraisalBasisAppendix),(C,G)=>(s(),n("p",{key:G,class:"mb-4"},[i(Z,{"file-name":C.originalFileName,"file-id":C.id},null,8,["file-name","file-id"])]))),128))],64)):(s(),n("span",Ka,"-"))]}),_:1},8,["data","column"])]),_:2},[a.$route.name!=="unitSelfScoreDetail"&&a.$route.name!=="selfScoreSureDetail"?{name:"header",fn:o(()=>[i(z,{modelValue:u.value,"onUpdate:modelValue":r[0]||(r[0]=e=>u.value=e),onTabChange:ke},{default:o(()=>{var e,l;return[i(M,{label:"\u81EA\u8BC4\u8BE6\u60C5",name:"1"}),a.$route.name!=="unitSelfScoreDetail"&&((e=U.value)==null?void 0:e.reAppraisalStatus)>1?(s(),V(M,{key:0,label:"\u7B2C\u4E09\u65B9\u673A\u6784\u8BC4\u4EF7\u8BE6\u60C5",name:"2"})):S("v-if",!0),a.$route.name!=="unitSelfScoreDetail"&&((l=U.value)==null?void 0:l.verfityStatus)>2?(s(),V(M,{key:1,label:"\u4E13\u5BB6\u8BC4\u4EF7\u8BE6\u60C5",name:"3"})):S("v-if",!0),a.$route.name!=="unitSelfScoreDetail"&&a.$route.name!=="selfScoreDetail"&&a.$route.name!=="reviewScoreDetail"&&a.$route.name!=="checkScoreDetail"?(s(),V(M,{key:2,label:"\u6574\u6539\u8BE6\u60C5",name:"4"})):S("v-if",!0)]}),_:1},8,["modelValue"])]),key:"0"}:void 0]),1024)),[[qe,x.value]]),a.$route.name==="selfScoreSureDetail"||a.$route.name==="selfScoreDetail"?(s(),V(L,{key:1,header:"\u6D41\u7A0B\u8BB0\u5F55",shadow:"never",class:"mt-16"},{default:o(()=>[i(ia,{"flow-data":K.value.processProgressVo.progressInfo},null,8,["flow-data"])]),_:1})):S("v-if",!0),a.$route.name==="selfScoreSureDetail"?(s(),n("div",Ma,[b("div",Ua,[i(A,{onClick:r[1]||(r[1]=e=>se(le).go(-1))},{default:o(()=>[v("\u8FD4\u56DE")]),_:1}),K.value.canPass?(s(),V(A,{key:0,type:"primary",onClick:r[2]||(r[2]=e=>ie("\u901A\u8FC7","PASS"))},{default:o(()=>[v("\u901A\u8FC7")]),_:1})):S("v-if",!0),K.value.canSeal?(s(),V(A,{key:1,type:"primary",onClick:je},{default:o(()=>[v("\u76D6\u7AE0\u5E76\u901A\u8FC7")]),_:1})):S("v-if",!0),K.value.canReject?(s(),V(A,{key:2,plain:"",type:"danger",onClick:r[3]||(r[3]=e=>ie("\u9A73\u56DE","REJECT"))},{default:o(()=>[v("\u9A73\u56DE ")]),_:1})):S("v-if",!0)])])):S("v-if",!0)]),i(ra,{visible:D.visible,title:D.title,action:D.action,"task-id":D.taskId,"construction-suggestions":D.constructionSuggestions,"project-code":D.projectCode,"is-performance":!0,"defalut-comment":D.defalutComment,onClose:Ne,onReload:Ae},null,8,["visible","title","action","task-id","construction-suggestions","project-code","defalut-comment"])],64)}}}),Dt=Je(Ha,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/performanceEvaluation/unitSelfEvaluation/scoreDetail/index.vue"]]);export{Dt as default};
