You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
25KB

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