|
- import{c as ve,f as be,t as he}from"./unitSelfEvaluation.a199d4a8.js";import{d as we,z as _e,r as j,D as ge,A as Se,b as ke,o as De,c as x,a4 as $e,e as l,f as i,g as b,h as r,i as s,t as u,j as m,u as Q,I as q,k as w,w as Ie,a5 as Te,F as C,J,a3 as xe,C as Le,x as Ne}from"./index.0b616ce3.js";import{a as je}from"./projectStore.f34a5291.js";import{_ as U}from"./index.ca326906.js";import{d as Ce}from"./projectReform.7ba60581.js";import{u as Re}from"./useExportExc.d2a66f4f.js";import Ae from"./auditDialog.1b959587.js";import Ee from"./flowRecord.ee81cfbb.js";import{t as qe}from"./indicatorTemplate.faa3384f.js";import"./uploadAction.0353e8a4.js";import"./index.6c5e9add.js";const Be=`<!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;
- }
-
- </style>
- </head>
- <body>`,L=M=>{var n="";return M.length===0?"":(n=M.replace(/&/g,"&"),n=n.replace(/</g,"<"),n=n.replace(/>/g,">"),n=n.replace(/\'/g,"'"),n=n.replace(/\"/g,"""),n)},Oe=(M,n,g,H,k,R)=>{let z="";const O=k!=null&&k.length?k.map((d,N)=>`<tr>
- ${N===0?`<td rowspan="${k.length}">\u9879\u76EE\u7EF4\u5EA6</td>`:""}
- ${d.isFirstOne?`<td rowspan="${d.oneRows}">${L(d.oneName)}</td>`:""}
- ${d.isFirstTwo?`<td rowspan="${d.twoRows}">${L(d.twoName)}</td>`:""}
- <td>${L(d.name)}</td>
- <td style="text-align: left">${L(d.indexDetail)}</td>
- <td style="text-align: left">${L(d.gradeDetail)}</td>
- <td>${d.indexScore}</td>
- <td>${d.appraisalType1List[0].appraisalScore}</td>
- <td>${L(d.supportMaterial)}</td>
- </tr>`).join(""):"",P=R!=null&&R.length?R.map((d,N)=>`<tr>
- ${N===0?`<td rowspan="${R.length}">\u9644\u52A0\u9879</td>`:""}
- ${d.isFirstOne?`<td rowspan="${d.oneRows}">${L(d.oneName)}</td>`:""}
- ${d.isFirstTwo?`<td rowspan="${d.twoRows}">${L(d.twoName)}</td>`:""}
- <td>${d.name}</td>
- <td style="text-align: left">${L(d.indexDetail)}</td>
- <td style="text-align: left">${L(d.gradeDetail)}</td>
- <td>${d.indexScore}</td>
- <td>${d.appraisalType1List[0].appraisalScore}</td>
- <td>${L(d.supportMaterial)}</td>
- </tr>`).join(""):"";return z=`${Be}<div class="pdfHtml">
- <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${g}\u7248\u672C</p>
- <div class="top">
- <p style="margin-bottom: 20px">\u9879\u76EE\u540D\u79F0\uFF1A${M}</p>
- <p>\u5355\u4F4D\u540D\u79F0\uFF08\u76D6\u7AE0\uFF09\uFF1A</p>
- </div> <table>
- <thead>
- <tr>
- <th>\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>\u5206\u503C</th>
- <th>\u81EA\u8BC4\u5F97\u5206</th>
- <th>\u4F50\u8BC1\u6750\u6599</th>
- </tr>
- </thead>
- <tbody>
- ${O}
- ${P}
- <tr>
- <td colspan="6" style="text-align: center" class="bold">\u5408\u8BA1</td>
- <td class="bold"></td>
- <td class="bold">${H}</td>
- <td></td>
- </tr>
- <tr>
- <td colspan="7" style="text-align: center" class="bold">\u661F\u7EA7</td>
- <td class="bold"></td>
- <td></td>
- </tr>
- </tbody>
- </table>
- </div>
- </body>
- </html>`,z},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"},ze={class:"flex"},He={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},ca={key:0},ua={key:1},fa={key:1},ma={key:1,class:"footer"},ya={class:"flex items-center botBtn"},va=we({name:"scoreDetail"}),xa=Object.assign(va,{setup(M){const n=_e(),g=j("1"),{statusOptions:H}=ge.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}]},z=({row:a,column:o,rowIndex:c,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,h,$;P.value=!0,O.value=[];const a=await he(n.query.projectCode),o=X(a.data.templateDetails),c=X(a.data.additionalIndexDetails);d.value=Oe((p=A.value)==null?void 0:p.projectName,(h=(f=te.value)==null?void 0:f.find(I=>I.id===A.value.templateType))==null?void 0:h.name,A.value.projectYear,($=a.data)==null?void 0:$.selfAppraisalTotalScore,o,c),N.value=a.data,O.value=[...o,...c],g.value!=="1"&&(R(),W()),P.value=!1},W=()=>{var a,o;g.value==="2"?(a=O.value[0].appraisalType2List)==null||a.forEach((c,p)=>{k.value.push({label:`${c.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}]})}):g.value==="3"?(o=O.value[0].appraisalType3List)==null||o.forEach((c,p)=>{k.value.push({label:`${c.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}]})}):g.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 o=[];return a.forEach((c,p)=>{let f=0;c.children.forEach((h,$)=>{let I=0;h.children.forEach((y,le)=>{var S,V;o.push({oneId:c.templateId,oneName:c.name,twoId:h.templateId,twoName:h.name,isFirstOne:f===0,isFirstTwo:I===0,appraisalType1List:((S=y.selfAppraisalScoreInfo)==null?void 0:S.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++}),o.forEach(y=>{y.twoId===h.templateId&&(y.twoRows=I)})}),o.forEach(h=>{h.oneId===c.templateId&&(h.oneRows=f)})}),o},A=j({}),Z=async()=>{const a=await je(n.query.projectCode);A.value=a.data,se()},oe=a=>{g.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(g.value,{projectCode:n.query.projectCode,appraisalId:n.query.appraisalId}))},B=j({processProgressVo:{progressInfo:[]}}),ee=async a=>{const o=await xe({...n.query,taskId:a||n.query.taskId});if(o.data.status==="\u88AB\u64A4\u56DE"){Y.go(-1);return}B.value={...o.data,processProgressVo:{...o.data.processProgressVo,progressInfo:de(o.data.processProgressVo.progressInfo)}}},de=a=>(a.forEach(o=>{if(o.children){const c=[],p=[];o.children.forEach(f=>{c.includes(f.nodeId)?(p.find(h=>h.nodeId===f.nodeId).list.push(f),p.find(h=>h.nodeId===f.nodeId).userIds.push(f.userId)):(c.push(f.nodeId),p.push({nodeId:f.nodeId,approvalMode:f.approvalMode,name:f.name,nodeType:f.nodeType,list:[{...f}],userIds:[f.userId]}))}),o.children=p}else o.userIds=[o.userId]}),a),Y=Se(),ce=async()=>{var o,c;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:(c=(o=B.value)==null?void 0:o.processProgressVo)==null?void 0:c.processDefName}})},_=ke({visible:!1,title:void 0,taskId:void 0,action:void 0}),ae=async(a,o)=>{_.visible=!0,_.title=a,_.taskId=n.query.taskId,_.action=o,_.constructionSuggestions=B.value.constructionSuggestions,_.projectCode=n.query.projectCode},ue=()=>{_.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 o=await Le({fileId:a.id}),c=URL.createObjectURL(o),p=document.createElement("a");p.style.display="none",p.href=c,p.download=a.originalFileName,document.body.appendChild(p),p.click(),document.body.removeChild(p),window.URL.revokeObjectURL(c)};return De(async()=>{const a=await qe();te.value=a.data,R(),Z(),n.query.instanceId&&ee(n.query.taskId)}),(a,o)=>{const c=x("el-form-item"),p=x("el-col"),f=x("el-row"),h=x("el-form"),$=x("el-button"),I=x("el-card"),y=x("el-tab-pane"),le=x("el-tabs"),S=x("el-descriptions-item"),V=x("el-descriptions"),F=x("table-list"),K=$e("loading");return l(),i(C,null,[b("div",Fe,[r(I,{class:"mb-16"},{default:s(()=>{var e;return[b("div",Pe,[b("div",Ve,[b("div",Me,[b("p",Ke,u(((e=A.value)==null?void 0:e.projectName)||"-"),1),b("div",Je,[r(h,{"label-suffix":":"},{default:s(()=>[r(f,{gutter:24},{default:s(()=>[r(p,{span:6},{default:s(()=>[r(c,{label:"\u7533\u62A5\u5355\u4F4D"},{default:s(()=>{var t;return[m(u(((t=A.value)==null?void 0:t.buildOrgName)||"-"),1)]}),_:1})]),_:1}),r(p,{span:6},{default:s(()=>[r(c,{label:"\u9879\u76EE\u72B6\u6001"},{default:s(()=>{var t,v;return[m(u(((v=Q(H)[(t=A.value)==null?void 0:t.status])==null?void 0:v.name)||"-"),1)]}),_:1})]),_:1}),r(p,{span:6},{default:s(()=>[r(c,{label:"\u6279\u590D\u91D1\u989D"},{default:s(()=>{var t;return[m(u((t=A.value)==null?void 0:t.approvalAmount)+"\u4E07\u5143",1)]}),_:1})]),_:1}),r(p,{span:6},{default:s(()=>[r(c,{label:"\u9884\u7B97\u5E74\u5EA6"},{default:s(()=>{var t;return[m(u(((t=A.value)==null?void 0:t.projectYear)||"-"),1)]}),_:1})]),_:1})]),_:1})]),_:1})])]),a.$route.name==="applicationMarkDetail"?(l(),q($,{key:0,type:"primary",icon:"Download"},{default:s(()=>[m("\u4E0B\u8F7D\u5206\u6790\u62A5\u544A")]),_:1})):w("",!0)])])]}),_:1}),r(I,{class:"mb-16"},{default:s(()=>{var e,t,v;return[b("div",Ue,[b("div",ze,[b("p",null,[m("\u81EA\u8BC4\u603B\u5206\uFF1A"),b("span",He,u((e=N.value)==null?void 0:e.selfAppraisalTotalScore),1)]),a.$route.name!=="unitSelfScoreDetail"&&a.$route.name!=="selfScoreDetail"?(l(),i("p",Ye,[m("\u590D\u8BC4\u603B\u5206\uFF1A"),b("span",Ge,u((t=N.value)==null?void 0:t.reAppraisalTotalScore.split(",").join("\u3001")),1)])):w("",!0),a.$route.name!=="unitSelfScoreDetail"&&a.$route.name!=="selfScoreDetail"&&a.$route.name!=="reviewScoreDetail"?(l(),i("p",Qe,[m("\u6838\u67E5\u603B\u5206\uFF1A"),b("span",We,u((v=N.value)==null?void 0:v.verifyTotalScore.split(",").join("\u3001")),1)])):w("",!0)]),(a.$route.name==="selfScoreSureDetail"||a.$route.name==="selfScoreDetail")&&B.value.status==="\u5BA1\u6838\u901A\u8FC7"?(l(),i("div",Xe,[r($,{type:"primary",plain:"",onClick:ye},{default:s(()=>[m("\u5BFC\u51FA")]),_:1})])):w("",!0),a.$route.name!=="selfScoreSureDetail"&&a.$route.name!=="unitSelfScoreDetail"&&a.$route.name!=="selfScoreDetail"?(l(),i("div",Ze,[r($,{type:"primary",plain:"",loading:Q(ie),onClick:pe},{default:s(()=>[m("\u5BFC\u51FA")]),_:1},8,["loading"])])):w("",!0)])]}),_:1}),Ie((l(),q(I,{class:"tab-card"},Te({default:s(()=>[g.value==="4"?(l(),i("div",ea,[r(V,{title:"\u6574\u6539\u610F\u89C1",column:2,border:"",class:"mb-16"},{default:s(()=>[r(S,{span:"2",label:"\u6574\u6539\u610F\u89C1"},{default:s(()=>{var e;return[m(u((e=D.value)==null?void 0:e.rectifyOpinion),1)]}),_:1}),r(S,{label:"\u63D0\u4EA4\u4EBA"},{default:s(()=>{var e;return[m(u((e=D.value.rectifyResSubEmployee)==null?void 0:e.username),1)]}),_:1}),r(S,{label:"\u63D0\u4EA4\u65F6\u95F4"},{default:s(()=>{var e;return[m(u((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:s(()=>[r(S,{span:"2",label:"\u6574\u6539\u7ED3\u679C\u8BF4\u660E"},{default:s(()=>{var e;return[m(u((e=D.value)==null?void 0:e.rectifyResult),1)]}),_:1}),r(S,{label:"\u76F8\u5173\u6750\u6599",span:"2"},{default:s(()=>[(l(!0),i(C,null,J(D.value.rectifyResultAppendix&&JSON.parse(D.value.rectifyResultAppendix),(e,t)=>(l(),i("p",{key:t,class:"mb-4"},[r(U,{"file-name":e.originalFileName,"file-id":e.id},null,8,["file-name","file-id"])]))),128))]),_:1}),r(S,{label:"\u63D0\u4EA4\u4EBA"},{default:s(()=>{var e,t;return[m(u((t=(e=D.value)==null?void 0:e.rectifySubmitEmployee)==null?void 0:t.username),1)]}),_:1}),r(S,{label:"\u63D0\u4EA4\u65F6\u95F4"},{default:s(()=>{var e;return[m(u((e=D.value)==null?void 0:e.rectifySubmitTime),1)]}),_:1})]),_:1}),r(V,{title:"\u5BA1\u6838",column:2,border:"",class:"mb-16"},{default:s(()=>[r(S,{span:"2",label:"\u5BA1\u6838\u7ED3\u679C"},{default:s(()=>{var e;return[m(u((e=D.value)==null?void 0:e.rectifyStatusName),1)]}),_:1}),r(S,{label:"\u5BA1\u6838\u610F\u89C1"},{default:s(()=>{var e;return[m(u((e=D.value)==null?void 0:e.rectifyAuditOpinion),1)]}),_:1})]),_:1})])):w("",!0),g.value==="4"?(l(),i("h4",aa,"\u6700\u7EC8\u8BC4\u5206")):w("",!0),r(F,{stripe:!1,border:!0,pagination:!1,data:O.value,"span-method":z,column:k.value},{selfBasis:s(({scope:e})=>{var t,v,T;return[(t=e.row.appraisalType1List)!=null&&t.length?(l(),i(C,{key:0},[b("p",null,u(e.row.appraisalType1List[0].appraisalBasis||"-"),1),(l(!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),(E,G)=>(l(),i("p",{key:G,class:"mb-4"},[r(U,{"file-name":E.originalFileName,"file-id":E.id},null,8,["file-name","file-id"])]))),128))],64)):(l(),i("span",ta,"-"))]}),selfScore:s(({scope:e})=>{var t;return[(t=e.row.appraisalType1List)!=null&&t.length?(l(),i("div",la,u(e.row.appraisalType1List[0].appraisalScore),1)):(l(),i("span",sa,"-"))]}),reviewDesc:s(({scope:e})=>{var t,v;return[(t=e.row.appraisalType2List)!=null&&t.length?(l(),i(C,{key:0},[b("p",null,u(e.row.appraisalType2List[e.column.columnKey].appraisalBasis||"-"),1),(l(!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,E)=>(l(),i("p",{key:E,class:"mb-4"},[r(U,{"file-name":T.originalFileName,"file-id":T.id},null,8,["file-name","file-id"])]))),128))],64)):(l(),i("span",oa,"-"))]}),reviewScore:s(({scope:e})=>{var t;return[(t=e.row.appraisalType2List)!=null&&t.length?(l(),i("div",ra,u(e.row.appraisalType2List[e.column.columnKey].appraisalScore),1)):(l(),i("span",ia,"-"))]}),checkDesc:s(({scope:e})=>{var t,v;return[(t=e.row.appraisalType3List)!=null&&t.length?(l(),i(C,{key:0},[b("p",null,u(e.row.appraisalType3List[e.column.columnKey].appraisalBasis||"-"),1),(l(!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,E)=>(l(),i("p",{key:E,class:"mb-4"},[r(U,{"file-name":T.originalFileName,"file-id":T.id},null,8,["file-name","file-id"])]))),128))],64)):(l(),i("span",na,"-"))]}),checkScore:s(({scope:e})=>{var t;return[(t=e.row.appraisalType3List)!=null&&t.length?(l(),i("div",pa,u(e.row.appraisalType3List[e.column.columnKey].appraisalScore),1)):(l(),i("span",da,"-"))]}),reReviewScore:s(({scope:e})=>{var t;return[(t=e.row.appraisalType4List)!=null&&t.length?(l(),i("div",ca,u(e.row.appraisalType4List[0].appraisalScore),1)):(l(),i("span",ua,"-"))]}),reReviewDesc:s(({scope:e})=>{var t,v,T;return[(t=e.row.appraisalType4List)!=null&&t.length?(l(),i(C,{key:0},[b("p",null,u(e.row.appraisalType4List[0].appraisalBasis||"-"),1),(l(!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),(E,G)=>(l(),i("p",{key:G,class:"mb-4"},[r(U,{"file-name":E.originalFileName,"file-id":E.id},null,8,["file-name","file-id"])]))),128))],64)):(l(),i("span",fa,"-"))]}),_:1},8,["data","column"])]),_:2},[a.$route.name!=="unitSelfScoreDetail"&&a.$route.name!=="selfScoreSureDetail"&&a.$route.name!=="selfScoreDetail"?{name:"header",fn:s(()=>[r(le,{modelValue:g.value,"onUpdate:modelValue":o[0]||(o[0]=e=>g.value=e),onTabChange:oe},{default:s(()=>[r(y,{label:"\u81EA\u8BC4\u8BE6\u60C5",name:"1"}),a.$route.name!=="unitSelfScoreDetail"&&a.$route.name!=="selfScoreDetail"?(l(),q(y,{key:0,label:"\u590D\u8BC4\u8BE6\u60C5",name:"2"})):w("",!0),a.$route.name!=="unitSelfScoreDetail"&&a.$route.name!=="selfScoreDetail"&&a.$route.name!=="reviewScoreDetail"?(l(),q(y,{key:1,label:"\u6838\u67E5\u8BE6\u60C5",name:"3"})):w("",!0),a.$route.name!=="unitSelfScoreDetail"&&a.$route.name!=="selfScoreDetail"&&a.$route.name!=="reviewScoreDetail"&&a.$route.name!=="checkScoreDetail"?(l(),q(y,{key:2,label:"\u6574\u6539\u8BE6\u60C5",name:"4"})):w("",!0)]),_:1},8,["modelValue"])]),key:"0"}:void 0]),1024)),[[K,P.value]]),a.$route.name==="selfScoreSureDetail"||a.$route.name==="selfScoreDetail"?(l(),q(I,{key:0,header:"\u6D41\u7A0B\u8BB0\u5F55",shadow:"never",class:"mt-16"},{default:s(()=>[r(Ee,{"flow-data":B.value.processProgressVo.progressInfo},null,8,["flow-data"])]),_:1})):w("",!0),a.$route.name==="selfScoreSureDetail"?(l(),i("div",ma,[b("div",ya,[r($,{onClick:o[1]||(o[1]=e=>Q(Y).go(-1))},{default:s(()=>[m("\u8FD4\u56DE")]),_:1}),B.value.canPass?(l(),q($,{key:0,type:"primary",onClick:o[2]||(o[2]=e=>ae("\u901A\u8FC7","PASS"))},{default:s(()=>[m("\u901A\u8FC7")]),_:1})):w("",!0),B.value.canSeal?(l(),q($,{key:1,type:"primary",onClick:ce},{default:s(()=>[m("\u76D6\u7AE0\u5E76\u901A\u8FC7")]),_:1})):w("",!0),B.value.canReject?(l(),q($,{key:2,plain:"",type:"danger",onClick:o[3]||(o[3]=e=>ae("\u9A73\u56DE","REJECT"))},{default:s(()=>[m("\u9A73\u56DE ")]),_:1})):w("",!0)])])):w("",!0)]),r(Ae,{visible:_.visible,title:_.title,action:_.action,"task-id":_.taskId,"construction-suggestions":_.constructionSuggestions,"project-code":_.projectCode,"is-performance":!0,onClose:ue,onReload:fe},null,8,["visible","title","action","task-id","construction-suggestions","project-code"])],64)}}});export{xa as default};
|