|
- import{E as Ce,r as A,a as me,B as Z,b as v,c as p,d as D,f as t,h as s,N as re,L as m,F as h,H as ee,j as ie,e as c,i as V,t as T,u as i,k as Le}from"./index-dd5fae99.js";import ke from"./relatedProjectDialog-55f5f96f.js";import Be from"./projectContentDialog-4e6a46f0.js";import{r as le,h as $,i as M,f as H,b as y,c as J,e as ae}from"./uploadAction-3962500e.js";import"./renewalProjectCapitalDeclare-e1231fa5.js";const Fe={class:"text-right w-full mb-8"},Oe=["onClick"],Ae={key:1,class:"text-info cursor-not-allowed"},De=["onClick"],Ne=["onClick"],Ue={class:"text-right w-full mt-8"},Ee=["onClick"],Se=["onClick"],Ye={class:"text-right w-full mt-8"},Re={class:"el-upload__tip"},qe={class:"el-upload__tip"};const Ie={class:"el-upload__tip"},he={class:"el-upload__tip"},Te=Le({name:"projectCollectionEnterBasicInfo"}),Ke=Object.assign(Te,{props:{detail:{type:Object},basicInfoData:{type:Object},dictionaryList:{type:Array,default:()=>[]}},emits:["getProYear"],setup(_,{expose:fe,emit:ce}){const G=_,N=Ce.dictStore.uploadUrl,se=A(),a=A({baseHistorProjs:[],beseExpectedResults:[]}),te=A({baseProjTime:[{required:!0,message:"请选择项目起止时间"}],baseProjSetYear:[{required:!0,message:"请选择预算年度"}],baseProjTotalAmount:[{required:!0,message:"请填写项目总投资"}],baseProjDeclAmount:[{required:!0,message:"请填写申报年度预算"}],baseProjConsClass:[{required:!0,message:"请选择建设层级"}],baseLowestLevel:[{required:!0,message:"请选择贯通层级"}],baseProjAmountOri:[{required:!0,message:"请选择预算来源"}],baseBasisAmountOri:[{required:!0,message:"请填写预算来源说明"}],baseProjBasis:[{required:!0,message:"请选择立项依据"}],baseBasisEstablish:[{required:!0,message:"请填写立项依据说明"}],baseProjIntro:[{required:!0,message:"请填写项目概述"}],beseExpectedResults:[{required:!0,message:"请至少添加一个项目内容与预期成效"}],baseOperatMaintenFile:[{required:!0,message:"请上传"}],baseHistorProjs:[{required:!0,message:"请关联项目",type:"array"}],baseProjApplyFile:[{required:!0,message:"请上传"}]}),ve=[{label:"序号",type:"index",width:60},{label:"项目名称",prop:"baseProjName",key:"baseProjName"},{label:"预算年度",prop:"baseProjSetYear",key:"baseProjSetYear"},{label:"操作",slot:"action",key:"action"}],je=[{type:"selection"},{label:"依据项",key:"title",prop:"title"},{label:"依据文件名",slot:"fileName"},{label:"文件(支持word、pdf格式)",slot:"action",width:300}],L=A([{id:1,title:"政策、法规",fileName:"",fileList:[]},{id:2,title:"规划或决策部署",fileName:"",fileList:[]},{id:3,title:"上级下达任务",fileName:"",fileList:[]},{id:4,title:"领导批示",fileName:"",fileList:[]},{id:5,title:"单位核心业务或单位职能",fileName:"",fileList:[]},{id:6,title:"其他",fileName:"",fileList:[]}]),Pe=r=>{a.value.baseProjBasis=r.map(e=>e)},ue=[{label:"项目主要内容",prop:"mainContent",key:"mainContent"},{label:"业务对象",prop:"businessObject",key:"businessObject"},{label:"操作",slot:"action",key:"action"}],U=me({visible:!1}),ye=()=>{U.visible=!0,U.data=a.value.baseHistorProjs},_e=r=>{a.value.baseHistorProjs=r.map(e=>({baseProjName:e.projectName,baseProjSetYear:e.projectYear,baseProjId:e.id}))},we=r=>{a.value.baseHistorProjs.splice(r,1)},E=me({visible:!1,data:void 0}),oe=A(),K=(r,e)=>{E.data=r,E.visible=!0,oe.value=e},ge=r=>{oe.value===void 0?a.value.beseExpectedResults.push(r):a.value.beseExpectedResults[oe.value]=r},ne=r=>{a.value.beseExpectedResults.splice(r,1)},Ve=ce,pe=A();return fe({formRef:se,formData:a}),Z(()=>G.dictionaryList,r=>{var e;r&&(L.value=[],(e=G.dictionaryList)==null||e.filter(f=>f.type==="PROJECT_BASIS").forEach(f=>{L.value.push({title:f.label,fileName:"",fileList:[],value:f.value})}))}),Z(()=>G.detail,r=>{var e,f,u,b,S,k,B,F,Y,P,x,z,Q,w,W,X,C,R,q,I,l;if(r){a.value={...r.apply,baseProjTime:(e=r.apply)!=null&&e.baseProjStartTime?[(f=r.apply)==null?void 0:f.baseProjStartTime.slice(0,10),(u=r.apply)==null?void 0:u.baseProjEndTime.slice(0,10)]:[],baseHistorProjs:((S=(b=r.apply)==null?void 0:b.baseHistorProjId)==null?void 0:S.split(";").map((n,d)=>{var j,g;return{baseProjId:n,baseProjName:(j=r.apply)==null?void 0:j.baseHistorProjName.split(";")[d],baseProjSetYear:(g=r.apply)==null?void 0:g.baseHistorProjYear.split(";")[d]}}))||[],baseProjAmountOri:((k=r.apply)==null?void 0:k.baseProjAmountOri)&&((F=(B=r.apply)==null?void 0:B.baseProjAmountOri)==null?void 0:F.split(";")),baseProjBasis:(x=(P=(Y=r.apply)==null?void 0:Y.baseProjBasis)==null?void 0:P.split(";"))==null?void 0:x.map((n,d)=>{var g,O,de,be;const j=`[${(g=r.apply)==null?void 0:g.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(de=(O=L.value)==null?void 0:O.find(xe=>xe.value===n))==null?void 0:de.title,fileList:(be=r.apply)!=null&&be.baseProjBasisFile?le(JSON.parse(j)[d]):[],value:n}}),beseExpectedResults:((z=r.apply)==null?void 0:z.beseExpectedResults)&&JSON.parse((Q=r.apply)==null?void 0:Q.beseExpectedResults)||[],baseProjApplyFile:(w=r.apply)!=null&&w.baseProjApplyFile?le(JSON.parse(r.apply.baseProjApplyFile)):[],baseOperatMaintenFile:(W=r.apply)!=null&&W.baseOperatMaintenFile?le(JSON.parse(r.apply.baseOperatMaintenFile)):[],baseProjOtherFile:(X=r.apply)!=null&&X.baseProjOtherFile?le(JSON.parse(r.apply.baseProjOtherFile)):[]};const o=a.value.baseProjBasis?JSON.parse(JSON.stringify(a.value.baseProjBasis)):[];if((q=(R=(C=r.apply)==null?void 0:C.baseProjBasis)==null?void 0:R.split(";"))!=null&&q.length){const n=(l=(I=r.apply)==null?void 0:I.baseProjBasis)==null?void 0:l.split(";");L.value&&L.value.forEach(d=>{var j,g;n.includes(d.value)&&(d.fileList=(j=o.find(O=>O.value===d.value))==null?void 0:j.fileList,d.fileName=(g=o.find(O=>O.value===d.value))==null?void 0:g.fileName,pe.value.toggleRowSelect(d,!0))})}}}),Z(()=>G.basicInfoData,r=>{var e;r.baseProjIsConfidentiality==="02"?te.value={}:te.value={baseProjTime:[{required:!0,message:"请选择项目起止时间"}],baseProjSetYear:[{required:!0,message:"请选择预算年度"}],baseProjDeclAmount:[{required:!0,message:"请填写申报年度预算"}],baseProjConsClass:[{required:!0,message:"请选择建设层级"}],baseLowestLevel:[{required:!0,message:"请选择贯通层级"}],baseProjAmountOri:[{required:!0,message:"请选择预算来源"}],baseBasisAmountOri:[{required:!0,message:"请填写预算来源说明"}],baseProjBasis:[{required:!0,message:"请选择立项依据"}],baseBasisEstablish:[{required:!0,message:"请填写立项依据说明"}],baseProjIntro:[{required:!0,message:"请填写项目概述"}],beseExpectedResults:[{required:!0,message:"请至少添加一个项目内容与预期成效"}],baseOperatMaintenFile:[{required:!0,message:"请上传"}],baseHistorProjs:[{required:!0,message:"请关联项目",type:"array"}],baseProjApplyFile:[{required:!0,message:"请上传"}]},(e=se.value)==null||e.clearValidate()},{deep:!0}),Z(()=>a.value.baseProjSetYear,r=>{Ve("getProYear",r)}),(r,e)=>{const f=v("el-input"),u=v("el-form-item"),b=v("el-col"),S=v("el-date-picker"),k=v("el-input-number"),B=v("el-option"),F=v("el-select"),Y=v("el-switch"),P=v("el-button"),x=v("table-list"),z=v("el-checkbox"),Q=v("el-checkbox-group"),w=v("el-upload"),W=v("el-row"),X=v("el-form");return p(),D(h,null,[t(X,{ref_key:"formRef",ref:se,model:a.value,rules:te.value,"label-position":"top","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:s(()=>[t(W,{gutter:40},{default:s(()=>{var C,R,q,I;return[t(b,{span:8},{default:s(()=>[t(u,{label:"发改编码",prop:"baseDevelopCode"},{default:s(()=>[t(f,{modelValue:a.value.baseDevelopCode,"onUpdate:modelValue":e[0]||(e[0]=l=>a.value.baseDevelopCode=l),placeholder:"请填写"},null,8,["modelValue"])]),_:1})]),_:1}),t(b,{span:8},{default:s(()=>[t(u,{label:"财政编码",prop:"setProjCodeFinan"},{default:s(()=>[t(f,{modelValue:a.value.setProjCodeFinan,"onUpdate:modelValue":e[1]||(e[1]=l=>a.value.setProjCodeFinan=l),placeholder:"请填写"},null,8,["modelValue"])]),_:1})]),_:1}),t(b,{span:8},{default:s(()=>[t(u,{label:"项目起止时间",prop:"baseProjTime"},{default:s(()=>[t(S,{modelValue:a.value.baseProjTime,"onUpdate:modelValue":e[2]||(e[2]=l=>a.value.baseProjTime=l),type:"daterange","range-separator":"-","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})]),_:1}),t(b,{span:8},{default:s(()=>[t(u,{label:"预算年度",prop:"baseProjSetYear"},{default:s(()=>[t(S,{modelValue:a.value.baseProjSetYear,"onUpdate:modelValue":e[3]||(e[3]=l=>a.value.baseProjSetYear=l),type:"year",placeholder:"请选择",format:"YYYY","value-format":"YYYY"},null,8,["modelValue"])]),_:1})]),_:1}),t(b,{span:8},{default:s(()=>[t(u,{label:"项目总投资",prop:"baseProjTotalAmount"},{default:s(()=>[t(k,{modelValue:a.value.baseProjTotalAmount,"onUpdate:modelValue":e[4]||(e[4]=l=>a.value.baseProjTotalAmount=l),placeholder:"请填写",min:1e-6,controls:!1,class:"input-amount",onMousewheel:e[5]||(e[5]=re(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),t(b,{span:8},{default:s(()=>[a.value.baseProjSetYear*1>=2023?(p(),m(u,{key:"baseProjDeclAmount1",label:"申报年度预算",prop:"baseProjDeclAmount"},{default:s(()=>[t(k,{modelValue:a.value.baseProjDeclAmount,"onUpdate:modelValue":e[6]||(e[6]=l=>a.value.baseProjDeclAmount=l),placeholder:"请填写",min:1e-6,controls:!1,class:"input-amount",onMousewheel:e[7]||(e[7]=re(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})):(p(),m(u,{key:"baseProjDeclAmount2",label:"申报年度预算"},{default:s(()=>[t(k,{modelValue:a.value.baseProjDeclAmount,"onUpdate:modelValue":e[8]||(e[8]=l=>a.value.baseProjDeclAmount=l),placeholder:"请填写",min:1e-6,controls:!1,class:"input-amount",onMousewheel:e[9]||(e[9]=re(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1}))]),_:1}),t(b,{span:8},{default:s(()=>[t(u,{label:"建设层级",prop:"baseProjConsClass"},{default:s(()=>[t(F,{modelValue:a.value.baseProjConsClass,"onUpdate:modelValue":e[10]||(e[10]=l=>a.value.baseProjConsClass=l),placeholder:"请选择",class:"w-full"},{default:s(()=>{var l;return[(p(!0),D(h,null,ee((l=_.dictionaryList)==null?void 0:l.filter(o=>o.type==="BUILD_LEVEL"),(o,n)=>(p(),m(B,{key:n,label:o.label,value:o.value},null,8,["label","value"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),(R=(C=_.basicInfoData)==null?void 0:C.baseConstructionType)!=null&&R.includes("03")&&!((I=(q=_.basicInfoData)==null?void 0:q.baseConstructionType)!=null&&I.includes("01"))?ie("",!0):(p(),m(b,{key:0,span:8},{default:s(()=>{var l,o;return[(o=(l=_.basicInfoData)==null?void 0:l.baseConstructionType)!=null&&o.includes("01")?(p(),m(u,{key:0,label:"贯通层级",prop:"baseLowestLevel"},{default:s(()=>[t(F,{modelValue:a.value.baseLowestLevel,"onUpdate:modelValue":e[11]||(e[11]=n=>a.value.baseLowestLevel=n),placeholder:"请选择",class:"w-full"},{default:s(()=>{var n;return[(p(!0),D(h,null,ee((n=_.dictionaryList)==null?void 0:n.filter(d=>d.type==="LINK_UP_LEVEL"),(d,j)=>(p(),m(B,{key:j,label:d.label,value:d.value},null,8,["label","value"]))),128))]}),_:1},8,["modelValue"])]),_:1})):(p(),m(u,{key:1,label:"贯通层级"},{default:s(()=>[t(F,{modelValue:a.value.baseLowestLevel,"onUpdate:modelValue":e[12]||(e[12]=n=>a.value.baseLowestLevel=n),placeholder:"请选择",class:"w-full"},{default:s(()=>{var n;return[(p(!0),D(h,null,ee((n=_.dictionaryList)==null?void 0:n.filter(d=>d.type==="LINK_UP_LEVEL"),(d,j)=>(p(),m(B,{key:j,label:d.label,value:d.value},null,8,["label","value"]))),128))]}),_:1},8,["modelValue"])]),_:1}))]}),_:1})),t(b,{span:24},{default:s(()=>[a.value.missing?(p(),m(u,{key:1,label:"历年项目名称",prop:"missing"},{default:s(()=>[e[32]||(e[32]=c("span",{class:"text-[#666666]"},"是否缺失:",-1)),t(Y,{modelValue:a.value.missing,"onUpdate:modelValue":e[14]||(e[14]=l=>a.value.missing=l)},null,8,["modelValue"])]),_:1})):(p(),m(u,{key:0,label:"历年项目名称",prop:"baseHistorProjs"},{default:s(()=>[e[31]||(e[31]=c("span",{class:"text-[#666666]"},"是否缺失:",-1)),t(Y,{modelValue:a.value.missing,"onUpdate:modelValue":e[13]||(e[13]=l=>a.value.missing=l)},null,8,["modelValue"]),c("p",Fe,[t(P,{type:"primary",onClick:ye},{default:s(()=>e[30]||(e[30]=[V("关联历年项目")])),_:1})]),t(x,{pagination:!1,style:{width:"100%"},column:ve,data:a.value.baseHistorProjs,"empty-temp":!1},{action:s(({scope:l})=>[c("a",{class:"text-danger",onClick:o=>we(l.$index)},"删除",8,Oe)]),_:1},8,["data"])]),_:1}))]),_:1}),t(b,{span:24},{default:s(()=>[t(u,{label:"预算来源",prop:"baseProjAmountOri"},{default:s(()=>[t(Q,{modelValue:a.value.baseProjAmountOri,"onUpdate:modelValue":e[15]||(e[15]=l=>a.value.baseProjAmountOri=l)},{default:s(()=>{var l;return[(p(!0),D(h,null,ee((l=_.dictionaryList)==null?void 0:l.filter(o=>o.type==="BUDGET_SOURCE"),(o,n)=>(p(),m(z,{key:n,label:o.value},{default:s(()=>[V(T(o.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),t(b,{span:24},{default:s(()=>{var l;return[(l=a.value.baseProjAmountOri)!=null&&l.includes("00")?(p(),m(u,{key:0,label:"预算来源说明",prop:"baseBasisAmountOri"},{default:s(()=>[t(f,{modelValue:a.value.baseBasisAmountOri,"onUpdate:modelValue":e[16]||(e[16]=o=>a.value.baseBasisAmountOri=o),type:"textarea","show-word-limit":"",placeholder:"请填写",maxlength:150},null,8,["modelValue"])]),_:1})):(p(),m(u,{key:1,label:"预算来源说明"},{default:s(()=>[t(f,{modelValue:a.value.baseBasisAmountOri,"onUpdate:modelValue":e[17]||(e[17]=o=>a.value.baseBasisAmountOri=o),type:"textarea","show-word-limit":"",placeholder:"请填写",maxlength:150},null,8,["modelValue"])]),_:1}))]}),_:1}),t(b,{span:24},{default:s(()=>[t(u,{label:"立项依据",prop:"baseProjBasis"},{default:s(()=>[t(x,{ref_key:"tableListRef",ref:pe,pagination:!1,style:{width:"100%"},column:je,data:L.value,onSelectionChange:Pe},{fileName:s(({scope:l})=>[a.value.baseProjBasis&&a.value.baseProjBasis.map(o=>o.value).includes(l.row.value)?(p(),m(u,{key:0},{default:s(()=>{var o,n,d;return[t(f,{value:(d=(n=(o=a.value.baseProjBasis[a.value.baseProjBasis.findIndex(j=>j.value===l.row.value)])==null?void 0:o.fileList)==null?void 0:n[0])==null?void 0:d.name,placeholder:"请输入",maxlength:50,disabled:!0},null,8,["value"])]}),_:2},1024)):(p(),m(f,{key:1,disabled:!0}))]),action:s(({scope:l})=>[a.value.baseProjBasis&&a.value.baseProjBasis.map(o=>o.value).includes(l.row.value)?(p(),m(u,{key:0,class:"basicUploadItem",rules:{required:!0,message:"请上传"},prop:`baseProjBasis[${a.value.baseProjBasis.findIndex(o=>o.value===l.row.value)}].fileList`},{default:s(()=>[t(w,{ref:"materialUploadRef","file-list":a.value.baseProjBasis[a.value.baseProjBasis.findIndex(o=>o.value===l.row.value)].fileList,"onUpdate:fileList":o=>a.value.baseProjBasis[a.value.baseProjBasis.findIndex(n=>n.value===l.row.value)].fileList=o,class:"flex items-center flex-col w-full",action:i(N),"on-success":o=>i($)(o,a.value.baseProjBasis[a.value.baseProjBasis.findIndex(n=>n.value===l.row.value)].fileList,!0),"on-error":i(M),"before-upload":o=>i(H)(o,{types:i(y)}),accept:i(y).map(o=>`.${o}`).join(","),limit:1,"on-preview":i(J)},{trigger:s(()=>e[33]||(e[33]=[c("div",null,[c("a",null,"上传")],-1)])),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview"])]),_:2},1032,["prop"])):(p(),D("span",Ae,"上传"))]),_:1},8,["data"])]),_:1})]),_:1}),t(b,{span:24},{default:s(()=>[t(u,{label:"立项依据说明",prop:"baseBasisEstablish"},{default:s(()=>[t(f,{modelValue:a.value.baseBasisEstablish,"onUpdate:modelValue":e[18]||(e[18]=l=>a.value.baseBasisEstablish=l),type:"textarea","show-word-limit":"",placeholder:"请填写",maxlength:150},null,8,["modelValue"])]),_:1})]),_:1}),t(b,{span:24},{default:s(()=>[t(u,{label:"项目概述",prop:"baseProjIntro"},{default:s(()=>[t(f,{modelValue:a.value.baseProjIntro,"onUpdate:modelValue":e[19]||(e[19]=l=>a.value.baseProjIntro=l),type:"textarea","show-word-limit":"",placeholder:"请填写",maxlength:2e3},null,8,["modelValue"])]),_:1})]),_:1}),t(b,{span:24},{default:s(()=>[a.value.baseProjSetYear*1>=2023?(p(),m(u,{key:0,label:"项目内容与预期成效",prop:"beseExpectedResults"},{default:s(()=>[t(x,{pagination:!1,style:{width:"100%"},column:ue,data:a.value.beseExpectedResults,"empty-temp":!1},{action:s(({scope:l})=>[c("a",{onClick:o=>K(l.row,l.$index)},"编辑",8,De),c("a",{class:"text-danger",onClick:o=>ne(l.$index)},"删除",8,Ne)]),_:1},8,["data"]),c("p",Ue,[t(P,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:e[20]||(e[20]=()=>K())},{default:s(()=>e[34]||(e[34]=[V("添加")])),_:1})])]),_:1})):(p(),m(u,{key:1,label:"项目内容与预期成效"},{default:s(()=>[t(x,{pagination:!1,style:{width:"100%"},column:ue,data:a.value.beseExpectedResults,"empty-temp":!1},{action:s(({scope:l})=>[c("a",{onClick:o=>K(l.row,l.$index)},"编辑",8,Ee),c("a",{class:"text-danger",onClick:o=>ne(l.$index)},"删除",8,Se)]),_:1},8,["data"]),c("p",Ye,[t(P,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:e[21]||(e[21]=()=>K())},{default:s(()=>e[35]||(e[35]=[V("添加")])),_:1})])]),_:1}))]),_:1}),t(b,{span:8},{default:s(()=>{var l;return[a.value.baseProjSetYear*1<2023?(p(),m(u,{key:0,label:"项目申报书"},{default:s(()=>[t(w,{"file-list":a.value.baseProjApplyFile,"onUpdate:fileList":e[22]||(e[22]=o=>a.value.baseProjApplyFile=o),class:"w-full",action:i(N),"on-success":o=>i($)(o,a.value.baseProjApplyFile),"on-error":i(M),"before-upload":o=>i(H)(o,{types:i(y)}),accept:i(y).map(o=>`.${o}`).join(","),limit:1,"on-preview":i(J)},{tip:s(()=>[c("div",Re,"支持"+T(i(ae))+"文件",1)]),default:s(()=>[t(P,{type:"primary",class:"mr-4",plain:""},{default:s(()=>e[36]||(e[36]=[V("上传文件")])),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1})):a.value.baseProjSetYear*1>=2023&&["01","02","04","05"].includes((l=_.basicInfoData)==null?void 0:l.baseProjType)?(p(),m(u,{key:1,label:"项目申报书",prop:"baseProjApplyFile"},{default:s(()=>[t(w,{"file-list":a.value.baseProjApplyFile,"onUpdate:fileList":e[23]||(e[23]=o=>a.value.baseProjApplyFile=o),class:"w-full",action:i(N),"on-success":o=>i($)(o,a.value.baseProjApplyFile),"on-error":i(M),"before-upload":o=>i(H)(o,{types:i(y)}),accept:i(y).map(o=>`.${o}`).join(","),limit:1,"on-preview":i(J)},{tip:s(()=>[c("div",qe,"支持"+T(i(ae))+"文件",1)]),default:s(()=>[t(P,{type:"primary",class:"mr-4",plain:""},{default:s(()=>e[37]||(e[37]=[V("上传文件")])),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1})):ie("",!0)]}),_:1}),ie("",!0),t(b,{span:8},{default:s(()=>[t(u,{label:"运维方案",prop:"baseOperatMaintenFile"},{default:s(()=>[t(w,{"file-list":a.value.baseOperatMaintenFile,"onUpdate:fileList":e[25]||(e[25]=l=>a.value.baseOperatMaintenFile=l),class:"w-full",action:i(N),"on-success":l=>i($)(l,a.value.baseOperatMaintenFile),"on-error":i(M),"before-upload":l=>i(H)(l,{types:i(y)}),accept:i(y).map(l=>`.${l}`).join(","),limit:1,"on-preview":i(J)},{tip:s(()=>[c("div",Ie,"支持"+T(i(ae))+"文件",1)]),default:s(()=>[t(P,{type:"primary",class:"mr-4",plain:""},{default:s(()=>e[39]||(e[39]=[V("上传文件")])),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1})]),_:1}),t(b,{span:8},{default:s(()=>[t(u,{label:"其他附件"},{default:s(()=>[t(w,{"file-list":a.value.baseProjOtherFile,"onUpdate:fileList":e[26]||(e[26]=l=>a.value.baseProjOtherFile=l),class:"w-full",action:i(N),"on-success":l=>i($)(l,a.value.baseProjOtherFile),"on-error":i(M),"before-upload":l=>i(H)(l,{types:i(y)}),accept:i(y).map(l=>`.${l}`).join(","),multiple:"","on-preview":i(J)},{tip:s(()=>[c("div",he,"支持"+T(i(ae))+"文件",1)]),default:s(()=>[t(P,{type:"primary",class:"mr-4",plain:""},{default:s(()=>e[40]||(e[40]=[V("上传文件")])),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1})]),_:1}),t(b,{span:24},{default:s(()=>[t(u,{label:"备注"},{default:s(()=>[t(f,{modelValue:a.value.baseProjRemark,"onUpdate:modelValue":e[27]||(e[27]=l=>a.value.baseProjRemark=l),type:"textarea",placeholder:"请输入"},null,8,["modelValue"])]),_:1})]),_:1})]}),_:1})]),_:1},8,["model","rules"]),t(ke,{visible:U.visible,data:U.data,onGetProjectList:_e,onClose:e[28]||(e[28]=C=>U.visible=!1)},null,8,["visible","data"]),t(Be,{visible:E.visible,data:E.data,onSetContent:ge,onClose:e[29]||(e[29]=C=>E.visible=!1)},null,8,["visible","data"])],64)}}});export{Ke as default};
|