25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
31KB

  1. import{d as ze,z as We,D as ve,G as Ze,r as P,b as Y,o as Ke,L as X,c,e as d,f as h,h as t,i as r,j as m,I as f,g as j,k as D,F as w,J as A,t as R,u as L,V as ce,N as Qe,Z as Xe}from"./index.d340e473.js";import{h as el,i as ll,f as al,c as ye,b as tl,r as rl}from"./uploadAction.95992a5e.js";import{c as ol}from"./index.cf3ded3c.js";import{_ as sl}from"./index.92826120.js";import ul from"./userDialog.ebe4a0b3.js";import il from"./relatedProjectDialog.066d533b.js";import nl from"./projectContentDialog.55ca7e73.js";import{a as dl}from"./indicatorTemplate.b913f726.js";import"./unitManage.92dc7eb4.js";import"./renewalProjectCapitalDeclare.425372f7.js";const pl={class:"text-right w-full mb-8"},ml=["onClick"],bl=["onClick"],fl=j("div",null,[j("a",null,"\u4E0A\u4F20")],-1),gl={key:1,class:"text-info cursor-not-allowed"},vl=["onClick"],cl=["onClick"],yl={class:"text-right w-full mt-8"},Cl={class:"flex"},Vl={class:"dialog-footer"},Pl=ze({name:"basicInfo"}),Sl=Object.assign(Pl,{props:{detailData:{type:Object,default:()=>({})},dictionaryList:{type:Array,default:()=>[]},declareAmount:{type:Number}},emits:["changeIsFirst","getBasicInfoData"],setup(g,{expose:Ce,emit:Ve}){const W=g,Pe=We(),he=ve.dictStore.uploadUrl,ee=Ze(ve.userStore).userInfo||{},l=P({baseProjIsConfidentiality:"01",buildOrgName:ee.value.empPosUnitName,beseExpectedResults:[]}),le=P(),ae=(e,a,u)=>{if(a==="")return u(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"));if(/^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/.test(a))u();else return u(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"))},te=(e,a,u)=>{a||u(),l.value.responsibleMan===l.value.contactName&&l.value.responsibleManMobile===l.value.contactPhone?u("\u9879\u76EE\u8D1F\u8D23\u4EBA\u4E0E\u9879\u76EE\u8054\u7CFB\u4EBA\u4E0D\u80FD\u76F8\u540C"):u()},re=(e,a,u)=>{a||u(),/^\d+(\.\d{1,6})?$/.test(a)?a*1>=1e8?u("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u5C0F\u4E8E100000000"):u():u("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u6700\u591A\u4FDD\u7559\u516D\u4F4D\u5C0F\u6570")},je={baseProjIsConfidentiality:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u6D89\u5BC6",trigger:"change"}],projectName:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0",trigger:"blur"}],baseConstructionType:[{required:!0,message:"\u8BF7\u9009\u62E9\u5185\u5BB9\u7C7B\u522B",trigger:"change"}],projectType:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u7C7B\u578B",trigger:"change"}],isFirst:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u9996\u6B21\u65B0\u5EFA",trigger:"change"}],isTemporaryAugment:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4E3A\u4E34\u65F6\u589E\u8865",trigger:"change"}],responsibleMan:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8D1F\u8D23\u4EBA",trigger:"blur"},{validator:te}],responsibleManMobile:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7",trigger:"blur"},{validator:ae,trigger:"blur"}],contactName:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8054\u7CFB\u4EBA",trigger:"blur"},{validator:te}],contactPhone:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u8054\u7CFB\u4EBA\u624B\u673A\u53F7",trigger:"blur"},{validator:ae,trigger:"blur"}],buildOrgName:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EFA\u8BBE\u5355\u4F4D",trigger:"blur"}],orgCreditCode:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801",trigger:"blur"}],superOrg:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E3B\u7BA1\u5355\u4F4D:",trigger:"change"}],superOrgCode:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E3B\u7BA1\u5355\u4F4D:",trigger:"change"}],superOrgCreditCode:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E3B\u7BA1\u5355\u4F4D:"}],baseProvManDeprtType:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B:",trigger:"change"}],higherSuperOrg:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D",trigger:"change"}],higherSuperOrgCode:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D",trigger:"change"}],buildDuration:[{required:!0,message:"\u8BF7\u9009\u62E9\u5EFA\u8BBE\u8D77\u6B62\u5E74\u9650",trigger:"change"}],templateType:[{required:!0,message:"\u8BF7\u9009\u62E9\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B",trigger:"change"}],buildLevel:[{required:!0,message:"\u8BF7\u9009\u62E9\u5EFA\u8BBE\u5C42\u7EA7",trigger:"change"}],lowestLevel:[{required:!0,message:"\u8BF7\u9009\u62E9\u8D2F\u901A\u5C42\u7EA7",trigger:"change"}],baseProjBasis:[{required:!0,message:"\u8BF7\u9009\u62E9\u7ACB\u9879\u4F9D\u636E",trigger:"change"}],baseBasisEstablish:[{required:!0,message:"\u8BF7\u8F93\u5165\u7ACB\u9879\u4F9D\u636E\u8BF4\u660E"}],developCode:[{required:!0,message:"\u8BF7\u586B\u5199\u53D1\u6539\u7F16\u7801",trigger:"blur"}],financialCode:[{required:!0,message:"\u8BF7\u586B\u5199\u8D22\u653F\u7F16\u7801",trigger:"blur"}],isCloud:[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u4E0A\u4E91",trigger:"change"}],cloudType:[{required:!0,message:"\u8BF7\u9009\u62E9\u4E91\u7C7B\u578B",trigger:"change"}],projectOverview:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u6982\u8FF0",trigger:"blur"}],baseHistorProjs:[{required:!0,message:"\u8BF7\u81F3\u5C11\u5173\u8054\u4E00\u4E2A\u5386\u5E74\u9879\u76EE"}],beseExpectedResults:[{required:!0,message:"\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548"}],projectYear:[{required:!0,message:"\u8BF7\u9009\u62E9\u9884\u7B97\u5E74\u5EA6"}],declareAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u7533\u62A5\u91D1\u989D",trigger:"blur"},{validator:re,trigger:"blur"}],annualPlanAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",trigger:"blur"},{validator:re,trigger:"blur"}]},U=P([{id:1,title:"\u56FD\u5BB6\u90E8\u59D4\u53CA\u7701\u5E02\u4E0B\u8FBE\u4EFB\u52A1\u3001\u76F8\u5173\u6587\u4EF6\u660E\u786E\u5EFA\u8BBE\u65F6\u95F4",fileName:"",fileList:[]},{id:2,title:"\u672C\u7EA7\u53CA\u4E0A\u7EA7\u9886\u5BFC\u6279\u793A",fileName:"",fileList:[]},{id:3,title:"\u91CD\u5927\u4EFB\u52A1",fileName:"",fileList:[]},{id:4,title:"\u91CD\u5927\u5171\u6027\u95EE\u9898",fileName:"",fileList:[]},{id:5,title:"\u91CD\u5927\u51B3\u7B56",fileName:"",fileList:[]},{id:6,title:"\u666E\u60E0\u6027\u60E0\u4F01\u5229\u6C11",fileName:"",fileList:[]},{id:7,title:"\u5176\u4ED6",fileName:"",fileList:[]}]),_e=[{type:"selection"},{label:"\u4F9D\u636E\u9879",key:"title",prop:"title"},{label:"\u4F9D\u636E\u6587\u4EF6\u540D",slot:"fileName"},{label:"\u6587\u4EF6\uFF08\u652F\u6301pdf\u3001word\uFF09",slot:"action",width:300}],F=P(),ke=e=>{l.value.baseProjBasis=e.map(a=>a)},Oe=e=>{le.value.validate(a=>{e(a)})},we=e=>{var u,y,i,n,b,_,T;l.value={baseProjIsConfidentiality:e.baseProjIsConfidentiality||"01",projectName:e.projectName,projectType:e.projectType,isFirst:e.isFirst,baseConstructionType:((u=e==null?void 0:e.baseConstructionType)==null?void 0:u.split("\uFF1B"))||void 0,isTemporaryAugment:e.isTemporaryAugment,responsibleMan:e.responsibleMan,responsibleManMobile:e.responsibleManMobile,contactName:e.contactName,contactPhone:e.contactPhone,buildOrgName:e.buildOrgName,orgCreditCode:e.orgCreditCode,superOrgCode:e.superOrgCode,superOrg:e.superOrg,superOrgCreditCode:e.superOrgCreditCode||"",baseProvManDeprtType:(e==null?void 0:e.baseProvManDeprtType)+""||"",higherSuperOrgCode:e.higherSuperOrgCode,higherSuperOrg:e.higherSuperOrg,buildDuration:e.beginTime&&e.endTime?[e.beginTime,e.endTime]:[],templateType:e.templateType,buildLevel:e.buildLevel,lowestLevel:e.lowestLevel,buildBasis:void 0,baseProjBasis:((i=(y=e==null?void 0:e.baseProjBasis)==null?void 0:y.split("\uFF1B"))==null?void 0:i.map((N,C)=>{var x,k,q;const S=`[${(x=e.baseProjBasisFile)==null?void 0:x.replace(/}];/g,"}],")}]`;return{title:(q=(k=U.value)==null?void 0:k.find(z=>z.value===N))==null?void 0:q.title,fileList:e!=null&&e.baseProjBasisFile?rl(JSON.parse(S)[C]):[],value:N}}))||[],baseBasisEstablish:e.baseBasisEstablish||"",developCode:e.developCode,financialCode:e.financialCode,projectOverview:e.projectOverview,projectIntroduction:e.projectIntroduction,baseHistorProjs:((n=e==null?void 0:e.baseHistorProjId)==null?void 0:n.split("\uFF1B").map((N,C)=>({baseProjId:N,baseProjName:e==null?void 0:e.baseHistorProjName.split("\uFF1B")[C],baseProjSetYear:e==null?void 0:e.baseHistorProjYear.split("\uFF1B")[C]})))||[],beseExpectedResults:(e==null?void 0:e.beseExpectedResults)&&JSON.parse(e==null?void 0:e.beseExpectedResults)||[],projectYear:e.projectYear?e.projectYear+"":null,declareAmount:e.declareAmount,annualPlanAmount:e.annualPlanAmount};const a=l.value.baseProjBasis?JSON.parse(JSON.stringify(l.value.baseProjBasis)):[];if((_=(b=e==null?void 0:e.baseProjBasis)==null?void 0:b.split("\uFF1B"))!=null&&_.length){const N=(T=e==null?void 0:e.baseProjBasis)==null?void 0:T.split("\uFF1B");U.value&&U.value.forEach(C=>{var S,x;N.includes(C.value)&&(C.fileList=(S=a.find(k=>k.value===C.value))==null?void 0:S.fileList,C.fileName=(x=a.find(k=>k.value===C.value))==null?void 0:x.fileName,F.value.toggleRowSelect(C,!0))})}},oe=Ve,Ne=e=>{oe("changeIsFirst",e)},v=Y({unitVisible:!1,data:void 0,title:void 0,type:void 0,params:void 0}),De=()=>{v.unitVisible=!0,v.title="\u4E3B\u7BA1\u5355\u4F4D",v.type="UNIT",v.showCheckbox=!0,v.defaultProps={children:"children",label:"title",value:"key",isLeaf:"isLeaf"},v.params={onlyUnit:!0},v.data=l.value.superOrgCode?[{key:l.value.superOrgCode,title:l.value.superOrg}]:[]},Le=()=>{v.unitVisible=!1},Te=e=>{v.title==="\u4E3B\u7BA1\u5355\u4F4D"?(l.value.superOrgCode=(e==null?void 0:e[0].key)||void 0,l.value.superOrg=(e==null?void 0:e[0].title)||void 0,ue("superOrgCreditCode",e==null?void 0:e[0].key)):(l.value.higherSuperOrgCode=(e==null?void 0:e[0].key)||void 0,l.value.higherSuperOrg=(e==null?void 0:e[0].title)||void 0)},Se=()=>{v.title="\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D",v.type="UNIT",v.defaultProps={children:"children",label:"title",value:"key",isLeaf:"isLeaf"},v.unitVisible=!0,v.data=l.value.higherSuperOrgCode?[{key:l.value.higherSuperOrgCode,title:l.value.higherSuperOrg}]:[]},B=P(!1),$=Y({businessStripName:void 0}),xe=async()=>{H(),B.value=!0,await Qe(),F.value.setRadio(l.value.higherSuperOrgCode||"")},Ue=[{type:"radio",key:"businessStripCode",width:"60"},{label:"\u5355\u4F4D\u540D\u79F0",key:"businessStripName",prop:"businessStripName",minWidth:"150",showOverflowTooltip:!0},{label:"\u5355\u4F4D\u7F16\u7801",key:"businessStripCode",prop:"businessStripCode",minWidth:"150",showOverflowTooltip:!0}],se=P(),H=async()=>{const e=await ol({...$});se.value=e.data},Be=()=>{$.businessStripName=void 0,H()},Z=P(),$e=e=>{Z.value=e},Me=()=>{B.value=!1,l.value.higherSuperOrgCode=Z.value.businessStripCode,l.value.higherSuperOrg=Z.value.businessStripName},K=P({}),ue=async(e,a)=>{const u=await Xe(a||ee.value.empPosUnitCode);K.value[e]=!!u.data.unifiedSocialCreditCode,l.value[e]=u.data.unifiedSocialCreditCode||l.value[e]},J=Y({visible:!1,params:{}}),ie=P(),ne=P(),G=(e,a)=>{J.visible=!0,ie.value=e,ne.value=a},Ie=e=>{l.value[ie.value]=e.name,l.value[ne.value]=e.phoneNo},qe=(e,a)=>{l.value.higherSuperOrgCode="",l.value.higherSuperOrg=""},Ee=[{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"}],M=Y({visible:!1}),Ye=()=>{M.visible=!0,M.data=l.value.baseHistorProjs},Ae=e=>{l.value.baseHistorProjs=e.map(a=>({baseProjName:a.projectName,baseProjSetYear:a.projectYear,baseProjId:a.id}))},de=e=>{l.value.baseHistorProjs.splice(e,1)},Re=[{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"}],I=Y({visible:!1,data:void 0}),Q=P(),pe=(e,a)=>{I.data=e,I.visible=!0,Q.value=a},Fe=e=>{Q.value===void 0?l.value.beseExpectedResults.push(e):l.value.beseExpectedResults[Q.value]=e},He=e=>{l.value.beseExpectedResults.splice(e,1)},me=P(),Je=async()=>{var a;const e=await dl({pageNumber:1,pageSize:1e4});me.value=((a=e==null?void 0:e.data)==null?void 0:a.records)||[]};return Ke(()=>{Je(),ue("orgCreditCode")}),X(()=>W.declareAmount,e=>{}),Ce({validForm:Oe,formData:l,setFormData:we}),X(()=>W.dictionaryList,e=>{var a;e&&(U.value=[],(a=W.dictionaryList)==null||a.filter(u=>u.type==="PROJECT_BASIS").forEach(u=>{U.value.push({title:u.label,fileName:"",fileList:[],value:u.value})}))}),X(()=>l.value,e=>{oe("getBasicInfoData",l.value)},{deep:!0}),(e,a)=>{const u=c("el-radio"),y=c("el-radio-group"),i=c("el-form-item"),n=c("el-col"),b=c("el-input"),_=c("el-button"),T=c("table-list"),N=c("el-checkbox"),C=c("el-checkbox-group"),S=c("el-date-picker"),x=c("el-upload"),k=c("el-input-number"),q=c("el-row"),z=c("el-form"),Ge=c("el-dialog");return d(),h(w,null,[t(z,{ref_key:"formRef",ref:le,model:l.value,rules:je,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:r(()=>[t(q,{gutter:40},{default:r(()=>{var O,be,fe,ge;return[t(n,{span:24},{default:r(()=>[t(i,{label:"\u662F\u5426\u6D89\u5BC6",prop:"baseProjIsConfidentiality"},{default:r(()=>[t(y,{modelValue:l.value.baseProjIsConfidentiality,"onUpdate:modelValue":a[0]||(a[0]=o=>l.value.baseProjIsConfidentiality=o)},{default:r(()=>[t(u,{label:"01"},{default:r(()=>[m("\u5426")]),_:1}),t(u,{label:"02"},{default:r(()=>[m("\u662F")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(n,{span:24},{default:r(()=>[t(i,{label:"\u9879\u76EE\u540D\u79F0",prop:"projectName"},{default:r(()=>[t(b,{modelValue:l.value.projectName,"onUpdate:modelValue":a[1]||(a[1]=o=>l.value.projectName=o),maxlength:"50",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(i,{label:"\u9879\u76EE\u7C7B\u578B",prop:"projectType"},{default:r(()=>{var o;return[t(y,{modelValue:l.value.projectType,"onUpdate:modelValue":a[2]||(a[2]=s=>l.value.projectType=s),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=g.detailData)==null?void 0:o.status)},{default:r(()=>[t(u,{label:"01"},{default:r(()=>[m("\u9996\u6B21\u5EFA\u8BBE")]),_:1}),t(u,{label:"02"},{default:r(()=>[m("\u8FED\u4EE3\u5347\u7EA7")]),_:1}),t(u,{label:"03"},{default:r(()=>[m("\u7ED3\u8F6C\u5EFA\u8BBE")]),_:1}),t(u,{label:"04"},{default:r(()=>[m("\u65B0\u8FD0\u7EF4")]),_:1}),t(u,{label:"05"},{default:r(()=>[m("\u7EED\u8FD0\u7EF4")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),l.value.projectType!=="01"?(d(),f(n,{key:0,span:24},{default:r(()=>[t(i,{label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",prop:"baseHistorProjs"},{default:r(()=>[j("p",pl,[t(_,{type:"primary",onClick:Ye},{default:r(()=>[m("\u5173\u8054\u5386\u5E74\u9879\u76EE")]),_:1})]),t(T,{pagination:!1,style:{width:"100%"},column:Ee,data:l.value.baseHistorProjs,"empty-temp":!1},{action:r(({scope:o})=>[j("a",{class:"text-danger",onClick:s=>de(o.$index)},"\u5220\u9664",8,ml),j("a",{class:"text-primary",onClick:s=>de(o.$index)},"\u590D\u7528\u9879\u76EE\u4FE1\u606F",8,bl)]),_:1},8,["data"])]),_:1})]),_:1})):D("",!0),t(n,{span:12},{default:r(()=>[t(i,{label:"\u5185\u5BB9\u7C7B\u522B",prop:"baseConstructionType"},{default:r(()=>[t(C,{modelValue:l.value.baseConstructionType,"onUpdate:modelValue":a[3]||(a[3]=o=>l.value.baseConstructionType=o)},{default:r(()=>{var o;return[(d(!0),h(w,null,A((o=g.dictionaryList)==null?void 0:o.filter(s=>s.type==="CONTENT_TYPE"),(s,p)=>(d(),f(N,{key:p,label:s.value},{default:r(()=>[m(R(s.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),l.value.baseProjIsConfidentiality==="01"?(d(),h(w,{key:1},[t(n,{span:12},{default:r(()=>[t(i,{label:"\u662F\u5426\u9996\u6B21\u65B0\u5EFA",prop:"isFirst"},{default:r(()=>{var o;return[t(y,{modelValue:l.value.isFirst,"onUpdate:modelValue":a[4]||(a[4]=s=>l.value.isFirst=s),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=g.detailData)==null?void 0:o.status),onChange:Ne},{default:r(()=>[t(u,{label:1},{default:r(()=>[m("\u662F")]),_:1}),t(u,{label:0},{default:r(()=>[m("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),L(Pe).name!="planEdit"?(d(),f(n,{key:0,span:12},{default:r(()=>[t(i,{label:"\u662F\u5426\u4E34\u65F6\u589E\u8865",prop:"isTemporaryAugment"},{default:r(()=>{var o;return[t(y,{modelValue:l.value.isTemporaryAugment,"onUpdate:modelValue":a[5]||(a[5]=s=>l.value.isTemporaryAugment=s),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=g.detailData)==null?void 0:o.status)},{default:r(()=>[t(u,{label:1},{default:r(()=>[m("\u662F")]),_:1}),t(u,{label:0},{default:r(()=>[m("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1})):D("",!0)],64)):D("",!0),t(n,{span:12},{default:r(()=>[t(i,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",prop:"responsibleMan"},{default:r(()=>[t(b,{modelValue:l.value.responsibleMan,"onUpdate:modelValue":a[6]||(a[6]=o=>l.value.responsibleMan=o),maxlength:"50",readonly:"",placeholder:"\u8BF7\u9009\u62E9\uFF0C\u6E29\u99A8\u63D0\u793A\uFF1A\u9879\u76EE\u8D1F\u8D23\u4EBA\u8BF7\u586B\u5199\u9886\u5BFC\u4FE1\u606F",onClick:a[7]||(a[7]=o=>G("responsibleMan","responsibleManMobile"))},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(i,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7",prop:"responsibleManMobile"},{default:r(()=>[t(b,{modelValue:l.value.responsibleManMobile,"onUpdate:modelValue":a[8]||(a[8]=o=>l.value.responsibleManMobile=o),maxlength:"11",placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:a[9]||(a[9]=o=>G("responsibleMan","responsibleManMobile"))},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(i,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA",prop:"contactName"},{default:r(()=>[t(b,{modelValue:l.value.contactName,"onUpdate:modelValue":a[10]||(a[10]=o=>l.value.contactName=o),maxlength:"50",placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:a[11]||(a[11]=o=>G("contactName","contactPhone"))},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(i,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA\u624B\u673A\u53F7",prop:"contactPhone"},{default:r(()=>[t(b,{modelValue:l.value.contactPhone,"onUpdate:modelValue":a[12]||(a[12]=o=>l.value.contactPhone=o),maxlength:"11",placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:a[13]||(a[13]=o=>G("contactName","contactPhone"))},null,8,["modelValue"])]),_:1})]),_:1}),l.value.baseProjIsConfidentiality==="01"?(d(),f(n,{key:2,span:12},{default:r(()=>[t(i,{label:"\u5EFA\u8BBE\u8D77\u6B62\u5E74\u9650",prop:"buildDuration"},{default:r(()=>[t(S,{modelValue:l.value.buildDuration,"onUpdate:modelValue":a[14]||(a[14]=o=>l.value.buildDuration=o),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})):D("",!0),t(n,{span:12},{default:r(()=>[t(i,{label:"\u5EFA\u8BBE\u5355\u4F4D",prop:"buildOrgName"},{default:r(()=>[t(b,{modelValue:l.value.buildOrgName,"onUpdate:modelValue":a[15]||(a[15]=o=>l.value.buildOrgName=o),placeholder:"\u8BF7\u8F93\u5165",disabled:!0},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(i,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801",prop:"orgCreditCode"},{default:r(()=>[t(b,{modelValue:l.value.orgCreditCode,"onUpdate:modelValue":a[16]||(a[16]=o=>l.value.orgCreditCode=o),maxlength:"18",placeholder:"\u8BF7\u8F93\u5165",disabled:K.value.orgCreditCode},null,8,["modelValue","disabled"])]),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(i,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B",prop:"baseProvManDeprtType"},{default:r(()=>{var o;return[t(y,{modelValue:l.value.baseProvManDeprtType,"onUpdate:modelValue":a[17]||(a[17]=s=>l.value.baseProvManDeprtType=s),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=g.detailData)==null?void 0:o.status),onChange:qe},{default:r(()=>[t(u,{label:"1"},{default:r(()=>[m("\u7701\u7EA7")]),_:1}),t(u,{label:"2"},{default:r(()=>[m("\u975E\u7701\u7EA7")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(i,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D",prop:"higherSuperOrg"},{default:r(()=>{var o;return[e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=g.detailData)==null?void 0:o.status)?(d(),f(b,{key:0,modelValue:l.value.higherSuperOrg,"onUpdate:modelValue":a[18]||(a[18]=s=>l.value.higherSuperOrg=s),disabled:""},null,8,["modelValue"])):l.value.baseProvManDeprtType==="1"?(d(),f(b,{key:1,modelValue:l.value.higherSuperOrg,"onUpdate:modelValue":a[19]||(a[19]=s=>l.value.higherSuperOrg=s),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:xe},null,8,["modelValue"])):(d(),f(b,{key:2,modelValue:l.value.higherSuperOrg,"onUpdate:modelValue":a[20]||(a[20]=s=>l.value.higherSuperOrg=s),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:Se},null,8,["modelValue"]))]}),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(i,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D",prop:"superOrg"},{default:r(()=>{var o,s;return[e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=g.detailData)==null?void 0:o.status)?(d(),f(b,{key:0,modelValue:l.value.superOrg,"onUpdate:modelValue":a[21]||(a[21]=p=>l.value.superOrg=p),disabled:""},null,8,["modelValue"])):(d(),f(b,{key:1,modelValue:l.value.superOrg,"onUpdate:modelValue":a[22]||(a[22]=p=>l.value.superOrg=p),placeholder:"\u8BF7\u9009\u62E9",readonly:"",disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((s=g.detailData)==null?void 0:s.status),onClick:De},null,8,["modelValue","disabled"]))]}),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(i,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801",prop:"superOrgCreditCode"},{default:r(()=>{var o;return[t(b,{modelValue:l.value.superOrgCreditCode,"onUpdate:modelValue":a[23]||(a[23]=s=>l.value.superOrgCreditCode=s),placeholder:"\u8BF7\u586B\u5199",disabled:K.value.superOrgCreditCode||e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=g.detailData)==null?void 0:o.status)},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),l.value.baseProjIsConfidentiality==="01"?(d(),h(w,{key:3},[t(n,{span:24},{default:r(()=>[t(i,{label:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B",prop:"templateType"},{default:r(()=>{var o;return[t(y,{modelValue:l.value.templateType,"onUpdate:modelValue":a[24]||(a[24]=s=>l.value.templateType=s),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=g.detailData)==null?void 0:o.status)},{default:r(()=>[(d(!0),h(w,null,A(me.value,(s,p)=>(d(),f(u,{key:p,label:s.id},{default:r(()=>[m(R(s.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),t(n,{span:24},{default:r(()=>[t(i,{label:"\u5EFA\u8BBE\u5C42\u7EA7",prop:"buildLevel"},{default:r(()=>[t(y,{modelValue:l.value.buildLevel,"onUpdate:modelValue":a[25]||(a[25]=o=>l.value.buildLevel=o)},{default:r(()=>{var o;return[(d(!0),h(w,null,A((o=g.dictionaryList)==null?void 0:o.filter(s=>s.type==="BUILD_LEVEL"),(s,p)=>(d(),f(u,{key:p,label:s.value},{default:r(()=>[m(R(s.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),((be=(O=l.value)==null?void 0:O.baseConstructionType)==null?void 0:be.includes("03"))&&!((ge=(fe=l.value)==null?void 0:fe.baseConstructionType)!=null&&ge.includes("01"))?D("",!0):(d(),f(n,{key:0,span:24},{default:r(()=>{var o,s;return[(s=(o=l.value)==null?void 0:o.baseConstructionType)!=null&&s.includes("01")?(d(),f(i,{key:0,label:"\u8D2F\u901A\u5C42\u7EA7",prop:"lowestLevel"},{default:r(()=>[t(y,{modelValue:l.value.lowestLevel,"onUpdate:modelValue":a[26]||(a[26]=p=>l.value.lowestLevel=p)},{default:r(()=>{var p;return[(d(!0),h(w,null,A((p=g.dictionaryList)==null?void 0:p.filter(V=>V.type==="BUILD_LEVEL"),(V,E)=>(d(),f(u,{key:E,label:V.value},{default:r(()=>[m(R(V.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})):(d(),f(i,{key:1,label:"\u8D2F\u901A\u5C42\u7EA7"},{default:r(()=>[t(y,{modelValue:l.value.lowestLevel,"onUpdate:modelValue":a[27]||(a[27]=p=>l.value.lowestLevel=p)},{default:r(()=>{var p;return[(d(!0),h(w,null,A((p=g.dictionaryList)==null?void 0:p.filter(V=>V.type==="BUILD_LEVEL"),(V,E)=>(d(),f(u,{key:E,label:V.value},{default:r(()=>[m(R(V.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1}))]}),_:1})),t(n,{span:24},{default:r(()=>[t(i,{label:"\u7ACB\u9879\u4F9D\u636E\u6750\u6599",prop:"baseProjBasis"},{default:r(()=>[t(T,{ref_key:"tableListRef",ref:F,pagination:!1,style:{width:"100%"},column:_e,data:U.value,onSelectionChange:ke},{fileName:r(({scope:o})=>[l.value.baseProjBasis&&l.value.baseProjBasis.map(s=>s.value).includes(o.row.value)?(d(),f(i,{key:0},{default:r(()=>{var s,p,V;return[t(b,{value:(V=(p=(s=l.value.baseProjBasis[l.value.baseProjBasis.findIndex(E=>E.value===o.row.value)])==null?void 0:s.fileList)==null?void 0:p[0])==null?void 0:V.name,placeholder:"\u8BF7\u8F93\u5165",maxlength:50,disabled:!0},null,8,["value"])]}),_:2},1024)):(d(),f(b,{key:1,disabled:!0}))]),action:r(({scope:o})=>[l.value.baseProjBasis&&l.value.baseProjBasis.map(s=>s.value).includes(o.row.value)?(d(),f(i,{key:0,class:"basicUploadItem",rules:{required:!0,message:"\u8BF7\u4E0A\u4F20"},prop:`baseProjBasis[${l.value.baseProjBasis.findIndex(s=>s.value===o.row.value)}].fileList`},{default:r(()=>[t(x,{ref:"materialUploadRef","file-list":l.value.baseProjBasis[l.value.baseProjBasis.findIndex(s=>s.value===o.row.value)].fileList,"onUpdate:fileList":s=>l.value.baseProjBasis[l.value.baseProjBasis.findIndex(p=>p.value===o.row.value)].fileList=s,class:"flex items-center flex-col w-full",action:L(he),"on-success":s=>L(el)(s,l.value.baseProjBasis[l.value.baseProjBasis.findIndex(p=>p.value===o.row.value)].fileList,!0),"on-error":L(ll),"before-upload":s=>L(al)(s,{types:L(ye)}),limit:1,accept:L(ye).map(s=>`.${s}`).join(","),"on-preview":L(tl)},{trigger:r(()=>[fl]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview"])]),_:2},1032,["prop"])):(d(),h("span",gl,"\u4E0A\u4F20"))]),_:1},8,["data"])]),_:1})]),_:1}),t(n,{span:24},{default:r(()=>[t(i,{label:"\u7ACB\u9879\u4F9D\u636E\u8BF4\u660E",prop:"baseBasisEstablish"},{default:r(()=>[t(b,{modelValue:l.value.baseBasisEstablish,"onUpdate:modelValue":a[28]||(a[28]=o=>l.value.baseBasisEstablish=o),type:"textarea","show-word-limit":"",placeholder:"\u8BF7\u586B\u5199",maxlength:150},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[(g.declareAmount>=1e3,d(),f(i,{key:1,label:"\u53D1\u6539\u7F16\u7801"},{default:r(()=>{var o;return[t(b,{modelValue:l.value.developCode,"onUpdate:modelValue":a[30]||(a[30]=s=>l.value.developCode=s),maxlength:"50",placeholder:"\u8BF7\u586B\u5199",disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=g.detailData)==null?void 0:o.status)},null,8,["modelValue","disabled"])]}),_:1}))]),_:1}),t(n,{span:12},{default:r(()=>[(g.declareAmount>=1e3,d(),f(i,{key:1,label:"\u8D22\u653F\u7F16\u7801"},{default:r(()=>{var o;return[t(b,{modelValue:l.value.financialCode,"onUpdate:modelValue":a[32]||(a[32]=s=>l.value.financialCode=s),maxlength:"50",placeholder:"\u8BF7\u586B\u5199",disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=g.detailData)==null?void 0:o.status)},null,8,["modelValue","disabled"])]}),_:1}))]),_:1}),t(n,{span:24},{default:r(()=>[t(i,{label:"\u9879\u76EE\u6982\u8FF0",prop:"projectOverview"},{default:r(()=>[t(b,{modelValue:l.value.projectOverview,"onUpdate:modelValue":a[33]||(a[33]=o=>l.value.projectOverview=o),rows:4,type:"textarea",placeholder:"\u8BF7\u8F93\u5165","show-word-limit":"",maxlength:"2000"},null,8,["modelValue"])]),_:1})]),_:1}),e.$route.name==="declarePlan"||[10012,10016,10013].includes(g.detailData.status)?(d(),f(n,{key:1,span:24},{default:r(()=>[t(i,{label:"\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548",prop:"beseExpectedResults"},{default:r(()=>[t(T,{pagination:!1,style:{width:"100%"},column:Re,data:l.value.beseExpectedResults,"empty-temp":!1},{action:r(({scope:o})=>[j("a",{onClick:s=>pe(o.row,o.$index)},"\u7F16\u8F91",8,vl),j("a",{class:"text-danger",onClick:s=>He(o.$index)},"\u5220\u9664",8,cl)]),_:1},8,["data"]),j("p",yl,[t(_,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:a[34]||(a[34]=()=>pe())},{default:r(()=>[m("\u6DFB\u52A0 ")]),_:1})])]),_:1})]),_:1})):D("",!0)],64)):D("",!0),l.value.baseProjIsConfidentiality==="02"?(d(),h(w,{key:4},[t(n,{span:12},{default:r(()=>[t(i,{label:"\u9884\u7B97\u5E74\u5EA6",prop:"projectYear"},{default:r(()=>{var o;return[t(S,{modelValue:l.value.projectYear,"onUpdate:modelValue":a[35]||(a[35]=s=>l.value.projectYear=s),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=g.detailData)==null?void 0:o.status),type:"year",placeholder:"\u8BF7\u9009\u62E9",format:"YYYY","value-format":"YYYY"},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(i,{label:"\u7533\u62A5\u91D1\u989D",prop:"declareAmount"},{default:r(()=>[t(k,{modelValue:l.value.declareAmount,"onUpdate:modelValue":a[36]||(a[36]=o=>l.value.declareAmount=o),placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:a[37]||(a[37]=ce(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:24},{default:r(()=>[t(i,{label:"\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",prop:"annualPlanAmount"},{default:r(()=>[t(k,{modelValue:l.value.annualPlanAmount,"onUpdate:modelValue":a[38]||(a[38]=o=>l.value.annualPlanAmount=o),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:a[39]||(a[39]=ce(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1})],64)):D("",!0)]}),_:1})]),_:1},8,["model"]),t(sl,{visible:v.unitVisible,"show-checkbox":!1,"default-data":v.data,title:v.title,type:v.type,"default-props":v.defaultProps,params:v.params,onClose:Le,onGetSelectUnit:Te},null,8,["visible","default-data","title","type","default-props","params"]),t(Ge,{"model-value":B.value,title:"\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D",width:"60%",onClose:a[42]||(a[42]=O=>B.value=!1)},{footer:r(()=>[j("span",Vl,[t(_,{onClick:a[41]||(a[41]=O=>B.value=!1)},{default:r(()=>[m("\u5173\u95ED")]),_:1}),t(_,{type:"primary",onClick:Me},{default:r(()=>[m(" \u63D0\u4EA4 ")]),_:1})])]),default:r(()=>[t(z,{model:$,size:"small","label-suffix":":"},{default:r(()=>[t(q,{gutter:16,class:"mb-16"},{default:r(()=>[t(n,{span:8},{default:r(()=>[t(i,{label:"\u5355\u4F4D\u540D\u79F0"},{default:r(()=>[t(b,{modelValue:$.businessStripName,"onUpdate:modelValue":a[40]||(a[40]=O=>$.businessStripName=O),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:16},{default:r(()=>[t(i,{class:"btn"},{default:r(()=>[j("div",Cl,[t(_,{type:"primary",onClick:H},{default:r(()=>[m("\u67E5\u8BE2 ")]),_:1}),t(_,{onClick:Be},{default:r(()=>[m("\u91CD\u7F6E ")]),_:1})])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),t(T,{ref_key:"tableListRef",ref:F,column:Ue,data:se.value,pagination:!1,style:{height:"600px",overflow:"auto"},onGetTableData:H,onRadioChange:$e},null,8,["data"])]),_:1},8,["model-value"]),t(ul,{visible:J.visible,params:J.params,onClose:a[43]||(a[43]=O=>J.visible=!1),onGetUserData:Ie},null,8,["visible","params"]),t(il,{visible:M.visible,data:M.data,onGetProjectList:Ae,onClose:a[44]||(a[44]=O=>M.visible=!1)},null,8,["visible","data"]),t(nl,{visible:I.visible,data:I.data,onSetContent:Fe,onClose:a[45]||(a[45]=O=>I.visible=!1)},null,8,["visible","data"])],64)}}});export{Sl as default};