Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

123 lines
20KB

  1. import{c as ve,f as be,t as we}from"./unitSelfEvaluation.89dff01b.js";import{d as ge,x as Se,r as j,B as he,y as _e,b as ke,o as De,c as x,a2 as $e,e as s,f as i,g as b,h as r,i as o,t as c,j as m,u as Q,G as B,k as g,w as Ie,a3 as Te,F as C,H as J,a1 as xe,A as Le,q as Ne}from"./index.55251523.js";import{a as je}from"./projectStore.aceb2df8.js";import{_ as U}from"./index.8fabbc4d.js";import{d as Ce}from"./projectReform.05e9fdd5.js";import{u as Re}from"./useExportExc.02b9d09e.js";import Ae from"./auditDialog.743ce03b.js";import qe from"./flowRecord.1092ea73.js";import{t as Be}from"./indicatorTemplate.9bceab62.js";import"./uploadAction.6ab57011.js";import"./index.ae3f62a1.js";const Ee=`<!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8"/>
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  6. <title>Document</title>
  7. <style>
  8. html, body, p, div, span {
  9. padding: 0;
  10. margin: 0;
  11. }
  12. .pdfHtml {
  13. margin: 0 10px;
  14. padding: 10px 0 10px;
  15. text-align: center;
  16. color: #000000;
  17. font-family: SimSun;
  18. }
  19. .title{
  20. font-weight: bold;
  21. font-size: 32px;
  22. font-family: SimSun;
  23. }
  24. .top{
  25. /*display: flex;*/
  26. /*justify-content: space-between;*/
  27. /*align-items: center;*/
  28. padding:40px 0 60px;
  29. font-size: 20px;
  30. text-align: left
  31. }
  32. table {
  33. width: 100%;
  34. font-size: 16px;
  35. line-height: 1.5;
  36. border-collapse: collapse;
  37. table-layout: fixed;
  38. word-break: break-all;
  39. word-wrap: break-word;
  40. text-align: left;
  41. border: 1px solid #000000;
  42. line-height: 1.5;
  43. font-family: SimSun;
  44. }
  45. tr > td {
  46. padding: 8px 8px;
  47. border: 1px solid #000000;
  48. border-collapse: collapse;
  49. text-align: center;
  50. }
  51. tr > th {
  52. padding: 15px 8px;
  53. border: 1px solid #000000;
  54. border-collapse: collapse;
  55. text-align: center;
  56. }
  57. .bold{
  58. font-weight: bold;
  59. }
  60. </style>
  61. </head>
  62. <body>`,L=M=>{var n="";return M.length===0?"":(n=M.replace(/&/g,"&amp;"),n=n.replace(/</g,"&lt;"),n=n.replace(/>/g,"&gt;"),n=n.replace(/\'/g,"&apos;"),n=n.replace(/\"/g,"&quot;"),n)},Oe=(M,n,h,z,k,R)=>{let H="";const O=k!=null&&k.length?k.map((d,N)=>`<tr>
  63. ${N===0?`<td rowspan="${k.length}">\u9879\u76EE\u7EF4\u5EA6</td>`:""}
  64. ${d.isFirstOne?`<td rowspan="${d.oneRows}">${L(d.oneName)}</td>`:""}
  65. ${d.isFirstTwo?`<td rowspan="${d.twoRows}">${L(d.twoName)}</td>`:""}
  66. <td>${L(d.name)}</td>
  67. <td style="text-align: left">${L(d.indexDetail)}</td>
  68. <td style="text-align: left">${L(d.gradeDetail)}</td>
  69. <td>${d.indexScore}</td>
  70. <td>${d.appraisalType1List[0].appraisalScore}</td>
  71. <td>${L(d.supportMaterial)}</td>
  72. </tr>`).join(""):"",P=R!=null&&R.length?R.map((d,N)=>`<tr>
  73. ${N===0?`<td rowspan="${R.length}">\u9644\u52A0\u9879</td>`:""}
  74. ${d.isFirstOne?`<td rowspan="${d.oneRows}">${L(d.oneName)}</td>`:""}
  75. ${d.isFirstTwo?`<td rowspan="${d.twoRows}">${L(d.twoName)}</td>`:""}
  76. <td>${d.name}</td>
  77. <td style="text-align: left">${L(d.indexDetail)}</td>
  78. <td style="text-align: left">${L(d.gradeDetail)}</td>
  79. <td>${d.indexScore}</td>
  80. <td>${d.appraisalType1List[0].appraisalScore}</td>
  81. <td>${L(d.supportMaterial)}</td>
  82. </tr>`).join(""):"";return H=`${Ee}<div class="pdfHtml">
  83. <p class="title">\u6E56\u5DDE\u5E02\u672C\u7EA7\u653F\u5E9C\u6295\u8D44\u4FE1\u606F\u5316\u9879\u76EE\u7EE9\u6548\u8BC4\u4EF7\u6307\u6807\uFF08${n}\uFF09${h}\u7248\u672C</p>
  84. <div class="top">
  85. <p style="margin-bottom: 20px">\u9879\u76EE\u540D\u79F0\uFF1A${M}</p>
  86. <p>\u5355\u4F4D\u540D\u79F0\uFF08\u76D6\u7AE0\uFF09\uFF1A</p>
  87. </div> <table>
  88. <thead>
  89. <tr>
  90. <th>\u8BC4\u4EF7\u7EF4\u5EA6</th>
  91. <th>\u4E00\u7EA7\u6307\u6807</th>
  92. <th>\u4E8C\u7EA7\u6307\u6807</th>
  93. <th>\u4E09\u7EA7\u6307\u6807</th>
  94. <th>\u6307\u6807\u7EC6\u5219</th>
  95. <th>\u8BC4\u4EF7\u7EC6\u5219</th>
  96. <th>\u5206\u503C</th>
  97. <th>\u81EA\u8BC4\u5F97\u5206</th>
  98. <th>\u4F50\u8BC1\u6750\u6599</th>
  99. </tr>
  100. </thead>
  101. <tbody>
  102. ${O}
  103. ${P}
  104. <tr>
  105. <td colspan="6" style="text-align: center" class="bold">\u5408\u8BA1</td>
  106. <td class="bold"></td>
  107. <td class="bold">${z}</td>
  108. <td></td>
  109. </tr>
  110. <tr>
  111. <td colspan="7" style="text-align: center" class="bold">\u661F\u7EA7</td>
  112. <td class="bold"></td>
  113. <td></td>
  114. </tr>
  115. </tbody>
  116. </table>
  117. </div>
  118. </body>
  119. </html>`,H},Fe={class:"footerPage"},Pe={class:"card-header"},Ve={class:"flex justify-between items-center"},Me={class:"flex-1"},Ke={class:"font-bold"},Je={class:"mt-8 search"},Ue={class:"flex justify-between items-center"},He={class:"flex"},ze={class:"font-bold text-18"},Ye={key:0,class:"ml-16"},Ge={class:"font-bold text-18"},Qe={key:1,class:"ml-16"},We={class:"font-bold text-18"},Xe={key:0,class:"flex items-center justify-end"},Ze={key:1,class:"flex items-center justify-end"},ea={key:0,class:"mb-16"},aa={key:1,class:"mb-16 font-bold"},ta={key:1},la={key:0},sa={key:1},oa={key:1},ra={key:0},ia={key:1},na={key:1},pa={key:0},da={key:1},ua={key:0},ca={key:1},fa={key:1},ma={key:1,class:"footer"},ya={class:"flex items-center botBtn"},va=ge({name:"scoreDetail"}),xa=Object.assign(va,{setup(M){const n=Se(),h=j("1"),{statusOptions:z}=he.dictStore.globalDicts||{},k=j([]),R=()=>{k.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:t,rowIndex:u,columnIndex:p})=>{if(p===0)return a.isFirstOne?{rowspan:a.oneRows,colspan:1}:{rowspan:0,colspan:0};if(p===1)return a.isFirstTwo?{rowspan:a.twoRows,colspan:1}:{rowspan:0,colspan:0}},O=j([]),P=j(!0),d=j(),N=j(),se=async()=>{var p,f,w,$;P.value=!0,O.value=[];const a=await we(n.query.projectCode),t=X(a.data.templateDetails),u=X(a.data.additionalIndexDetails);d.value=Oe((p=A.value)==null?void 0:p.projectName,(w=(f=te.value)==null?void 0:f.find(I=>I.id===A.value.templateType))==null?void 0:w.name,A.value.projectYear,($=a.data)==null?void 0:$.selfAppraisalTotalScore,t,u),N.value=a.data,O.value=[...t,...u],h.value!=="1"&&(R(),W()),P.value=!1},W=()=>{var a,t;h.value==="2"?(a=O.value[0].appraisalType2List)==null||a.forEach((u,p)=>{k.value.push({label:`${u.appraisalEmployeeName}\uFF08\u590D\u8BC4\uFF09`,key:"review",children:[{label:"\u590D\u8BC4\u4F9D\u636E",key:"reviewDesc",slot:"reviewDesc",columnKey:p+"",width:200},{label:"\u590D\u8BC4\u5F97\u5206",key:"reviewScore",slot:"reviewScore",columnKey:p+"",width:85}]})}):h.value==="3"?(t=O.value[0].appraisalType3List)==null||t.forEach((u,p)=>{k.value.push({label:`${u.appraisalEmployeeName}\uFF08\u6838\u67E5\uFF09`,key:"review",children:[{label:"\u6838\u67E5\u4F9D\u636E",key:"checkDesc",slot:"checkDesc",columnKey:p+"",width:200},{label:"\u6838\u67E5\u5F97\u5206",key:"checkScore",slot:"checkScore",columnKey:p+"",width:85}]})}):h.value==="4"&&(k.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}])},X=a=>{const t=[];return a.forEach((u,p)=>{let f=0;u.children.forEach((w,$)=>{let I=0;w.children.forEach((y,le)=>{var _,V;t.push({oneId:u.templateId,oneName:u.name,twoId:w.templateId,twoName:w.name,isFirstOne:f===0,isFirstTwo:I===0,appraisalType1List:((_=y.selfAppraisalScoreInfo)==null?void 0:_.filter(F=>F.appraisalType===1))||[],appraisalType2List:y.reAppraisalScoreInfo&&Object.values(y.reAppraisalScoreInfo).reduce((F,K)=>F.concat(K,[]))||[],appraisalType3List:y.verifyScoreInfo&&Object.values(y.verifyScoreInfo).reduce((F,K)=>F.concat(K,[]))||[],appraisalType4List:((V=y.rectifyAuditScoreInfo)==null?void 0:V.length)&&y.rectifyAuditScoreInfo||[],oneRows:f,twoRows:I,...y,threeId:y.templateId}),f++,I++}),t.forEach(y=>{y.twoId===w.templateId&&(y.twoRows=I)})}),t.forEach(w=>{w.oneId===u.templateId&&(w.oneRows=f)})}),t},A=j({}),Z=async()=>{const a=await je(n.query.projectCode);A.value=a.data,se()},oe=a=>{h.value=a,R(),W(),a==="4"&&re()},D=j({}),re=async()=>{const a=await Ce(n.query.appraisalId,n.query.projectCode);D.value=a.data},{exportLoading:ie,exportData:ne}=Re(),pe=()=>{ne(()=>ve(h.value,{projectCode:n.query.projectCode,appraisalId:n.query.appraisalId}))},E=j({processProgressVo:{progressInfo:[]}}),ee=async a=>{const t=await xe({...n.query,taskId:a||n.query.taskId});if(t.data.status==="\u88AB\u64A4\u56DE"){Y.go(-1);return}E.value={...t.data,processProgressVo:{...t.data.processProgressVo,progressInfo:de(t.data.processProgressVo.progressInfo)}}},de=a=>(a.forEach(t=>{if(t.children){const u=[],p=[];t.children.forEach(f=>{u.includes(f.nodeId)?(p.find(w=>w.nodeId===f.nodeId).list.push(f),p.find(w=>w.nodeId===f.nodeId).userIds.push(f.userId)):(u.push(f.nodeId),p.push({nodeId:f.nodeId,approvalMode:f.approvalMode,name:f.name,nodeType:f.nodeType,list:[{...f}],userIds:[f.userId]}))}),t.children=p}else t.userIds=[t.userId]}),a),Y=_e(),ue=async()=>{var t,u;const a=await be({projectCode:n.query.projectCode,appraisalId:n.query.appraisalId,html:d.value});Y.push({name:"selfScoreStamp",query:{projectId:n.query.projectId,projectCode:n.query.projectCode,appraisalId:n.query.appraisalId,instanceId:n.query.instanceId,taskId:n.query.taskId,fileId:a.data.fileId,isCommit:a.data.isCommit,instName:(u=(t=E.value)==null?void 0:t.processProgressVo)==null?void 0:u.processDefName}})},S=ke({visible:!1,title:void 0,taskId:void 0,action:void 0}),ae=async(a,t)=>{S.visible=!0,S.title=a,S.taskId=n.query.taskId,S.action=t,S.constructionSuggestions=E.value.constructionSuggestions,S.projectCode=n.query.projectCode},ce=()=>{S.visible=!1},fe=a=>{Z(),ee(a),P.value=!1},te=j(),{proxy:me}=Ne(),ye=async()=>{const a=N.value.selfAppraisalPdf&&JSON.parse(N.value.selfAppraisalPdf)[0]||void 0;if(!(a!=null&&a.id)){me.$message.warning("\u76D6\u7AE0\u6587\u4EF6\u4E0D\u5B58\u5728\uFF01");return}const t=await Le({fileId:a.id}),u=URL.createObjectURL(t),p=document.createElement("a");p.style.display="none",p.href=u,p.download=a.originalFileName,document.body.appendChild(p),p.click(),document.body.removeChild(p),window.URL.revokeObjectURL(u)};return De(async()=>{const a=await Be();te.value=a.data,R(),Z(),n.query.instanceId&&ee(n.query.taskId)}),(a,t)=>{const u=x("el-form-item"),p=x("el-col"),f=x("el-row"),w=x("el-form"),$=x("el-button"),I=x("el-card"),y=x("el-tab-pane"),le=x("el-tabs"),_=x("el-descriptions-item"),V=x("el-descriptions"),F=x("table-list"),K=$e("loading");return s(),i(C,null,[b("div",Fe,[r(I,{class:"mb-16"},{default:o(()=>{var e;return[b("div",Pe,[b("div",Ve,[b("div",Me,[b("p",Ke,c(((e=A.value)==null?void 0:e.projectName)||"-"),1),b("div",Je,[r(w,{"label-suffix":":"},{default:o(()=>[r(f,{gutter:24},{default:o(()=>[r(p,{span:6},{default:o(()=>[r(u,{label:"\u7533\u62A5\u5355\u4F4D"},{default:o(()=>{var l;return[m(c(((l=A.value)==null?void 0:l.buildOrgName)||"-"),1)]}),_:1})]),_:1}),r(p,{span:6},{default:o(()=>[r(u,{label:"\u9879\u76EE\u72B6\u6001"},{default:o(()=>{var l,v;return[m(c(((v=Q(z)[(l=A.value)==null?void 0:l.status])==null?void 0:v.name)||"-"),1)]}),_:1})]),_:1}),r(p,{span:6},{default:o(()=>[r(u,{label:"\u6279\u590D\u91D1\u989D"},{default:o(()=>{var l;return[m(c((l=A.value)==null?void 0:l.approvalAmount)+"\u4E07\u5143",1)]}),_:1})]),_:1}),r(p,{span:6},{default:o(()=>[r(u,{label:"\u9884\u7B97\u5E74\u5EA6"},{default:o(()=>{var l;return[m(c(((l=A.value)==null?void 0:l.projectYear)||"-"),1)]}),_:1})]),_:1})]),_:1})]),_:1})])]),a.$route.name==="applicationMarkDetail"?(s(),B($,{key:0,type:"primary",icon:"Download"},{default:o(()=>t[4]||(t[4]=[m("\u4E0B\u8F7D\u5206\u6790\u62A5\u544A")])),_:1})):g("",!0)])])]}),_:1}),r(I,{class:"mb-16"},{default:o(()=>{var e,l,v;return[b("div",Ue,[b("div",He,[b("p",null,[t[5]||(t[5]=m("\u81EA\u8BC4\u603B\u5206\uFF1A")),b("span",ze,c((e=N.value)==null?void 0:e.selfAppraisalTotalScore),1)]),a.$route.name!=="unitSelfScoreDetail"&&a.$route.name!=="selfScoreDetail"?(s(),i("p",Ye,[t[6]||(t[6]=m("\u590D\u8BC4\u603B\u5206\uFF1A")),b("span",Ge,c((l=N.value)==null?void 0:l.reAppraisalTotalScore.split(",").join("\u3001")),1)])):g("",!0),a.$route.name!=="unitSelfScoreDetail"&&a.$route.name!=="selfScoreDetail"&&a.$route.name!=="reviewScoreDetail"?(s(),i("p",Qe,[t[7]||(t[7]=m("\u6838\u67E5\u603B\u5206\uFF1A")),b("span",We,c((v=N.value)==null?void 0:v.verifyTotalScore.split(",").join("\u3001")),1)])):g("",!0)]),(a.$route.name==="selfScoreSureDetail"||a.$route.name==="selfScoreDetail")&&E.value.status==="\u5BA1\u6838\u901A\u8FC7"?(s(),i("div",Xe,[r($,{type:"primary",plain:"",onClick:ye},{default:o(()=>t[8]||(t[8]=[m("\u5BFC\u51FA")])),_:1})])):g("",!0),a.$route.name!=="selfScoreSureDetail"&&a.$route.name!=="unitSelfScoreDetail"&&a.$route.name!=="selfScoreDetail"?(s(),i("div",Ze,[r($,{type:"primary",plain:"",loading:Q(ie),onClick:pe},{default:o(()=>t[9]||(t[9]=[m("\u5BFC\u51FA")])),_:1},8,["loading"])])):g("",!0)])]}),_:1}),Ie((s(),B(I,{class:"tab-card"},Te({default:o(()=>[h.value==="4"?(s(),i("div",ea,[r(V,{title:"\u6574\u6539\u610F\u89C1",column:2,border:"",class:"mb-16"},{default:o(()=>[r(_,{span:"2",label:"\u6574\u6539\u610F\u89C1"},{default:o(()=>{var e;return[m(c((e=D.value)==null?void 0:e.rectifyOpinion),1)]}),_:1}),r(_,{label:"\u63D0\u4EA4\u4EBA"},{default:o(()=>{var e;return[m(c((e=D.value.rectifyResSubEmployee)==null?void 0:e.username),1)]}),_:1}),r(_,{label:"\u63D0\u4EA4\u65F6\u95F4"},{default:o(()=>{var e;return[m(c((e=D.value)==null?void 0:e.rectifyResSubTime),1)]}),_:1})]),_:1}),r(V,{title:"\u6574\u6539\u60C5\u51B5",column:2,border:"",class:"mb-16"},{default:o(()=>[r(_,{span:"2",label:"\u6574\u6539\u7ED3\u679C\u8BF4\u660E"},{default:o(()=>{var e;return[m(c((e=D.value)==null?void 0:e.rectifyResult),1)]}),_:1}),r(_,{label:"\u76F8\u5173\u6750\u6599",span:"2"},{default:o(()=>[(s(!0),i(C,null,J(D.value.rectifyResultAppendix&&JSON.parse(D.value.rectifyResultAppendix),(e,l)=>(s(),i("p",{key:l,class:"mb-4"},[r(U,{"file-name":e.originalFileName,"file-id":e.id},null,8,["file-name","file-id"])]))),128))]),_:1}),r(_,{label:"\u63D0\u4EA4\u4EBA"},{default:o(()=>{var e,l;return[m(c((l=(e=D.value)==null?void 0:e.rectifySubmitEmployee)==null?void 0:l.username),1)]}),_:1}),r(_,{label:"\u63D0\u4EA4\u65F6\u95F4"},{default:o(()=>{var e;return[m(c((e=D.value)==null?void 0:e.rectifySubmitTime),1)]}),_:1})]),_:1}),r(V,{title:"\u5BA1\u6838",column:2,border:"",class:"mb-16"},{default:o(()=>[r(_,{span:"2",label:"\u5BA1\u6838\u7ED3\u679C"},{default:o(()=>{var e;return[m(c((e=D.value)==null?void 0:e.rectifyStatusName),1)]}),_:1}),r(_,{label:"\u5BA1\u6838\u610F\u89C1"},{default:o(()=>{var e;return[m(c((e=D.value)==null?void 0:e.rectifyAuditOpinion),1)]}),_:1})]),_:1})])):g("",!0),h.value==="4"?(s(),i("h4",aa,"\u6700\u7EC8\u8BC4\u5206")):g("",!0),r(F,{stripe:!1,border:!0,pagination:!1,data:O.value,"span-method":H,column:k.value},{selfBasis:o(({scope:e})=>{var l,v,T;return[(l=e.row.appraisalType1List)!=null&&l.length?(s(),i(C,{key:0},[b("p",null,c(e.row.appraisalType1List[0].appraisalBasis||"-"),1),(s(!0),i(C,null,J(((T=(v=e.row.appraisalType1List)==null?void 0:v[0])==null?void 0:T.appraisalBasisAppendix)&&JSON.parse(e.row.appraisalType1List[0].appraisalBasisAppendix),(q,G)=>(s(),i("p",{key:G,class:"mb-4"},[r(U,{"file-name":q.originalFileName,"file-id":q.id},null,8,["file-name","file-id"])]))),128))],64)):(s(),i("span",ta,"-"))]}),selfScore:o(({scope:e})=>{var l;return[(l=e.row.appraisalType1List)!=null&&l.length?(s(),i("div",la,c(e.row.appraisalType1List[0].appraisalScore),1)):(s(),i("span",sa,"-"))]}),reviewDesc:o(({scope:e})=>{var l,v;return[(l=e.row.appraisalType2List)!=null&&l.length?(s(),i(C,{key:0},[b("p",null,c(e.row.appraisalType2List[e.column.columnKey].appraisalBasis||"-"),1),(s(!0),i(C,null,J(((v=e.row.appraisalType2List[e.column.columnKey])==null?void 0:v.appraisalBasisAppendix)&&JSON.parse(e.row.appraisalType2List[0].appraisalBasisAppendix),(T,q)=>(s(),i("p",{key:q,class:"mb-4"},[r(U,{"file-name":T.originalFileName,"file-id":T.id},null,8,["file-name","file-id"])]))),128))],64)):(s(),i("span",oa,"-"))]}),reviewScore:o(({scope:e})=>{var l;return[(l=e.row.appraisalType2List)!=null&&l.length?(s(),i("div",ra,c(e.row.appraisalType2List[e.column.columnKey].appraisalScore),1)):(s(),i("span",ia,"-"))]}),checkDesc:o(({scope:e})=>{var l,v;return[(l=e.row.appraisalType3List)!=null&&l.length?(s(),i(C,{key:0},[b("p",null,c(e.row.appraisalType3List[e.column.columnKey].appraisalBasis||"-"),1),(s(!0),i(C,null,J(((v=e.row.appraisalType3List[e.column.columnKey])==null?void 0:v.appraisalBasisAppendix)&&JSON.parse(e.row.appraisalType3List[0].appraisalBasisAppendix),(T,q)=>(s(),i("p",{key:q,class:"mb-4"},[r(U,{"file-name":T.originalFileName,"file-id":T.id},null,8,["file-name","file-id"])]))),128))],64)):(s(),i("span",na,"-"))]}),checkScore:o(({scope:e})=>{var l;return[(l=e.row.appraisalType3List)!=null&&l.length?(s(),i("div",pa,c(e.row.appraisalType3List[e.column.columnKey].appraisalScore),1)):(s(),i("span",da,"-"))]}),reReviewScore:o(({scope:e})=>{var l;return[(l=e.row.appraisalType4List)!=null&&l.length?(s(),i("div",ua,c(e.row.appraisalType4List[0].appraisalScore),1)):(s(),i("span",ca,"-"))]}),reReviewDesc:o(({scope:e})=>{var l,v,T;return[(l=e.row.appraisalType4List)!=null&&l.length?(s(),i(C,{key:0},[b("p",null,c(e.row.appraisalType4List[0].appraisalBasis||"-"),1),(s(!0),i(C,null,J(((T=(v=e.row.appraisalType4List)==null?void 0:v[0])==null?void 0:T.appraisalBasisAppendix)&&JSON.parse(e.row.appraisalType4List[0].appraisalBasisAppendix),(q,G)=>(s(),i("p",{key:G,class:"mb-4"},[r(U,{"file-name":q.originalFileName,"file-id":q.id},null,8,["file-name","file-id"])]))),128))],64)):(s(),i("span",fa,"-"))]}),_:1},8,["data","column"])]),_:2},[a.$route.name!=="unitSelfScoreDetail"&&a.$route.name!=="selfScoreSureDetail"&&a.$route.name!=="selfScoreDetail"?{name:"header",fn:o(()=>[r(le,{modelValue:h.value,"onUpdate:modelValue":t[0]||(t[0]=e=>h.value=e),onTabChange:oe},{default:o(()=>[r(y,{label:"\u81EA\u8BC4\u8BE6\u60C5",name:"1"}),a.$route.name!=="unitSelfScoreDetail"&&a.$route.name!=="selfScoreDetail"?(s(),B(y,{key:0,label:"\u590D\u8BC4\u8BE6\u60C5",name:"2"})):g("",!0),a.$route.name!=="unitSelfScoreDetail"&&a.$route.name!=="selfScoreDetail"&&a.$route.name!=="reviewScoreDetail"?(s(),B(y,{key:1,label:"\u6838\u67E5\u8BE6\u60C5",name:"3"})):g("",!0),a.$route.name!=="unitSelfScoreDetail"&&a.$route.name!=="selfScoreDetail"&&a.$route.name!=="reviewScoreDetail"&&a.$route.name!=="checkScoreDetail"?(s(),B(y,{key:2,label:"\u6574\u6539\u8BE6\u60C5",name:"4"})):g("",!0)]),_:1},8,["modelValue"])]),key:"0"}:void 0]),1024)),[[K,P.value]]),a.$route.name==="selfScoreSureDetail"||a.$route.name==="selfScoreDetail"?(s(),B(I,{key:0,header:"\u6D41\u7A0B\u8BB0\u5F55",shadow:"never",class:"mt-16"},{default:o(()=>[r(qe,{"flow-data":E.value.processProgressVo.progressInfo},null,8,["flow-data"])]),_:1})):g("",!0),a.$route.name==="selfScoreSureDetail"?(s(),i("div",ma,[b("div",ya,[r($,{onClick:t[1]||(t[1]=e=>Q(Y).go(-1))},{default:o(()=>t[10]||(t[10]=[m("\u8FD4\u56DE")])),_:1}),E.value.canPass?(s(),B($,{key:0,type:"primary",onClick:t[2]||(t[2]=e=>ae("\u901A\u8FC7","PASS"))},{default:o(()=>t[11]||(t[11]=[m("\u901A\u8FC7")])),_:1})):g("",!0),E.value.canSeal?(s(),B($,{key:1,type:"primary",onClick:ue},{default:o(()=>t[12]||(t[12]=[m("\u76D6\u7AE0\u5E76\u901A\u8FC7")])),_:1})):g("",!0),E.value.canReject?(s(),B($,{key:2,plain:"",type:"danger",onClick:t[3]||(t[3]=e=>ae("\u9A73\u56DE","REJECT"))},{default:o(()=>t[13]||(t[13]=[m("\u9A73\u56DE ")])),_:1})):g("",!0)])])):g("",!0)]),r(Ae,{visible:S.visible,title:S.title,action:S.action,"task-id":S.taskId,"construction-suggestions":S.constructionSuggestions,"project-code":S.projectCode,"is-performance":!0,onClose:ce,onReload:fe},null,8,["visible","title","action","task-id","construction-suggestions","project-code"])],64)}}});export{xa as default};