Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

2 wiersze
6.6KB

  1. import{d as G,r as f,B as Y,x as z,o as K,c as r,e as c,f as B,h as e,i as a,g as _,t as d,j as o,u as Q,G as A,k as C,w as N,v as V,F as W,H as X,L as Z}from"./index.1cbb0c88.js";import ee from"./markScore.fb70a817.js";import{d as ae}from"./projectReform.5a89c2c4.js";import{p as le}from"./projectStore.ce813280.js";import{_ as te}from"./index.bf9884f6.js";import{g as oe}from"./uploadAction.15178e83.js";import se from"./sureScore.e082527b.js";import{s as ie}from"./reformCheck.982a573f.js";import"./unitSelfEvaluation.ef6413fc.js";import"./index.a3d3600b.js";const re={class:"footerPage"},ne={class:"card-header"},ue={class:"flex justify-between items-center"},de={class:"flex-1"},pe={class:"font-bold"},fe={class:"mt-8 search"},me={class:"footer"},ce=G({name:"reformCheckHandle"}),Ae=Object.assign(ce,{setup(_e){const s=f(0),{statusOptions:P}=Y.dictStore.globalDicts||{},v=z(),y=f({}),$=f(),k=f(),g=f(!1),I=f([]),T=()=>{s.value===0?$.value.validate(i=>{i&&s.value++}):s.value===1?k.value.formRef.validate(async i=>{if(i){const l=S(k.value.form.templateDetails,[]),n=S(k.value.form.additionalIndexDetails,[]);I.value=[...l,...n],await Z(),s.value++}}):s.value===2?E():s.value++},E=async()=>{g.value=!0;const i={appraisalId:v.query.appraisalId*1,appraisalProjectId:v.query.projectId*1,appraisalProjectCode:v.query.projectCode,...y.value,appraisalInfoList:I.value};try{await ie(i),s.value++,g.value=!1}catch{g.value=!1}},S=(i,l)=>{const n="selfAppraisalScoreInfo4";return i.forEach(u=>{var x;u.children&&u.children.length>0?S(u.children,l):l.push({projectTemplateDetailId:u.templateId,score:u[n].appraisalScore,appraisalBasis:u[n].appraisalBasis,appraisalBasisAppendix:((x=u[n].appraisalBasisAppendix)==null?void 0:x.length)&&JSON.stringify(oe(u[n].appraisalBasisAppendix))||void 0})}),l},p=f({}),F=async()=>{const i=await ae(v.query.appraisalId,v.query.projectCode);p.value=i.data},b=f({}),h=async()=>{const i=await le(v.query.projectId);b.value=i.data};return K(()=>{h(),F()}),(i,l)=>{const n=r("el-form-item"),u=r("el-col"),x=r("el-row"),O=r("el-form"),D=r("el-button"),R=r("el-card"),j=r("el-step"),H=r("el-steps"),m=r("el-descriptions-item"),q=r("el-descriptions"),L=r("el-radio"),J=r("el-radio-group"),M=r("el-input"),U=r("el-result");return c(),B("div",re,[e(R,{class:"mb-16"},{default:a(()=>[_("div",ne,[_("div",ue,[_("div",de,[_("p",pe,d(b.value.projectName),1),_("div",fe,[e(O,{"label-suffix":":"},{default:a(()=>[e(x,{gutter:24},{default:a(()=>[e(u,{span:6},{default:a(()=>[e(n,{label:"\u7533\u62A5\u5355\u4F4D"},{default:a(()=>[o(d(b.value.buildOrgName),1)]),_:1})]),_:1}),e(u,{span:6},{default:a(()=>[e(n,{label:"\u9879\u76EE\u72B6\u6001"},{default:a(()=>{var t;return[o(d(((t=Q(P)[b.value.status])==null?void 0:t.name)||"-"),1)]}),_:1})]),_:1}),e(u,{span:6},{default:a(()=>[e(n,{label:"\u6279\u590D\u91D1\u989D"},{default:a(()=>[o(d(b.value.approvalAmount)+"\u4E07\u5143",1)]),_:1})]),_:1}),e(u,{span:6},{default:a(()=>[e(n,{label:"\u9884\u7B97\u5E74\u5EA6"},{default:a(()=>[o(d(b.value.projectYear),1)]),_:1})]),_:1})]),_:1})]),_:1})])]),i.$route.name==="applicationMarkDetail"?(c(),A(D,{key:0,type:"primary",icon:"Download"},{default:a(()=>l[5]||(l[5]=[o("\u4E0B\u8F7D\u5206\u6790\u62A5\u544A")])),_:1})):C("",!0)])])]),_:1}),e(R,{class:"mb-16"},{default:a(()=>[e(H,{active:s.value},{default:a(()=>[e(j,{title:"\u5BA1\u6838\u6574\u6539\u60C5\u51B5"}),e(j,{title:"\u6838\u67E5\u6253\u5206"}),e(j,{title:"\u786E\u8BA4\u6253\u5206"}),e(j,{title:"\u5B8C\u6210"})]),_:1},8,["active"])]),_:1}),N(e(R,null,{header:a(()=>l[6]||(l[6]=[o("\u5BA1\u6838\u6574\u6539\u60C5\u51B5")])),default:a(()=>[e(q,{title:"\u6574\u6539\u610F\u89C1",column:2,border:"",class:"mb-16"},{default:a(()=>[e(m,{span:"2",label:"\u6574\u6539\u610F\u89C1"},{default:a(()=>{var t;return[o(d((t=p.value)==null?void 0:t.rectifyOpinion),1)]}),_:1}),e(m,{label:"\u63D0\u4EA4\u4EBA"},{default:a(()=>{var t;return[o(d((t=p.value.rectifyResSubEmployee)==null?void 0:t.username),1)]}),_:1}),e(m,{label:"\u63D0\u4EA4\u65F6\u95F4"},{default:a(()=>{var t;return[o(d((t=p.value)==null?void 0:t.rectifyResSubTime),1)]}),_:1})]),_:1}),e(q,{title:"\u6574\u6539\u60C5\u51B5",column:2,border:"",class:"mb-16"},{default:a(()=>[e(m,{span:"2",label:"\u6574\u6539\u7ED3\u679C\u8BF4\u660E"},{default:a(()=>{var t;return[o(d((t=p.value)==null?void 0:t.rectifyResult),1)]}),_:1}),e(m,{label:"\u76F8\u5173\u6750\u6599",span:"2"},{default:a(()=>[(c(!0),B(W,null,X(p.value.rectifyResultAppendix&&JSON.parse(p.value.rectifyResultAppendix),(t,w)=>(c(),B("p",{key:w,class:"mb-4"},[e(te,{"file-name":t.originalFileName,"file-id":t.id},null,8,["file-name","file-id"])]))),128))]),_:1}),e(m,{label:"\u63D0\u4EA4\u4EBA"},{default:a(()=>{var t,w;return[o(d((w=(t=p.value)==null?void 0:t.rectifySubmitEmployee)==null?void 0:w.username),1)]}),_:1}),e(m,{label:"\u63D0\u4EA4\u65F6\u95F4"},{default:a(()=>{var t;return[o(d((t=p.value)==null?void 0:t.rectifySubmitTime),1)]}),_:1})]),_:1}),l[9]||(l[9]=_("p",{class:"font-bold mb-16"},"\u5BA1\u6838",-1)),e(O,{ref_key:"formRef1",ref:$,model:y.value,"label-suffix":":","label-width":"100"},{default:a(()=>[e(n,{label:"\u5BA1\u6838\u7ED3\u679C",prop:"rectifyAuditResult",rules:[{required:!0,message:"\u8BF7\u9009\u62E9"}]},{default:a(()=>[e(J,{modelValue:y.value.rectifyAuditResult,"onUpdate:modelValue":l[0]||(l[0]=t=>y.value.rectifyAuditResult=t)},{default:a(()=>[e(L,{label:1},{default:a(()=>l[7]||(l[7]=[o("\u901A\u8FC7")])),_:1}),e(L,{label:2},{default:a(()=>l[8]||(l[8]=[o("\u4E0D\u901A\u8FC7")])),_:1})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"\u5BA1\u6838\u610F\u89C1"},{default:a(()=>[e(M,{modelValue:y.value.rectifyAuditOpinion,"onUpdate:modelValue":l[1]||(l[1]=t=>y.value.rectifyAuditOpinion=t),type:"textarea","show-word-limit":"",maxlength:500,placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},512),[[V,s.value===0]]),N(e(ee,{ref_key:"formRef2",ref:k},null,512),[[V,s.value===1]]),s.value===2?(c(),A(se,{key:0,"appraisal-info-list":I.value},null,8,["appraisal-info-list"])):C("",!0),N(e(R,null,{default:a(()=>[e(U,{icon:"success",title:"\u6838\u67E5\u5B8C\u6210"},{extra:a(()=>[e(D,{onClick:l[2]||(l[2]=t=>i.$router.go(-1))},{default:a(()=>l[10]||(l[10]=[o("\u8FD4\u56DE\u5217\u8868")])),_:1})]),_:1})]),_:1},512),[[V,s.value===3]]),_("div",me,[s.value>0&&s.value<3?(c(),A(D,{key:0,type:"primary",plain:"",loading:g.value,onClick:l[3]||(l[3]=t=>s.value--)},{default:a(()=>l[11]||(l[11]=[o("\u4E0A\u4E00\u6B65")])),_:1},8,["loading"])):C("",!0),s.value<3?(c(),A(D,{key:1,type:"primary",loading:g.value,onClick:T},{default:a(()=>l[12]||(l[12]=[o("\u4E0B\u4E00\u6B65")])),_:1},8,["loading"])):C("",!0),e(D,{onClick:l[4]||(l[4]=t=>i.$router.go(-1))},{default:a(()=>l[13]||(l[13]=[o("\u8FD4\u56DE")])),_:1})])])}}});export{Ae as default};