var _t=Object.defineProperty,Ot=Object.defineProperties;var jt=Object.getOwnPropertyDescriptors;var at=Object.getOwnPropertySymbols;var Mt=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable;var it=(u,m,n)=>m in u?_t(u,m,{enumerable:!0,configurable:!0,writable:!0,value:n}):u[m]=n,ge=(u,m)=>{for(var n in m||(m={}))Mt.call(m,n)&&it(u,n,m[n]);if(at)for(var n of at(m))Tt.call(m,n)&&it(u,n,m[n]);return u},Le=(u,m)=>Ot(u,jt(m));var M=(u,m,n)=>new Promise((v,b)=>{var w=t=>{try{e(n.next(t))}catch(a){b(a)}},i=t=>{try{e(n.throw(t))}catch(a){b(a)}},e=t=>t.done?v(t.value):Promise.resolve(t.value).then(w,i);e((n=n.apply(u,m)).next())});import{d as Ue,r as V,an as nt,a5 as xe,o as Lt,_ as xt,b as pe,u as $t,I as zt,H as Jt,C as Ut,N as Bt,f as ue,g as h,h as N,l as D,m as S,k as we,p as O,j as f,i as x,G,L as ze,n as rt,K as $,t as de,P as Ee,al as ot,am as qt,a7 as Qt,W as Ht,F as Gt,q as Vt}from"./index.9fabe127.js";import{A as ce}from"./index.15f81060.js";import Wt from"./performanceEvaluationReport.d48952af.js";import{a as Yt,b as Kt,p as Zt,r as He,c as Xt,d as ea}from"./projectReview.8afe40ec.js";import{d as ta}from"./projectCollectionEnter.1928303a.js";import{E as aa}from"./expertOpinion.8725459c.js";import ia from"./recordListDialog.aebbbb33.js";import ra from"./upLoadReplayDialog.1f0ce185.js";import oa from"./upLoadZxDialog.a0266ffd.js";import{d as sa}from"./inquirySheetManage.543fa794.js";import{h as na}from"./evaluationPlan.fa509821.js";import{C as la,g as st}from"./checkList.2e03771f.js";import pa from"./upLoadPlanDialog.b38cf37c.js";import{a as be}from"./getTimeDiffer.e509579a.js";import ca from"./selfScoreDetailDialog.ea535d33.js";import ua from"./upLoadSealReportDialog.850d604a.js";import da from"./flowRecordDialog.8e12a276.js";import{d as fa}from"./wpsUtils.d67ebf50.js";import{t as Ge,f as va}from"./unitSelfEvaluation.ac3ab285.js";import{u as ma}from"./useExportExc.d221218e.js";import"./uploadAction.3a8ed42d.js";import"./flowRecord.40585eda.js";import"./index.18a3894b.js";import"./sjFlowRecord.9a6394f0.js";const ha=u=>M(void 0,null,function*(){return`<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>\u6574\u6539\u8BA1\u5212</title>
  <style>
    .pdfHtml {
      text-align: center;
      color: #000000;
      font-family: SimSun;
    }
    .title{
      font-weight: bold;
      font-size: 32px;
      font-family: SimSun;
      margin-bottom: 30px;
    }
    .top{
      text-align: left;
      margin-bottom: 30px;
    }
    .bold{
      font-weight: bold;
    }
    .text-center{
      text-align: center;
    }
    .text-left{
      text-align: left;
    }
    .mlTit{
      display: flex;align-items: center;
      margin-bottom: 16px;
    }
    .dashLine{
      flex:1;display: inline-block;border-bottom: 3px dashed;height: 1px
    }
    .twoMl{
      padding-left: 24px;
    }
    .oneTit{
      font-weight: bold;
      margin-bottom: 8px;
      margin-top: 12px;
    }
    .twoTit{
      padding-left: 24px;
      margin-bottom: 8px;
    }
    .content{
      padding-left: 24px;
    }
    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-weight: normal;
    }
    tr > td {
      padding: 8px 2px;
      border: 1px solid #000000;
      border-collapse: collapse;
      text-align: center;
      font-weight: normal;
    }
    tr > th {
      padding: 8px 2px;
      border: 1px solid #000000;
      border-collapse: collapse;
      text-align: center;
      font-weight: normal;
    }
    .indent2{
      text-indent: 2em;
    }
  </style>
</head>
<body>
<div class="pdfHtml">
  <div class="pageOne page text-left">
    <p class="title text-center" style="font-weight: bold;margin-bottom: 30px;font-size: 32px;">${u.projectName||""}\u7EE9\u6548\u8BC4\u4EF7\u6574\u6539\u8BA1\u5212</p>
   <table border="1" 
  style="border-collapse: collapse;border: 1px solid black;"
  cellspacing="0" cellpadding="2" width="100%" height="100%">
     <tbody>
      <tr>
        <td  style="width:23%;text-align: center"> <p>&nbsp;&nbsp;</p><p style="text-align: center">\u9879\u76EE\u540D\u79F0</p> <p>&nbsp;&nbsp;</p></td>
        <td colspan="3" style="text-align: left"><p  style="padding-left: 12px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${u.projectName||""}</p></td>
      </tr>
      <tr>
        <td style="width: 23%;text-align: center">\u6574\u6539\u5185\u5BB9</td>
        <td colspan="3" style="text-align: left">
           <p>&nbsp;</p>
            ${u.advice.map((n,v)=>`<p style="padding-left: 12px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${v+1}.${n||""}\uFF1B</p>`).join("")}<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
        </td>
      </tr>
      <tr>
        <td  style="width: 23%;text-align: center">\u6574\u6539\u8BA1\u5212</td>
        <td colspan="3">
              <div>
                  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
                  <p style="padding-top: 100px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\uFF08\u53EF\u53E6\u9644\u9875\uFF09</p>
                  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
                   <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
                    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
                     <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
                  <p style="padding-top: 100px;text-align: right">\u6574\u6539\u5355\u4F4D\uFF08\u76D6\u7AE0\uFF09</p>
                  <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
              </div>
        </td>
      </tr>
      <tr>
        <td  style="width: 23%;text-align: center">\u6574\u6539\u5B8C\u6210\u60C5\u51B5</td>
        <td colspan="3">
              <div>
                  <p>&nbsp;&nbsp;</p>
                  <p>&nbsp;&nbsp;</p>
                  <p>&nbsp;&nbsp;</p>
                   <p>&nbsp;&nbsp;</p>
              </div>
        </td>
      </tr>
      <tr>
        <td  style="width: 23%;text-align: center"><p style="text-align: center;">\u7B54\u590D\u4EBA\u5458(\u7B7E\u5B57)</p></td>
        <td style="width:27%"> <p>&nbsp;&nbsp;</p> <p>&nbsp;&nbsp;</p></td>
        <td  style="width: 23%;text-align: center"><p style="text-align: center;">\u7B54\u590D\u65F6\u95F4</p></td>
        <td style="width:27%;text-align: right">&nbsp;&nbsp;\u5E74&nbsp;\u6708&nbsp;\u65E5</td>
      </tr>
     </tbody>
   </table>
</div>
</div>
</body>
</html>
`});/*!
 * qrcode.vue v3.4.1
 * A Vue.js component to generate QRCode.
 * © 2017-2023 @scopewu(https://github.com/scopewu)
 * MIT License.
 */var Je=function(){return Je=Object.assign||function(m){for(var n,v=1,b=arguments.length;v<b;v++){n=arguments[v];for(var w in n)Object.prototype.hasOwnProperty.call(n,w)&&(m[w]=n[w])}return m},Je.apply(this,arguments)};var Se;(function(u){var m=function(){function i(e,t,a,o){if(this.version=e,this.errorCorrectionLevel=t,this.modules=[],this.isFunction=[],e<i.MIN_VERSION||e>i.MAX_VERSION)throw new RangeError("Version value out of range");if(o<-1||o>7)throw new RangeError("Mask value out of range");this.size=e*4+17;for(var d=[],l=0;l<this.size;l++)d.push(!1);for(var l=0;l<this.size;l++)this.modules.push(d.slice()),this.isFunction.push(d.slice());this.drawFunctionPatterns();var g=this.addEccAndInterleave(a);if(this.drawCodewords(g),o==-1)for(var P=1e9,l=0;l<8;l++){this.applyMask(l),this.drawFormatBits(l);var A=this.getPenaltyScore();A<P&&(o=l,P=A),this.applyMask(l)}b(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}return i.encodeText=function(e,t){var a=u.QrSegment.makeSegments(e);return i.encodeSegments(a,t)},i.encodeBinary=function(e,t){var a=u.QrSegment.makeBytes(e);return i.encodeSegments([a],t)},i.encodeSegments=function(e,t,a,o,d,l){if(a===void 0&&(a=1),o===void 0&&(o=40),d===void 0&&(d=-1),l===void 0&&(l=!0),!(i.MIN_VERSION<=a&&a<=o&&o<=i.MAX_VERSION)||d<-1||d>7)throw new RangeError("Invalid value");var g,P;for(g=a;;g++){var A=i.getNumDataCodewords(g,t)*8,z=w.getTotalBits(e,g);if(z<=A){P=z;break}if(g>=o)throw new RangeError("Data too long")}for(var F=0,W=[i.Ecc.MEDIUM,i.Ecc.QUARTILE,i.Ecc.HIGH];F<W.length;F++){var B=W[F];l&&P<=i.getNumDataCodewords(g,B)*8&&(t=B)}for(var _=[],Y=0,fe=e;Y<fe.length;Y++){var L=fe[Y];n(L.mode.modeBits,4,_),n(L.numChars,L.mode.numCharCountBits(g),_);for(var K=0,Ne=L.getData();K<Ne.length;K++){var Ce=Ne[K];_.push(Ce)}}b(_.length==P);var ke=i.getNumDataCodewords(g,t)*8;b(_.length<=ke),n(0,Math.min(4,ke-_.length),_),n(0,(8-_.length%8)%8,_),b(_.length%8==0);for(var $e=236;_.length<ke;$e^=253)n($e,8,_);for(var Z=[];Z.length*8<_.length;)Z.push(0);return _.forEach(function(De,Ie){return Z[Ie>>>3]|=De<<7-(Ie&7)}),new i(g,t,Z,d)},i.prototype.getModule=function(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]},i.prototype.getModules=function(){return this.modules},i.prototype.drawFunctionPatterns=function(){for(var e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);for(var t=this.getAlignmentPatternPositions(),a=t.length,e=0;e<a;e++)for(var o=0;o<a;o++)e==0&&o==0||e==0&&o==a-1||e==a-1&&o==0||this.drawAlignmentPattern(t[e],t[o]);this.drawFormatBits(0),this.drawVersion()},i.prototype.drawFormatBits=function(e){for(var t=this.errorCorrectionLevel.formatBits<<3|e,a=t,o=0;o<10;o++)a=a<<1^(a>>>9)*1335;var d=(t<<10|a)^21522;b(d>>>15==0);for(var o=0;o<=5;o++)this.setFunctionModule(8,o,v(d,o));this.setFunctionModule(8,7,v(d,6)),this.setFunctionModule(8,8,v(d,7)),this.setFunctionModule(7,8,v(d,8));for(var o=9;o<15;o++)this.setFunctionModule(14-o,8,v(d,o));for(var o=0;o<8;o++)this.setFunctionModule(this.size-1-o,8,v(d,o));for(var o=8;o<15;o++)this.setFunctionModule(8,this.size-15+o,v(d,o));this.setFunctionModule(8,this.size-8,!0)},i.prototype.drawVersion=function(){if(!(this.version<7)){for(var e=this.version,t=0;t<12;t++)e=e<<1^(e>>>11)*7973;var a=this.version<<12|e;b(a>>>18==0);for(var t=0;t<18;t++){var o=v(a,t),d=this.size-11+t%3,l=Math.floor(t/3);this.setFunctionModule(d,l,o),this.setFunctionModule(l,d,o)}}},i.prototype.drawFinderPattern=function(e,t){for(var a=-4;a<=4;a++)for(var o=-4;o<=4;o++){var d=Math.max(Math.abs(o),Math.abs(a)),l=e+o,g=t+a;0<=l&&l<this.size&&0<=g&&g<this.size&&this.setFunctionModule(l,g,d!=2&&d!=4)}},i.prototype.drawAlignmentPattern=function(e,t){for(var a=-2;a<=2;a++)for(var o=-2;o<=2;o++)this.setFunctionModule(e+o,t+a,Math.max(Math.abs(o),Math.abs(a))!=1)},i.prototype.setFunctionModule=function(e,t,a){this.modules[t][e]=a,this.isFunction[t][e]=!0},i.prototype.addEccAndInterleave=function(e){var t=this.version,a=this.errorCorrectionLevel;if(e.length!=i.getNumDataCodewords(t,a))throw new RangeError("Invalid argument");for(var o=i.NUM_ERROR_CORRECTION_BLOCKS[a.ordinal][t],d=i.ECC_CODEWORDS_PER_BLOCK[a.ordinal][t],l=Math.floor(i.getNumRawDataModules(t)/8),g=o-l%o,P=Math.floor(l/o),A=[],z=i.reedSolomonComputeDivisor(d),F=0,W=0;F<o;F++){var B=e.slice(W,W+P-d+(F<g?0:1));W+=B.length;var _=i.reedSolomonComputeRemainder(B,z);F<g&&B.push(0),A.push(B.concat(_))}for(var Y=[],fe=function(L){A.forEach(function(K,Ne){(L!=P-d||Ne>=g)&&Y.push(K[L])})},F=0;F<A[0].length;F++)fe(F);return b(Y.length==l),Y},i.prototype.drawCodewords=function(e){if(e.length!=Math.floor(i.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");for(var t=0,a=this.size-1;a>=1;a-=2){a==6&&(a=5);for(var o=0;o<this.size;o++)for(var d=0;d<2;d++){var l=a-d,g=(a+1&2)==0,P=g?this.size-1-o:o;!this.isFunction[P][l]&&t<e.length*8&&(this.modules[P][l]=v(e[t>>>3],7-(t&7)),t++)}}b(t==e.length*8)},i.prototype.applyMask=function(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(var t=0;t<this.size;t++)for(var a=0;a<this.size;a++){var o=void 0;switch(e){case 0:o=(a+t)%2==0;break;case 1:o=t%2==0;break;case 2:o=a%3==0;break;case 3:o=(a+t)%3==0;break;case 4:o=(Math.floor(a/3)+Math.floor(t/2))%2==0;break;case 5:o=a*t%2+a*t%3==0;break;case 6:o=(a*t%2+a*t%3)%2==0;break;case 7:o=((a+t)%2+a*t%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[t][a]&&o&&(this.modules[t][a]=!this.modules[t][a])}},i.prototype.getPenaltyScore=function(){for(var e=0,t=0;t<this.size;t++){for(var a=!1,o=0,d=[0,0,0,0,0,0,0],l=0;l<this.size;l++)this.modules[t][l]==a?(o++,o==5?e+=i.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,d),a||(e+=this.finderPenaltyCountPatterns(d)*i.PENALTY_N3),a=this.modules[t][l],o=1);e+=this.finderPenaltyTerminateAndCount(a,o,d)*i.PENALTY_N3}for(var l=0;l<this.size;l++){for(var a=!1,g=0,d=[0,0,0,0,0,0,0],t=0;t<this.size;t++)this.modules[t][l]==a?(g++,g==5?e+=i.PENALTY_N1:g>5&&e++):(this.finderPenaltyAddHistory(g,d),a||(e+=this.finderPenaltyCountPatterns(d)*i.PENALTY_N3),a=this.modules[t][l],g=1);e+=this.finderPenaltyTerminateAndCount(a,g,d)*i.PENALTY_N3}for(var t=0;t<this.size-1;t++)for(var l=0;l<this.size-1;l++){var P=this.modules[t][l];P==this.modules[t][l+1]&&P==this.modules[t+1][l]&&P==this.modules[t+1][l+1]&&(e+=i.PENALTY_N2)}for(var A=0,z=0,F=this.modules;z<F.length;z++){var W=F[z];A=W.reduce(function(Y,fe){return Y+(fe?1:0)},A)}var B=this.size*this.size,_=Math.ceil(Math.abs(A*20-B*10)/B)-1;return b(0<=_&&_<=9),e+=_*i.PENALTY_N4,b(0<=e&&e<=2568888),e},i.prototype.getAlignmentPatternPositions=function(){if(this.version==1)return[];for(var e=Math.floor(this.version/7)+2,t=this.version==32?26:Math.ceil((this.version*4+4)/(e*2-2))*2,a=[6],o=this.size-7;a.length<e;o-=t)a.splice(1,0,o);return a},i.getNumRawDataModules=function(e){if(e<i.MIN_VERSION||e>i.MAX_VERSION)throw new RangeError("Version number out of range");var t=(16*e+128)*e+64;if(e>=2){var a=Math.floor(e/7)+2;t-=(25*a-10)*a-55,e>=7&&(t-=36)}return b(208<=t&&t<=29648),t},i.getNumDataCodewords=function(e,t){return Math.floor(i.getNumRawDataModules(e)/8)-i.ECC_CODEWORDS_PER_BLOCK[t.ordinal][e]*i.NUM_ERROR_CORRECTION_BLOCKS[t.ordinal][e]},i.reedSolomonComputeDivisor=function(e){if(e<1||e>255)throw new RangeError("Degree out of range");for(var t=[],a=0;a<e-1;a++)t.push(0);t.push(1);for(var o=1,a=0;a<e;a++){for(var d=0;d<t.length;d++)t[d]=i.reedSolomonMultiply(t[d],o),d+1<t.length&&(t[d]^=t[d+1]);o=i.reedSolomonMultiply(o,2)}return t},i.reedSolomonComputeRemainder=function(e,t){for(var a=t.map(function(P){return 0}),o=function(P){var A=P^a.shift();a.push(0),t.forEach(function(z,F){return a[F]^=i.reedSolomonMultiply(z,A)})},d=0,l=e;d<l.length;d++){var g=l[d];o(g)}return a},i.reedSolomonMultiply=function(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");for(var a=0,o=7;o>=0;o--)a=a<<1^(a>>>7)*285,a^=(t>>>o&1)*e;return b(a>>>8==0),a},i.prototype.finderPenaltyCountPatterns=function(e){var t=e[1];b(t<=this.size*3);var a=t>0&&e[2]==t&&e[3]==t*3&&e[4]==t&&e[5]==t;return(a&&e[0]>=t*4&&e[6]>=t?1:0)+(a&&e[6]>=t*4&&e[0]>=t?1:0)},i.prototype.finderPenaltyTerminateAndCount=function(e,t,a){return e&&(this.finderPenaltyAddHistory(t,a),t=0),t+=this.size,this.finderPenaltyAddHistory(t,a),this.finderPenaltyCountPatterns(a)},i.prototype.finderPenaltyAddHistory=function(e,t){t[0]==0&&(e+=this.size),t.pop(),t.unshift(e)},i.MIN_VERSION=1,i.MAX_VERSION=40,i.PENALTY_N1=3,i.PENALTY_N2=3,i.PENALTY_N3=40,i.PENALTY_N4=10,i.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],i.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],i}();u.QrCode=m;function n(i,e,t){if(e<0||e>31||i>>>e!=0)throw new RangeError("Value out of range");for(var a=e-1;a>=0;a--)t.push(i>>>a&1)}function v(i,e){return(i>>>e&1)!=0}function b(i){if(!i)throw new Error("Assertion error")}var w=function(){function i(e,t,a){if(this.mode=e,this.numChars=t,this.bitData=a,t<0)throw new RangeError("Invalid argument");this.bitData=a.slice()}return i.makeBytes=function(e){for(var t=[],a=0,o=e;a<o.length;a++){var d=o[a];n(d,8,t)}return new i(i.Mode.BYTE,e.length,t)},i.makeNumeric=function(e){if(!i.isNumeric(e))throw new RangeError("String contains non-numeric characters");for(var t=[],a=0;a<e.length;){var o=Math.min(e.length-a,3);n(parseInt(e.substring(a,a+o),10),o*3+1,t),a+=o}return new i(i.Mode.NUMERIC,e.length,t)},i.makeAlphanumeric=function(e){if(!i.isAlphanumeric(e))throw new RangeError("String contains unencodable characters in alphanumeric mode");var t=[],a;for(a=0;a+2<=e.length;a+=2){var o=i.ALPHANUMERIC_CHARSET.indexOf(e.charAt(a))*45;o+=i.ALPHANUMERIC_CHARSET.indexOf(e.charAt(a+1)),n(o,11,t)}return a<e.length&&n(i.ALPHANUMERIC_CHARSET.indexOf(e.charAt(a)),6,t),new i(i.Mode.ALPHANUMERIC,e.length,t)},i.makeSegments=function(e){return e==""?[]:i.isNumeric(e)?[i.makeNumeric(e)]:i.isAlphanumeric(e)?[i.makeAlphanumeric(e)]:[i.makeBytes(i.toUtf8ByteArray(e))]},i.makeEci=function(e){var t=[];if(e<0)throw new RangeError("ECI assignment value out of range");if(e<1<<7)n(e,8,t);else if(e<1<<14)n(2,2,t),n(e,14,t);else if(e<1e6)n(6,3,t),n(e,21,t);else throw new RangeError("ECI assignment value out of range");return new i(i.Mode.ECI,0,t)},i.isNumeric=function(e){return i.NUMERIC_REGEX.test(e)},i.isAlphanumeric=function(e){return i.ALPHANUMERIC_REGEX.test(e)},i.prototype.getData=function(){return this.bitData.slice()},i.getTotalBits=function(e,t){for(var a=0,o=0,d=e;o<d.length;o++){var l=d[o],g=l.mode.numCharCountBits(t);if(l.numChars>=1<<g)return 1/0;a+=4+g+l.bitData.length}return a},i.toUtf8ByteArray=function(e){e=encodeURI(e);for(var t=[],a=0;a<e.length;a++)e.charAt(a)!="%"?t.push(e.charCodeAt(a)):(t.push(parseInt(e.substring(a+1,a+3),16)),a+=2);return t},i.NUMERIC_REGEX=/^[0-9]*$/,i.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,i.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",i}();u.QrSegment=w})(Se||(Se={}));(function(u){(function(m){var n=function(){function v(b,w){this.ordinal=b,this.formatBits=w}return v.LOW=new v(0,1),v.MEDIUM=new v(1,0),v.QUARTILE=new v(2,3),v.HIGH=new v(3,2),v}();m.Ecc=n})(u.QrCode||(u.QrCode={}))})(Se||(Se={}));(function(u){(function(m){var n=function(){function v(b,w){this.modeBits=b,this.numBitsCharCount=w}return v.prototype.numCharCountBits=function(b){return this.numBitsCharCount[Math.floor((b+7)/17)]},v.NUMERIC=new v(1,[10,12,14]),v.ALPHANUMERIC=new v(2,[9,11,13]),v.BYTE=new v(4,[8,16,16]),v.KANJI=new v(8,[8,10,12]),v.ECI=new v(7,[0,0,0]),v}();m.Mode=n})(u.QrSegment||(u.QrSegment={}))})(Se||(Se={}));var Re=Se,lt="H",Ve={L:Re.QrCode.Ecc.LOW,M:Re.QrCode.Ecc.MEDIUM,Q:Re.QrCode.Ecc.QUARTILE,H:Re.QrCode.Ecc.HIGH},ya=function(){try{new Path2D().addPath(new Path2D)}catch(u){return!1}return!0}();function pt(u){return u in Ve}function ct(u,m){m===void 0&&(m=0);var n=[];return u.forEach(function(v,b){var w=null;v.forEach(function(i,e){if(!i&&w!==null){n.push("M".concat(w+m," ").concat(b+m,"h").concat(e-w,"v1H").concat(w+m,"z")),w=null;return}if(e===v.length-1){if(!i)return;w===null?n.push("M".concat(e+m,",").concat(b+m," h1v1H").concat(e+m,"z")):n.push("M".concat(w+m,",").concat(b+m," h").concat(e+1-w,"v1H").concat(w+m,"z"));return}i&&w===null&&(w=e)})}),n.join("")}var We={value:{type:String,required:!0,default:""},size:{type:Number,default:100},level:{type:String,default:lt,validator:function(u){return pt(u)}},background:{type:String,default:"#fff"},foreground:{type:String,default:"#000"},margin:{type:Number,required:!1,default:0}},ga=Je(Je({},We),{renderAs:{type:String,required:!1,default:"canvas",validator:function(u){return["canvas","svg"].indexOf(u)>-1}}}),ba=Ue({name:"QRCodeSvg",props:We,setup:function(u){var m=V(0),n=V(""),v=function(){var b=u.value,w=u.level,i=u.margin,e=Re.QrCode.encodeText(b,Ve[w]).getModules();m.value=e.length+i*2,n.value=ct(e,i)};return v(),nt(v),function(){return xe("svg",{width:u.size,height:u.size,"shape-rendering":"crispEdges",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m.value," ").concat(m.value)},[xe("path",{fill:u.background,d:"M0,0 h".concat(m.value,"v").concat(m.value,"H0z")}),xe("path",{fill:u.foreground,d:n.value})])}}}),Ca=Ue({name:"QRCodeCanvas",props:We,setup:function(u){var m=V(null),n=function(){var v=u.value,b=u.level,w=u.size,i=u.margin,e=u.background,t=u.foreground,a=m.value;if(!!a){var o=a.getContext("2d");if(!!o){var d=Re.QrCode.encodeText(v,Ve[b]).getModules(),l=d.length+i*2,g=window.devicePixelRatio||1,P=w/l*g;a.height=a.width=w*g,o.scale(P,P),o.fillStyle=e,o.fillRect(0,0,l,l),o.fillStyle=t,ya?o.fill(new Path2D(ct(d,i))):d.forEach(function(A,z){A.forEach(function(F,W){F&&o.fillRect(W+i,z+i,1,1)})})}}};return Lt(n),nt(n),function(){return xe("canvas",{ref:m,style:{width:"".concat(u.size,"px"),height:"".concat(u.size,"px")}})}}}),Da=Ue({name:"Qrcode",render:function(){var u=this.$props,m=u.renderAs,n=u.value,v=u.size,b=u.margin,w=u.level,i=u.background,e=u.foreground,t=v>>>0,a=b>>>0,o=pt(w)?w:lt;return xe(m==="svg"?ba:Ca,{value:n,size:t,margin:a,level:o,background:i,foreground:e})},props:ga});const wa={key:0,class:"text-right"},Sa={class:"custom-steps"},Na={key:0,class:"c-step-line"},Ia={class:"c-step-icon"},Ea={key:2,class:"c-step-inner"},Ra={class:"c-step-main mt-10 text-14"},ka={class:"text-16"},Aa={class:"text-12"},Pa={key:0,class:"mt-6 text-danger"},Fa={key:1,class:"mt-6"},_a={key:0,class:"flex items-center mt-8"},Oa={key:3,class:"flex"},ja=["onClick"],Ma={key:4,class:"mt-4"},Ta={key:5},La=["onClick"],xa={key:6,class:"flex items-center mt-8"},$a={key:7},za=["onClick"],Ja={key:0,class:"flex items-center mt-8"},Ua={key:1,class:"text-14 text-black"},Ba={class:"text-black ml-2"},qa={class:"flex items-center"},Qa={class:"flex justify-center"},Ha={class:"flex justify-center"},Ga={class:"flex justify-center"},Va=Ue({name:"projectProgress"}),Wa=Object.assign(Va,{props:{overviewData:Object,projectDetailData:Object,templateDetailData:Object},emits:["reLoad","getDetail"],setup(u,{emit:m}){const n=u,v="test",b=V(),w=r=>{var p,c,C,y,E,q,j,I,Q,H,k,s,J,X,ee,te,ae,ie,re,U,oe,se,ne,me,he;b.value=[{processName:"\u81EA\u8BC4",status:r.selfAppraisalStatus,stepStatus:r.selfAppraisalStatus===3?"COMPLETED":r.selfAppraisalStatus===4?"REJECTED":"ON_GOING",statusName:r.selfAppraisalStatusName},{processName:"\u7B2C\u4E09\u65B9\u673A\u6784\u8BC4\u5BA1",status:r.reAppraisalStatus,stepStatus:r.reAppraisalStatus===3?"COMPLETED":r.reAppraisalStatus===2?"REJECTED":r.reAppraisalStatus===1?"ON_GOING":"",statusName:r.reAppraisalStatusName,reAppraisalReport:r.reAppraisalReport||"",reAppraisalReportFile:r.reAppraisalReportFile||"",rectifyReport:r.rectifyReport||"",verfityStatus:r.verfityStatus},{processName:"\u4E13\u5BB6\u8BC4\u5BA1",status:r.verfityStatus,stepStatus:r.verfityStatus===3?"COMPLETED":[2,4].includes(r.verfityStatus)?"ON_GOING":"",statusName:r.verfityStatusName,opinionFile:r.opinionFile||"",opinion:r.opinion||"",opinionFinal:r.opinionFinal||"",reAppraisalStatus:r.reAppraisalStatus,signedNum:r.signedNum},{processName:"\u95EE\u9898\u6574\u6539",status:r.rectifyStatus,reAppraisalAdjustStatus:r.reAppraisalAdjustStatus,stepStatus:r.rectifyStatus===2?"COMPLETED":r.reAppraisalAdjustStatus||r.rectifyStatus?"ON_GOING":"",statusName:r.rectifyStatusName||r.reAppraisalAdjustStatusName,reAppraisalReport:r.reAppraisalReport||"",reAppraisalReportFile:r.reAppraisalReportFile||"",rectifyReport:r.rectifyReport||"",rectificationChecklistFile:r.rectificationChecklistFile||"",rectificationChecklist:r.rectificationChecklist||"",distribute:r.distribute,rectifyPlanFile:r.rectifyPlanFile||"",rectifyPlanTemplate:r.rectifyPlanTemplate,sealReport:r.sealReport,rectifyPlanInstStatus:r.rectifyPlanInstStatus,rectifyPlanInstCode:r.rectifyPlanInstCode}],(((p=r.consultationForms)==null?void 0:p.length)||r.reAppraisalStatus===2)&&b.value.splice(2,0,{processName:"\u54A8\u8BE2\u5355",status:((C=(c=r.consultationForms)==null?void 0:c[0])==null?void 0:C.status)||void 0,stepStatus:((E=(y=r.consultationForms)==null?void 0:y[0])==null?void 0:E.status)===4?"COMPLETED":"ON_GOING",statusName:((j=(q=r.consultationForms)==null?void 0:q[0])==null?void 0:j.status)===2?(Q=(I=r.consultationForms)==null?void 0:I[0])==null?void 0:Q.consultationStatusName:((k=(H=r.consultationForms)==null?void 0:H[0])==null?void 0:k.statusName)||"",consultationStatus:(J=(s=r.consultationForms)==null?void 0:s[0])==null?void 0:J.consultationStatus,replyStatus:(ee=(X=r.consultationForms)==null?void 0:X[0])==null?void 0:ee.replyStatus,consultationForm:((ae=(te=r.consultationForms)==null?void 0:te[0])==null?void 0:ae.consultationForm)||"",consultationFormId:(re=(ie=r.consultationForms)==null?void 0:ie[0])==null?void 0:re.id,replyForm:((oe=(U=r.consultationForms)==null?void 0:U[0])==null?void 0:oe.replyForm)||"",appraisalJson:((ne=(se=r.consultationForms)==null?void 0:se[0])==null?void 0:ne.appraisalJson)||void 0,instCode:((he=(me=r.consultationForms)==null?void 0:me[0])==null?void 0:he.instCode)||void 0,reAppraisalReport:r.reAppraisalReport||"",reAppraisalReportFile:r.reAppraisalReportFile||"",rectifyReport:r.rectifyReport||"",opinionFile:r.opinionFile||"",opinion:r.opinion||"",verfityStatus:r.verfityStatus})},i=pe({visible:!1,data:{reportData:void 0,reportTemplateData:void 0}}),e=r=>M(this,null,function*(){Ie.value=!1;const p=JSON.parse(r.reAppraisalReport);i.data={reportData:Le(ge({},p),{templateDetails:void 0,additionalIndexDetails:void 0}),reportTemplateData:{templateDetails:p.templateDetails,additionalIndexDetails:p.additionalIndexDetails}},yield Ee(),i.visible=!0}),t=V(),a=V(!1),o=()=>M(this,null,function*(){yield t.value.formRef.validate(),d()}),d=()=>M(this,null,function*(){yield Ee(),t.value.getPdf()}),l=$t(),{proxy:g}=Vt(),P=(r,p,c)=>M(this,null,function*(){var C,y;a.value=!0;try{Ie.value?yield sa({formId:(y=(C=b.value)==null?void 0:C.find(E=>E.processName==="\u54A8\u8BE2\u5355"))==null?void 0:y.consultationFormId,status:4,report:c,reportFile:JSON.stringify({fileId:r,fileName:p})}):Ke.value?ft(r,p,c):yield Yt({appraisalId:l.query.appraisalId,projectCode:l.query.projectCode,report:c,reportFile:JSON.stringify({fileId:r,fileName:p})}),g.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),i.visible=!1,a.value=!1,L("reLoad")}catch(E){a.value=!1}}),A=pe({visible:!1,data:void 0}),z=V(),F=V(),W=r=>M(this,null,function*(){var p,c,C,y,E,q,j,I,Q,H,k,s,J,X,ee,te,ae,ie,re;r.opinionFile?A.data=ge({},JSON.parse(r.opinion)):A.data={projectName:n.projectDetailData.projectName,projectTypeName:n.projectDetailData.projectTypeName,buildOrgName:n.projectDetailData.buildOrgName,projectBasicSituation:`\u9879\u76EE\u4E8E${be(((C=(c=(p=n.projectDetailData)==null?void 0:p.purchases)==null?void 0:c[0])==null?void 0:C.transactionTime)||"")}\u7ECF${((q=(E=(y=F.value)==null?void 0:y.filter(U=>U.type==="PURCHASE_METHOD"))==null?void 0:E.find(U=>{var oe,se,ne;return U.value===((ne=(se=(oe=n.projectDetailData)==null?void 0:oe.purchases)==null?void 0:se[0])==null?void 0:ne.purchaseMethod)}))==null?void 0:q.label)||""}\u786E\u5B9A${((Q=(I=(j=n.projectDetailData)==null?void 0:j.purchases)==null?void 0:I[0])==null?void 0:Q.supplier)||""}\u4E3A\u4E2D\u6807\u5355\u4F4D\uFF0C\u4EE5${((s=(k=(H=n.projectDetailData)==null?void 0:H.purchases)==null?void 0:k[0])==null?void 0:s.transactionAmount)||""}\u4E07\u5143\u6210\u4EA4\uFF1B${be(((J=n.projectDetailData.contract)==null?void 0:J.contractTime)||"")}\u53CC\u65B9\u7B7E\u8BA2\u5408\u540C\uFF0C${be(((ee=(X=Ae.value)==null?void 0:X.find(U=>U.processName==="\u9879\u76EE\u521D\u9A8C"))==null?void 0:ee.finishTime)||"")}\u9879\u76EE\u901A\u8FC7\u521D\u9A8C\uFF0C${be(((ae=(te=Ae.value)==null?void 0:te.find(U=>U.processName==="\u9879\u76EE\u7EC8\u9A8C"))==null?void 0:ae.finishTime)||"")}\u9879\u76EE\u901A\u8FC7\u7EC8\u9A8C\u3002`,selfAppraisalTotalScore:(ie=n.templateDetailData)==null?void 0:ie.selfAppraisalTotalScore,reAppraisalTotalScore:(re=n.templateDetailData)==null?void 0:re.reAppraisalTotalScore,reformAdvices:[]},yield Ee(),A.visible=!0}),B=V(!1),_=()=>M(this,null,function*(){yield z.value.formRef.validate(),Y()}),Y=()=>M(this,null,function*(){yield Ee(),z.value.getPdf()}),fe=(r,p,c)=>M(this,null,function*(){B.value=!0;try{yield Kt({appraisalId:l.query.appraisalId,projectCode:l.query.projectCode,report:c,reportFile:JSON.stringify({fileId:r,fileName:p})}),g.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),A.visible=!1,B.value=!1,L("reLoad")}catch(C){B.value=!1}}),L=m,K=pe({visible:!1,data:void 0}),Ne=r=>{K.visible=!0,K.data={id:r.consultationFormId,projectName:n.projectDetailData.projectName}},Ce=pe({visible:!1,data:void 0}),ke=r=>{Ce.visible=!0,Ce.data={id:r.consultationFormId}},$e=r=>{Ce.visible=!1,r&&L("reLoad")},Z=r=>{const p=[];return r.forEach((c,C)=>{let y=0;c.children.forEach((E,q)=>{let j=0;E.children.forEach((I,Q)=>{var H,k;p.push(Le(ge({oneId:c.templateId,oneName:c.name,twoId:E.templateId,twoName:E.name,isFirstOne:y===0,isFirstTwo:j===0,appraisalType1List:((H=I.selfAppraisalScoreInfo)==null?void 0:H.filter(s=>s.appraisalType===1))||[],appraisalType2List:I.selfAppraisalScoreInfo2?[I.selfAppraisalScoreInfo2]:I.reAppraisalScoreInfo&&Object.values(I.reAppraisalScoreInfo).reduce((s,J)=>s.concat(J,[]))||[],appraisalType3List:I.verifyScoreInfo&&Object.values(I.verifyScoreInfo).reduce((s,J)=>s.concat(J,[]))||[],appraisalType4List:((k=I.rectifyAuditScoreInfo)==null?void 0:k.length)&&I.rectifyAuditScoreInfo||[],oneRows:y,twoRows:j},I),{threeId:I.templateId})),y++,j++}),p.forEach(I=>{I.twoId===E.templateId&&(I.twoRows=j)})}),p.forEach(E=>{E.oneId===c.templateId&&(E.oneRows=y)})}),p},De=pe({visible:!1,data:void 0}),Ie=V(!1),Ae=V(),Ye=(r,p)=>M(this,null,function*(){var E,q,j,I,Q,H,k,s,J,X,ee,te,ae,ie,re,U,oe,se,ne,me,he,je,Me,Te;let c,C,y=0;if(r.appraisalJson?(c=(E=JSON.parse(r.appraisalJson))==null?void 0:E.templateDetails,C=(q=JSON.parse(r.appraisalJson))==null?void 0:q.additionalIndexDetails,[...Z(c),...Z(C)].forEach(T=>{y+=T.appraisalType1List[0].appraisalScore})):(c=(j=n.templateDetailData)==null?void 0:j.templateDetails,C=(I=n.templateDetailData)==null?void 0:I.additionalIndexDetails,y=(Q=n.templateDetailData)==null?void 0:Q.selfAppraisalTotalScore),p===4){Ie.value=!0,Ae.value=(yield Zt(l.query.projectCode)).data;const le=(yield na(l.query.groupId)).data;i.data={reportData:{projectName:n.projectDetailData.projectName,projectTypeName:n.projectDetailData.projectTypeName,buildOrgName:n.projectDetailData.buildOrgName,projectBasicSituation:`\u9879\u76EE\u4E8E${be(((s=(k=(H=n.projectDetailData)==null?void 0:H.purchases)==null?void 0:k[0])==null?void 0:s.transactionTime)||"")}\u7ECF${((X=(J=F.value)==null?void 0:J.filter(T=>T.type==="PURCHASE_METHOD").find(T=>{var R,ye,tt;return T.value===((tt=(ye=(R=n.projectDetailData)==null?void 0:R.purchases)==null?void 0:ye[0])==null?void 0:tt.purchaseMethod)}))==null?void 0:X.label)||""}\u786E\u5B9A${((ae=(te=(ee=n.projectDetailData)==null?void 0:ee.purchases)==null?void 0:te[0])==null?void 0:ae.supplier)||""}\u4E3A\u4E2D\u6807\u5355\u4F4D\uFF0C\u4EE5${((U=(re=(ie=n.projectDetailData)==null?void 0:ie.purchases)==null?void 0:re[0])==null?void 0:U.transactionAmount)||""}\u4E07\u5143\u6210\u4EA4\uFF1B${be(((oe=n.projectDetailData.contract)==null?void 0:oe.contractTime)||"")}\u53CC\u65B9\u7B7E\u8BA2\u5408\u540C\uFF0C${be(((ne=(se=Ae.value)==null?void 0:se.find(T=>T.processName==="\u9879\u76EE\u521D\u9A8C"))==null?void 0:ne.finishTime)||"")}\u9879\u76EE\u901A\u8FC7\u521D\u9A8C\uFF0C${be(((he=(me=Ae.value)==null?void 0:me.find(T=>T.processName==="\u9879\u76EE\u7EC8\u9A8C"))==null?void 0:he.finishTime)||"")}\u9879\u76EE\u901A\u8FC7\u7EC8\u9A8C\u3002`,projectIntroduction:n.projectDetailData.projectIntroduction,constructContent:n.projectDetailData.beseExpectedResults&&JSON.parse(n.projectDetailData.beseExpectedResults).map((T,R)=>`${R+1}. ${T.mainContent}`).join("\uFF1B"),selfAppraisalTotalScore:y,reAppraisalTotalScore:(je=n.templateDetailData)==null?void 0:je.reAppraisalTotalScore,problems:[],reformAdvices:[],reAppraisalLeader:(Me=le==null?void 0:le.reAppraisalLeader)==null?void 0:Me.realName,reAppraisalUsers:(Te=le==null?void 0:le.reAppraisalUsers)==null?void 0:Te.map(T=>T==null?void 0:T.realName).join("\u3001")},reportTemplateData:{templateDetails:Z(c),additionalIndexDetails:Z(C)}},yield Ee(),i.visible=!0}else De.visible=!0,De.data={id:r.consultationFormId}}),ut=r=>{De.visible=!1,r&&L("reLoad")},Ke=V(!1),dt=r=>M(this,null,function*(){var c,C,y;Ke.value=!0;const p=JSON.parse(r.reAppraisalReport);i.data={reportData:Le(ge({},p),{selfAppraisalTotalScore:(c=n.templateDetailData)==null?void 0:c.selfAppraisalTotalScore,templateDetails:void 0,additionalIndexDetails:void 0}),reportTemplateData:{templateDetails:Z((C=n.templateDetailData)==null?void 0:C.templateDetails),additionalIndexDetails:Z((y=n.templateDetailData)==null?void 0:y.additionalIndexDetails)}},yield Ee(),i.visible=!0}),Ze=zt(Jt.userStore).userInfo||{},ft=(r,p,c)=>M(this,null,function*(){var j,I;const C={projectName:n.projectDetailData.projectName,advice:[...c&&JSON.parse(c).reformAdvices.map(Q=>Q.reformAdvice)||[],...((j=n.overviewData)==null?void 0:j.opinionFinalContent)&&JSON.parse((I=n.overviewData)==null?void 0:I.opinionFinalContent).reformAdvices.map(Q=>Q.reformAdvice)||[]],userName:Ze.value.realName},y=yield st(C),E=yield ot({content:y,fileName:`${n.projectDetailData.projectName}\u7EE9\u6548\u6574\u6539\u6E05\u5355.pdf`}),q={appraisalId:l.query.appraisalId,projectCode:l.query.projectCode,checkList:JSON.stringify(C),checkListFile:JSON.stringify({fileId:E.data,fileName:`${n.projectDetailData.projectName}\u7EE9\u6548\u6574\u6539\u6E05\u5355.pdf`}),report:c,reportFile:JSON.stringify({fileId:r,fileName:p})};yield He(q)}),ve=pe({visible:!1,data:void 0}),Be=V(),vt=r=>{ve.data=ge({},JSON.parse(r.rectificationChecklist)),ve.visible=!0},qe=V(!1),mt=()=>M(this,null,function*(){yield Be.value.formRef.validate(),ht()}),ht=()=>{qe.value=!0,Be.value.getPdf()},yt=(r,p,c)=>M(this,null,function*(){const C={appraisalId:l.query.appraisalId,projectCode:l.query.projectCode,checkList:c,checkListFile:JSON.stringify({fileId:r,fileName:p})};yield He(C),qe.value=!1,ve.visible=!1,g.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),L("reLoad")}),Qe=V(!1),gt=r=>{g.$messageBox.confirm("\u662F\u5426\u786E\u8BA4\u4E0B\u53D1","\u63D0\u793A\uFF01",{type:"warning"}).then(()=>M(this,null,function*(){Qe.value=!0;const p=Le(ge({},JSON.parse(r.rectificationChecklist)),{startTime:new Date}),c=yield st(p),C=yield ot({content:c,fileName:`${n.projectDetailData.projectName}\u7EE9\u6548\u6574\u6539\u6E05\u5355.pdf`}),y={appraisalId:l.query.appraisalId,projectCode:l.query.projectCode,checkList:JSON.stringify(p),checkListFile:JSON.stringify({fileId:C.data,fileName:`${n.projectDetailData.projectName}\u7EE9\u6548\u6574\u6539\u6E05\u5355.pdf`})},E={projectName:n.projectDetailData.projectName,advice:JSON.parse(r.rectificationChecklist).advice},q=yield ha(E),j=yield qt({content:q,fileName:`${n.projectDetailData.projectName}\u7EE9\u6548\u6574\u6539\u8BA1\u5212.doc`}),I={appraisalId:l.query.appraisalId,projectCode:l.query.projectCode,rectifyPlanTemplate:JSON.stringify({fileId:j.data,fileName:`${n.projectDetailData.projectName}\u7EE9\u6548\u6574\u6539\u8BA1\u5212.doc`})};yield Xt({id:n.templateDetailData.id,rectifyPlanFile:JSON.stringify({fileId:j.data,fileName:`${n.projectDetailData.projectName}\u7EE9\u6548\u6574\u6539\u8BA1\u5212.doc`})}),yield He(y),yield ea(I),Qe.value=!1,g.$message.success("\u4E0B\u53D1\u6210\u529F\uFF01"),L("reLoad")}))},Pe=pe({visible:!1,data:void 0}),Ya=()=>{Pe.visible=!0,Pe.data={appraisalId:l.query.appraisalId,projectCode:l.query.projectCode}},bt=r=>{Pe.visible=!1,r&&L("reLoad")},Xe=Ut(),Ct=()=>{Xe.push({name:"selfGiveScore",query:{projectCode:l.query.projectCode,projectId:l.query.projectId,appraisalId:l.query.appraisalId,isChangeSelf:!0}})},Fe=pe({visible:!1,data:void 0}),Dt=r=>{Fe.data=JSON.parse(r.appraisalJson),Fe.visible=!0},_e=pe({visible:!1,flowData:void 0,sjFlowData:void 0}),wt=r=>M(this,null,function*(){_e.visible=!0;const p=yield Qt({instanceId:r.instCode,projectId:l.query.projectId});_e.flowData=St(p.data.processProgressVo.progressInfo)}),St=r=>(r.forEach(p=>{if(p.children){const c=[],C=[];p.children.forEach(y=>{c.includes(y.nodeId)?(C.find(E=>E.nodeId===y.nodeId).list.push(y),C.find(E=>E.nodeId===y.nodeId).userIds.push(y.userId)):(c.push(y.nodeId),C.push({nodeId:y.nodeId,approvalMode:y.approvalMode,name:y.name,taskId:y.taskId,nodeType:y.nodeType,list:[ge({},y)],userIds:[y.userId]}))}),p.children=C}else p.userIds=[p.userId]}),r),Nt=()=>{_e.visible=!1},Oe=pe({visible:!1,data:void 0}),It=()=>{Oe.data={appraisalId:l.query.appraisalId,projectCode:l.query.projectCode},Oe.visible=!0},Et=r=>{Oe.visible=!1,r&&L("reLoad")},et=()=>M(this,null,function*(){const r=yield Ge(l.query.projectCode);if(!r.data.overview.rectifyPlanInstStatus||r.data.overview.rectifyPlanInstStatus==="\u9000\u56DE"){const p=JSON.parse(r.data.overview.rectifyPlanFile),c=Ht.service({fullscreen:!0});fa({uploadPath:"http://lspm.ningdatech.com/pm/file/upload",filePath:`http://lspm.ningdatech.com/pm/file/download?fileId=${p.fileId}`,fileName:p.fileName,uploadFieldName:"file",copyUrl:"",userName:"\u6D4B\u8BD5",extra:{uploadPath:"http://lspm.ningdatech.com/pm/api/v1/time-axios/rectify-plan",projectCode:l.query.projectCode,appraisalId:l.query.appraisalId*1,employeeCode:Ze.value.employeeCode}},!0).then(C=>{setTimeout(()=>{c.close()},1e3)}).catch(C=>{c.close()})}else L("reLoad")}),Rt=()=>M(this,null,function*(){const r=yield Ge(l.query.projectCode),p=JSON.parse(r.data.overview.rectifyPlanFile),c=yield Gt({fileId:p.fileId}),C=URL.createObjectURL(c),y=document.createElement("a");y.style.display="none",y.href=C,y.download=p.fileName,document.body.appendChild(y),y.click(),document.body.removeChild(y),window.URL.revokeObjectURL(C)}),kt=()=>M(this,null,function*(){const r=yield Ge(l.query.projectCode),p=JSON.parse(r.data.overview.rectifyPlanFile),c=Xe.resolve({path:"/fileView",query:{id:p.fileId}});window.open(c.href,"_blank")}),{exportLoading:At,exportData:Pt}=ma(),Ft=()=>{Pt(()=>va({appraisalProjectCode:l.query.projectCode,appraisalId:l.query.appraisalId*1}),n.projectDetailData.projectName)};return Bt(()=>n.overviewData,r=>M(this,null,function*(){F.value=(yield ta()).data,w(r)})),(r,p)=>{const c=ue("el-button"),C=ue("Check"),y=ue("el-icon"),E=ue("Close"),q=ue("el-popover"),j=ue("svg-icon"),I=ue("el-tag"),Q=ue("el-card"),H=ue("el-dialog");return h(),N(G,null,[D(Q,{shadow:"never"},{default:S(()=>{var k;return[((k=n.overviewData)==null?void 0:k.rectifyStatus)===2?(h(),N("p",wa,[D(c,{type:"primary",plain:"",loading:we(At),onClick:Ft},{default:S(()=>[O("\u6750\u6599\u5BFC\u51FA")]),_:1},8,["loading"])])):f("v-if",!0),x("div",Sa,[(h(!0),N(G,null,ze(b.value,(s,J)=>{var X,ee,te,ae,ie,re,U,oe,se,ne,me,he,je,Me,Te,le,T;return h(),N("div",{key:J,class:"c-step"},[x("div",{class:rt(`c-step-head ${s.stepStatus==="COMPLETED"?"text-success is-success":s.stepStatus==="ON_GOING"?"text-warning is-process":s.stepStatus==="REJECTED"?"text-danger is-error":"is-wait"}`)},[J<((X=b.value)==null?void 0:X.length)-1?(h(),N("div",Na)):f("v-if",!0),x("div",Ia,[s.stepStatus==="COMPLETED"?(h(),$(y,{key:0},{default:S(()=>[D(C)]),_:1})):s.stepStatus==="REJECTED"?(h(),$(y,{key:1},{default:S(()=>[D(E)]),_:1})):(h(),N("div",Ea,de(J+1),1))])],2),x("div",Ra,[x("div",{class:rt(`${s.stepStatus==="COMPLETED"?"text-success":s.stepStatus==="ON_GOING"?"text-warning":s.stepStatus==="REJECTED"?"text-danger":""}`)},[x("p",ka,de(s.processName),1),x("div",Aa,[s.processName==="\u54A8\u8BE2\u5355"&&s.status===6?(h(),N("p",Pa,de(s.statusName),1)):(h(),N("p",Fa,de(s.statusName),1))]),s.processName==="\u7B2C\u4E09\u65B9\u673A\u6784\u8BC4\u5BA1"&&!((ee=b.value)!=null&&ee.filter(R=>R.processName==="\u54A8\u8BE2\u5355").length)?(h(),N(G,{key:0},[s.reAppraisalReportFile?(h(),N("div",_a,[D(ce,{"file-name":(te=JSON.parse(s.reAppraisalReportFile))==null?void 0:te.fileName,"file-id":(ae=JSON.parse(s.reAppraisalReportFile))==null?void 0:ae.fileId,"is-only-downicon":!0},null,8,["file-name","file-id"]),r.$route.name==="reviewScoreDetail"&&s.verfityStatus!==3?(h(),$(c,{key:0,type:"primary",size:"small",class:"min-small-button",onClick:R=>e(s)},{default:S(()=>[O("\u4FEE\u6539")]),_:2},1032,["onClick"])):f("v-if",!0)])):f("v-if",!0)],64)):f("v-if",!0),s.processName==="\u54A8\u8BE2\u5355"?(h(),N(G,{key:1},[s.consultationForm?(h(!0),N(G,{key:0},ze(s.consultationForm&&JSON.parse(s.consultationForm),(R,ye)=>(h(),N("p",{key:ye,class:"mb-4"},[D(ce,{"file-name":R.originalFileName,"file-id":R.id,"is-only-downicon":!0},null,8,["file-name","file-id"])]))),128)):f("v-if",!0),s.replyForm?(h(!0),N(G,{key:1},ze(s.replyForm&&JSON.parse(s.replyForm),(R,ye)=>(h(),N("p",{key:ye,class:"mb-4"},[D(ce,{"file-name":R.originalFileName,"file-id":R.id,"is-only-downicon":!0},null,8,["file-name","file-id"])]))),128)):f("v-if",!0),s.replyStatus===1&&r.$route.name==="selfScoreDetail"?(h(),$(c,{key:2,type:"primary",size:"small",onClick:R=>ke(s)},{default:S(()=>[O("\u4E0A\u4F20\u56DE\u590D\u5355")]),_:2},1032,["onClick"])):f("v-if",!0),r.$route.name==="reviewScoreDetail"&&s.replyForm&&s.consultationStatus===3?(h(),N("div",Oa,[D(c,{type:"primary",size:"small",class:"mr-8",onClick:R=>Ye(s,4)},{default:S(()=>[O("\u901A\u8FC7")]),_:2},1032,["onClick"]),D(c,{type:"danger",plain:"",size:"small",onClick:R=>Ye(s,5)},{default:S(()=>[O("\u9A73\u56DE")]),_:2},1032,["onClick"])])):f("v-if",!0),x("p",null,[x("a",{onClick:R=>Ne(s)},"\u67E5\u770B\u5386\u53F2\u8BB0\u5F55",8,ja)]),r.$route.name==="selfScoreDetail"?(h(),N("p",Ma,[s.status!==4?(h(),$(c,{key:0,size:"small",onClick:R=>Ct(s)},{default:S(()=>[O(de(s.status===6?"\u91CD\u65B0\u63D0\u4EA4":"\u4FEE\u6539\u81EA\u8BC4"),1)]),_:2},1032,["onClick"])):f("v-if",!0)])):f("v-if",!0),r.$route.name==="reviewScoreDetail"&&s.appraisalJson?(h(),N("p",Ta,[x("a",{onClick:R=>Dt(s)},"\u81EA\u8BC4\u4FEE\u6539\u8BE6\u60C5",8,La)])):f("v-if",!0),s.status===4&&s.reAppraisalReportFile?(h(),N("div",xa,[D(ce,{"file-name":(ie=JSON.parse(s.reAppraisalReportFile))==null?void 0:ie.fileName,"file-id":(re=JSON.parse(s.reAppraisalReportFile))==null?void 0:re.fileId,"is-only-downicon":!0},null,8,["file-name","file-id"]),r.$route.name==="reviewScoreDetail"&&s.verfityStatus!==3?(h(),$(c,{key:0,type:"primary",size:"small",class:"min-small-button",onClick:R=>e(s)},{default:S(()=>[O("\u4FEE\u6539")]),_:2},1032,["onClick"])):f("v-if",!0)])):f("v-if",!0),s.instCode?(h(),N("p",$a,[x("a",{onClick:R=>wt(s)},"\u67E5\u770B\u5BA1\u6838\u8BB0\u5F55",8,za)])):f("v-if",!0)],64)):f("v-if",!0),s.processName==="\u4E13\u5BB6\u8BC4\u5BA1"?(h(),N(G,{key:2},[r.$route.name==="reviewScoreDetail"&&s.reAppraisalStatus===3?(h(),N("div",Ja,[s.opinionFile&&!s.opinionFinal?(h(),$(ce,{key:0,"file-name":(U=JSON.parse(s.opinionFile))==null?void 0:U.fileName,"file-id":(oe=JSON.parse(s.opinionFile))==null?void 0:oe.fileId,"is-only-downicon":!0},null,8,["file-name","file-id"])):f("v-if",!0),!s.opinionFile&&!s.opinionFinal?(h(),N("p",Ua,"\u4E13\u5BB6\u610F\u89C1(\u9884\u586B)")):f("v-if",!0),r.$route.name==="reviewScoreDetail"&&s.status!==3?(h(),$(c,{key:2,type:"primary",size:"small",class:"min-small-button",onClick:R=>W(s)},{default:S(()=>[O(de(s.opinionFile?"\u4FEE\u6539":"\u586B\u5199"),1)]),_:2},1032,["onClick"])):f("v-if",!0)])):f("v-if",!0),s.opinionFinal?(h(),$(ce,{key:1,"file-name":s.opinionFinal&&((se=JSON.parse(s.opinionFinal))==null?void 0:se.fileName),"file-id":s.opinionFinal&&((ne=JSON.parse(s.opinionFinal))==null?void 0:ne.fileId),"is-only-downicon":!0},null,8,["file-name","file-id"])):f("v-if",!0),s.status===4&&we(l).name==="checkScoreDetail"?(h(),N(G,{key:2},[D(q,{ref_for:!0,ref:"popover",placement:"right",width:200,trigger:"click"},{reference:S(()=>[D(c,{type:"primary",size:"small"},{default:S(()=>[O("\u7B7E\u5B57")]),_:1})]),default:S(()=>[D(Da,{value:`${we(v)==="production"?`http://xmgl.dsj.lishui.gov.cn:8090/#/login?projectCode=${we(l).query.projectCode}&appraisalId=${we(l).query.appraisalId}`:`http://lsmobile.ningdatech.com/#/login?projectCode=${we(l).query.projectCode}&appraisalId=${we(l).query.appraisalId}`}`,level:"H",style:{width:"100%",height:"100%"}},null,8,["value"])]),_:1},512),x("span",Ba,de(s.signedNum),1)],64)):f("v-if",!0)],64)):f("v-if",!0),s.processName==="\u95EE\u9898\u6574\u6539"?(h(),N(G,{key:3},[s.reAppraisalAdjustStatus?(h(),N(G,{key:0},[s.reAppraisalReportFile?(h(),N(G,{key:0},[D(ce,{"file-name":(me=JSON.parse(s.reAppraisalReportFile))==null?void 0:me.fileName,"file-id":(he=JSON.parse(s.reAppraisalReportFile))==null?void 0:he.fileId,"is-only-downicon":!0},null,8,["file-name","file-id"]),r.$route.name==="reviewScoreDetail"&&s.reAppraisalAdjustStatus===1?(h(),$(c,{key:0,type:"primary",size:"small",class:"min-small-button",onClick:R=>dt(s)},{default:S(()=>[O("\u786E\u8BA4")]),_:2},1032,["onClick"])):f("v-if",!0),r.$route.name==="reviewScoreDetail"&&s.reAppraisalAdjustStatus===2&&!s.sealReport?(h(),$(c,{key:1,type:"primary",size:"small",class:"min-small-button",onClick:R=>It(s)},{default:S(()=>[O("\u4E0A\u4F20\u76D6\u7AE0\u62A5\u544A")]),_:2},1032,["onClick"])):f("v-if",!0)],64)):f("v-if",!0),s.rectificationChecklistFile&&s.sealReport?(h(),N(G,{key:1},[D(ce,{"file-name":(je=JSON.parse(s.rectificationChecklistFile))==null?void 0:je.fileName,"file-id":(Me=JSON.parse(s.rectificationChecklistFile))==null?void 0:Me.fileId,"is-only-downicon":!0},null,8,["file-name","file-id"]),r.$route.name==="reviewScoreDetail"&&s.reAppraisalAdjustStatus===2&&!s.distribute?(h(),$(c,{key:0,type:"primary",size:"small",onClick:R=>vt(s)},{default:S(()=>[O("\u4FEE\u6539")]),_:2},1032,["onClick"])):f("v-if",!0),r.$route.name==="reviewScoreDetail"&&s.reAppraisalAdjustStatus===2&&!s.distribute?(h(),$(c,{key:1,type:"primary",size:"small",loading:Qe.value,onClick:R=>gt(s)},{default:S(()=>[O("\u4E0B\u53D1")]),_:2},1032,["loading","onClick"])):f("v-if",!0)],64)):f("v-if",!0)],64)):f("v-if",!0),s.rectifyPlanFile?(h(),N(G,{key:1},[x("div",qa,[!s.rectifyPlanInstStatus||s.rectifyPlanInstStatus==="\u9000\u56DE"?(h(),N(G,{key:0},[x("a",{class:"cursor-pointer",onClick:kt},de((Te=JSON.parse(s.rectifyPlanFile))==null?void 0:Te.fileName),1),D(j,{name:"down-icon",class:"cursor-pointer text-20 flex-shrink-0",onClick:Rt})],64)):s.rectifyPlanInstStatus==="\u5DF2\u76D6\u7AE0"?(h(!0),N(G,{key:1},ze(s.rectifyPlanFile&&JSON.parse(s.rectifyPlanFile),(R,ye)=>(h(),N("p",{key:ye,class:"mb-4"},[D(ce,{"file-name":R.originalFileName,"file-id":R.id,"is-only-downicon":!0},null,8,["file-name","file-id"])]))),128)):(h(),$(ce,{key:2,"file-name":(le=JSON.parse(s.rectifyPlanFile))==null?void 0:le.fileName,"file-id":(T=JSON.parse(s.rectifyPlanFile))==null?void 0:T.fileId,"is-only-downicon":!0},null,8,["file-name","file-id"])),s.rectifyPlanInstStatus?(h(),$(I,{key:3,effect:"light",size:"small",type:s.rectifyPlanInstStatus==="\u5F85\u76D6\u7AE0"?"warning":s.rectifyPlanInstStatus==="\u9000\u56DE"?"danger":"success"},{default:S(()=>[O(de(s.rectifyPlanInstStatus),1)]),_:2},1032,["type"])):f("v-if",!0)]),r.$route.name==="selfScoreDetail"&&!s.rectifyPlanInstStatus?(h(),$(c,{key:0,type:"primary",size:"small",onClick:et},{default:S(()=>[O("\u586B\u5199\u6574\u6539\u8BA1\u5212")]),_:1})):f("v-if",!0),r.$route.name==="selfScoreDetail"&&s.rectifyPlanInstStatus==="\u9000\u56DE"?(h(),$(c,{key:1,type:"primary",size:"small",onClick:et},{default:S(()=>[O("\u91CD\u65B0\u63D0\u4EA4")]),_:1})):f("v-if",!0)],64)):f("v-if",!0),f('              <template v-if="item.rectifyPlanTemplate&&!item.rectifyPlanFile">'),f('                <div class="flex items-center">'),f("                  <a>{{ JSON.parse(item.rectifyPlanTemplate)?.fileName }}</a>"),f("                  <svg-icon"),f('                    name="down-icon"'),f('                    class="cursor-pointer text-20 flex-shrink-0"'),f('                    @click="downloadRectifyPlanTemplate"'),f("                  />"),f('                  &lt;!&ndash;                  <accessory :file-name="JSON.parse(item.rectifyPlanTemplate)?.fileName" :file-id="JSON.parse(item.rectifyPlanTemplate)?.fileId" :is-only-downicon="true" />&ndash;&gt;'),f(`                  <el-icon v-if="$route.name==='selfScoreDetail'" style="color: #007FED;font-size: 18px;cursor: pointer" @click="editWps"><Edit /></el-icon>`),f("                </div>"),f("              </template>"),f('              <template v-if="item.rectifyPlanFile">'),f('                <p v-for="(file,fileIndex) in item.rectifyPlanFile&&JSON.parse(item.rectifyPlanFile)" :key="fileIndex" class="mb-4">'),f('                  <accessory :file-name="file.originalFileName" :file-id="file.id" :is-only-downicon="true" />'),f("                </p>"),f("              </template>"),(r.$route.name==="selfScoreDetail"&&s.status,f("v-if",!0))],64)):f("v-if",!0)],2)])])}),128))])]}),_:1}),f("  \u7EE9\u6548\u8BC4\u4EF7\u62A5\u544A"),D(H,{modelValue:i.visible,"onUpdate:modelValue":p[1]||(p[1]=k=>i.visible=k),title:"\u7EE9\u6548\u8BC4\u4EF7\u62A5\u544A",width:"80%",onClose:p[2]||(p[2]=k=>i.visible=!1)},{footer:S(()=>[x("div",Qa,[D(c,{class:"ml-22",type:"primary",loading:a.value,onClick:o},{default:S(()=>[O(" \u63D0\u4EA4 ")]),_:1},8,["loading"]),D(c,{onClick:p[0]||(p[0]=k=>i.visible=!1)},{default:S(()=>[O(" \u5173\u95ED ")]),_:1})])]),default:S(()=>[D(Wt,{ref_key:"performanceEvaluationReportRef",ref:t,data:i.data.reportData,"report-template-data":i.data.reportTemplateData,onSubmitReport:P},null,8,["data","report-template-data"])]),_:1},8,["modelValue"]),f("  \u4E13\u5BB6\u610F\u89C1\u9884\u586B"),D(H,{modelValue:A.visible,"onUpdate:modelValue":p[4]||(p[4]=k=>A.visible=k),title:"\u4E13\u5BB6\u610F\u89C1(\u9884\u586B)",width:"80%",onClose:p[5]||(p[5]=k=>A.visible=!1)},{footer:S(()=>[x("div",Ha,[D(c,{class:"ml-22",type:"primary",loading:B.value,onClick:_},{default:S(()=>[O(" \u63D0\u4EA4 ")]),_:1},8,["loading"]),D(c,{onClick:p[3]||(p[3]=k=>A.visible=!1)},{default:S(()=>[O(" \u5173\u95ED ")]),_:1})])]),default:S(()=>[D(aa,{ref_key:"expertOpinionRef",ref:z,data:A.data,onSubmitOpinion:fe},null,8,["data"])]),_:1},8,["modelValue"]),f("  \u54A8\u8BE2\u5355\u5386\u53F2\u8BB0\u5F55"),D(ia,{visible:K.visible,data:K.data,onClose:p[6]||(p[6]=k=>K.visible=!1)},null,8,["visible","data"]),D(ra,{visible:Ce.visible,data:Ce.data,onClose:$e},null,8,["visible","data"]),D(oa,{visible:De.visible,data:De.data,onClose:ut},null,8,["visible","data"]),f("  \u4FEE\u6539\u6574\u6539\u6E05\u5355"),D(H,{modelValue:ve.visible,"onUpdate:modelValue":p[8]||(p[8]=k=>ve.visible=k),title:"\u6574\u6539\u6E05\u5355\u4FEE\u6539",width:"80%",onClose:p[9]||(p[9]=k=>ve.visible=!1)},{footer:S(()=>[x("div",Ga,[D(c,{class:"ml-22",type:"primary",loading:qe.value,onClick:mt},{default:S(()=>[O(" \u63D0\u4EA4 ")]),_:1},8,["loading"]),D(c,{onClick:p[7]||(p[7]=k=>ve.visible=!1)},{default:S(()=>[O(" \u5173\u95ED ")]),_:1})])]),default:S(()=>[D(la,{ref_key:"checkListRef",ref:Be,data:ve.data,onSubmitOpinion:yt},null,8,["data"])]),_:1},8,["modelValue"]),f("  \u4E0A\u4F20\u6574\u6539\u8BA1\u5212"),D(pa,{visible:Pe.visible,data:Pe.data,onClose:bt},null,8,["visible","data"]),f("  \u81EA\u8BC4\u4FEE\u6539\u8BE6\u60C5"),D(ca,{visible:Fe.visible,data:Fe.data,onClose:p[10]||(p[10]=k=>Fe.visible=!1)},null,8,["visible","data"]),f("  \u4E0A\u4F20\u76D6\u7AE0\u62A5\u544A"),D(ua,{visible:Oe.visible,data:Oe.data,onClose:Et},null,8,["visible","data"]),D(da,{visible:_e.visible,"flow-data":_e.flowData,onClose:Nt},null,8,["visible","flow-data"])],64)}}}),wi=xt(Wa,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/performanceEvaluation/unitSelfEvaluation/scoreDetail/components/projectProgress.vue"]]);export{wi as default};
