|
1 |
- import{r as k,h as S,i as y,f as w,c as d,b as g,e as O}from"./uploadAction.a771741b.js";import{d as le,B as ae,r as M,J as H,c as E,e as C,G as P,i,h as p,u as l,g as N,t as I,j as J,k as U}from"./index.88314652.js";const se={class:"el-upload__tip"},ie={class:"el-upload__tip"},te={class:"el-upload__tip"},oe={class:"el-upload__tip"},ne={class:"el-upload__tip"},re={class:"el-upload__tip"},pe={class:"el-upload__tip"},ue={class:"el-upload__tip"},be={class:"el-upload__tip"},de={class:"el-upload__tip"},me={class:"el-upload__tip"},fe={class:"el-upload__tip"},ce={class:"el-upload__tip"},Fe={class:"el-upload__tip"},ve={class:"el-upload__tip"},Se={class:"el-upload__tip"},ye={class:"el-upload__tip"},we={class:"el-upload__tip"},ge=le({name:"empMaterials"}),Pe=Object.assign(ge,{props:{detail:{type:Object},data:{type:Object},basicInfoData:{type:Object},approvalInfoData:{type:Object},baseProjSetYear:{type:String,default:""},isSupplemented:{type:Boolean,default:!1}},setup(n,{expose:ee}){const V=n,v=ae.dictStore.uploadUrl,G=M(),r=M({feasibilityStudyReport:[],approvedFile:[],purchaseFile:[],acceptanceLetter:[],purchaseContract:[],acceptanceReport:[],changeApprovalDoc:[]}),j=[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6"}],z=M(),o=M();return ee({formRef:G,formData:r}),H(()=>V.basicInfoData,b=>{b.baseProjIsConfidentiality==="02"||(b==null?void 0:b.baseProjSetProg)==="00"?z.value={}:z.value={baseInitialOpinionFile:j,baseInforLevelFile:j,basePasswAssessFile:j,baseThirdAcceptFile:j,baseCheckFile:j,baseFinanlAuditFile:j,baseUserConsFile:j,baseEstaSummFile:j,baseSummReportFile:j,baseFinalExpertOpinionFile:j,baseEngineerPostpoFile:j,baseChangeFormFile:j,baseChanFile:j},G.value.clearValidate()},{deep:!0}),H(()=>V.detail,b=>{var t,f,c,F,h,B,q,D,R,x,$,T,Y;b&&(V.isSupplemented&&(o.value=b.cimplement||{}),r.value={...b.cimplement,baseInitialOpinionFile:(t=b.cimplement)!=null&&t.baseInitialOpinionFile?k(JSON.parse(b.cimplement.baseInitialOpinionFile)):[],baseInforLevelFile:(f=b.cimplement)!=null&&f.baseInforLevelFile?k(JSON.parse(b.cimplement.baseInforLevelFile)):[],basePasswAssessFile:(c=b.cimplement)!=null&&c.basePasswAssessFile?k(JSON.parse(b.cimplement.basePasswAssessFile)):[],baseThirdAcceptFile:(F=b.cimplement)!=null&&F.baseThirdAcceptFile?k(JSON.parse(b.cimplement.baseThirdAcceptFile)):[],baseCheckFile:(h=b.cimplement)!=null&&h.baseCheckFile?k(JSON.parse(b.cimplement.baseCheckFile)):[],baseFinanlAuditFile:(B=b.cimplement)!=null&&B.baseFinanlAuditFile?k(JSON.parse(b.cimplement.baseFinanlAuditFile)):[],baseUserConsFile:(q=b.cimplement)!=null&&q.baseUserConsFile?k(JSON.parse(b.cimplement.baseUserConsFile)):[],baseEstaSummFile:(D=b.cimplement)!=null&&D.baseEstaSummFile?k(JSON.parse(b.cimplement.baseEstaSummFile)):[],baseSummReportFile:(R=b.cimplement)!=null&&R.baseSummReportFile?k(JSON.parse(b.cimplement.baseSummReportFile)):[],baseFinalExpertOpinionFile:(x=b.cimplement)!=null&&x.baseFinalExpertOpinionFile?k(JSON.parse(b.cimplement.baseFinalExpertOpinionFile)):[],baseEngineerPostpoFile:($=b.cimplement)!=null&&$.baseEngineerPostpoFile?k(JSON.parse(b.cimplement.baseEngineerPostpoFile)):[],baseChangeFormFile:(T=b.cimplement)!=null&&T.baseChangeFormFile?k(JSON.parse(b.cimplement.baseChangeFormFile)):[],baseChanFile:(Y=b.cimplement)!=null&&Y.baseChanFile?k(JSON.parse(b.cimplement.baseChanFile)):[]})}),H(()=>V.data,b=>{},{immediate:!0,deep:!0}),(b,t)=>{const f=E("el-button"),c=E("el-upload"),F=E("el-form-item"),h=E("el-col"),B=E("el-row"),q=E("el-form");return C(),P(q,{ref_key:"formRef",ref:G,model:r.value,rules:z.value,"label-position":"top","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:i(()=>[p(B,{gutter:40},{default:i(()=>{var D,R,x,$,T,Y,K,Q,W,X,Z,_;return[p(h,{span:8},{default:i(()=>[p(F,{label:"\u521D\u9A8C\u610F\u89C1"},{default:i(()=>[p(c,{"file-list":r.value.baseInitialOpinionFile,"onUpdate:fileList":t[0]||(t[0]=a=>r.value.baseInitialOpinionFile=a),class:"w-full",action:l(v),"on-success":a=>l(S)(a,r.value.baseInitialOpinionFile),"on-error":l(y),"before-upload":a=>l(w)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(g),"before-remove":()=>{var a,e,s;return!(((a=o.value)==null?void 0:a.baseInitialOpinionFile)&&!!((s=JSON.parse((e=o.value)==null?void 0:e.baseInitialOpinionFile))!=null&&s.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",se,"\u652F\u6301"+I(l(O))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[p(f,{type:"primary",class:"mr-4",plain:"",disabled:((a=o.value)==null?void 0:a.baseInitialOpinionFile)&&!!((s=JSON.parse((e=o.value)==null?void 0:e.baseInitialOpinionFile))!=null&&s.length)&&n.isSupplemented},{default:i(()=>t[18]||(t[18]=[J("\u4E0A\u4F20\u6587\u4EF6")])),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1}),["05","06","07","00"].includes((D=n.basicInfoData)==null?void 0:D.baseProjSetProg)&&((x=(R=n.basicInfoData)==null?void 0:R.baseConstructionType)==null?void 0:x.includes("01"))||!((T=($=n.basicInfoData)==null?void 0:$.baseConstructionType)!=null&&T.includes("01"))?(C(),P(h,{key:0,span:8},{default:i(()=>{var a,e,s,u;return[((a=n.basicInfoData)==null?void 0:a.baseProjSetProg)==="07"&&((s=(e=n.basicInfoData)==null?void 0:e.baseConstructionType)==null?void 0:s.includes("01"))&&["03","04","05"].includes((u=n.approvalInfoData)==null?void 0:u.equalProtectionLevel)?(C(),P(F,{key:0,label:"\u4FE1\u606F\u5B89\u5168\u7B49\u7EA7\u4FDD\u62A4\u6D4B\u8BC4\u62A5\u544A",prop:"baseInforLevelFile"},{default:i(()=>[p(c,{"file-list":r.value.baseInforLevelFile,"onUpdate:fileList":t[1]||(t[1]=m=>r.value.baseInforLevelFile=m),class:"w-full",action:l(v),"on-success":m=>l(S)(m,r.value.baseInforLevelFile),"on-error":l(y),"before-upload":m=>l(w)(m,{types:l(d)}),accept:l(d).map(m=>`.${m}`).join(","),multiple:"","on-preview":l(g),"before-remove":()=>{var m,A,L;return!(((m=o.value)==null?void 0:m.baseInforLevelFile)&&!!((L=JSON.parse((A=o.value)==null?void 0:A.baseInforLevelFile))!=null&&L.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",ie,"\u652F\u6301"+I(l(O))+"\u6587\u4EF6",1)]),default:i(()=>{var m,A,L;return[p(f,{type:"primary",class:"mr-4",plain:"",disabled:((m=o.value)==null?void 0:m.baseInforLevelFile)&&((L=JSON.parse((A=o.value)==null?void 0:A.baseInforLevelFile))==null?void 0:L.length)&&n.isSupplemented},{default:i(()=>t[19]||(t[19]=[J("\u4E0A\u4F20\u6587\u4EF6")])),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})):(C(),P(F,{key:1,label:"\u4FE1\u606F\u5B89\u5168\u7B49\u7EA7\u4FDD\u62A4\u6D4B\u8BC4\u62A5\u544A"},{default:i(()=>[p(c,{"file-list":r.value.baseInforLevelFile,"onUpdate:fileList":t[2]||(t[2]=m=>r.value.baseInforLevelFile=m),class:"w-full",action:l(v),"on-success":m=>l(S)(m,r.value.baseInforLevelFile),"on-error":l(y),"before-upload":m=>l(w)(m,{types:l(d)}),accept:l(d).map(m=>`.${m}`).join(","),multiple:"","on-preview":l(g),"before-remove":()=>{var m,A,L;return!(((m=o.value)==null?void 0:m.baseInforLevelFile)&&!!((L=JSON.parse((A=o.value)==null?void 0:A.baseInforLevelFile))!=null&&L.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",te,"\u652F\u6301"+I(l(O))+"\u6587\u4EF6",1)]),default:i(()=>{var m,A,L;return[p(f,{type:"primary",class:"mr-4",plain:"",disabled:((m=o.value)==null?void 0:m.baseInforLevelFile)&&((L=JSON.parse((A=o.value)==null?void 0:A.baseInforLevelFile))==null?void 0:L.length)&&n.isSupplemented},{default:i(()=>t[20]||(t[20]=[J("\u4E0A\u4F20\u6587\u4EF6")])),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1}))]}),_:1})):U("",!0),!["01","02","03"].includes((Y=n.basicInfoData)==null?void 0:Y.baseProjSetProg)||n.baseProjSetYear*1<2023?(C(),P(h,{key:1,span:8},{default:i(()=>{var a;return[["01","02"].includes((a=n.approvalInfoData)==null?void 0:a.equalProtectionLevel)||n.baseProjSetYear*1<2023?(C(),P(F,{key:0,label:"\u5546\u4E1A\u5BC6\u7801\u5E94\u7528\u8BC4\u4F30\u62A5\u544A"},{default:i(()=>[p(c,{"file-list":r.value.basePasswAssessFile,"onUpdate:fileList":t[3]||(t[3]=e=>r.value.basePasswAssessFile=e),class:"w-full",action:l(v),"on-success":e=>l(S)(e,r.value.basePasswAssessFile),"on-error":l(y),"before-upload":e=>l(w)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(g),"before-remove":()=>{var e,s,u;return!(((e=o.value)==null?void 0:e.basePasswAssessFile)&&!!((u=JSON.parse((s=o.value)==null?void 0:s.basePasswAssessFile))!=null&&u.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",oe,"\u652F\u6301"+I(l(O))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,u;return[p(f,{type:"primary",class:"mr-4",plain:"",disabled:((e=o.value)==null?void 0:e.basePasswAssessFile)&&((u=JSON.parse((s=o.value)==null?void 0:s.basePasswAssessFile))==null?void 0:u.length)&&n.isSupplemented},{default:i(()=>t[21]||(t[21]=[J("\u4E0A\u4F20\u6587\u4EF6")])),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})):(C(),P(F,{key:1,label:"\u5546\u4E1A\u5BC6\u7801\u5E94\u7528\u8BC4\u4F30\u62A5\u544A",prop:"basePasswAssessFile"},{default:i(()=>[p(c,{"file-list":r.value.basePasswAssessFile,"onUpdate:fileList":t[4]||(t[4]=e=>r.value.basePasswAssessFile=e),class:"w-full",action:l(v),"on-success":e=>l(S)(e,r.value.basePasswAssessFile),"on-error":l(y),"before-upload":e=>l(w)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(g),"before-remove":()=>{var e,s,u;return!(((e=o.value)==null?void 0:e.basePasswAssessFile)&&!!((u=JSON.parse((s=o.value)==null?void 0:s.basePasswAssessFile))!=null&&u.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",ne,"\u652F\u6301"+I(l(O))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,u;return[p(f,{type:"primary",class:"mr-4",plain:"",disabled:((e=o.value)==null?void 0:e.basePasswAssessFile)&&((u=JSON.parse((s=o.value)==null?void 0:s.basePasswAssessFile))==null?void 0:u.length)&&n.isSupplemented},{default:i(()=>t[22]||(t[22]=[J("\u4E0A\u4F20\u6587\u4EF6")])),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1}))]}),_:1})):U("",!0),p(h,{span:8},{default:i(()=>[p(F,{label:"\u7B2C\u4E09\u65B9\u9A8C\u6536\u6D4B\u8BD5\u62A5\u544A"},{default:i(()=>[p(c,{"file-list":r.value.baseThirdAcceptFile,"onUpdate:fileList":t[5]||(t[5]=a=>r.value.baseThirdAcceptFile=a),class:"w-full",action:l(v),"on-success":a=>l(S)(a,r.value.baseThirdAcceptFile),"on-error":l(y),"before-upload":a=>l(w)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(g),"before-remove":()=>{var a,e,s;return!(((a=o.value)==null?void 0:a.baseThirdAcceptFile)&&!!((s=JSON.parse((e=o.value)==null?void 0:e.baseThirdAcceptFile))!=null&&s.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",re,"\u652F\u6301"+I(l(O))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[p(f,{type:"primary",class:"mr-4",plain:"",disabled:((a=o.value)==null?void 0:a.baseThirdAcceptFile)&&((s=JSON.parse((e=o.value)==null?void 0:e.baseThirdAcceptFile))==null?void 0:s.length)&&n.isSupplemented},{default:i(()=>t[23]||(t[23]=[J("\u4E0A\u4F20\u6587\u4EF6")])),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1}),["05","06","07","00"].includes((K=n.basicInfoData)==null?void 0:K.baseProjSetProg)||n.baseProjSetYear*1<2023?(C(),P(h,{key:2,span:8},{default:i(()=>{var a;return[((a=n.basicInfoData)==null?void 0:a.baseProjSetProg)==="07"&&n.baseProjSetYear*1>=2023?(C(),P(F,{key:"baseCheckFile1",label:"\u5EFA\u8BBE\u6838\u67E5\u8868",prop:"baseCheckFile"},{default:i(()=>[p(c,{"file-list":r.value.baseCheckFile,"onUpdate:fileList":t[6]||(t[6]=e=>r.value.baseCheckFile=e),class:"w-full",action:l(v),"on-success":e=>l(S)(e,r.value.baseCheckFile),"on-error":l(y),"before-upload":e=>l(w)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(g),"before-remove":()=>{var e,s,u;return!(((e=o.value)==null?void 0:e.baseCheckFile)&&!!((u=JSON.parse((s=o.value)==null?void 0:s.baseCheckFile))!=null&&u.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",pe,"\u652F\u6301"+I(l(O))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,u;return[p(f,{type:"primary",class:"mr-4",plain:"",disabled:((e=o.value)==null?void 0:e.baseCheckFile)&&((u=JSON.parse((s=o.value)==null?void 0:s.baseCheckFile))==null?void 0:u.length)&&n.isSupplemented},{default:i(()=>t[24]||(t[24]=[J("\u4E0A\u4F20\u6587\u4EF6")])),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})):(C(),P(F,{key:"baseCheckFile2",label:"\u5EFA\u8BBE\u6838\u67E5\u8868"},{default:i(()=>[p(c,{"file-list":r.value.baseCheckFile,"onUpdate:fileList":t[7]||(t[7]=e=>r.value.baseCheckFile=e),class:"w-full",action:l(v),"on-success":e=>l(S)(e,r.value.baseCheckFile),"on-error":l(y),"before-upload":e=>l(w)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(g),"before-remove":()=>{var e,s,u;return!(((e=o.value)==null?void 0:e.baseCheckFile)&&!!((u=JSON.parse((s=o.value)==null?void 0:s.baseCheckFile))!=null&&u.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",ue,"\u652F\u6301"+I(l(O))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,u;return[p(f,{type:"primary",class:"mr-4",plain:"",disabled:((e=o.value)==null?void 0:e.baseCheckFile)&&((u=JSON.parse((s=o.value)==null?void 0:s.baseCheckFile))==null?void 0:u.length)&&n.isSupplemented},{default:i(()=>t[25]||(t[25]=[J("\u4E0A\u4F20\u6587\u4EF6")])),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1}))]}),_:1})):U("",!0),((Q=n.approvalInfoData)==null?void 0:Q.releaseYearMoney)>=2e3&&!["01","02","03","04"].includes((W=n.basicInfoData)==null?void 0:W.baseProjSetProg)?(C(),P(h,{key:3,span:8},{default:i(()=>[p(F,{label:"\u8D22\u52A1\u5BA1\u8BA1\u62A5\u544A"},{default:i(()=>[p(c,{"file-list":r.value.baseFinanlAuditFile,"onUpdate:fileList":t[8]||(t[8]=a=>r.value.baseFinanlAuditFile=a),class:"w-full",action:l(v),"on-success":a=>l(S)(a,r.value.baseFinanlAuditFile),"on-error":l(y),":before-upload":a=>l(w)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(g),"before-remove":()=>{var a,e,s;return!(((a=o.value)==null?void 0:a.baseFinanlAuditFile)&&!!((s=JSON.parse((e=o.value)==null?void 0:e.baseFinanlAuditFile))!=null&&s.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",be,"\u652F\u6301"+I(l(O))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[p(f,{type:"primary",class:"mr-4",plain:"",disabled:((a=o.value)==null?void 0:a.baseFinanlAuditFile)&&((s=JSON.parse((e=o.value)==null?void 0:e.baseFinanlAuditFile))==null?void 0:s.length)&&n.isSupplemented},{default:i(()=>t[26]||(t[26]=[J("\u4E0A\u4F20\u6587\u4EF6")])),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error",":before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1})):U("",!0),!["01","02","03","04"].includes((X=n.basicInfoData)==null?void 0:X.baseProjSetProg)||n.baseProjSetYear*1<2023?(C(),P(h,{key:4,span:8},{default:i(()=>{var a;return[n.baseProjSetYear*1<2023||["05","06","07"].includes((a=n.basicInfoData)==null?void 0:a.baseProjSetProg)?(C(),P(F,{key:0,label:"\u7528\u6237\u4F7F\u7528\u62A5\u544A"},{default:i(()=>[p(c,{"file-list":r.value.baseUserConsFile,"onUpdate:fileList":t[9]||(t[9]=e=>r.value.baseUserConsFile=e),class:"w-full",action:l(v),"on-success":e=>l(S)(e,r.value.baseUserConsFile),"on-error":l(y),"before-upload":e=>l(w)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(g),"before-remove":()=>{var e,s,u;return!(((e=o.value)==null?void 0:e.baseUserConsFile)&&!!((u=JSON.parse((s=o.value)==null?void 0:s.baseUserConsFile))!=null&&u.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",de,"\u652F\u6301"+I(l(O))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,u;return[p(f,{type:"primary",class:"mr-4",plain:"",disabled:((e=o.value)==null?void 0:e.baseUserConsFile)&&((u=JSON.parse((s=o.value)==null?void 0:s.baseUserConsFile))==null?void 0:u.length)&&n.isSupplemented},{default:i(()=>t[27]||(t[27]=[J("\u4E0A\u4F20\u6587\u4EF6")])),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})):(C(),P(F,{key:1,label:"\u7528\u6237\u4F7F\u7528\u62A5\u544A",prop:"baseUserConsFile"},{default:i(()=>[p(c,{"file-list":r.value.baseUserConsFile,"onUpdate:fileList":t[10]||(t[10]=e=>r.value.baseUserConsFile=e),class:"w-full",action:l(v),"on-success":e=>l(S)(e,r.value.baseUserConsFile),"on-error":l(y),"before-upload":e=>l(w)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(g),"before-remove":()=>{var e,s,u;return!(((e=o.value)==null?void 0:e.baseUserConsFile)&&!!((u=JSON.parse((s=o.value)==null?void 0:s.baseUserConsFile))!=null&&u.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",me,"\u652F\u6301"+I(l(O))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,u;return[p(f,{type:"primary",class:"mr-4",plain:"",disabled:((e=o.value)==null?void 0:e.baseUserConsFile)&&((u=JSON.parse((s=o.value)==null?void 0:s.baseUserConsFile))==null?void 0:u.length)&&n.isSupplemented},{default:i(()=>t[28]||(t[28]=[J("\u4E0A\u4F20\u6587\u4EF6")])),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1}))]}),_:1})):U("",!0),p(h,{span:8},{default:i(()=>[p(F,{label:"\u76D1\u7406\u603B\u7ED3\u62A5\u544A"},{default:i(()=>[p(c,{"file-list":r.value.baseEstaSummFile,"onUpdate:fileList":t[11]||(t[11]=a=>r.value.baseEstaSummFile=a),class:"w-full",action:l(v),"on-success":a=>l(S)(a,r.value.baseEstaSummFile),"on-error":l(y),"before-upload":a=>l(w)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(g),"before-remove":()=>{var a,e,s;return!(((a=o.value)==null?void 0:a.baseEstaSummFile)&&!!((s=JSON.parse((e=o.value)==null?void 0:e.baseEstaSummFile))!=null&&s.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",fe,"\u652F\u6301"+I(l(O))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[p(f,{type:"primary",class:"mr-4",plain:"",disabled:((a=o.value)==null?void 0:a.baseEstaSummFile)&&((s=JSON.parse((e=o.value)==null?void 0:e.baseEstaSummFile))==null?void 0:s.length)&&n.isSupplemented},{default:i(()=>t[29]||(t[29]=[J("\u4E0A\u4F20\u6587\u4EF6")])),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1}),!["01","02","03","04"].includes((Z=n.basicInfoData)==null?void 0:Z.baseProjSetProg)||n.baseProjSetYear*1<2023?(C(),P(h,{key:5,span:8},{default:i(()=>{var a;return[((a=n.basicInfoData)==null?void 0:a.baseProjSetProg)==="07"&&n.baseProjSetYear*1>=2023?(C(),P(F,{key:0,label:"\u9879\u76EE\u603B\u7ED3\u62A5\u544A",prop:"baseSummReportFile"},{default:i(()=>[p(c,{"file-list":r.value.baseSummReportFile,"onUpdate:fileList":t[12]||(t[12]=e=>r.value.baseSummReportFile=e),class:"w-full",action:l(v),"on-success":e=>l(S)(e,r.value.baseSummReportFile),"on-error":l(y),"before-upload":e=>l(w)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(g),"before-remove":()=>{var e,s,u;return!(((e=o.value)==null?void 0:e.baseSummReportFile)&&!!((u=JSON.parse((s=o.value)==null?void 0:s.baseSummReportFile))!=null&&u.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",ce,"\u652F\u6301"+I(l(O))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,u;return[p(f,{type:"primary",class:"mr-4",plain:"",disabled:((e=o.value)==null?void 0:e.baseSummReportFile)&&((u=JSON.parse((s=o.value)==null?void 0:s.baseSummReportFile))==null?void 0:u.length)&&n.isSupplemented},{default:i(()=>t[30]||(t[30]=[J("\u4E0A\u4F20\u6587\u4EF6")])),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})):(C(),P(F,{key:1,label:"\u9879\u76EE\u603B\u7ED3\u62A5\u544A"},{default:i(()=>[p(c,{"file-list":r.value.baseSummReportFile,"onUpdate:fileList":t[13]||(t[13]=e=>r.value.baseSummReportFile=e),class:"w-full",action:l(v),"on-success":e=>l(S)(e,r.value.baseSummReportFile),"on-error":l(y),"before-upload":e=>l(w)(e,{types:l(d)}),accept:l(d).map(e=>`.${e}`).join(","),multiple:"","on-preview":l(g),"before-remove":()=>{var e,s,u;return!(((e=o.value)==null?void 0:e.baseSummReportFile)&&!!((u=JSON.parse((s=o.value)==null?void 0:s.baseSummReportFile))!=null&&u.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",Fe,"\u652F\u6301"+I(l(O))+"\u6587\u4EF6",1)]),default:i(()=>{var e,s,u;return[p(f,{type:"primary",class:"mr-4",plain:"",disabled:((e=o.value)==null?void 0:e.baseSummReportFile)&&((u=JSON.parse((s=o.value)==null?void 0:s.baseSummReportFile))==null?void 0:u.length)&&n.isSupplemented},{default:i(()=>t[31]||(t[31]=[J("\u4E0A\u4F20\u6587\u4EF6")])),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1}))]}),_:1})):U("",!0),((_=n.basicInfoData)==null?void 0:_.baseProjSetProg)==="07"?(C(),P(h,{key:6,span:8},{default:i(()=>[p(F,{label:"\u7EC8\u9A8C\u610F\u89C1",prop:"baseFinalExpertOpinionFile"},{default:i(()=>[p(c,{"file-list":r.value.baseFinalExpertOpinionFile,"onUpdate:fileList":t[14]||(t[14]=a=>r.value.baseFinalExpertOpinionFile=a),class:"w-full",action:l(v),"on-success":a=>l(S)(a,r.value.baseFinalExpertOpinionFile),"on-error":l(y),"before-upload":a=>l(w)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(g),"before-remove":()=>{var a,e,s;return!(((a=o.value)==null?void 0:a.baseFinalExpertOpinionFile)&&!!((s=JSON.parse((e=o.value)==null?void 0:e.baseFinalExpertOpinionFile))!=null&&s.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",ve,"\u652F\u6301"+I(l(O))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[p(f,{type:"primary",class:"mr-4",plain:"",disabled:((a=o.value)==null?void 0:a.baseFinalExpertOpinionFile)&&((s=JSON.parse((e=o.value)==null?void 0:e.baseFinalExpertOpinionFile))==null?void 0:s.length)&&n.isSupplemented},{default:i(()=>t[32]||(t[32]=[J("\u4E0A\u4F20\u6587\u4EF6")])),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1})):U("",!0),p(h,{span:8},{default:i(()=>[p(F,{label:"\u9879\u76EE\u5EF6\u671F\u7533\u8BF7\u8868"},{default:i(()=>[p(c,{"file-list":r.value.baseEngineerPostpoFile,"onUpdate:fileList":t[15]||(t[15]=a=>r.value.baseEngineerPostpoFile=a),class:"w-full",action:l(v),"on-success":a=>l(S)(a,r.value.baseEngineerPostpoFile),"on-error":l(y),"before-upload":a=>l(w)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(g),"before-remove":()=>{var a,e,s;return!(((a=o.value)==null?void 0:a.baseEngineerPostpoFile)&&!!((s=JSON.parse((e=o.value)==null?void 0:e.baseEngineerPostpoFile))!=null&&s.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",Se,"\u652F\u6301"+I(l(O))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[p(f,{type:"primary",class:"mr-4",plain:"",disabled:((a=o.value)==null?void 0:a.baseEngineerPostpoFile)&&!!((s=JSON.parse((e=o.value)==null?void 0:e.baseEngineerPostpoFile))!=null&&s.length)&&n.isSupplemented},{default:i(()=>t[33]||(t[33]=[J("\u4E0A\u4F20\u6587\u4EF6")])),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1}),p(h,{span:8},{default:i(()=>[p(F,{label:"\u53D8\u66F4\u7533\u8BF7\u5355"},{default:i(()=>[p(c,{"file-list":r.value.baseChangeFormFile,"onUpdate:fileList":t[16]||(t[16]=a=>r.value.baseChangeFormFile=a),class:"w-full",action:l(v),"on-success":a=>l(S)(a,r.value.baseChangeFormFile),"on-error":l(y),"before-upload":a=>l(w)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(g),"before-remove":()=>{var a,e,s;return!(((a=o.value)==null?void 0:a.baseChangeFormFile)&&!!((s=JSON.parse((e=o.value)==null?void 0:e.baseChangeFormFile))!=null&&s.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",ye,"\u652F\u6301"+I(l(O))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[p(f,{type:"primary",class:"mr-4",plain:"",disabled:((a=o.value)==null?void 0:a.baseChangeFormFile)&&!!((s=JSON.parse((e=o.value)==null?void 0:e.baseChangeFormFile))!=null&&s.length)&&n.isSupplemented},{default:i(()=>t[34]||(t[34]=[J("\u4E0A\u4F20\u6587\u4EF6")])),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1}),p(h,{span:8},{default:i(()=>[p(F,{label:"\u53D8\u66F4\u6279\u590D\u6587\u4EF6"},{default:i(()=>[p(c,{"file-list":r.value.baseChanFile,"onUpdate:fileList":t[17]||(t[17]=a=>r.value.baseChanFile=a),class:"w-full",action:l(v),"on-success":a=>l(S)(a,r.value.baseChanFile),"on-error":l(y),"before-upload":a=>l(w)(a,{types:l(d)}),accept:l(d).map(a=>`.${a}`).join(","),multiple:"","on-preview":l(g),"before-remove":()=>{var a,e,s;return!(((a=o.value)==null?void 0:a.baseChanFile)&&!!((s=JSON.parse((e=o.value)==null?void 0:e.baseChanFile))!=null&&s.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",we,"\u652F\u6301"+I(l(O))+"\u6587\u4EF6",1)]),default:i(()=>{var a,e,s;return[p(f,{type:"primary",class:"mr-4",plain:"",disabled:((a=o.value)==null?void 0:a.baseChanFile)&&((s=JSON.parse((e=o.value)==null?void 0:e.baseChanFile))==null?void 0:s.length)&&n.isSupplemented},{default:i(()=>t[35]||(t[35]=[J("\u4E0A\u4F20\u6587\u4EF6")])),_:1},8,["disabled"])]}),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview","before-remove"])]),_:1})]),_:1})]}),_:1})]),_:1},8,["model","rules"])}}});export{Pe as default};
|