Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

2 wiersze
31KB

  1. import{d as Ke,x as Qe,B as ce,C as Ze,r as c,b as R,o as el,J as le,c as y,e as d,f as j,h as t,i as r,j as m,G as b,g as k,k as T,F as N,H as F,t as A,u as x,T as Pe,L as ll,X as al}from"./index.e8b71da7.js";import{h as tl,i as rl,f as ol,c as je,b as sl,r as il}from"./uploadAction.65e21f3b.js";import{c as ul}from"./index.dd00bdfc.js";import{_ as nl}from"./index.52fb6783.js";import dl from"./userDialog.13311ac5.js";import pl from"./relatedProjectDialog.fc863937.js";import ml from"./projectContentDialog.291ae79d.js";import{a as bl}from"./indicatorTemplate.a390f46e.js";import{u as Ve}from"./validate.e0f99e8b.js";import"./unitManage.ad646f25.js";import"./renewalProjectCapitalDeclare.627190e4.js";const fl={class:"text-right w-full mb-8"},gl=["onClick"],vl=["onClick"],yl={class:"text-right w-full mb-8"},Cl=["onClick"],cl=["onClick"],Pl={key:1,class:"text-info cursor-not-allowed"},jl=["onClick"],Vl=["onClick"],kl={class:"text-right w-full mt-8"},Ol={class:"flex"},wl={class:"dialog-footer"},hl=Ke({name:"basicInfo"}),Il=Object.assign(hl,{props:{detailData:{type:Object,default:()=>({})},dictionaryList:{type:Array,default:()=>[]},declareAmount:{type:Number}},emits:["changeIsFirst","getBasicInfoData","reuseItem","changeProjectTypeResetForm"],setup(v,{expose:ke,emit:Oe}){const X=v,we=Qe(),he=ce.dictStore.uploadUrl,ae=Ze(ce.userStore).userInfo||{},a=c({baseProjIsConfidentiality:"01",buildOrgName:ae.value.empPosUnitName,beseExpectedResults:[],projectType:"01"}),te=c(),re=(l,e,i)=>{if(e==="")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(e))i();else return i(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"))},oe=(l,e,i)=>{e||i(),a.value.responsibleMan===a.value.contactName&&a.value.responsibleManMobile===a.value.contactPhone?i("\u9879\u76EE\u8D1F\u8D23\u4EBA\u4E0E\u9879\u76EE\u8054\u7CFB\u4EBA\u4E0D\u80FD\u76F8\u540C"):i()},se=(l,e,i)=>{e||i(),/^\d+(\.\d{1,6})?$/.test(e)?e*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")},Te={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:oe}],responsibleManMobile:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7",trigger:"blur"},{validator:re,trigger:"blur"}],contactName:[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u8054\u7CFB\u4EBA",trigger:"blur"},{validator:oe}],contactPhone:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u8054\u7CFB\u4EBA\u624B\u673A\u53F7",trigger:"blur"},{validator:re,trigger:"blur"}],buildOrgName:[{required:!0,message:"\u8BF7\u8F93\u5165\u5EFA\u8BBE\u5355\u4F4D",trigger:"blur"}],orgCreditCode:Ve(),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:Ve(),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:se,trigger:"blur"}],annualPlanAmount:[{required:!0,message:"\u8BF7\u8F93\u5165\u5E74\u5EA6\u652F\u4ED8\u91D1\u989D",trigger:"blur"},{validator:se,trigger:"blur"}]},U=c([{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:[]}]),Ne=[{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}],H=c(),Le=l=>{a.value.baseProjBasis=l.map(e=>e)},De=l=>{te.value.validate(e=>{l(e)})},Se=l=>{var i,u,n,g,V,O,L;a.value={baseProjIsConfidentiality:l.baseProjIsConfidentiality||"01",projectName:l.projectName,projectType:l.projectType?l.projectType:"01",isFirst:l.isFirst,baseConstructionType:((i=l==null?void 0:l.baseConstructionType)==null?void 0:i.split("\uFF1B"))||void 0,isTemporaryAugment:l.isTemporaryAugment,responsibleMan:l.responsibleMan,responsibleManMobile:l.responsibleManMobile,contactName:l.contactName,contactPhone:l.contactPhone,buildOrgName:l.buildOrgName,orgCreditCode:l.orgCreditCode,superOrgCode:l.superOrgCode,superOrg:l.superOrg,superOrgCreditCode:l.superOrgCreditCode||"",baseProvManDeprtType:(l==null?void 0:l.baseProvManDeprtType)+""||"",higherSuperOrgCode:l.higherSuperOrgCode,higherSuperOrg:l.higherSuperOrg,buildDuration:l.beginTime&&l.endTime?[l.beginTime,l.endTime]:[],templateType:l.templateType,buildLevel:l.buildLevel,lowestLevel:l.lowestLevel,buildBasis:void 0,baseProjBasis:((n=(u=l==null?void 0:l.baseProjBasis)==null?void 0:u.split("\uFF1B"))==null?void 0:n.map((D,C)=>{var B,w,q;const S=`[${(B=l.baseProjBasisFile)==null?void 0:B.replace(/}];/g,"}],")}]`;return{title:(q=(w=U.value)==null?void 0:w.find(W=>W.value===D))==null?void 0:q.title,fileList:l!=null&&l.baseProjBasisFile?il(JSON.parse(S)[C]):[],value:D}}))||[],baseBasisEstablish:l.baseBasisEstablish||"",developCode:l.developCode,financialCode:l.financialCode,projectOverview:l.projectOverview,projectIntroduction:l.projectIntroduction,baseHistorProjs:((g=l==null?void 0:l.baseHistorProjId)==null?void 0:g.split("\uFF1B").map((D,C)=>({baseProjId:D,baseProjName:l==null?void 0:l.baseHistorProjName.split("\uFF1B")[C],baseProjSetYear:l==null?void 0:l.baseHistorProjYear.split("\uFF1B")[C]})))||[],beseExpectedResults:(l==null?void 0:l.beseExpectedResults)&&JSON.parse(l==null?void 0:l.beseExpectedResults)||[],projectYear:l.projectYear?l.projectYear+"":null,declareAmount:l.declareAmount,annualPlanAmount:l.annualPlanAmount};const e=a.value.baseProjBasis?JSON.parse(JSON.stringify(a.value.baseProjBasis)):[];if((O=(V=l==null?void 0:l.baseProjBasis)==null?void 0:V.split("\uFF1B"))!=null&&O.length){const D=(L=l==null?void 0:l.baseProjBasis)==null?void 0:L.split("\uFF1B");U.value&&U.value.forEach(C=>{var S,B;D.includes(C.value)&&(C.fileList=(S=e.find(w=>w.value===C.value))==null?void 0:S.fileList,C.fileName=(B=e.find(w=>w.value===C.value))==null?void 0:B.fileName,H.value.toggleRowSelect(C,!0))})}},_=Oe,xe=l=>{_("changeIsFirst",l)},f=R({unitVisible:!1,data:void 0,title:void 0,type:void 0,params:void 0}),Be=()=>{f.unitVisible=!0,f.title="\u4E3B\u7BA1\u5355\u4F4D",f.type="UNIT",f.showCheckbox=!0,f.defaultProps={children:"children",label:"title",value:"key",isLeaf:"isLeaf"},f.params={onlyUnit:!0},f.data=a.value.superOrgCode?[{key:a.value.superOrgCode,title:a.value.superOrg}]:[]},Ue=()=>{f.unitVisible=!1},_e=l=>{f.title==="\u4E3B\u7BA1\u5355\u4F4D"?(a.value.superOrgCode=(l==null?void 0:l[0].key)||void 0,a.value.superOrg=(l==null?void 0:l[0].title)||void 0,ue("superOrgCreditCode",l==null?void 0:l[0].key)):(a.value.higherSuperOrgCode=(l==null?void 0:l[0].key)||void 0,a.value.higherSuperOrg=(l==null?void 0:l[0].title)||void 0)},Me=()=>{f.title="\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D",f.type="UNIT",f.defaultProps={children:"children",label:"title",value:"key",isLeaf:"isLeaf"},f.unitVisible=!0,f.data=a.value.higherSuperOrgCode?[{key:a.value.higherSuperOrgCode,title:a.value.higherSuperOrg}]:[]},M=c(!1),$=R({businessStripName:void 0}),$e=async()=>{J(),M.value=!0,await ll(),H.value.setRadio(a.value.higherSuperOrgCode||"")},Ie=[{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}],ie=c(),J=async()=>{const l=await ul({...$});ie.value=l.data},Ye=()=>{$.businessStripName=void 0,J()},K=c(),qe=l=>{K.value=l},Ee=()=>{M.value=!1,a.value.higherSuperOrgCode=K.value.businessStripCode,a.value.higherSuperOrg=K.value.businessStripName},Q=c({}),ue=async(l,e)=>{const i=await al(e||ae.value.empPosUnitCode);Q.value[l]=!!i.data.unifiedSocialCreditCode,a.value[l]=i.data.unifiedSocialCreditCode||a.value[l]},G=R({visible:!1,params:{}}),ne=c(),de=c(),z=(l,e)=>{G.visible=!0,ne.value=l,de.value=e},Re=l=>{a.value[ne.value]=l.name,a.value[de.value]=l.phoneNo},Fe=(l,e)=>{a.value.higherSuperOrgCode="",a.value.higherSuperOrg=""},pe=[{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"}],I=R({visible:!1}),me=()=>{I.visible=!0,I.data=a.value.baseHistorProjs},Ae=l=>{a.value.baseHistorProjs=l.map(e=>({baseProjName:e.projectName,baseProjSetYear:e.projectYear,baseProjId:e.id}))},be=l=>{a.value.baseHistorProjs.splice(l,1)},He=[{label:"\u9879\u76EE\u4E3B\u8981\u5185\u5BB9",prop:"mainContent",key:"mainContent"},{label:"\u4E1A\u52A1\u5BF9\u8C61",prop:"businessObject",key:"businessObject"},{label:"\u64CD\u4F5C",slot:"action",key:"action"}],Y=R({visible:!1,data:void 0}),Z=c(),fe=(l,e)=>{Y.data=l,Y.visible=!0,Z.value=e},Je=l=>{Z.value===void 0?a.value.beseExpectedResults.push(l):a.value.beseExpectedResults[Z.value]=l},Ge=l=>{a.value.beseExpectedResults.splice(l,1)},ge=c(),ze=async()=>{var e;const l=await bl({pageNumber:1,pageSize:1e4});ge.value=((e=l==null?void 0:l.data)==null?void 0:e.records)||[]};el(()=>{ze(),ue("orgCreditCode")}),le(()=>X.declareAmount,l=>{}),ke({validForm:De,formData:a,setFormData:Se}),le(()=>X.dictionaryList,l=>{var e;l&&(U.value=[],(e=X.dictionaryList)==null||e.filter(i=>i.type==="PROJECT_BASIS").forEach(i=>{U.value.push({title:i.label,fileName:"",fileList:[],value:i.value})}))}),le(()=>a.value,l=>{_("getBasicInfoData",a.value)},{deep:!0});const ee=c(!1);function We(){console.log(ee.value),ee.value&&_("changeProjectTypeResetForm",a.value)}return(l,e)=>{const i=y("el-input"),u=y("el-form-item"),n=y("el-col"),g=y("el-radio"),V=y("el-radio-group"),O=y("el-button"),L=y("table-list"),D=y("el-checkbox"),C=y("el-checkbox-group"),S=y("el-date-picker"),B=y("el-upload"),w=y("el-input-number"),q=y("el-row"),W=y("el-form"),Xe=y("el-dialog");return d(),j(N,null,[t(W,{ref_key:"formRef",ref:te,model:a.value,rules:Te,"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 h,ve,ye,Ce;return[t(n,{span:24},{default:r(()=>[t(u,{label:"\u9879\u76EE\u540D\u79F0",prop:"projectName"},{default:r(()=>[t(i,{modelValue:a.value.projectName,"onUpdate:modelValue":e[0]||(e[0]=o=>a.value.projectName=o),maxlength:"50",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:24},{default:r(()=>[t(u,{label:"\u9879\u76EE\u7C7B\u578B",prop:"projectType"},{default:r(()=>{var o;return[t(V,{modelValue:a.value.projectType,"onUpdate:modelValue":e[1]||(e[1]=s=>a.value.projectType=s),disabled:l.$route.name==="declarePlan"||[10012,10013,10016].includes((o=v.detailData)==null?void 0:o.status),onChange:We},{default:r(()=>[t(g,{label:"01"},{default:r(()=>e[42]||(e[42]=[m("\u9996\u6B21\u5EFA\u8BBE")])),_:1}),t(g,{label:"02"},{default:r(()=>e[43]||(e[43]=[m("\u8FED\u4EE3\u5347\u7EA7")])),_:1}),t(g,{label:"03"},{default:r(()=>e[44]||(e[44]=[m("\u7ED3\u8F6C\u5EFA\u8BBE")])),_:1}),t(g,{label:"04"},{default:r(()=>e[45]||(e[45]=[m("\u65B0\u8FD0\u7EF4")])),_:1}),t(g,{label:"05"},{default:r(()=>e[46]||(e[46]=[m("\u7EED\u8FD0\u7EF4")])),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),t(n,{span:24},{default:r(()=>[a.value.projectType!=="01"?(d(),b(u,{key:0,label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",prop:"baseHistorProjs"},{default:r(()=>[k("p",fl,[t(O,{type:"primary",onClick:me},{default:r(()=>e[47]||(e[47]=[m("\u5173\u8054\u5386\u5E74\u9879\u76EE")])),_:1})]),t(L,{pagination:!1,style:{width:"100%"},column:pe,data:a.value.baseHistorProjs,"empty-temp":!1},{action:r(({scope:o})=>[a.value.projectType==="03"?(d(),j("a",{key:0,class:"text-primary",onClick:s=>{_("reuseItem",a.value.baseHistorProjs[o.$index]),ee.value=!0}},"\u590D\u7528\u4FE1\u606F",8,gl)):T("",!0),k("a",{class:"text-danger",onClick:s=>be(o.$index)},"\u5220\u9664",8,vl)]),_:1},8,["data"])]),_:1})):(d(),b(u,{key:1,label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0"},{default:r(()=>[k("p",yl,[t(O,{type:"primary",onClick:me},{default:r(()=>e[48]||(e[48]=[m("\u5173\u8054\u5386\u5E74\u9879\u76EE")])),_:1})]),t(L,{pagination:!1,style:{width:"100%"},column:pe,data:a.value.baseHistorProjs,"empty-temp":!1},{action:r(({scope:o})=>[a.value.projectType==="03"?(d(),j("a",{key:0,class:"text-primary",onClick:s=>_("reuseItem",a.value.baseHistorProjs[o.$index])},"\u590D\u7528\u4FE1\u606F",8,Cl)):T("",!0),k("a",{class:"text-danger",onClick:s=>be(o.$index)},"\u5220\u9664",8,cl)]),_:1},8,["data"])]),_:1}))]),_:1}),t(n,{span:12},{default:r(()=>[t(u,{label:"\u5185\u5BB9\u7C7B\u522B",prop:"baseConstructionType"},{default:r(()=>[t(C,{modelValue:a.value.baseConstructionType,"onUpdate:modelValue":e[2]||(e[2]=o=>a.value.baseConstructionType=o)},{default:r(()=>{var o;return[(d(!0),j(N,null,F((o=v.dictionaryList)==null?void 0:o.filter(s=>s.type==="CONTENT_TYPE"),(s,p)=>(d(),b(D,{key:p,label:s.value},{default:r(()=>[m(A(s.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),a.value.baseProjIsConfidentiality==="01"?(d(),j(N,{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(V,{modelValue:a.value.isFirst,"onUpdate:modelValue":e[3]||(e[3]=s=>a.value.isFirst=s),disabled:l.$route.name==="declarePlan"||[10012,10013,10016].includes((o=v.detailData)==null?void 0:o.status),onChange:xe},{default:r(()=>[t(g,{label:1},{default:r(()=>e[49]||(e[49]=[m("\u662F")])),_:1}),t(g,{label:0},{default:r(()=>e[50]||(e[50]=[m("\u5426")])),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),x(we).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(V,{modelValue:a.value.isTemporaryAugment,"onUpdate:modelValue":e[4]||(e[4]=s=>a.value.isTemporaryAugment=s),disabled:l.$route.name==="declarePlan"||[10012,10013,10016].includes((o=v.detailData)==null?void 0:o.status)},{default:r(()=>[t(g,{label:1},{default:r(()=>e[51]||(e[51]=[m("\u662F")])),_:1}),t(g,{label:0},{default:r(()=>e[52]||(e[52]=[m("\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(i,{modelValue:a.value.responsibleMan,"onUpdate:modelValue":e[5]||(e[5]=o=>a.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:e[6]||(e[6]=o=>z("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(i,{modelValue:a.value.responsibleManMobile,"onUpdate:modelValue":e[7]||(e[7]=o=>a.value.responsibleManMobile=o),maxlength:"11",placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:e[8]||(e[8]=o=>z("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(i,{modelValue:a.value.contactName,"onUpdate:modelValue":e[9]||(e[9]=o=>a.value.contactName=o),maxlength:"50",placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:e[10]||(e[10]=o=>z("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(i,{modelValue:a.value.contactPhone,"onUpdate:modelValue":e[11]||(e[11]=o=>a.value.contactPhone=o),maxlength:"11",placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:e[12]||(e[12]=o=>z("contactName","contactPhone"))},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(u,{label:"\u5EFA\u8BBE\u5355\u4F4D",prop:"buildOrgName"},{default:r(()=>[t(i,{modelValue:a.value.buildOrgName,"onUpdate:modelValue":e[13]||(e[13]=o=>a.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(i,{modelValue:a.value.orgCreditCode,"onUpdate:modelValue":e[14]||(e[14]=o=>a.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(u,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B",prop:"baseProvManDeprtType"},{default:r(()=>{var o;return[t(V,{modelValue:a.value.baseProvManDeprtType,"onUpdate:modelValue":e[15]||(e[15]=s=>a.value.baseProvManDeprtType=s),disabled:l.$route.name==="declarePlan"||[10012,10013,10016].includes((o=v.detailData)==null?void 0:o.status),onChange:Fe},{default:r(()=>[t(g,{label:"1"},{default:r(()=>e[53]||(e[53]=[m("\u7701\u7EA7")])),_:1}),t(g,{label:"2"},{default:r(()=>e[54]||(e[54]=[m("\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[l.$route.name==="declarePlan"||[10012,10013,10016].includes((o=v.detailData)==null?void 0:o.status)?(d(),b(i,{key:0,modelValue:a.value.higherSuperOrg,"onUpdate:modelValue":e[16]||(e[16]=s=>a.value.higherSuperOrg=s),disabled:""},null,8,["modelValue"])):a.value.baseProvManDeprtType==="1"?(d(),b(i,{key:1,modelValue:a.value.higherSuperOrg,"onUpdate:modelValue":e[17]||(e[17]=s=>a.value.higherSuperOrg=s),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:$e},null,8,["modelValue"])):(d(),b(i,{key:2,modelValue:a.value.higherSuperOrg,"onUpdate:modelValue":e[18]||(e[18]=s=>a.value.higherSuperOrg=s),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:Me},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[l.$route.name==="declarePlan"||[10012,10013,10016].includes((o=v.detailData)==null?void 0:o.status)?(d(),b(i,{key:0,modelValue:a.value.superOrg,"onUpdate:modelValue":e[19]||(e[19]=p=>a.value.superOrg=p),disabled:""},null,8,["modelValue"])):(d(),b(i,{key:1,modelValue:a.value.superOrg,"onUpdate:modelValue":e[20]||(e[20]=p=>a.value.superOrg=p),placeholder:"\u8BF7\u9009\u62E9",readonly:"",disabled:l.$route.name==="declarePlan"||[10012,10013,10016].includes((s=v.detailData)==null?void 0:s.status),onClick:Be},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(i,{modelValue:a.value.superOrgCreditCode,"onUpdate:modelValue":e[21]||(e[21]=s=>a.value.superOrgCreditCode=s),placeholder:"\u8BF7\u586B\u5199",disabled:Q.value.superOrgCreditCode||l.$route.name==="declarePlan"||[10012,10013,10016].includes((o=v.detailData)==null?void 0:o.status)},null,8,["modelValue","disabled"])]}),_:1})]),_:1}),a.value.baseProjIsConfidentiality==="01"?(d(),j(N,{key:1},[t(n,{span:24},{default:r(()=>[t(u,{label:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B",prop:"templateType"},{default:r(()=>{var o;return[t(V,{modelValue:a.value.templateType,"onUpdate:modelValue":e[22]||(e[22]=s=>a.value.templateType=s),disabled:l.$route.name==="declarePlan"||[10012,10013,10016].includes((o=v.detailData)==null?void 0:o.status)},{default:r(()=>[(d(!0),j(N,null,F(ge.value,(s,p)=>(d(),b(g,{key:p,label:s.id},{default:r(()=>[m(A(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(V,{modelValue:a.value.buildLevel,"onUpdate:modelValue":e[23]||(e[23]=o=>a.value.buildLevel=o)},{default:r(()=>{var o;return[(d(!0),j(N,null,F((o=v.dictionaryList)==null?void 0:o.filter(s=>s.type==="BUILD_LEVEL"),(s,p)=>(d(),b(g,{key:p,label:s.value},{default:r(()=>[m(A(s.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),((ve=(h=a.value)==null?void 0:h.baseConstructionType)==null?void 0:ve.includes("03"))&&!((Ce=(ye=a.value)==null?void 0:ye.baseConstructionType)!=null&&Ce.includes("01"))?T("",!0):(d(),b(n,{key:0,span:24},{default:r(()=>{var o,s;return[(s=(o=a.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(V,{modelValue:a.value.lowestLevel,"onUpdate:modelValue":e[24]||(e[24]=p=>a.value.lowestLevel=p)},{default:r(()=>{var p;return[(d(!0),j(N,null,F((p=v.dictionaryList)==null?void 0:p.filter(P=>P.type==="BUILD_LEVEL"),(P,E)=>(d(),b(g,{key:E,label:P.value},{default:r(()=>[m(A(P.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})):(d(),b(u,{key:1,label:"\u8D2F\u901A\u5C42\u7EA7"},{default:r(()=>[t(V,{modelValue:a.value.lowestLevel,"onUpdate:modelValue":e[25]||(e[25]=p=>a.value.lowestLevel=p)},{default:r(()=>{var p;return[(d(!0),j(N,null,F((p=v.dictionaryList)==null?void 0:p.filter(P=>P.type==="BUILD_LEVEL"),(P,E)=>(d(),b(g,{key:E,label:P.value},{default:r(()=>[m(A(P.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1}))]}),_:1})),t(n,{span:12},{default:r(()=>[t(u,{label:"\u9884\u7B97\u5E74\u5EA6",prop:"projectYear"},{default:r(()=>{var o;return[t(S,{modelValue:a.value.projectYear,"onUpdate:modelValue":e[26]||(e[26]=s=>a.value.projectYear=s),disabled:l.$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}),a.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(S,{modelValue:a.value.buildDuration,"onUpdate:modelValue":e[27]||(e[27]=o=>a.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:24},{default:r(()=>[t(u,{label:"\u7ACB\u9879\u4F9D\u636E\u6750\u6599",prop:"baseProjBasis"},{default:r(()=>[t(L,{ref_key:"tableListRef",ref:H,pagination:!1,style:{width:"100%"},column:Ne,data:U.value,onSelectionChange:Le},{fileName:r(({scope:o})=>[a.value.baseProjBasis&&a.value.baseProjBasis.map(s=>s.value).includes(o.row.value)?(d(),b(u,{key:0},{default:r(()=>{var s,p,P;return[t(i,{value:(P=(p=(s=a.value.baseProjBasis[a.value.baseProjBasis.findIndex(E=>E.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(i,{key:1,disabled:!0}))]),action:r(({scope:o})=>[a.value.baseProjBasis&&a.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[${a.value.baseProjBasis.findIndex(s=>s.value===o.row.value)}].fileList`},{default:r(()=>[t(B,{ref:"materialUploadRef","file-list":a.value.baseProjBasis[a.value.baseProjBasis.findIndex(s=>s.value===o.row.value)].fileList,"onUpdate:fileList":s=>a.value.baseProjBasis[a.value.baseProjBasis.findIndex(p=>p.value===o.row.value)].fileList=s,class:"flex items-center flex-col w-full",action:x(he),"on-success":s=>x(tl)(s,a.value.baseProjBasis[a.value.baseProjBasis.findIndex(p=>p.value===o.row.value)].fileList,!0),"on-error":x(rl),"before-upload":s=>x(ol)(s,{types:x(je)}),limit:1,accept:x(je).map(s=>`.${s}`).join(","),"on-preview":x(sl)},{trigger:r(()=>e[55]||(e[55]=[k("div",null,[k("a",null,"\u4E0A\u4F20")],-1)])),_:2},1032,["file-list","onUpdate:fileList","action","on-success","on-error","before-upload","accept","on-preview"])]),_:2},1032,["prop"])):(d(),j("span",Pl,"\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(i,{modelValue:a.value.baseBasisEstablish,"onUpdate:modelValue":e[28]||(e[28]=o=>a.value.baseBasisEstablish=o),type:"textarea","show-word-limit":"",placeholder:"\u8BF7\u586B\u5199",maxlength:150},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:24},{default:r(()=>[t(u,{label:"\u9879\u76EE\u6982\u8FF0",prop:"projectOverview"},{default:r(()=>[t(i,{modelValue:a.value.projectOverview,"onUpdate:modelValue":e[29]||(e[29]=o=>a.value.projectOverview=o),rows:4,type:"textarea",placeholder:"\u8BF7\u8F93\u5165","show-word-limit":"",maxlength:"2000"},null,8,["modelValue"])]),_:1})]),_:1}),l.$route.name==="declarePlan"||[10012,10016,10013].includes(v.detailData.status)?(d(),b(n,{key:2,span:24},{default:r(()=>[t(u,{label:"\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548",prop:"beseExpectedResults"},{default:r(()=>[t(L,{pagination:!1,style:{width:"100%"},column:He,data:a.value.beseExpectedResults,"empty-temp":!1},{action:r(({scope:o})=>[k("a",{onClick:s=>fe(o.row,o.$index)},"\u7F16\u8F91",8,jl),k("a",{class:"text-danger",onClick:s=>Ge(o.$index)},"\u5220\u9664",8,Vl)]),_:1},8,["data"]),k("p",kl,[t(O,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:e[30]||(e[30]=()=>fe())},{default:r(()=>e[56]||(e[56]=[m("\u6DFB\u52A0 ")])),_:1})])]),_:1})]),_:1})):T("",!0)],64)):T("",!0),a.value.baseProjIsConfidentiality==="02"?(d(),j(N,{key:2},[t(n,{span:12},{default:r(()=>[t(u,{label:"\u9884\u7B97\u5E74\u5EA6",prop:"projectYear"},{default:r(()=>{var o;return[t(S,{modelValue:a.value.projectYear,"onUpdate:modelValue":e[31]||(e[31]=s=>a.value.projectYear=s),disabled:l.$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(u,{label:"\u7533\u62A5\u91D1\u989D",prop:"declareAmount"},{default:r(()=>[t(w,{modelValue:a.value.declareAmount,"onUpdate:modelValue":e[32]||(e[32]=o=>a.value.declareAmount=o),placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:e[33]||(e[33]=Pe(()=>{},["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:a.value.annualPlanAmount,"onUpdate:modelValue":e[34]||(e[34]=o=>a.value.annualPlanAmount=o),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[35]||(e[35]=Pe(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1})],64)):T("",!0)]}),_:1})]),_:1},8,["model"]),t(nl,{visible:f.unitVisible,"show-checkbox":!1,"default-data":f.data,title:f.title,type:f.type,"default-props":f.defaultProps,params:f.params,onClose:Ue,onGetSelectUnit:_e},null,8,["visible","default-data","title","type","default-props","params"]),t(Xe,{"model-value":M.value,title:"\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D",width:"60%",onClose:e[38]||(e[38]=h=>M.value=!1)},{footer:r(()=>[k("span",wl,[t(O,{onClick:e[37]||(e[37]=h=>M.value=!1)},{default:r(()=>e[59]||(e[59]=[m("\u5173\u95ED")])),_:1}),t(O,{type:"primary",onClick:Ee},{default:r(()=>e[60]||(e[60]=[m(" \u63D0\u4EA4 ")])),_:1})])]),default:r(()=>[t(W,{model:$,size:"small","label-suffix":":"},{default:r(()=>[t(q,{gutter:16,class:"mb-16"},{default:r(()=>[t(n,{span:8},{default:r(()=>[t(u,{label:"\u5355\u4F4D\u540D\u79F0"},{default:r(()=>[t(i,{modelValue:$.businessStripName,"onUpdate:modelValue":e[36]||(e[36]=h=>$.businessStripName=h),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:16},{default:r(()=>[t(u,{class:"btn"},{default:r(()=>[k("div",Ol,[t(O,{type:"primary",onClick:J},{default:r(()=>e[57]||(e[57]=[m("\u67E5\u8BE2 ")])),_:1}),t(O,{onClick:Ye},{default:r(()=>e[58]||(e[58]=[m("\u91CD\u7F6E ")])),_:1})])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),t(L,{ref_key:"tableListRef",ref:H,column:Ie,data:ie.value,pagination:!1,style:{height:"600px",overflow:"auto"},onGetTableData:J,onRadioChange:qe},null,8,["data"])]),_:1},8,["model-value"]),t(dl,{visible:G.visible,params:G.params,onClose:e[39]||(e[39]=h=>G.visible=!1),onGetUserData:Re},null,8,["visible","params"]),t(pl,{visible:I.visible,data:I.data,onGetProjectList:Ae,onClose:e[40]||(e[40]=h=>I.visible=!1)},null,8,["visible","data"]),t(ml,{visible:Y.visible,data:Y.data,onSetContent:Je,onClose:e[41]||(e[41]=h=>Y.visible=!1)},null,8,["visible","data"])],64)}}});export{Il as default};