25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

2 satır
24KB

  1. import{r as k,h as S,i as y,f as w,b as d,c as g,e as O}from"./uploadAction-3962500e.js";import{E as le,r as M,B as H,b as E,c as C,L as P,h as i,f as p,u as l,e as N,t as I,i as J,j as U,k as ae}from"./index-dd5fae99.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=ae({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=le.dictStore.uploadUrl,z=M(),r=M({feasibilityStudyReport:[],approvedFile:[],purchaseFile:[],acceptanceLetter:[],purchaseContract:[],acceptanceReport:[],changeApprovalDoc:[]}),j=[{required:!0,message:"请选择文件"}],G=M(),o=M();return ee({formRef:z,formData:r}),H(()=>V.basicInfoData,b=>{b.baseProjIsConfidentiality==="02"||(b==null?void 0:b.baseProjSetProg)==="00"?G.value={}:G.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},z.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:z,model:r.value,rules:G.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:"初验意见"},{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&&a.baseInitialOpinionFile&&((s=JSON.parse((e=o.value)==null?void 0:e.baseInitialOpinionFile))!=null&&s.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",se,"支持"+I(l(O))+"文件",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("上传文件")])),_: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&&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&&s.includes("01"))&&["03","04","05"].includes((u=n.approvalInfoData)==null?void 0:u.equalProtectionLevel)?(C(),P(F,{key:0,label:"信息安全等级保护测评报告",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&&m.baseInforLevelFile&&((L=JSON.parse((A=o.value)==null?void 0:A.baseInforLevelFile))!=null&&L.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",ie,"支持"+I(l(O))+"文件",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("上传文件")])),_: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:"信息安全等级保护测评报告"},{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&&m.baseInforLevelFile&&((L=JSON.parse((A=o.value)==null?void 0:A.baseInforLevelFile))!=null&&L.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",te,"支持"+I(l(O))+"文件",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("上传文件")])),_: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:"商业密码应用评估报告"},{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&&e.basePasswAssessFile&&((u=JSON.parse((s=o.value)==null?void 0:s.basePasswAssessFile))!=null&&u.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",oe,"支持"+I(l(O))+"文件",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("上传文件")])),_: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:"商业密码应用评估报告",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&&e.basePasswAssessFile&&((u=JSON.parse((s=o.value)==null?void 0:s.basePasswAssessFile))!=null&&u.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",ne,"支持"+I(l(O))+"文件",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("上传文件")])),_: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:"第三方验收测试报告"},{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&&a.baseThirdAcceptFile&&((s=JSON.parse((e=o.value)==null?void 0:e.baseThirdAcceptFile))!=null&&s.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",re,"支持"+I(l(O))+"文件",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("上传文件")])),_: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:"建设核查表",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&&e.baseCheckFile&&((u=JSON.parse((s=o.value)==null?void 0:s.baseCheckFile))!=null&&u.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",pe,"支持"+I(l(O))+"文件",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("上传文件")])),_: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:"建设核查表"},{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&&e.baseCheckFile&&((u=JSON.parse((s=o.value)==null?void 0:s.baseCheckFile))!=null&&u.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",ue,"支持"+I(l(O))+"文件",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("上传文件")])),_: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:"财务审计报告"},{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&&a.baseFinanlAuditFile&&((s=JSON.parse((e=o.value)==null?void 0:e.baseFinanlAuditFile))!=null&&s.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",be,"支持"+I(l(O))+"文件",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("上传文件")])),_: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:"用户使用报告"},{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&&e.baseUserConsFile&&((u=JSON.parse((s=o.value)==null?void 0:s.baseUserConsFile))!=null&&u.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",de,"支持"+I(l(O))+"文件",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("上传文件")])),_: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:"用户使用报告",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&&e.baseUserConsFile&&((u=JSON.parse((s=o.value)==null?void 0:s.baseUserConsFile))!=null&&u.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",me,"支持"+I(l(O))+"文件",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("上传文件")])),_: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:"监理总结报告"},{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&&a.baseEstaSummFile&&((s=JSON.parse((e=o.value)==null?void 0:e.baseEstaSummFile))!=null&&s.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",fe,"支持"+I(l(O))+"文件",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("上传文件")])),_: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:"项目总结报告",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&&e.baseSummReportFile&&((u=JSON.parse((s=o.value)==null?void 0:s.baseSummReportFile))!=null&&u.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",ce,"支持"+I(l(O))+"文件",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("上传文件")])),_: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:"项目总结报告"},{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&&e.baseSummReportFile&&((u=JSON.parse((s=o.value)==null?void 0:s.baseSummReportFile))!=null&&u.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",Fe,"支持"+I(l(O))+"文件",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("上传文件")])),_: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:"终验意见",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&&a.baseFinalExpertOpinionFile&&((s=JSON.parse((e=o.value)==null?void 0:e.baseFinalExpertOpinionFile))!=null&&s.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",ve,"支持"+I(l(O))+"文件",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("上传文件")])),_: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:"项目延期申请表"},{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&&a.baseEngineerPostpoFile&&((s=JSON.parse((e=o.value)==null?void 0:e.baseEngineerPostpoFile))!=null&&s.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",Se,"支持"+I(l(O))+"文件",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("上传文件")])),_: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:"变更申请单"},{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&&a.baseChangeFormFile&&((s=JSON.parse((e=o.value)==null?void 0:e.baseChangeFormFile))!=null&&s.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",ye,"支持"+I(l(O))+"文件",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("上传文件")])),_: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:"变更批复文件"},{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&&a.baseChanFile&&((s=JSON.parse((e=o.value)==null?void 0:e.baseChanFile))!=null&&s.length)&&n.isSupplemented)}},{tip:i(()=>[N("div",we,"支持"+I(l(O))+"文件",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("上传文件")])),_: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};