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.

projectDeclareInfo.54c6ed16.js 22KB

3 kuukautta sitten
1
  1. import{d as Ce,B as ke,r as A,b as me,J as Z,c as v,e as p,f as D,h as t,i as s,T as re,G as m,F as h,H as ee,k as ie,g as c,j as V,t as T,u as i}from"./index.55251523.js";import Le from"./relatedProjectDialog.92241468.js";import Be from"./projectContentDialog.7baa1045.js";import{r as le,h as $,i as M,f as H,c as y,b as J,e as ae}from"./uploadAction.6ab57011.js";import"./renewalProjectCapitalDeclare.a1792d1e.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"},Se=["onClick"],Ye=["onClick"],Ee={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=Ce({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=ke.dictStore.uploadUrl,se=A(),a=A({baseHistorProjs:[],beseExpectedResults:[]}),te=A({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}],k=A([{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(e=>e)},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"}],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)},S=me({visible:!1,data:void 0}),oe=A(),K=(r,e)=>{S.data=r,S.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&&(k.value=[],(e=G.dictionaryList)==null||e.filter(f=>f.type==="PROJECT_BASIS").forEach(f=>{k.value.push({title:f.label,fileName:"",fileList:[],value:f.value})}))}),Z(()=>G.detail,r=>{var e,f,u,b,Y,L,B,F,E,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:((Y=(b=r.apply)==null?void 0:b.baseHistorProjId)==null?void 0:Y.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:((L=r.apply)==null?void 0:L.baseProjAmountOri)&&((F=(B=r.apply)==null?void 0:B.baseProjAmountOri)==null?void 0:F.split("\uFF1B")),baseProjBasis:(x=(P=(E=r.apply)==null?void 0:E.baseProjBasis)==null?void 0:P.split("\uFF1B"))==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=k.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("\uFF1B"))!=null&&q.length){const n=(l=(I=r.apply)==null?void 0:I.baseProjBasis)==null?void 0:l.split("\uFF1B");k.value&&k.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:"\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"}]},(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"),Y=v("el-date-picker"),L=v("el-input-number"),B=v("el-option"),F=v("el-select"),E=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:"\u53D1\u6539\u7F16\u7801",prop:"baseDevelopCode"},{default:s(()=>[t(f,{modelValue:a.value.baseDevelopCode,"onUpdate:modelValue":e[0]||(e[0]=l=>a.value.baseDevelopCode=l),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":e[1]||(e[1]=l=>a.value.setProjCodeFinan=l),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(Y,{modelValue:a.value.baseProjTime,"onUpdate:modelValue":e[2]||(e[2]=l=>a.value.baseProjTime=l),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(Y,{modelValue:a.value.baseProjSetYear,"onUpdate:modelValue":e[3]||(e[3]=l=>a.value.baseProjSetYear=l),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(L,{modelValue:a.value.baseProjTotalAmount,"onUpdate:modelValue":e[4]||(e[4]=l=>a.value.baseProjTotalAmount=l),placeholder:"\u8BF7\u586B\u5199",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:"\u7533\u62A5\u5E74\u5EA6\u9884\u7B97",prop:"baseProjDeclAmount"},{default:s(()=>[t(L,{modelValue:a.value.baseProjDeclAmount,"onUpdate:modelValue":e[6]||(e[6]=l=>a.value.baseProjDeclAmount=l),placeholder:"\u8BF7\u586B\u5199",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:"\u7533\u62A5\u5E74\u5EA6\u9884\u7B97"},{default:s(()=>[t(L,{modelValue:a.value.baseProjDeclAmount,"onUpdate:modelValue":e[8]||(e[8]=l=>a.value.baseProjDeclAmount=l),placeholder:"\u8BF7\u586B\u5199",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:"\u5EFA\u8BBE\u5C42\u7EA7",prop:"baseProjConsClass"},{default:s(()=>[t(F,{modelValue:a.value.baseProjConsClass,"onUpdate:modelValue":e[10]||(e[10]=l=>a.value.baseProjConsClass=l),placeholder:"\u8BF7\u9009\u62E9",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?void 0: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:"\u8D2F\u901A\u5C42\u7EA7",prop:"baseLowestLevel"},{default:s(()=>[t(F,{modelValue:a.value.baseLowestLevel,"onUpdate:modelValue":e[11]||(e[11]=n=>a.value.baseLowestLevel=n),placeholder:"\u8BF7\u9009\u62E9",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:"\u8D2F\u901A\u5C42\u7EA7"},{default:s(()=>[t(F,{modelValue:a.value.baseLowestLevel,"onUpdate:modelValue":e[12]||(e[12]=n=>a.value.baseLowestLevel=n),placeholder:"\u8BF7\u9009\u62E9",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:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",prop:"missing"},{default:s(()=>[e[32]||(e[32]=c("span",{class:"text-[#666666]"},"\u662F\u5426\u7F3A\u5931\uFF1A",-1)),t(E,{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:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",prop:"baseHistorProjs"},{default:s(()=>[e[31]||(e[31]=c("span",{class:"text-[#666666]"},"\u662F\u5426\u7F3A\u5931\uFF1A",-1)),t(E,{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("\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:l})=>[c("a",{class:"text-danger",onClick:o=>we(l.$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":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:"\u9884\u7B97\u6765\u6E90\u8BF4\u660E",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:"\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":e[17]||(e[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:k.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:"\u8BF7\u8F93\u5165",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:"\u8BF7\u4E0A\u4F20"},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,"\u4E0A\u4F20")],-1)])),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview"])]),_:2},1032,["prop"])):(p(),D("span",Ae,"\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":e[18]||(e[18]=l=>a.value.baseBasisEstablish=l),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":e[19]||(e[19]=l=>a.value.baseProjIntro=l),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:l})=>[c("a",{onClick:o=>K(l.row,l.$index)},"\u7F16\u8F91",8,De),c("a",{class:"text-danger",onClick:o=>ne(l.$index)},"\u5220\u9664",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("\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:l})=>[c("a",{onClick:o=>K(l.row,l.$index)},"\u7F16\u8F91",8,Se),c("a",{class:"text-danger",onClick:o=>ne(l.$index)},"\u5220\u9664",8,Ye)]),_:1},8,["data"]),c("p",Ee,[t(P,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:e[21]||(e[21]=()=>K())},{default:s(()=>e[35]||(e[35]=[V("\u6DFB\u52A0")])),_:1})])]),_:1}))]),_:1}),t(b,{span:8},{default:s(()=>{var l;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":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,"\u652F\u6301"+T(i(ae))+"\u6587\u4EF6",1)]),default:s(()=>[t(P,{type:"primary",class:"mr-4",plain:""},{default:s(()=>e[36]||(e[36]=[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((l=_.basicInfoData)==null?void 0:l.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":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,"\u652F\u6301"+T(i(ae))+"\u6587\u4EF6",1)]),default:s(()=>[t(P,{type:"primary",class:"mr-4",plain:""},{default:s(()=>e[37]||(e[37]=[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":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,"\u652F\u6301"+T(i(ae))+"\u6587\u4EF6",1)]),default:s(()=>[t(P,{type:"primary",class:"mr-4",plain:""},{default:s(()=>e[39]||(e[39]=[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":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,"\u652F\u6301"+T(i(ae))+"\u6587\u4EF6",1)]),default:s(()=>[t(P,{type:"primary",class:"mr-4",plain:""},{default:s(()=>e[40]||(e[40]=[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":e[27]||(e[27]=l=>a.value.baseProjRemark=l),type:"textarea",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]}),_:1})]),_:1},8,["model","rules"]),t(Le,{visible:U.visible,data:U.data,onGetProjectList:_e,onClose:e[28]||(e[28]=C=>U.visible=!1)},null,8,["visible","data"]),t(Be,{visible:S.visible,data:S.data,onSetContent:ge,onClose:e[29]||(e[29]=C=>S.visible=!1)},null,8,["visible","data"])],64)}}});export{Ke as default};