Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

2 рядки
31KB

  1. import{d as ze,z as We,D as ye,G as Ze,r as h,b as q,o as Ke,L as X,c,e as d,f as k,h as t,i as r,j as f,F as D,J as E,I as b,t as Y,u as L,k as T,g as j,V as Ce,N as Qe,Z as Xe}from"./index.121be81f.js";import{h as el,i as ll,f as al,c as Ve,b as tl,r as rl}from"./uploadAction.544df052.js";import{c as ol}from"./index.c4a348b4.js";import{_ as sl}from"./index.1f774a5b.js";import ul from"./userDialog.bf7a15df.js";import il from"./relatedProjectDialog.2489f763.js";import nl from"./projectContentDialog.4232318a.js";import{a as dl}from"./indicatorTemplate.80c727a2.js";import"./unitManage.f69733da.js";import"./renewalProjectCapitalDeclare.d967b251.js";const pl=j("div",null,[j("a",null,"\u4E0A\u4F20")],-1),ml={key:1,class:"text-info cursor-not-allowed"},bl={class:"text-right w-full mb-8"},fl=["onClick"],gl={class:"text-right w-full mb-8"},vl=["onClick"],cl=["onClick"],yl=["onClick"],Cl={class:"text-right w-full mt-8"},Vl={class:"flex"},Pl={class:"dialog-footer"},hl=ze({name:"basicInfo"}),xl=Object.assign(hl,{props:{detailData:{type:Object,default:()=>({})},dictionaryList:{type:Array,default:()=>[]},declareAmount:{type:Number}},emits:["changeIsFirst","getBasicInfoData"],setup(g,{expose:Pe,emit:he}){const W=g,je=We(),_e=ye.dictStore.uploadUrl,ee=Ze(ye.userStore).userInfo||{},l=h({baseProjIsConfidentiality:"01",buildOrgName:ee.value.empPosUnitName,beseExpectedResults:[]}),le=h(),ae=(e,a,i)=>{if(a==="")return i(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))i();else return i(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"))},te=(e,a,i)=>{a||i(),l.value.responsibleMan===l.value.contactName&&l.value.responsibleManMobile===l.value.contactPhone?i("\u9879\u76EE\u8D1F\u8D23\u4EBA\u4E0E\u9879\u76EE\u8054\u7CFB\u4EBA\u4E0D\u80FD\u76F8\u540C"):i()},re=(e,a,i)=>{a||i(),/^\d+(\.\d{1,6})?$/.test(a)?a*1>=1e8?i("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u5C0F\u4E8E100000000"):i():i("\u8BF7\u8F93\u5165\u6B63\u786E\u683C\u5F0F\uFF0C\u6700\u591A\u4FDD\u7559\u516D\u4F4D\u5C0F\u6570")},ke={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"}]},S=h([{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:[]}]),Oe=[{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}],A=h(),we=e=>{l.value.baseProjBasis=e.map(a=>a)},Ne=e=>{le.value.validate(a=>{e(a)})},De=e=>{var i,y,u,n,m,J,G;l.value={baseProjIsConfidentiality:e.baseProjIsConfidentiality||"01",projectName:e.projectName,projectType:e.projectType,isFirst:e.isFirst,baseConstructionType:((i=e==null?void 0:e.baseConstructionType)==null?void 0:i.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:((u=(y=e==null?void 0:e.baseProjBasis)==null?void 0:y.split("\uFF1B"))==null?void 0:u.map((O,C)=>{var V,w,M;const _=`[${(V=e.baseProjBasisFile)==null?void 0:V.replace(/}];/g,"}],")}]`;return{title:(M=(w=S.value)==null?void 0:w.find(z=>z.value===O))==null?void 0:M.title,fileList:e!=null&&e.baseProjBasisFile?rl(JSON.parse(_)[C]):[],value:O}}))||[],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((O,C)=>({baseProjId:O,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((J=(m=e==null?void 0:e.baseProjBasis)==null?void 0:m.split("\uFF1B"))!=null&&J.length){const O=(G=e==null?void 0:e.baseProjBasis)==null?void 0:G.split("\uFF1B");S.value&&S.value.forEach(C=>{var _,V;O.includes(C.value)&&(C.fileList=(_=a.find(w=>w.value===C.value))==null?void 0:_.fileList,C.fileName=(V=a.find(w=>w.value===C.value))==null?void 0:V.fileName,A.value.toggleRowSelect(C,!0))})}},oe=he,Le=e=>{oe("changeIsFirst",e)},v=q({unitVisible:!1,data:void 0,title:void 0,type:void 0,params:void 0}),Te=()=>{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}]:[]},Se=()=>{v.unitVisible=!1},xe=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)},Ue=()=>{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}]:[]},x=h(!1),U=q({businessStripName:void 0}),Be=async()=>{R(),x.value=!0,await Qe(),A.value.setRadio(l.value.higherSuperOrgCode||"")},$e=[{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=h(),R=async()=>{const e=await ol({...U});se.value=e.data},Me=()=>{U.businessStripName=void 0,R()},Z=h(),Ie=e=>{Z.value=e},qe=()=>{x.value=!1,l.value.higherSuperOrgCode=Z.value.businessStripCode,l.value.higherSuperOrg=Z.value.businessStripName},K=h({}),ue=async(e,a)=>{const i=await Xe(a||ee.value.empPosUnitCode);K.value[e]=!!i.data.unifiedSocialCreditCode,l.value[e]=i.data.unifiedSocialCreditCode||l.value[e]},F=q({visible:!1,params:{}}),ie=h(),ne=h(),H=(e,a)=>{F.visible=!0,ie.value=e,ne.value=a},Ee=e=>{l.value[ie.value]=e.name,l.value[ne.value]=e.phoneNo},Ye=(e,a)=>{l.value.higherSuperOrgCode="",l.value.higherSuperOrg=""},de=[{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"}],B=q({visible:!1}),pe=()=>{B.visible=!0,B.data=l.value.baseHistorProjs},Ae=e=>{l.value.baseHistorProjs=e.map(a=>({baseProjName:a.projectName,baseProjSetYear:a.projectYear,baseProjId:a.id}))},me=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"}],$=q({visible:!1,data:void 0}),Q=h(),be=(e,a)=>{$.data=e,$.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)},fe=h(),Je=async()=>{var a;const e=await dl({pageNumber:1,pageSize:1e4});fe.value=((a=e==null?void 0:e.data)==null?void 0:a.records)||[]};return Ke(()=>{Je(),ue("orgCreditCode")}),X(()=>W.declareAmount,e=>{}),Pe({validForm:Ne,formData:l,setFormData:De}),X(()=>W.dictionaryList,e=>{var a;e&&(S.value=[],(a=W.dictionaryList)==null||a.filter(i=>i.type==="PROJECT_BASIS").forEach(i=>{S.value.push({title:i.label,fileName:"",fileList:[],value:i.value})}))}),X(()=>l.value,e=>{oe("getBasicInfoData",l.value)},{deep:!0}),(e,a)=>{const i=c("el-radio"),y=c("el-radio-group"),u=c("el-form-item"),n=c("el-col"),m=c("el-input"),J=c("el-checkbox"),G=c("el-checkbox-group"),O=c("el-date-picker"),C=c("el-upload"),_=c("table-list"),V=c("el-button"),w=c("el-input-number"),M=c("el-row"),z=c("el-form"),Ge=c("el-dialog");return d(),k(D,null,[t(z,{ref_key:"formRef",ref:le,model:l.value,rules:ke,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:r(()=>[t(M,{gutter:40},{default:r(()=>{var N,ge,ve,ce;return[t(n,{span:24},{default:r(()=>[t(u,{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(i,{label:"01"},{default:r(()=>[f("\u5426")]),_:1}),t(i,{label:"02"},{default:r(()=>[f("\u662F")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),t(n,{span:24},{default:r(()=>[t(u,{label:"\u9879\u76EE\u540D\u79F0",prop:"projectName"},{default:r(()=>[t(m,{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(u,{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(i,{label:"01"},{default:r(()=>[f("\u9996\u6B21\u5EFA\u8BBE")]),_:1}),t(i,{label:"02"},{default:r(()=>[f("\u8FED\u4EE3\u5347\u7EA7")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(u,{label:"\u5185\u5BB9\u7C7B\u522B",prop:"baseConstructionType"},{default:r(()=>[t(G,{modelValue:l.value.baseConstructionType,"onUpdate:modelValue":a[3]||(a[3]=o=>l.value.baseConstructionType=o)},{default:r(()=>{var o;return[(d(!0),k(D,null,E((o=g.dictionaryList)==null?void 0:o.filter(s=>s.type==="CONTENT_TYPE"),(s,p)=>(d(),b(J,{key:p,label:s.value},{default:r(()=>[f(Y(s.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),l.value.baseProjIsConfidentiality==="01"?(d(),k(D,{key:0},[t(n,{span:12},{default:r(()=>[t(u,{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:Le},{default:r(()=>[t(i,{label:1},{default:r(()=>[f("\u662F")]),_:1}),t(i,{label:0},{default:r(()=>[f("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),L(je).name!="planEdit"?(d(),b(n,{key:0,span:12},{default:r(()=>[t(u,{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(i,{label:1},{default:r(()=>[f("\u662F")]),_:1}),t(i,{label:0},{default:r(()=>[f("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1})):T("",!0)],64)):T("",!0),t(n,{span:12},{default:r(()=>[t(u,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",prop:"responsibleMan"},{default:r(()=>[t(m,{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=>H("responsibleMan","responsibleManMobile"))},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(u,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7",prop:"responsibleManMobile"},{default:r(()=>[t(m,{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=>H("responsibleMan","responsibleManMobile"))},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(u,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA",prop:"contactName"},{default:r(()=>[t(m,{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=>H("contactName","contactPhone"))},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(u,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA\u624B\u673A\u53F7",prop:"contactPhone"},{default:r(()=>[t(m,{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=>H("contactName","contactPhone"))},null,8,["modelValue"])]),_:1})]),_:1}),l.value.baseProjIsConfidentiality==="01"?(d(),b(n,{key:1,span:12},{default:r(()=>[t(u,{label:"\u5EFA\u8BBE\u8D77\u6B62\u5E74\u9650",prop:"buildDuration"},{default:r(()=>[t(O,{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})):T("",!0),t(n,{span:12},{default:r(()=>[t(u,{label:"\u5EFA\u8BBE\u5355\u4F4D",prop:"buildOrgName"},{default:r(()=>[t(m,{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(u,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801",prop:"orgCreditCode"},{default:r(()=>[t(m,{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(u,{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:Ye},{default:r(()=>[t(i,{label:"1"},{default:r(()=>[f("\u7701\u7EA7")]),_:1}),t(i,{label:"2"},{default:r(()=>[f("\u975E\u7701\u7EA7")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(u,{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(),b(m,{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(),b(m,{key:1,modelValue:l.value.higherSuperOrg,"onUpdate:modelValue":a[19]||(a[19]=s=>l.value.higherSuperOrg=s),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:Be},null,8,["modelValue"])):(d(),b(m,{key:2,modelValue:l.value.higherSuperOrg,"onUpdate:modelValue":a[20]||(a[20]=s=>l.value.higherSuperOrg=s),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:Ue},null,8,["modelValue"]))]}),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(u,{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(),b(m,{key:0,modelValue:l.value.superOrg,"onUpdate:modelValue":a[21]||(a[21]=p=>l.value.superOrg=p),disabled:""},null,8,["modelValue"])):(d(),b(m,{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:Te},null,8,["modelValue","disabled"]))]}),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(u,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801",prop:"superOrgCreditCode"},{default:r(()=>{var o;return[t(m,{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(),k(D,{key:2},[t(n,{span:24},{default:r(()=>[t(u,{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),k(D,null,E(fe.value,(s,p)=>(d(),b(i,{key:p,label:s.id},{default:r(()=>[f(Y(s.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),t(n,{span:24},{default:r(()=>[t(u,{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),k(D,null,E((o=g.dictionaryList)==null?void 0:o.filter(s=>s.type==="BUILD_LEVEL"),(s,p)=>(d(),b(i,{key:p,label:s.value},{default:r(()=>[f(Y(s.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),((ge=(N=l.value)==null?void 0:N.baseConstructionType)==null?void 0:ge.includes("03"))&&!((ce=(ve=l.value)==null?void 0:ve.baseConstructionType)!=null&&ce.includes("01"))?T("",!0):(d(),b(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(),b(u,{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),k(D,null,E((p=g.dictionaryList)==null?void 0:p.filter(P=>P.type==="BUILD_LEVEL"),(P,I)=>(d(),b(i,{key:I,label:P.value},{default:r(()=>[f(Y(P.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})):(d(),b(u,{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),k(D,null,E((p=g.dictionaryList)==null?void 0:p.filter(P=>P.type==="BUILD_LEVEL"),(P,I)=>(d(),b(i,{key:I,label:P.value},{default:r(()=>[f(Y(P.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1}))]}),_:1})),t(n,{span:24},{default:r(()=>[t(u,{label:"\u7ACB\u9879\u4F9D\u636E\u6750\u6599",prop:"baseProjBasis"},{default:r(()=>[t(_,{ref_key:"tableListRef",ref:A,pagination:!1,style:{width:"100%"},column:Oe,data:S.value,onSelectionChange:we},{fileName:r(({scope:o})=>[l.value.baseProjBasis&&l.value.baseProjBasis.map(s=>s.value).includes(o.row.value)?(d(),b(u,{key:0},{default:r(()=>{var s,p,P;return[t(m,{value:(P=(p=(s=l.value.baseProjBasis[l.value.baseProjBasis.findIndex(I=>I.value===o.row.value)])==null?void 0:s.fileList)==null?void 0:p[0])==null?void 0:P.name,placeholder:"\u8BF7\u8F93\u5165",maxlength:50,disabled:!0},null,8,["value"])]}),_:2},1024)):(d(),b(m,{key:1,disabled:!0}))]),action:r(({scope:o})=>[l.value.baseProjBasis&&l.value.baseProjBasis.map(s=>s.value).includes(o.row.value)?(d(),b(u,{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(C,{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(_e),"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(Ve)}),limit:1,accept:L(Ve).map(s=>`.${s}`).join(","),"on-preview":L(tl)},{trigger:r(()=>[pl]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview"])]),_:2},1032,["prop"])):(d(),k("span",ml,"\u4E0A\u4F20"))]),_:1},8,["data"])]),_:1})]),_:1}),t(n,{span:24},{default:r(()=>[t(u,{label:"\u7ACB\u9879\u4F9D\u636E\u8BF4\u660E",prop:"baseBasisEstablish"},{default:r(()=>[t(m,{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(),b(u,{key:1,label:"\u53D1\u6539\u7F16\u7801"},{default:r(()=>{var o;return[t(m,{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(),b(u,{key:1,label:"\u8D22\u653F\u7F16\u7801"},{default:r(()=>{var o;return[t(m,{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(u,{label:"\u9879\u76EE\u6982\u8FF0",prop:"projectOverview"},{default:r(()=>[t(m,{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}),t(n,{span:24},{default:r(()=>[l.value.projectType!=="01"?(d(),b(u,{key:0,label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",prop:"baseHistorProjs"},{default:r(()=>[j("p",bl,[t(V,{type:"primary",onClick:pe},{default:r(()=>[f("\u5173\u8054\u5386\u5E74\u9879\u76EE")]),_:1})]),t(_,{pagination:!1,style:{width:"100%"},column:de,data:l.value.baseHistorProjs,"empty-temp":!1},{action:r(({scope:o})=>[j("a",{class:"text-danger",onClick:s=>me(o.$index)},"\u5220\u9664",8,fl)]),_:1},8,["data"])]),_:1})):(d(),b(u,{key:1,label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0"},{default:r(()=>[j("p",gl,[t(V,{type:"primary",onClick:pe},{default:r(()=>[f("\u5173\u8054\u5386\u5E74\u9879\u76EE")]),_:1})]),t(_,{pagination:!1,style:{width:"100%"},column:de,data:l.value.baseHistorProjs,"empty-temp":!1},{action:r(({scope:o})=>[j("a",{class:"text-danger",onClick:s=>me(o.$index)},"\u5220\u9664",8,vl)]),_:1},8,["data"])]),_:1}))]),_:1}),e.$route.name==="declarePlan"||[10012,10016,10013].includes(g.detailData.status)?(d(),b(n,{key:1,span:24},{default:r(()=>[t(u,{label:"\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548",prop:"beseExpectedResults"},{default:r(()=>[t(_,{pagination:!1,style:{width:"100%"},column:Re,data:l.value.beseExpectedResults,"empty-temp":!1},{action:r(({scope:o})=>[j("a",{onClick:s=>be(o.row,o.$index)},"\u7F16\u8F91",8,cl),j("a",{class:"text-danger",onClick:s=>He(o.$index)},"\u5220\u9664",8,yl)]),_:1},8,["data"]),j("p",Cl,[t(V,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:a[34]||(a[34]=()=>be())},{default:r(()=>[f("\u6DFB\u52A0 ")]),_:1})])]),_:1})]),_:1})):T("",!0)],64)):T("",!0),l.value.baseProjIsConfidentiality==="02"?(d(),k(D,{key:3},[t(n,{span:12},{default:r(()=>[t(u,{label:"\u9884\u7B97\u5E74\u5EA6",prop:"projectYear"},{default:r(()=>{var o;return[t(O,{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(u,{label:"\u7533\u62A5\u91D1\u989D",prop:"declareAmount"},{default:r(()=>[t(w,{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(u,{label:"\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",prop:"annualPlanAmount"},{default:r(()=>[t(w,{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)):T("",!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:Se,onGetSelectUnit:xe},null,8,["visible","default-data","title","type","default-props","params"]),t(Ge,{"model-value":x.value,title:"\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D",width:"60%",onClose:a[42]||(a[42]=N=>x.value=!1)},{footer:r(()=>[j("span",Pl,[t(V,{onClick:a[41]||(a[41]=N=>x.value=!1)},{default:r(()=>[f("\u5173\u95ED")]),_:1}),t(V,{type:"primary",onClick:qe},{default:r(()=>[f(" \u63D0\u4EA4 ")]),_:1})])]),default:r(()=>[t(z,{model:U,size:"small","label-suffix":":"},{default:r(()=>[t(M,{gutter:16,class:"mb-16"},{default:r(()=>[t(n,{span:8},{default:r(()=>[t(u,{label:"\u5355\u4F4D\u540D\u79F0"},{default:r(()=>[t(m,{modelValue:U.businessStripName,"onUpdate:modelValue":a[40]||(a[40]=N=>U.businessStripName=N),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:16},{default:r(()=>[t(u,{class:"btn"},{default:r(()=>[j("div",Vl,[t(V,{type:"primary",onClick:R},{default:r(()=>[f("\u67E5\u8BE2 ")]),_:1}),t(V,{onClick:Me},{default:r(()=>[f("\u91CD\u7F6E ")]),_:1})])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),t(_,{ref_key:"tableListRef",ref:A,column:$e,data:se.value,pagination:!1,style:{height:"600px",overflow:"auto"},onGetTableData:R,onRadioChange:Ie},null,8,["data"])]),_:1},8,["model-value"]),t(ul,{visible:F.visible,params:F.params,onClose:a[43]||(a[43]=N=>F.visible=!1),onGetUserData:Ee},null,8,["visible","params"]),t(il,{visible:B.visible,data:B.data,onGetProjectList:Ae,onClose:a[44]||(a[44]=N=>B.visible=!1)},null,8,["visible","data"]),t(nl,{visible:$.visible,data:$.data,onSetContent:Fe,onClose:a[45]||(a[45]=N=>$.visible=!1)},null,8,["visible","data"])],64)}}});export{xl as default};