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

  1. var he=Object.defineProperty,Fe=Object.defineProperties;var Oe=Object.getOwnPropertyDescriptors;var ce=Object.getOwnPropertySymbols;var Ae=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable;var ve=(f,P,_)=>P in f?he(f,P,{enumerable:!0,configurable:!0,writable:!0,value:_}):f[P]=_,je=(f,P)=>{for(var _ in P||(P={}))Ae.call(P,_)&&ve(f,_,P[_]);if(ce)for(var _ of ce(P))De.call(P,_)&&ve(f,_,P[_]);return f},Pe=(f,P)=>Fe(f,Oe(P));import{d as Ne,D as Ue,r as D,b as ye,L as ae,c as j,e as p,f as N,h as t,i as s,Y as ue,I as m,F as $,J as le,k as ne,g as v,j as C,t as M,u as i}from"./index.3fb2f955.js";import Ye from"./relatedProjectDialog.6d1c3d81.js";import Se from"./projectContentDialog.513dc0f1.js";import{r as se,h as H,i as J,f as G,c as g,b as K,e as te}from"./uploadAction.60e17da5.js";import"./renewalProjectCapitalDeclare.6280d2e0.js";const Ee=v("span",{class:"text-[#666666]"},"\u662F\u5426\u7F3A\u5931\uFF1A",-1),Re={class:"text-right w-full mb-8"},qe=["onClick"],Ie=v("span",{class:"text-[#666666]"},"\u662F\u5426\u7F3A\u5931\uFF1A",-1),Te=v("div",null,[v("a",null,"\u4E0A\u4F20")],-1),$e={key:1,class:"text-info cursor-not-allowed"},Me=["onClick"],He=["onClick"],Je={class:"text-right w-full mt-8"},Ge=["onClick"],Ke=["onClick"],ze={class:"text-right w-full mt-8"},Qe={class:"el-upload__tip"},We={class:"el-upload__tip"};const Xe={class:"el-upload__tip"},Ze={class:"el-upload__tip"},ea=Ne({name:"projectCollectionEnterBasicInfo"}),ia=Object.assign(ea,{props:{detail:{type:Object},basicInfoData:{type:Object},dictionaryList:{type:Array,default:()=>[]}},emits:["getProYear"],setup(f,{expose:P,emit:_}){const z=f,U=Ue.dictStore.uploadUrl,oe=D(),a=D({baseHistorProjs:[],beseExpectedResults:[]}),re=D({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"}]}),_e=[{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"}],we=[{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}],B=D([{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:[]}]),ge=r=>{a.value.baseProjBasis=r.map(l=>l)},pe=[{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"}],Y=ye({visible:!1}),Ve=()=>{Y.visible=!0,Y.data=a.value.baseHistorProjs},xe=r=>{a.value.baseHistorProjs=r.map(l=>({baseProjName:l.projectName,baseProjSetYear:l.projectYear,baseProjId:l.id}))},Ce=r=>{a.value.baseHistorProjs.splice(r,1)},S=ye({visible:!1,data:void 0}),ie=D(),Q=(r,l)=>{S.data=r,S.visible=!0,ie.value=l},Le=r=>{ie.value===void 0?a.value.beseExpectedResults.push(r):a.value.beseExpectedResults[ie.value]=r},de=r=>{a.value.beseExpectedResults.splice(r,1)},ke=_,be=D();return P({formRef:oe,formData:a}),ae(()=>z.dictionaryList,r=>{var l;r&&(B.value=[],(l=z.dictionaryList)==null||l.filter(c=>c.type==="PROJECT_BASIS").forEach(c=>{B.value.push({title:c.label,fileName:"",fileList:[],value:c.value})}))}),ae(()=>z.detail,r=>{var l,c,u,b,E,h,F,O,R,w,L,W,X,V,Z,ee,k,q,I,T,e;if(r){a.value=Pe(je({},r.apply),{baseProjTime:(l=r.apply)!=null&&l.baseProjStartTime?[(c=r.apply)==null?void 0:c.baseProjStartTime.slice(0,10),(u=r.apply)==null?void 0:u.baseProjEndTime.slice(0,10)]:[],baseHistorProjs:((E=(b=r.apply)==null?void 0:b.baseHistorProjId)==null?void 0:E.split("\uFF1B").map((n,d)=>{var y,x;return{baseProjId:n,baseProjName:(y=r.apply)==null?void 0:y.baseHistorProjName.split("\uFF1B")[d],baseProjSetYear:(x=r.apply)==null?void 0:x.baseHistorProjYear.split("\uFF1B")[d]}}))||[],baseProjAmountOri:((h=r.apply)==null?void 0:h.baseProjAmountOri)&&((O=(F=r.apply)==null?void 0:F.baseProjAmountOri)==null?void 0:O.split("\uFF1B")),baseProjBasis:(L=(w=(R=r.apply)==null?void 0:R.baseProjBasis)==null?void 0:w.split("\uFF1B"))==null?void 0:L.map((n,d)=>{var x,A,me,fe;const y=`[${(x=r.apply)==null?void 0:x.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(me=(A=B.value)==null?void 0:A.find(Be=>Be.value===n))==null?void 0:me.title,fileList:(fe=r.apply)!=null&&fe.baseProjBasisFile?se(JSON.parse(y)[d]):[],value:n}}),beseExpectedResults:((W=r.apply)==null?void 0:W.beseExpectedResults)&&JSON.parse((X=r.apply)==null?void 0:X.beseExpectedResults)||[],baseProjApplyFile:(V=r.apply)!=null&&V.baseProjApplyFile?se(JSON.parse(r.apply.baseProjApplyFile)):[],baseOperatMaintenFile:(Z=r.apply)!=null&&Z.baseOperatMaintenFile?se(JSON.parse(r.apply.baseOperatMaintenFile)):[],baseProjOtherFile:(ee=r.apply)!=null&&ee.baseProjOtherFile?se(JSON.parse(r.apply.baseProjOtherFile)):[]});const o=a.value.baseProjBasis?JSON.parse(JSON.stringify(a.value.baseProjBasis)):[];if((I=(q=(k=r.apply)==null?void 0:k.baseProjBasis)==null?void 0:q.split("\uFF1B"))!=null&&I.length){const n=(e=(T=r.apply)==null?void 0:T.baseProjBasis)==null?void 0:e.split("\uFF1B");B.value&&B.value.forEach(d=>{var y,x;n.includes(d.value)&&(d.fileList=(y=o.find(A=>A.value===d.value))==null?void 0:y.fileList,d.fileName=(x=o.find(A=>A.value===d.value))==null?void 0:x.fileName,be.value.toggleRowSelect(d,!0))})}}}),ae(()=>z.basicInfoData,r=>{var l;r.baseProjIsConfidentiality==="02"?re.value={}:re.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=oe.value)==null||l.clearValidate()},{deep:!0}),ae(()=>a.value.baseProjSetYear,r=>{ke("getProYear",r)}),(r,l)=>{const c=j("el-input"),u=j("el-form-item"),b=j("el-col"),E=j("el-date-picker"),h=j("el-input-number"),F=j("el-option"),O=j("el-select"),R=j("el-switch"),w=j("el-button"),L=j("table-list"),W=j("el-checkbox"),X=j("el-checkbox-group"),V=j("el-upload"),Z=j("el-row"),ee=j("el-form");return p(),N($,null,[t(ee,{ref_key:"formRef",ref:oe,model:a.value,rules:re.value,"label-position":"top","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:s(()=>[t(Z,{gutter:40},{default:s(()=>{var k,q,I,T;return[t(b,{span:8},{default:s(()=>[t(u,{label:"\u53D1\u6539\u7F16\u7801",prop:"baseDevelopCode"},{default:s(()=>[t(c,{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(c,{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(E,{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(E,{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(h,{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]=ue(()=>{},["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(h,{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]=ue(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})):(p(),m(u,{key:"baseProjDeclAmount2",label:"\u7533\u62A5\u5E74\u5EA6\u9884\u7B97"},{default:s(()=>[t(h,{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]=ue(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1}))]),_:1}),t(b,{span:8},{default:s(()=>[t(u,{label:"\u5EFA\u8BBE\u5C42\u7EA7",prop:"baseProjConsClass"},{default:s(()=>[t(O,{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),N($,null,le((e=f.dictionaryList)==null?void 0:e.filter(o=>o.type==="BUILD_LEVEL"),(o,n)=>(p(),m(F,{key:n,label:o.label,value:o.value},null,8,["label","value"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),((q=(k=f.basicInfoData)==null?void 0:k.baseConstructionType)==null?void 0:q.includes("03"))&&!((T=(I=f.basicInfoData)==null?void 0:I.baseConstructionType)!=null&&T.includes("01"))?ne("",!0):(p(),m(b,{key:0,span:8},{default:s(()=>{var e,o;return[(o=(e=f.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(O,{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),N($,null,le((n=f.dictionaryList)==null?void 0:n.filter(d=>d.type==="LINK_UP_LEVEL"),(d,y)=>(p(),m(F,{key:y,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(O,{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),N($,null,le((n=f.dictionaryList)==null?void 0:n.filter(d=>d.type==="LINK_UP_LEVEL"),(d,y)=>(p(),m(F,{key:y,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(()=>[Ie,t(R,{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(()=>[Ee,t(R,{modelValue:a.value.missing,"onUpdate:modelValue":l[13]||(l[13]=e=>a.value.missing=e)},null,8,["modelValue"]),v("p",Re,[t(w,{type:"primary",onClick:Ve},{default:s(()=>[C("\u5173\u8054\u5386\u5E74\u9879\u76EE")]),_:1})]),t(L,{pagination:!1,style:{width:"100%"},column:_e,data:a.value.baseHistorProjs,"empty-temp":!1},{action:s(({scope:e})=>[v("a",{class:"text-danger",onClick:o=>Ce(e.$index)},"\u5220\u9664",8,qe)]),_:1},8,["data"])]),_:1}))]),_:1}),t(b,{span:24},{default:s(()=>[t(u,{label:"\u9884\u7B97\u6765\u6E90",prop:"baseProjAmountOri"},{default:s(()=>[t(X,{modelValue:a.value.baseProjAmountOri,"onUpdate:modelValue":l[15]||(l[15]=e=>a.value.baseProjAmountOri=e)},{default:s(()=>{var e;return[(p(!0),N($,null,le((e=f.dictionaryList)==null?void 0:e.filter(o=>o.type==="BUDGET_SOURCE"),(o,n)=>(p(),m(W,{key:n,label:o.value},{default:s(()=>[C(M(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(c,{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(c,{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(L,{ref_key:"tableListRef",ref:be,pagination:!1,style:{width:"100%"},column:we,data:B.value,onSelectionChange:ge},{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(c,{value:(d=(n=(o=a.value.baseProjBasis[a.value.baseProjBasis.findIndex(y=>y.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(c,{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(V,{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(U),"on-success":o=>i(H)(o,a.value.baseProjBasis[a.value.baseProjBasis.findIndex(n=>n.value===e.row.value)].fileList,!0),"on-error":i(J),"before-upload":o=>i(G)(o,{types:i(g)}),accept:i(g).map(o=>`.${o}`).join(","),limit:1,"on-preview":i(K)},{trigger:s(()=>[Te]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview"])]),_:2},1032,["prop"])):(p(),N("span",$e,"\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(c,{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(c,{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(L,{pagination:!1,style:{width:"100%"},column:pe,data:a.value.beseExpectedResults,"empty-temp":!1},{action:s(({scope:e})=>[v("a",{onClick:o=>Q(e.row,e.$index)},"\u7F16\u8F91",8,Me),v("a",{class:"text-danger",onClick:o=>de(e.$index)},"\u5220\u9664",8,He)]),_:1},8,["data"]),v("p",Je,[t(w,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:l[20]||(l[20]=()=>Q())},{default:s(()=>[C("\u6DFB\u52A0")]),_:1})])]),_:1})):(p(),m(u,{key:1,label:"\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548"},{default:s(()=>[t(L,{pagination:!1,style:{width:"100%"},column:pe,data:a.value.beseExpectedResults,"empty-temp":!1},{action:s(({scope:e})=>[v("a",{onClick:o=>Q(e.row,e.$index)},"\u7F16\u8F91",8,Ge),v("a",{class:"text-danger",onClick:o=>de(e.$index)},"\u5220\u9664",8,Ke)]),_:1},8,["data"]),v("p",ze,[t(w,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:l[21]||(l[21]=()=>Q())},{default:s(()=>[C("\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(V,{"file-list":a.value.baseProjApplyFile,"onUpdate:fileList":l[22]||(l[22]=o=>a.value.baseProjApplyFile=o),class:"w-full",action:i(U),"on-success":o=>i(H)(o,a.value.baseProjApplyFile),"on-error":i(J),"before-upload":o=>i(G)(o,{types:i(g)}),accept:i(g).map(o=>`.${o}`).join(","),limit:1,"on-preview":i(K)},{tip:s(()=>[v("div",Qe,"\u652F\u6301"+M(i(te))+"\u6587\u4EF6",1)]),default:s(()=>[t(w,{type:"primary",class:"mr-4",plain:""},{default:s(()=>[C("\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=f.basicInfoData)==null?void 0:e.baseProjType)?(p(),m(u,{key:1,label:"\u9879\u76EE\u7533\u62A5\u4E66",prop:"baseProjApplyFile"},{default:s(()=>[t(V,{"file-list":a.value.baseProjApplyFile,"onUpdate:fileList":l[23]||(l[23]=o=>a.value.baseProjApplyFile=o),class:"w-full",action:i(U),"on-success":o=>i(H)(o,a.value.baseProjApplyFile),"on-error":i(J),"before-upload":o=>i(G)(o,{types:i(g)}),accept:i(g).map(o=>`.${o}`).join(","),limit:1,"on-preview":i(K)},{tip:s(()=>[v("div",We,"\u652F\u6301"+M(i(te))+"\u6587\u4EF6",1)]),default:s(()=>[t(w,{type:"primary",class:"mr-4",plain:""},{default:s(()=>[C("\u4E0A\u4F20\u6587\u4EF6")]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload","accept","on-preview"])]),_:1})):ne("",!0)]}),_:1}),ne("",!0),t(b,{span:8},{default:s(()=>[t(u,{label:"\u8FD0\u7EF4\u65B9\u6848",prop:"baseOperatMaintenFile"},{default:s(()=>[t(V,{"file-list":a.value.baseOperatMaintenFile,"onUpdate:fileList":l[25]||(l[25]=e=>a.value.baseOperatMaintenFile=e),class:"w-full",action:i(U),"on-success":e=>i(H)(e,a.value.baseOperatMaintenFile),"on-error":i(J),"before-upload":e=>i(G)(e,{types:i(g)}),accept:i(g).map(e=>`.${e}`).join(","),limit:1,"on-preview":i(K)},{tip:s(()=>[v("div",Xe,"\u652F\u6301"+M(i(te))+"\u6587\u4EF6",1)]),default:s(()=>[t(w,{type:"primary",class:"mr-4",plain:""},{default:s(()=>[C("\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(V,{"file-list":a.value.baseProjOtherFile,"onUpdate:fileList":l[26]||(l[26]=e=>a.value.baseProjOtherFile=e),class:"w-full",action:i(U),"on-success":e=>i(H)(e,a.value.baseProjOtherFile),"on-error":i(J),"before-upload":e=>i(G)(e,{types:i(g)}),accept:i(g).map(e=>`.${e}`).join(","),multiple:"","on-preview":i(K)},{tip:s(()=>[v("div",Ze,"\u652F\u6301"+M(i(te))+"\u6587\u4EF6",1)]),default:s(()=>[t(w,{type:"primary",class:"mr-4",plain:""},{default:s(()=>[C("\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(c,{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(Ye,{visible:Y.visible,data:Y.data,onGetProjectList:xe,onClose:l[28]||(l[28]=k=>Y.visible=!1)},null,8,["visible","data"]),t(Se,{visible:S.visible,data:S.data,onSetContent:Le,onClose:l[29]||(l[29]=k=>S.visible=!1)},null,8,["visible","data"])],64)}}});export{ia as default};