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 line
22KB

  1. import{d as Ce,D as Le,r as O,b as me,L as Z,c as v,e as p,f as A,h as t,i as s,V as re,I as m,F as I,J as ee,k as ie,g as c,j as V,t as T,u as i}from"./index.622ee9e7.js";import ke from"./relatedProjectDialog.bdef2a17.js";import Be from"./projectContentDialog.cffe974e.js";import{r as ae,h as $,i as M,f as H,c as y,b as J,e as le}from"./uploadAction.44c3f16c.js";import"./renewalProjectCapitalDeclare.a2b753c6.js";const he=c("span",{class:"text-[#666666]"},"\u662F\u5426\u7F3A\u5931\uFF1A",-1),Fe={class:"text-right w-full mb-8"},Oe=["onClick"],Ae=c("span",{class:"text-[#666666]"},"\u662F\u5426\u7F3A\u5931\uFF1A",-1),De=c("div",null,[c("a",null,"\u4E0A\u4F20")],-1),Ne={key:1,class:"text-info cursor-not-allowed"},Ue=["onClick"],Se=["onClick"],Ye={class:"text-right w-full mt-8"},Ee=["onClick"],Re=["onClick"],qe={class:"text-right w-full mt-8"},Ie={class:"el-upload__tip"},Te={class:"el-upload__tip"};const $e={class:"el-upload__tip"},Me={class:"el-upload__tip"},He=Ce({name:"projectCollectionEnterBasicInfo"}),We=Object.assign(He,{props:{detail:{type:Object},basicInfoData:{type:Object},dictionaryList:{type:Array,default:()=>[]}},emits:["getProYear"],setup(_,{expose:fe,emit:ce}){const G=_,D=Le.dictStore.uploadUrl,se=O(),a=O({baseHistorProjs:[],beseExpectedResults:[]}),te=O({baseProjTime:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8D77\u6B62\u65F6\u95F4"}],baseProjSetYear:[{required:!0,message:"\u8BF7\u9009\u62E9\u9884\u7B97\u5E74\u5EA6"}],baseProjTotalAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u9879\u76EE\u603B\u6295\u8D44"}],baseProjDeclAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u7533\u62A5\u5E74\u5EA6\u9884\u7B97"}],baseProjConsClass:[{required:!0,message:"\u8BF7\u9009\u62E9\u5EFA\u8BBE\u5C42\u7EA7"}],baseLowestLevel:[{required:!0,message:"\u8BF7\u9009\u62E9\u8D2F\u901A\u5C42\u7EA7"}],baseProjAmountOri:[{required:!0,message:"\u8BF7\u9009\u62E9\u9884\u7B97\u6765\u6E90"}],baseBasisAmountOri:[{required:!0,message:"\u8BF7\u586B\u5199\u9884\u7B97\u6765\u6E90\u8BF4\u660E"}],baseProjBasis:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ACB\u9879\u4F9D\u636E"}],baseBasisEstablish:[{required:!0,message:"\u8BF7\u586B\u5199\u7ACB\u9879\u4F9D\u636E\u8BF4\u660E"}],baseProjIntro:[{required:!0,message:"\u8BF7\u586B\u5199\u9879\u76EE\u6982\u8FF0"}],beseExpectedResults:[{required:!0,message:"\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548"}],baseOperatMaintenFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}],baseHistorProjs:[{required:!0,message:"\u8BF7\u5173\u8054\u9879\u76EE",type:"array"}],baseProjApplyFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}]}),ve=[{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u9879\u76EE\u540D\u79F0",prop:"baseProjName",key:"baseProjName"},{label:"\u9884\u7B97\u5E74\u5EA6",prop:"baseProjSetYear",key:"baseProjSetYear"},{label:"\u64CD\u4F5C",slot:"action",key:"action"}],je=[{type:"selection"},{label:"\u4F9D\u636E\u9879",key:"title",prop:"title"},{label:"\u4F9D\u636E\u6587\u4EF6\u540D",slot:"fileName"},{label:"\u6587\u4EF6\uFF08\u652F\u6301word\u3001pdf\u683C\u5F0F\uFF09",slot:"action",width:300}],L=O([{id:1,title:"\u653F\u7B56\u3001\u6CD5\u89C4",fileName:"",fileList:[]},{id:2,title:"\u89C4\u5212\u6216\u51B3\u7B56\u90E8\u7F72",fileName:"",fileList:[]},{id:3,title:"\u4E0A\u7EA7\u4E0B\u8FBE\u4EFB\u52A1",fileName:"",fileList:[]},{id:4,title:"\u9886\u5BFC\u6279\u793A",fileName:"",fileList:[]},{id:5,title:"\u5355\u4F4D\u6838\u5FC3\u4E1A\u52A1\u6216\u5355\u4F4D\u804C\u80FD",fileName:"",fileList:[]},{id:6,title:"\u5176\u4ED6",fileName:"",fileList:[]}]),Pe=r=>{a.value.baseProjBasis=r.map(l=>l)},ue=[{label:"\u9879\u76EE\u4E3B\u8981\u5185\u5BB9",prop:"mainContent",key:"mainContent"},{label:"\u4E1A\u52A1\u5BF9\u8C61",prop:"businessObject",key:"businessObject"},{label:"\u64CD\u4F5C",slot:"action",key:"action"}],N=me({visible:!1}),ye=()=>{N.visible=!0,N.data=a.value.baseHistorProjs},_e=r=>{a.value.baseHistorProjs=r.map(l=>({baseProjName:l.projectName,baseProjSetYear:l.projectYear,baseProjId:l.id}))},we=r=>{a.value.baseHistorProjs.splice(r,1)},U=me({visible:!1,data:void 0}),oe=O(),K=(r,l)=>{U.data=r,U.visible=!0,oe.value=l},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=O();return fe({formRef:se,formData:a}),Z(()=>G.dictionaryList,r=>{var l;r&&(L.value=[],(l=G.dictionaryList)==null||l.filter(f=>f.type==="PROJECT_BASIS").forEach(f=>{L.value.push({title:f.label,fileName:"",fileList:[],value:f.value})}))}),Z(()=>G.detail,r=>{var l,f,u,b,S,k,B,h,Y,P,x,z,Q,w,W,X,C,E,R,q,e;if(r){a.value={...r.apply,baseProjTime:(l=r.apply)!=null&&l.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("\uFF1B").map((n,d)=>{var j,g;return{baseProjId:n,baseProjName:(j=r.apply)==null?void 0:j.baseHistorProjName.split("\uFF1B")[d],baseProjSetYear:(g=r.apply)==null?void 0:g.baseHistorProjYear.split("\uFF1B")[d]}}))||[],baseProjAmountOri:((k=r.apply)==null?void 0:k.baseProjAmountOri)&&((h=(B=r.apply)==null?void 0:B.baseProjAmountOri)==null?void 0:h.split("\uFF1B")),baseProjBasis:(x=(P=(Y=r.apply)==null?void 0:Y.baseProjBasis)==null?void 0:P.split("\uFF1B"))==null?void 0:x.map((n,d)=>{var g,F,de,be;const j=`[${(g=r.apply)==null?void 0:g.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(de=(F=L.value)==null?void 0:F.find(xe=>xe.value===n))==null?void 0:de.title,fileList:(be=r.apply)!=null&&be.baseProjBasisFile?ae(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?ae(JSON.parse(r.apply.baseProjApplyFile)):[],baseOperatMaintenFile:(W=r.apply)!=null&&W.baseOperatMaintenFile?ae(JSON.parse(r.apply.baseOperatMaintenFile)):[],baseProjOtherFile:(X=r.apply)!=null&&X.baseProjOtherFile?ae(JSON.parse(r.apply.baseProjOtherFile)):[]};const o=a.value.baseProjBasis?JSON.parse(JSON.stringify(a.value.baseProjBasis)):[];if((R=(E=(C=r.apply)==null?void 0:C.baseProjBasis)==null?void 0:E.split("\uFF1B"))!=null&&R.length){const n=(e=(q=r.apply)==null?void 0:q.baseProjBasis)==null?void 0:e.split("\uFF1B");L.value&&L.value.forEach(d=>{var j,g;n.includes(d.value)&&(d.fileList=(j=o.find(F=>F.value===d.value))==null?void 0:j.fileList,d.fileName=(g=o.find(F=>F.value===d.value))==null?void 0:g.fileName,pe.value.toggleRowSelect(d,!0))})}}}),Z(()=>G.basicInfoData,r=>{var l;r.baseProjIsConfidentiality==="02"?te.value={}:te.value={baseProjTime:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8D77\u6B62\u65F6\u95F4"}],baseProjSetYear:[{required:!0,message:"\u8BF7\u9009\u62E9\u9884\u7B97\u5E74\u5EA6"}],baseProjDeclAmount:[{required:!0,message:"\u8BF7\u586B\u5199\u7533\u62A5\u5E74\u5EA6\u9884\u7B97"}],baseProjConsClass:[{required:!0,message:"\u8BF7\u9009\u62E9\u5EFA\u8BBE\u5C42\u7EA7"}],baseLowestLevel:[{required:!0,message:"\u8BF7\u9009\u62E9\u8D2F\u901A\u5C42\u7EA7"}],baseProjAmountOri:[{required:!0,message:"\u8BF7\u9009\u62E9\u9884\u7B97\u6765\u6E90"}],baseBasisAmountOri:[{required:!0,message:"\u8BF7\u586B\u5199\u9884\u7B97\u6765\u6E90\u8BF4\u660E"}],baseProjBasis:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ACB\u9879\u4F9D\u636E"}],baseBasisEstablish:[{required:!0,message:"\u8BF7\u586B\u5199\u7ACB\u9879\u4F9D\u636E\u8BF4\u660E"}],baseProjIntro:[{required:!0,message:"\u8BF7\u586B\u5199\u9879\u76EE\u6982\u8FF0"}],beseExpectedResults:[{required:!0,message:"\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548"}],baseOperatMaintenFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}],baseHistorProjs:[{required:!0,message:"\u8BF7\u5173\u8054\u9879\u76EE",type:"array"}],baseProjApplyFile:[{required:!0,message:"\u8BF7\u4E0A\u4F20"}]},(l=se.value)==null||l.clearValidate()},{deep:!0}),Z(()=>a.value.baseProjSetYear,r=>{Ve("getProYear",r)}),(r,l)=>{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"),h=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(),A(I,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,E,R,q;return[t(b,{span:8},{default:s(()=>[t(u,{label:"\u53D1\u6539\u7F16\u7801",prop:"baseDevelopCode"},{default:s(()=>[t(f,{modelValue:a.value.baseDevelopCode,"onUpdate:modelValue":l[0]||(l[0]=e=>a.value.baseDevelopCode=e),placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1}),t(b,{span:8},{default:s(()=>[t(u,{label:"\u8D22\u653F\u7F16\u7801",prop:"setProjCodeFinan"},{default:s(()=>[t(f,{modelValue:a.value.setProjCodeFinan,"onUpdate:modelValue":l[1]||(l[1]=e=>a.value.setProjCodeFinan=e),placeholder:"\u8BF7\u586B\u5199"},null,8,["modelValue"])]),_:1})]),_:1}),t(b,{span:8},{default:s(()=>[t(u,{label:"\u9879\u76EE\u8D77\u6B62\u65F6\u95F4",prop:"baseProjTime"},{default:s(()=>[t(S,{modelValue:a.value.baseProjTime,"onUpdate:modelValue":l[2]||(l[2]=e=>a.value.baseProjTime=e),type:"daterange","range-separator":"-","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD"},null,8,["modelValue"])]),_:1})]),_:1}),t(b,{span:8},{default:s(()=>[t(u,{label:"\u9884\u7B97\u5E74\u5EA6",prop:"baseProjSetYear"},{default:s(()=>[t(S,{modelValue:a.value.baseProjSetYear,"onUpdate:modelValue":l[3]||(l[3]=e=>a.value.baseProjSetYear=e),type:"year",placeholder:"\u8BF7\u9009\u62E9",format:"YYYY","value-format":"YYYY"},null,8,["modelValue"])]),_:1})]),_:1}),t(b,{span:8},{default:s(()=>[t(u,{label:"\u9879\u76EE\u603B\u6295\u8D44",prop:"baseProjTotalAmount"},{default:s(()=>[t(k,{modelValue:a.value.baseProjTotalAmount,"onUpdate:modelValue":l[4]||(l[4]=e=>a.value.baseProjTotalAmount=e),placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,class:"input-amount",onMousewheel:l[5]||(l[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:"\u7533\u62A5\u5E74\u5EA6\u9884\u7B97",prop:"baseProjDeclAmount"},{default:s(()=>[t(k,{modelValue:a.value.baseProjDeclAmount,"onUpdate:modelValue":l[6]||(l[6]=e=>a.value.baseProjDeclAmount=e),placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,class:"input-amount",onMousewheel:l[7]||(l[7]=re(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})):(p(),m(u,{key:"baseProjDeclAmount2",label:"\u7533\u62A5\u5E74\u5EA6\u9884\u7B97"},{default:s(()=>[t(k,{modelValue:a.value.baseProjDeclAmount,"onUpdate:modelValue":l[8]||(l[8]=e=>a.value.baseProjDeclAmount=e),placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,class:"input-amount",onMousewheel:l[9]||(l[9]=re(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1}))]),_:1}),t(b,{span:8},{default:s(()=>[t(u,{label:"\u5EFA\u8BBE\u5C42\u7EA7",prop:"baseProjConsClass"},{default:s(()=>[t(h,{modelValue:a.value.baseProjConsClass,"onUpdate:modelValue":l[10]||(l[10]=e=>a.value.baseProjConsClass=e),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:s(()=>{var e;return[(p(!0),A(I,null,ee((e=_.dictionaryList)==null?void 0:e.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}),((E=(C=_.basicInfoData)==null?void 0:C.baseConstructionType)==null?void 0:E.includes("03"))&&!((q=(R=_.basicInfoData)==null?void 0:R.baseConstructionType)!=null&&q.includes("01"))?ie("",!0):(p(),m(b,{key:0,span:8},{default:s(()=>{var e,o;return[(o=(e=_.basicInfoData)==null?void 0:e.baseConstructionType)!=null&&o.includes("01")?(p(),m(u,{key:0,label:"\u8D2F\u901A\u5C42\u7EA7",prop:"baseLowestLevel"},{default:s(()=>[t(h,{modelValue:a.value.baseLowestLevel,"onUpdate:modelValue":l[11]||(l[11]=n=>a.value.baseLowestLevel=n),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:s(()=>{var n;return[(p(!0),A(I,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:"\u8D2F\u901A\u5C42\u7EA7"},{default:s(()=>[t(h,{modelValue:a.value.baseLowestLevel,"onUpdate:modelValue":l[12]||(l[12]=n=>a.value.baseLowestLevel=n),placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:s(()=>{var n;return[(p(!0),A(I,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:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",prop:"missing"},{default:s(()=>[Ae,t(Y,{modelValue:a.value.missing,"onUpdate:modelValue":l[14]||(l[14]=e=>a.value.missing=e)},null,8,["modelValue"])]),_:1})):(p(),m(u,{key:0,label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",prop:"baseHistorProjs"},{default:s(()=>[he,t(Y,{modelValue:a.value.missing,"onUpdate:modelValue":l[13]||(l[13]=e=>a.value.missing=e)},null,8,["modelValue"]),c("p",Fe,[t(P,{type:"primary",onClick:ye},{default:s(()=>[V("\u5173\u8054\u5386\u5E74\u9879\u76EE")]),_:1})]),t(x,{pagination:!1,style:{width:"100%"},column:ve,data:a.value.baseHistorProjs,"empty-temp":!1},{action:s(({scope:e})=>[c("a",{class:"text-danger",onClick:o=>we(e.$index)},"\u5220\u9664",8,Oe)]),_:1},8,["data"])]),_:1}))]),_:1}),t(b,{span:24},{default:s(()=>[t(u,{label:"\u9884\u7B97\u6765\u6E90",prop:"baseProjAmountOri"},{default:s(()=>[t(Q,{modelValue:a.value.baseProjAmountOri,"onUpdate:modelValue":l[15]||(l[15]=e=>a.value.baseProjAmountOri=e)},{default:s(()=>{var e;return[(p(!0),A(I,null,ee((e=_.dictionaryList)==null?void 0:e.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 e;return[(e=a.value.baseProjAmountOri)!=null&&e.includes("00")?(p(),m(u,{key:0,label:"\u9884\u7B97\u6765\u6E90\u8BF4\u660E",prop:"baseBasisAmountOri"},{default:s(()=>[t(f,{modelValue:a.value.baseBasisAmountOri,"onUpdate:modelValue":l[16]||(l[16]=o=>a.value.baseBasisAmountOri=o),type:"textarea","show-word-limit":"",placeholder:"\u8BF7\u586B\u5199",maxlength:150},null,8,["modelValue"])]),_:1})):(p(),m(u,{key:1,label:"\u9884\u7B97\u6765\u6E90\u8BF4\u660E"},{default:s(()=>[t(f,{modelValue:a.value.baseBasisAmountOri,"onUpdate:modelValue":l[17]||(l[17]=o=>a.value.baseBasisAmountOri=o),type:"textarea","show-word-limit":"",placeholder:"\u8BF7\u586B\u5199",maxlength:150},null,8,["modelValue"])]),_:1}))]}),_:1}),t(b,{span:24},{default:s(()=>[t(u,{label:"\u7ACB\u9879\u4F9D\u636E",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:e})=>[a.value.baseProjBasis&&a.value.baseProjBasis.map(o=>o.value).includes(e.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===e.row.value)])==null?void 0:o.fileList)==null?void 0:n[0])==null?void 0:d.name,placeholder:"\u8BF7\u8F93\u5165",maxlength:50,disabled:!0},null,8,["value"])]}),_:2},1024)):(p(),m(f,{key:1,disabled:!0}))]),action:s(({scope:e})=>[a.value.baseProjBasis&&a.value.baseProjBasis.map(o=>o.value).includes(e.row.value)?(p(),m(u,{key:0,class:"basicUploadItem",rules:{required:!0,message:"\u8BF7\u4E0A\u4F20"},prop:`baseProjBasis[${a.value.baseProjBasis.findIndex(o=>o.value===e.row.value)}].fileList`},{default:s(()=>[t(w,{ref:"materialUploadRef","file-list":a.value.baseProjBasis[a.value.baseProjBasis.findIndex(o=>o.value===e.row.value)].fileList,"onUpdate:fileList":o=>a.value.baseProjBasis[a.value.baseProjBasis.findIndex(n=>n.value===e.row.value)].fileList=o,class:"flex items-center flex-col w-full",action:i(D),"on-success":o=>i($)(o,a.value.baseProjBasis[a.value.baseProjBasis.findIndex(n=>n.value===e.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(()=>[De]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview"])]),_:2},1032,["prop"])):(p(),A("span",Ne,"\u4E0A\u4F20"))]),_:1},8,["data"])]),_:1})]),_:1}),t(b,{span:24},{default:s(()=>[t(u,{label:"\u7ACB\u9879\u4F9D\u636E\u8BF4\u660E",prop:"baseBasisEstablish"},{default:s(()=>[t(f,{modelValue:a.value.baseBasisEstablish,"onUpdate:modelValue":l[18]||(l[18]=e=>a.value.baseBasisEstablish=e),type:"textarea","show-word-limit":"",placeholder:"\u8BF7\u586B\u5199",maxlength:150},null,8,["modelValue"])]),_:1})]),_:1}),t(b,{span:24},{default:s(()=>[t(u,{label:"\u9879\u76EE\u6982\u8FF0",prop:"baseProjIntro"},{default:s(()=>[t(f,{modelValue:a.value.baseProjIntro,"onUpdate:modelValue":l[19]||(l[19]=e=>a.value.baseProjIntro=e),type:"textarea","show-word-limit":"",placeholder:"\u8BF7\u586B\u5199",maxlength:2e3},null,8,["modelValue"])]),_:1})]),_:1}),t(b,{span:24},{default:s(()=>[a.value.baseProjSetYear*1>=2023?(p(),m(u,{key:0,label:"\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548",prop:"beseExpectedResults"},{default:s(()=>[t(x,{pagination:!1,style:{width:"100%"},column:ue,data:a.value.beseExpectedResults,"empty-temp":!1},{action:s(({scope:e})=>[c("a",{onClick:o=>K(e.row,e.$index)},"\u7F16\u8F91",8,Ue),c("a",{class:"text-danger",onClick:o=>ne(e.$index)},"\u5220\u9664",8,Se)]),_:1},8,["data"]),c("p",Ye,[t(P,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:l[20]||(l[20]=()=>K())},{default:s(()=>[V("\u6DFB\u52A0")]),_:1})])]),_:1})):(p(),m(u,{key:1,label:"\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548"},{default:s(()=>[t(x,{pagination:!1,style:{width:"100%"},column:ue,data:a.value.beseExpectedResults,"empty-temp":!1},{action:s(({scope:e})=>[c("a",{onClick:o=>K(e.row,e.$index)},"\u7F16\u8F91",8,Ee),c("a",{class:"text-danger",onClick:o=>ne(e.$index)},"\u5220\u9664",8,Re)]),_:1},8,["data"]),c("p",qe,[t(P,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:l[21]||(l[21]=()=>K())},{default:s(()=>[V("\u6DFB\u52A0")]),_:1})])]),_:1}))]),_:1}),t(b,{span:8},{default:s(()=>{var e;return[a.value.baseProjSetYear*1<2023?(p(),m(u,{key:0,label:"\u9879\u76EE\u7533\u62A5\u4E66"},{default:s(()=>[t(w,{"file-list":a.value.baseProjApplyFile,"onUpdate:fileList":l[22]||(l[22]=o=>a.value.baseProjApplyFile=o),class:"w-full",action:i(D),"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",Ie,"\u652F\u6301"+T(i(le))+"\u6587\u4EF6",1)]),default:s(()=>[t(P,{type:"primary",class:"mr-4",plain:""},{default:s(()=>[V("\u4E0A\u4F20\u6587\u4EF6")]),_: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((e=_.basicInfoData)==null?void 0:e.baseProjType)?(p(),m(u,{key:1,label:"\u9879\u76EE\u7533\u62A5\u4E66",prop:"baseProjApplyFile"},{default:s(()=>[t(w,{"file-list":a.value.baseProjApplyFile,"onUpdate:fileList":l[23]||(l[23]=o=>a.value.baseProjApplyFile=o),class:"w-full",action:i(D),"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",Te,"\u652F\u6301"+T(i(le))+"\u6587\u4EF6",1)]),default:s(()=>[t(P,{type:"primary",class:"mr-4",plain:""},{default:s(()=>[V("\u4E0A\u4F20\u6587\u4EF6")]),_: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:"\u8FD0\u7EF4\u65B9\u6848",prop:"baseOperatMaintenFile"},{default:s(()=>[t(w,{"file-list":a.value.baseOperatMaintenFile,"onUpdate:fileList":l[25]||(l[25]=e=>a.value.baseOperatMaintenFile=e),class:"w-full",action:i(D),"on-success":e=>i($)(e,a.value.baseOperatMaintenFile),"on-error":i(M),"before-upload":e=>i(H)(e,{types:i(y)}),accept:i(y).map(e=>`.${e}`).join(","),limit:1,"on-preview":i(J)},{tip:s(()=>[c("div",$e,"\u652F\u6301"+T(i(le))+"\u6587\u4EF6",1)]),default:s(()=>[t(P,{type:"primary",class:"mr-4",plain:""},{default:s(()=>[V("\u4E0A\u4F20\u6587\u4EF6")]),_: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:"\u5176\u4ED6\u9644\u4EF6"},{default:s(()=>[t(w,{"file-list":a.value.baseProjOtherFile,"onUpdate:fileList":l[26]||(l[26]=e=>a.value.baseProjOtherFile=e),class:"w-full",action:i(D),"on-success":e=>i($)(e,a.value.baseProjOtherFile),"on-error":i(M),"before-upload":e=>i(H)(e,{types:i(y)}),accept:i(y).map(e=>`.${e}`).join(","),multiple:"","on-preview":i(J)},{tip:s(()=>[c("div",Me,"\u652F\u6301"+T(i(le))+"\u6587\u4EF6",1)]),default:s(()=>[t(P,{type:"primary",class:"mr-4",plain:""},{default:s(()=>[V("\u4E0A\u4F20\u6587\u4EF6")]),_: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:"\u5907\u6CE8"},{default:s(()=>[t(f,{modelValue:a.value.baseProjRemark,"onUpdate:modelValue":l[27]||(l[27]=e=>a.value.baseProjRemark=e),type:"textarea",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]}),_:1})]),_:1},8,["model","rules"]),t(ke,{visible:N.visible,data:N.data,onGetProjectList:_e,onClose:l[28]||(l[28]=C=>N.visible=!1)},null,8,["visible","data"]),t(Be,{visible:U.visible,data:U.data,onSetContent:ge,onClose:l[29]||(l[29]=C=>U.visible=!1)},null,8,["visible","data"])],64)}}});export{We as default};