|
- import{d as ze,z as We,D as ye,G as Ze,r as P,b as E,o as Ke,L as ee,c,e as d,f as V,h as t,i as r,j as f,I as m,g as j,k as w,F as N,J as A,t as R,u as S,V as Ce,N as Qe,Z as Xe}from"./index.622ee9e7.js";import{h as el,i as ll,f as al,c as Pe,b as tl,r as rl}from"./uploadAction.44c3f16c.js";import{c as ol}from"./index.7cf53a4d.js";import{_ as sl}from"./index.d00dc96d.js";import ul from"./userDialog.f90501cc.js";import il from"./relatedProjectDialog.bdef2a17.js";import nl from"./projectContentDialog.cffe974e.js";import{a as dl}from"./indicatorTemplate.5a807688.js";import"./unitManage.0d5b7fa6.js";import"./renewalProjectCapitalDeclare.a2b753c6.js";const pl={class:"text-right w-full mb-8"},ml=["onClick"],bl=["onClick"],fl={class:"text-right w-full mb-8"},vl=["onClick"],gl=["onClick"],cl=j("div",null,[j("a",null,"\u4E0A\u4F20")],-1),yl={key:1,class:"text-info cursor-not-allowed"},Cl=["onClick"],Pl=["onClick"],Vl={class:"text-right w-full mt-8"},hl={class:"flex"},jl={class:"dialog-footer"},_l=ze({name:"basicInfo"}),Bl=Object.assign(_l,{props:{detailData:{type:Object,default:()=>({})},dictionaryList:{type:Array,default:()=>[]},declareAmount:{type:Number}},emits:["changeIsFirst","getBasicInfoData","reuseItem"],setup(v,{expose:Ve,emit:he}){const Z=v,je=We(),_e=ye.dictStore.uploadUrl,le=Ze(ye.userStore).userInfo||{},l=P({baseProjIsConfidentiality:"01",buildOrgName:le.value.empPosUnitName,beseExpectedResults:[]}),ae=P(),te=(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"))},re=(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()},oe=(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")},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:re}],responsibleManMobile:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7",trigger:"blur"},{validator:te,trigger:"blur"}],contactName:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8054\u7CFB\u4EBA",trigger:"blur"},{validator:re}],contactPhone:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u8054\u7CFB\u4EBA\u624B\u673A\u53F7",trigger:"blur"},{validator:te,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:oe,trigger:"blur"}],annualPlanAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",trigger:"blur"},{validator:oe,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:[]}]),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}],F=P(),we=e=>{l.value.baseProjBasis=e.map(a=>a)},Ne=e=>{ae.value.validate(a=>{e(a)})},Te=e=>{var u,i,n,g,h,_,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:((n=(i=e==null?void 0:e.baseProjBasis)==null?void 0:i.split("\uFF1B"))==null?void 0:n.map((D,y)=>{var x,k,Y;const L=`[${(x=e.baseProjBasisFile)==null?void 0:x.replace(/}];/g,"}],")}]`;return{title:(Y=(k=U.value)==null?void 0:k.find(W=>W.value===D))==null?void 0:Y.title,fileList:e!=null&&e.baseProjBasisFile?rl(JSON.parse(L)[y]):[],value:D}}))||[],baseBasisEstablish:e.baseBasisEstablish||"",developCode:e.developCode,financialCode:e.financialCode,projectOverview:e.projectOverview,projectIntroduction:e.projectIntroduction,baseHistorProjs:((g=e==null?void 0:e.baseHistorProjId)==null?void 0:g.split("\uFF1B").map((D,y)=>({baseProjId:D,baseProjName:e==null?void 0:e.baseHistorProjName.split("\uFF1B")[y],baseProjSetYear:e==null?void 0:e.baseHistorProjYear.split("\uFF1B")[y]})))||[],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((_=(h=e==null?void 0:e.baseProjBasis)==null?void 0:h.split("\uFF1B"))!=null&&_.length){const D=(T=e==null?void 0:e.baseProjBasis)==null?void 0:T.split("\uFF1B");U.value&&U.value.forEach(y=>{var L,x;D.includes(y.value)&&(y.fileList=(L=a.find(k=>k.value===y.value))==null?void 0:L.fileList,y.fileName=(x=a.find(k=>k.value===y.value))==null?void 0:x.fileName,F.value.toggleRowSelect(y,!0))})}},H=he,De=e=>{H("changeIsFirst",e)},b=E({unitVisible:!1,data:void 0,title:void 0,type:void 0,params:void 0}),Le=()=>{b.unitVisible=!0,b.title="\u4E3B\u7BA1\u5355\u4F4D",b.type="UNIT",b.showCheckbox=!0,b.defaultProps={children:"children",label:"title",value:"key",isLeaf:"isLeaf"},b.params={onlyUnit:!0},b.data=l.value.superOrgCode?[{key:l.value.superOrgCode,title:l.value.superOrg}]:[]},Se=()=>{b.unitVisible=!1},xe=e=>{b.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=()=>{b.title="\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D",b.type="UNIT",b.defaultProps={children:"children",label:"title",value:"key",isLeaf:"isLeaf"},b.unitVisible=!0,b.data=l.value.higherSuperOrgCode?[{key:l.value.higherSuperOrgCode,title:l.value.higherSuperOrg}]:[]},B=P(!1),$=E({businessStripName:void 0}),Be=async()=>{J(),B.value=!0,await Qe(),F.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=P(),J=async()=>{const e=await ol({...$});se.value=e.data},Me=()=>{$.businessStripName=void 0,J()},K=P(),Ie=e=>{K.value=e},Ye=()=>{B.value=!1,l.value.higherSuperOrgCode=K.value.businessStripCode,l.value.higherSuperOrg=K.value.businessStripName},Q=P({}),ue=async(e,a)=>{const u=await Xe(a||le.value.empPosUnitCode);Q.value[e]=!!u.data.unifiedSocialCreditCode,l.value[e]=u.data.unifiedSocialCreditCode||l.value[e]},G=E({visible:!1,params:{}}),ie=P(),ne=P(),z=(e,a)=>{G.visible=!0,ie.value=e,ne.value=a},qe=e=>{l.value[ie.value]=e.name,l.value[ne.value]=e.phoneNo},Ee=(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"}],M=E({visible:!1}),pe=()=>{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}))},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"}],I=E({visible:!1,data:void 0}),X=P(),be=(e,a)=>{I.data=e,I.visible=!0,X.value=a},Fe=e=>{X.value===void 0?l.value.beseExpectedResults.push(e):l.value.beseExpectedResults[X.value]=e},He=e=>{l.value.beseExpectedResults.splice(e,1)},fe=P(),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")}),ee(()=>Z.declareAmount,e=>{}),Ve({validForm:Ne,formData:l,setFormData:Te}),ee(()=>Z.dictionaryList,e=>{var a;e&&(U.value=[],(a=Z.dictionaryList)==null||a.filter(u=>u.type==="PROJECT_BASIS").forEach(u=>{U.value.push({title:u.label,fileName:"",fileList:[],value:u.value})}))}),ee(()=>l.value,e=>{H("getBasicInfoData",l.value)},{deep:!0}),(e,a)=>{const u=c("el-input"),i=c("el-form-item"),n=c("el-col"),g=c("el-radio"),h=c("el-radio-group"),_=c("el-button"),T=c("table-list"),D=c("el-checkbox"),y=c("el-checkbox-group"),L=c("el-date-picker"),x=c("el-upload"),k=c("el-input-number"),Y=c("el-row"),W=c("el-form"),Ge=c("el-dialog");return d(),V(N,null,[t(W,{ref_key:"formRef",ref:ae,model:l.value,rules:ke,"label-position":"right","label-width":"180px","label-suffix":":","scroll-to-error":"","validate-on-rule-change":!1},{default:r(()=>[t(Y,{gutter:40},{default:r(()=>{var O,ve,ge,ce;return[t(n,{span:24},{default:r(()=>[t(i,{label:"\u9879\u76EE\u540D\u79F0",prop:"projectName"},{default:r(()=>[t(u,{modelValue:l.value.projectName,"onUpdate:modelValue":a[0]||(a[0]=o=>l.value.projectName=o),maxlength:"50",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:24},{default:r(()=>[t(i,{label:"\u9879\u76EE\u7C7B\u578B",prop:"projectType"},{default:r(()=>{var o;return[t(h,{modelValue:l.value.projectType,"onUpdate:modelValue":a[1]||(a[1]=s=>l.value.projectType=s),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=v.detailData)==null?void 0:o.status)},{default:r(()=>[t(g,{label:"01"},{default:r(()=>[f("\u9996\u6B21\u5EFA\u8BBE")]),_:1}),t(g,{label:"02"},{default:r(()=>[f("\u8FED\u4EE3\u5347\u7EA7")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),t(n,{span:24},{default:r(()=>[l.value.projectType!=="01"?(d(),m(i,{key:0,label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",prop:"baseHistorProjs"},{default:r(()=>[j("p",pl,[t(_,{type:"primary",onClick:pe},{default:r(()=>[f("\u5173\u8054\u5386\u5E74\u9879\u76EE")]),_:1})]),t(T,{pagination:!1,style:{width:"100%"},column:de,data:l.value.baseHistorProjs,"empty-temp":!1},{action:r(({scope:o})=>[l.value.projectType==="03"?(d(),V("a",{key:0,class:"text-primary",onClick:s=>H("reuseItem",l.value.baseHistorProjs[o.$index])},"\u590D\u7528\u4FE1\u606F",8,ml)):w("",!0),j("a",{class:"text-danger",onClick:s=>me(o.$index)},"\u5220\u9664",8,bl)]),_:1},8,["data"])]),_:1})):(d(),m(i,{key:1,label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0"},{default:r(()=>[j("p",fl,[t(_,{type:"primary",onClick:pe},{default:r(()=>[f("\u5173\u8054\u5386\u5E74\u9879\u76EE")]),_:1})]),t(T,{pagination:!1,style:{width:"100%"},column:de,data:l.value.baseHistorProjs,"empty-temp":!1},{action:r(({scope:o})=>[l.value.projectType==="03"?(d(),V("a",{key:0,class:"text-primary",onClick:s=>H("reuseItem",l.value.baseHistorProjs[o.$index])},"\u590D\u7528\u4FE1\u606F",8,vl)):w("",!0),j("a",{class:"text-danger",onClick:s=>me(o.$index)},"\u5220\u9664",8,gl)]),_:1},8,["data"])]),_:1}))]),_:1}),t(n,{span:12},{default:r(()=>[t(i,{label:"\u5185\u5BB9\u7C7B\u522B",prop:"baseConstructionType"},{default:r(()=>[t(y,{modelValue:l.value.baseConstructionType,"onUpdate:modelValue":a[2]||(a[2]=o=>l.value.baseConstructionType=o)},{default:r(()=>{var o;return[(d(!0),V(N,null,A((o=v.dictionaryList)==null?void 0:o.filter(s=>s.type==="CONTENT_TYPE"),(s,p)=>(d(),m(D,{key:p,label:s.value},{default:r(()=>[f(R(s.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),l.value.baseProjIsConfidentiality==="01"?(d(),V(N,{key:0},[t(n,{span:12},{default:r(()=>[t(i,{label:"\u662F\u5426\u9996\u6B21\u65B0\u5EFA",prop:"isFirst"},{default:r(()=>{var o;return[t(h,{modelValue:l.value.isFirst,"onUpdate:modelValue":a[3]||(a[3]=s=>l.value.isFirst=s),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=v.detailData)==null?void 0:o.status),onChange:De},{default:r(()=>[t(g,{label:1},{default:r(()=>[f("\u662F")]),_:1}),t(g,{label:0},{default:r(()=>[f("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),S(je).name!="planEdit"?(d(),m(n,{key:0,span:12},{default:r(()=>[t(i,{label:"\u662F\u5426\u4E34\u65F6\u589E\u8865",prop:"isTemporaryAugment"},{default:r(()=>{var o;return[t(h,{modelValue:l.value.isTemporaryAugment,"onUpdate:modelValue":a[4]||(a[4]=s=>l.value.isTemporaryAugment=s),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=v.detailData)==null?void 0:o.status)},{default:r(()=>[t(g,{label:1},{default:r(()=>[f("\u662F")]),_:1}),t(g,{label:0},{default:r(()=>[f("\u5426")]),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1})):w("",!0)],64)):w("",!0),t(n,{span:12},{default:r(()=>[t(i,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",prop:"responsibleMan"},{default:r(()=>[t(u,{modelValue:l.value.responsibleMan,"onUpdate:modelValue":a[5]||(a[5]=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[6]||(a[6]=o=>z("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(u,{modelValue:l.value.responsibleManMobile,"onUpdate:modelValue":a[7]||(a[7]=o=>l.value.responsibleManMobile=o),maxlength:"11",placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:a[8]||(a[8]=o=>z("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(u,{modelValue:l.value.contactName,"onUpdate:modelValue":a[9]||(a[9]=o=>l.value.contactName=o),maxlength:"50",placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:a[10]||(a[10]=o=>z("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(u,{modelValue:l.value.contactPhone,"onUpdate:modelValue":a[11]||(a[11]=o=>l.value.contactPhone=o),maxlength:"11",placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:a[12]||(a[12]=o=>z("contactName","contactPhone"))},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(i,{label:"\u5EFA\u8BBE\u5355\u4F4D",prop:"buildOrgName"},{default:r(()=>[t(u,{modelValue:l.value.buildOrgName,"onUpdate:modelValue":a[13]||(a[13]=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(u,{modelValue:l.value.orgCreditCode,"onUpdate:modelValue":a[14]||(a[14]=o=>l.value.orgCreditCode=o),maxlength:"18",placeholder:"\u8BF7\u8F93\u5165",disabled:Q.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(h,{modelValue:l.value.baseProvManDeprtType,"onUpdate:modelValue":a[15]||(a[15]=s=>l.value.baseProvManDeprtType=s),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=v.detailData)==null?void 0:o.status),onChange:Ee},{default:r(()=>[t(g,{label:"1"},{default:r(()=>[f("\u7701\u7EA7")]),_:1}),t(g,{label:"2"},{default:r(()=>[f("\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=v.detailData)==null?void 0:o.status)?(d(),m(u,{key:0,modelValue:l.value.higherSuperOrg,"onUpdate:modelValue":a[16]||(a[16]=s=>l.value.higherSuperOrg=s),disabled:""},null,8,["modelValue"])):l.value.baseProvManDeprtType==="1"?(d(),m(u,{key:1,modelValue:l.value.higherSuperOrg,"onUpdate:modelValue":a[17]||(a[17]=s=>l.value.higherSuperOrg=s),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:Be},null,8,["modelValue"])):(d(),m(u,{key:2,modelValue:l.value.higherSuperOrg,"onUpdate:modelValue":a[18]||(a[18]=s=>l.value.higherSuperOrg=s),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:Ue},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=v.detailData)==null?void 0:o.status)?(d(),m(u,{key:0,modelValue:l.value.superOrg,"onUpdate:modelValue":a[19]||(a[19]=p=>l.value.superOrg=p),disabled:""},null,8,["modelValue"])):(d(),m(u,{key:1,modelValue:l.value.superOrg,"onUpdate:modelValue":a[20]||(a[20]=p=>l.value.superOrg=p),placeholder:"\u8BF7\u9009\u62E9",readonly:"",disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((s=v.detailData)==null?void 0:s.status),onClick:Le},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(u,{modelValue:l.value.superOrgCreditCode,"onUpdate:modelValue":a[21]||(a[21]=s=>l.value.superOrgCreditCode=s),placeholder:"\u8BF7\u586B\u5199",disabled:Q.value.superOrgCreditCode||e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=v.detailData)==null?void 0:o.status)},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),l.value.baseProjIsConfidentiality==="01"?(d(),V(N,{key:1},[t(n,{span:24},{default:r(()=>[t(i,{label:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B",prop:"templateType"},{default:r(()=>{var o;return[t(h,{modelValue:l.value.templateType,"onUpdate:modelValue":a[22]||(a[22]=s=>l.value.templateType=s),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=v.detailData)==null?void 0:o.status)},{default:r(()=>[(d(!0),V(N,null,A(fe.value,(s,p)=>(d(),m(g,{key:p,label:s.id},{default:r(()=>[f(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(h,{modelValue:l.value.buildLevel,"onUpdate:modelValue":a[23]||(a[23]=o=>l.value.buildLevel=o)},{default:r(()=>{var o;return[(d(!0),V(N,null,A((o=v.dictionaryList)==null?void 0:o.filter(s=>s.type==="BUILD_LEVEL"),(s,p)=>(d(),m(g,{key:p,label:s.value},{default:r(()=>[f(R(s.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),((ve=(O=l.value)==null?void 0:O.baseConstructionType)==null?void 0:ve.includes("03"))&&!((ce=(ge=l.value)==null?void 0:ge.baseConstructionType)!=null&&ce.includes("01"))?w("",!0):(d(),m(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(),m(i,{key:0,label:"\u8D2F\u901A\u5C42\u7EA7",prop:"lowestLevel"},{default:r(()=>[t(h,{modelValue:l.value.lowestLevel,"onUpdate:modelValue":a[24]||(a[24]=p=>l.value.lowestLevel=p)},{default:r(()=>{var p;return[(d(!0),V(N,null,A((p=v.dictionaryList)==null?void 0:p.filter(C=>C.type==="BUILD_LEVEL"),(C,q)=>(d(),m(g,{key:q,label:C.value},{default:r(()=>[f(R(C.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})):(d(),m(i,{key:1,label:"\u8D2F\u901A\u5C42\u7EA7"},{default:r(()=>[t(h,{modelValue:l.value.lowestLevel,"onUpdate:modelValue":a[25]||(a[25]=p=>l.value.lowestLevel=p)},{default:r(()=>{var p;return[(d(!0),V(N,null,A((p=v.dictionaryList)==null?void 0:p.filter(C=>C.type==="BUILD_LEVEL"),(C,q)=>(d(),m(g,{key:q,label:C.value},{default:r(()=>[f(R(C.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1}))]}),_:1})),t(n,{span:12},{default:r(()=>[t(i,{label:"\u9884\u7B97\u5E74\u5EA6",prop:"projectYear"},{default:r(()=>{var o;return[t(L,{modelValue:l.value.projectYear,"onUpdate:modelValue":a[26]||(a[26]=s=>l.value.projectYear=s),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=v.detailData)==null?void 0:o.status),type:"year",placeholder:"\u8BF7\u9009\u62E9",format:"YYYY","value-format":"YYYY"},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),l.value.baseProjIsConfidentiality==="01"?(d(),m(n,{key:1,span:12},{default:r(()=>[t(i,{label:"\u5EFA\u8BBE\u8D77\u6B62\u5E74\u9650",prop:"buildDuration"},{default:r(()=>[t(L,{modelValue:l.value.buildDuration,"onUpdate:modelValue":a[27]||(a[27]=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})):w("",!0),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:Oe,data:U.value,onSelectionChange:we},{fileName:r(({scope:o})=>[l.value.baseProjBasis&&l.value.baseProjBasis.map(s=>s.value).includes(o.row.value)?(d(),m(i,{key:0},{default:r(()=>{var s,p,C;return[t(u,{value:(C=(p=(s=l.value.baseProjBasis[l.value.baseProjBasis.findIndex(q=>q.value===o.row.value)])==null?void 0:s.fileList)==null?void 0:p[0])==null?void 0:C.name,placeholder:"\u8BF7\u8F93\u5165",maxlength:50,disabled:!0},null,8,["value"])]}),_:2},1024)):(d(),m(u,{key:1,disabled:!0}))]),action:r(({scope:o})=>[l.value.baseProjBasis&&l.value.baseProjBasis.map(s=>s.value).includes(o.row.value)?(d(),m(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:S(_e),"on-success":s=>S(el)(s,l.value.baseProjBasis[l.value.baseProjBasis.findIndex(p=>p.value===o.row.value)].fileList,!0),"on-error":S(ll),"before-upload":s=>S(al)(s,{types:S(Pe)}),limit:1,accept:S(Pe).map(s=>`.${s}`).join(","),"on-preview":S(tl)},{trigger:r(()=>[cl]),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview"])]),_:2},1032,["prop"])):(d(),V("span",yl,"\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(u,{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(()=>[(v.declareAmount>=1e3,d(),m(i,{key:1,label:"\u53D1\u6539\u7F16\u7801"},{default:r(()=>{var o;return[t(u,{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=v.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(u,{modelValue:l.value.projectOverview,"onUpdate:modelValue":a[31]||(a[31]=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(v.detailData.status)?(d(),m(n,{key:2,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=>be(o.row,o.$index)},"\u7F16\u8F91",8,Cl),j("a",{class:"text-danger",onClick:s=>He(o.$index)},"\u5220\u9664",8,Pl)]),_:1},8,["data"]),j("p",Vl,[t(_,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:a[32]||(a[32]=()=>be())},{default:r(()=>[f("\u6DFB\u52A0 ")]),_:1})])]),_:1})]),_:1})):w("",!0)],64)):w("",!0),l.value.baseProjIsConfidentiality==="02"?(d(),V(N,{key:2},[t(n,{span:12},{default:r(()=>[t(i,{label:"\u9884\u7B97\u5E74\u5EA6",prop:"projectYear"},{default:r(()=>{var o;return[t(L,{modelValue:l.value.projectYear,"onUpdate:modelValue":a[33]||(a[33]=s=>l.value.projectYear=s),disabled:e.$route.name==="declarePlan"||[10012,10013,10016].includes((o=v.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[34]||(a[34]=o=>l.value.declareAmount=o),placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:a[35]||(a[35]=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[36]||(a[36]=o=>l.value.annualPlanAmount=o),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:a[37]||(a[37]=Ce(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1})],64)):w("",!0)]}),_:1})]),_:1},8,["model"]),t(sl,{visible:b.unitVisible,"show-checkbox":!1,"default-data":b.data,title:b.title,type:b.type,"default-props":b.defaultProps,params:b.params,onClose:Se,onGetSelectUnit:xe},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[40]||(a[40]=O=>B.value=!1)},{footer:r(()=>[j("span",jl,[t(_,{onClick:a[39]||(a[39]=O=>B.value=!1)},{default:r(()=>[f("\u5173\u95ED")]),_:1}),t(_,{type:"primary",onClick:Ye},{default:r(()=>[f(" \u63D0\u4EA4 ")]),_:1})])]),default:r(()=>[t(W,{model:$,size:"small","label-suffix":":"},{default:r(()=>[t(Y,{gutter:16,class:"mb-16"},{default:r(()=>[t(n,{span:8},{default:r(()=>[t(i,{label:"\u5355\u4F4D\u540D\u79F0"},{default:r(()=>[t(u,{modelValue:$.businessStripName,"onUpdate:modelValue":a[38]||(a[38]=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",hl,[t(_,{type:"primary",onClick:J},{default:r(()=>[f("\u67E5\u8BE2 ")]),_:1}),t(_,{onClick:Me},{default:r(()=>[f("\u91CD\u7F6E ")]),_:1})])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),t(T,{ref_key:"tableListRef",ref:F,column:$e,data:se.value,pagination:!1,style:{height:"600px",overflow:"auto"},onGetTableData:J,onRadioChange:Ie},null,8,["data"])]),_:1},8,["model-value"]),t(ul,{visible:G.visible,params:G.params,onClose:a[41]||(a[41]=O=>G.visible=!1),onGetUserData:qe},null,8,["visible","params"]),t(il,{visible:M.visible,data:M.data,onGetProjectList:Ae,onClose:a[42]||(a[42]=O=>M.visible=!1)},null,8,["visible","data"]),t(nl,{visible:I.visible,data:I.data,onSetContent:Fe,onClose:a[43]||(a[43]=O=>I.visible=!1)},null,8,["visible","data"])],64)}}});export{Bl as default};
|