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

2 lines
32KB

  1. import{d as ze,x as We,B as Ce,C as Xe,r as P,b as E,o as Ke,J as ee,c as y,e as d,f as V,h as t,i as r,j as m,G as b,g as k,k as T,F as N,H as A,t as R,u as x,T as ce,L as Qe,X as Ze}from"./index.a2494fc2.js";import{h as el,i as ll,f as al,c as Pe,b as tl,r as rl}from"./uploadAction.0eabe13b.js";import{c as ol}from"./index.7c249f3d.js";import{_ as sl}from"./index.9a76b4bf.js";import ul from"./userDialog.ab9d0da1.js";import il from"./relatedProjectDialog.d7cc7ea2.js";import nl from"./projectContentDialog.fc798897.js";import{a as dl}from"./indicatorTemplate.6dbb281e.js";import"./unitManage.98e613d0.js";import"./renewalProjectCapitalDeclare.a4b663cc.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"],yl={key:1,class:"text-info cursor-not-allowed"},Cl=["onClick"],cl=["onClick"],Pl={class:"text-right w-full mt-8"},Vl={class:"flex"},jl={class:"dialog-footer"},kl=ze({name:"basicInfo"}),Bl=Object.assign(kl,{props:{detailData:{type:Object,default:()=>({})},dictionaryList:{type:Array,default:()=>[]},declareAmount:{type:Number}},emits:["changeIsFirst","getBasicInfoData","reuseItem"],setup(v,{expose:Ve,emit:je}){const X=v,ke=We(),Oe=Ce.dictStore.uploadUrl,le=Xe(Ce.userStore).userInfo||{},a=P({baseProjIsConfidentiality:"01",buildOrgName:le.value.empPosUnitName,beseExpectedResults:[]}),ae=P(),te=(l,e,u)=>{if(e==="")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(e))u();else return u(new Error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u624B\u673A\u53F7"))},re=(l,e,u)=>{e||u(),a.value.responsibleMan===a.value.contactName&&a.value.responsibleManMobile===a.value.contactPhone?u("\u9879\u76EE\u8D1F\u8D23\u4EBA\u4E0E\u9879\u76EE\u8054\u7CFB\u4EBA\u4E0D\u80FD\u76F8\u540C"):u()},oe=(l,e,u)=>{e||u(),/^\d+(\.\d{1,6})?$/.test(e)?e*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")},we={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"}]},B=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:[]}]),he=[{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(),Te=l=>{a.value.baseProjBasis=l.map(e=>e)},Ne=l=>{ae.value.validate(e=>{l(e)})},Le=l=>{var u,i,n,g,j,O,L;a.value={baseProjIsConfidentiality:l.baseProjIsConfidentiality||"01",projectName:l.projectName,projectType:l.projectType,isFirst:l.isFirst,baseConstructionType:((u=l==null?void 0:l.baseConstructionType)==null?void 0:u.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=(i=l==null?void 0:l.baseProjBasis)==null?void 0:i.split("\uFF1B"))==null?void 0:n.map((D,C)=>{var _,w,Y;const S=`[${(_=l.baseProjBasisFile)==null?void 0:_.replace(/}];/g,"}],")}]`;return{title:(Y=(w=B.value)==null?void 0:w.find(W=>W.value===D))==null?void 0:Y.title,fileList:l!=null&&l.baseProjBasisFile?rl(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=(j=l==null?void 0:l.baseProjBasis)==null?void 0:j.split("\uFF1B"))!=null&&O.length){const D=(L=l==null?void 0:l.baseProjBasis)==null?void 0:L.split("\uFF1B");B.value&&B.value.forEach(C=>{var S,_;D.includes(C.value)&&(C.fileList=(S=e.find(w=>w.value===C.value))==null?void 0:S.fileList,C.fileName=(_=e.find(w=>w.value===C.value))==null?void 0:_.fileName,F.value.toggleRowSelect(C,!0))})}},H=je,De=l=>{H("changeIsFirst",l)},f=E({unitVisible:!1,data:void 0,title:void 0,type:void 0,params:void 0}),Se=()=>{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}]:[]},xe=()=>{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)},Be=()=>{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}]:[]},U=P(!1),$=E({businessStripName:void 0}),Ue=async()=>{J(),U.value=!0,await Qe(),F.value.setRadio(a.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 l=await ol({...$});se.value=l.data},Me=()=>{$.businessStripName=void 0,J()},K=P(),Ie=l=>{K.value=l},Ye=()=>{U.value=!1,a.value.higherSuperOrgCode=K.value.businessStripCode,a.value.higherSuperOrg=K.value.businessStripName},Q=P({}),ue=async(l,e)=>{const u=await Ze(e||le.value.empPosUnitCode);Q.value[l]=!!u.data.unifiedSocialCreditCode,a.value[l]=u.data.unifiedSocialCreditCode||a.value[l]},G=E({visible:!1,params:{}}),ie=P(),ne=P(),z=(l,e)=>{G.visible=!0,ie.value=l,ne.value=e},qe=l=>{a.value[ie.value]=l.name,a.value[ne.value]=l.phoneNo},Ee=(l,e)=>{a.value.higherSuperOrgCode="",a.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=a.value.baseHistorProjs},Ae=l=>{a.value.baseHistorProjs=l.map(e=>({baseProjName:e.projectName,baseProjSetYear:e.projectYear,baseProjId:e.id}))},me=l=>{a.value.baseHistorProjs.splice(l,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}),Z=P(),be=(l,e)=>{I.data=l,I.visible=!0,Z.value=e},Fe=l=>{Z.value===void 0?a.value.beseExpectedResults.push(l):a.value.beseExpectedResults[Z.value]=l},He=l=>{a.value.beseExpectedResults.splice(l,1)},fe=P(),Je=async()=>{var e;const l=await dl({pageNumber:1,pageSize:1e4});fe.value=((e=l==null?void 0:l.data)==null?void 0:e.records)||[]};return Ke(()=>{Je(),ue("orgCreditCode")}),ee(()=>X.declareAmount,l=>{}),Ve({validForm:Ne,formData:a,setFormData:Le}),ee(()=>X.dictionaryList,l=>{var e;l&&(B.value=[],(e=X.dictionaryList)==null||e.filter(u=>u.type==="PROJECT_BASIS").forEach(u=>{B.value.push({title:u.label,fileName:"",fileList:[],value:u.value})}))}),ee(()=>a.value,l=>{H("getBasicInfoData",a.value)},{deep:!0}),(l,e)=>{const u=y("el-input"),i=y("el-form-item"),n=y("el-col"),g=y("el-radio"),j=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"),_=y("el-upload"),w=y("el-input-number"),Y=y("el-row"),W=y("el-form"),Ge=y("el-dialog");return d(),V(N,null,[t(W,{ref_key:"formRef",ref:ae,model:a.value,rules:we,"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 h,ve,ge,ye;return[t(n,{span:24},{default:r(()=>[t(i,{label:"\u9879\u76EE\u540D\u79F0",prop:"projectName"},{default:r(()=>[t(u,{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(i,{label:"\u9879\u76EE\u7C7B\u578B",prop:"projectType"},{default:r(()=>{var o;return[t(j,{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)},{default:r(()=>[t(g,{label:"01"},{default:r(()=>e[44]||(e[44]=[m("\u9996\u6B21\u5EFA\u8BBE")])),_:1}),t(g,{label:"02"},{default:r(()=>e[45]||(e[45]=[m("\u8FED\u4EE3\u5347\u7EA7")])),_:1}),t(g,{label:"03"},{default:r(()=>e[46]||(e[46]=[m("\u7ED3\u8F6C\u5EFA\u8BBE")])),_:1}),t(g,{label:"04"},{default:r(()=>e[47]||(e[47]=[m("\u65B0\u8FD0\u7EF4")])),_:1}),t(g,{label:"05"},{default:r(()=>e[48]||(e[48]=[m("\u7EED\u8FD0\u7EF4")])),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),t(n,{span:24},{default:r(()=>[a.value.projectType!=="01"?(d(),b(i,{key:0,label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",prop:"baseHistorProjs"},{default:r(()=>[k("p",pl,[t(O,{type:"primary",onClick:pe},{default:r(()=>e[49]||(e[49]=[m("\u5173\u8054\u5386\u5E74\u9879\u76EE")])),_:1})]),t(L,{pagination:!1,style:{width:"100%"},column:de,data:a.value.baseHistorProjs,"empty-temp":!1},{action:r(({scope:o})=>[a.value.projectType==="03"?(d(),V("a",{key:0,class:"text-primary",onClick:s=>H("reuseItem",a.value.baseHistorProjs[o.$index])},"\u590D\u7528\u4FE1\u606F",8,ml)):T("",!0),k("a",{class:"text-danger",onClick:s=>me(o.$index)},"\u5220\u9664",8,bl)]),_:1},8,["data"])]),_:1})):(d(),b(i,{key:1,label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0"},{default:r(()=>[k("p",fl,[t(O,{type:"primary",onClick:pe},{default:r(()=>e[50]||(e[50]=[m("\u5173\u8054\u5386\u5E74\u9879\u76EE")])),_:1})]),t(L,{pagination:!1,style:{width:"100%"},column:de,data:a.value.baseHistorProjs,"empty-temp":!1},{action:r(({scope:o})=>[a.value.projectType==="03"?(d(),V("a",{key:0,class:"text-primary",onClick:s=>H("reuseItem",a.value.baseHistorProjs[o.$index])},"\u590D\u7528\u4FE1\u606F",8,vl)):T("",!0),k("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(C,{modelValue:a.value.baseConstructionType,"onUpdate:modelValue":e[2]||(e[2]=o=>a.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(),b(D,{key:p,label:s.value},{default:r(()=>[m(R(s.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1}),a.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(j,{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:De},{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}),x(ke).name!="planEdit"?(d(),b(n,{key:0,span:12},{default:r(()=>[t(i,{label:"\u662F\u5426\u4E34\u65F6\u589E\u8865",prop:"isTemporaryAugment"},{default:r(()=>{var o;return[t(j,{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[53]||(e[53]=[m("\u662F")])),_:1}),t(g,{label:0},{default:r(()=>e[54]||(e[54]=[m("\u5426")])),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1})):T("",!0)],64)):T("",!0),t(n,{span:12},{default:r(()=>[t(i,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA",prop:"responsibleMan"},{default:r(()=>[t(u,{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(i,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7",prop:"responsibleManMobile"},{default:r(()=>[t(u,{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(i,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA",prop:"contactName"},{default:r(()=>[t(u,{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(i,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA\u624B\u673A\u53F7",prop:"contactPhone"},{default:r(()=>[t(u,{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(i,{label:"\u5EFA\u8BBE\u5355\u4F4D",prop:"buildOrgName"},{default:r(()=>[t(u,{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(i,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801",prop:"orgCreditCode"},{default:r(()=>[t(u,{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(i,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B",prop:"baseProvManDeprtType"},{default:r(()=>{var o;return[t(j,{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:Ee},{default:r(()=>[t(g,{label:"1"},{default:r(()=>e[55]||(e[55]=[m("\u7701\u7EA7")])),_:1}),t(g,{label:"2"},{default:r(()=>e[56]||(e[56]=[m("\u975E\u7701\u7EA7")])),_:1})]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),t(n,{span:12},{default:r(()=>[t(i,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D",prop:"higherSuperOrg"},{default:r(()=>{var o;return[l.$route.name==="declarePlan"||[10012,10013,10016].includes((o=v.detailData)==null?void 0:o.status)?(d(),b(u,{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(u,{key:1,modelValue:a.value.higherSuperOrg,"onUpdate:modelValue":e[17]||(e[17]=s=>a.value.higherSuperOrg=s),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:Ue},null,8,["modelValue"])):(d(),b(u,{key:2,modelValue:a.value.higherSuperOrg,"onUpdate:modelValue":e[18]||(e[18]=s=>a.value.higherSuperOrg=s),placeholder:"\u8BF7\u9009\u62E9",readonly:"",onClick:Be},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[l.$route.name==="declarePlan"||[10012,10013,10016].includes((o=v.detailData)==null?void 0:o.status)?(d(),b(u,{key:0,modelValue:a.value.superOrg,"onUpdate:modelValue":e[19]||(e[19]=p=>a.value.superOrg=p),disabled:""},null,8,["modelValue"])):(d(),b(u,{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:Se},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: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(),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(j,{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),V(N,null,A(fe.value,(s,p)=>(d(),b(g,{key:p,label:s.id},{default:r(()=>[m(R(s.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","disabled"])]}),_:1})]),_:1}),t(n,{span:24},{default:r(()=>[t(i,{label:"\u5EFA\u8BBE\u5C42\u7EA7",prop:"buildLevel"},{default:r(()=>[t(j,{modelValue:a.value.buildLevel,"onUpdate:modelValue":e[23]||(e[23]=o=>a.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(),b(g,{key:p,label:s.value},{default:r(()=>[m(R(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"))&&!((ye=(ge=a.value)==null?void 0:ge.baseConstructionType)!=null&&ye.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(i,{key:0,label:"\u8D2F\u901A\u5C42\u7EA7",prop:"lowestLevel"},{default:r(()=>[t(j,{modelValue:a.value.lowestLevel,"onUpdate:modelValue":e[24]||(e[24]=p=>a.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(),b(g,{key:q,label:c.value},{default:r(()=>[m(R(c.label),1)]),_:2},1032,["label"]))),128))]}),_:1},8,["modelValue"])]),_:1})):(d(),b(i,{key:1,label:"\u8D2F\u901A\u5C42\u7EA7"},{default:r(()=>[t(j,{modelValue:a.value.lowestLevel,"onUpdate:modelValue":e[25]||(e[25]=p=>a.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(),b(g,{key:q,label:c.value},{default:r(()=>[m(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(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(i,{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(i,{label:"\u7ACB\u9879\u4F9D\u636E\u6750\u6599",prop:"baseProjBasis"},{default:r(()=>[t(L,{ref_key:"tableListRef",ref:F,pagination:!1,style:{width:"100%"},column:he,data:B.value,onSelectionChange:Te},{fileName:r(({scope:o})=>[a.value.baseProjBasis&&a.value.baseProjBasis.map(s=>s.value).includes(o.row.value)?(d(),b(i,{key:0},{default:r(()=>{var s,p,c;return[t(u,{value:(c=(p=(s=a.value.baseProjBasis[a.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(),b(u,{key:1,disabled:!0}))]),action:r(({scope:o})=>[a.value.baseProjBasis&&a.value.baseProjBasis.map(s=>s.value).includes(o.row.value)?(d(),b(i,{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(_,{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(Oe),"on-success":s=>x(el)(s,a.value.baseProjBasis[a.value.baseProjBasis.findIndex(p=>p.value===o.row.value)].fileList,!0),"on-error":x(ll),"before-upload":s=>x(al)(s,{types:x(Pe)}),limit:1,accept:x(Pe).map(s=>`.${s}`).join(","),"on-preview":x(tl)},{trigger:r(()=>e[57]||(e[57]=[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(),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: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:12},{default:r(()=>[(v.declareAmount>=1e3,d(),b(i,{key:1,label:"\u53D1\u6539\u7F16\u7801"},{default:r(()=>{var o;return[t(u,{modelValue:a.value.developCode,"onUpdate:modelValue":e[30]||(e[30]=s=>a.value.developCode=s),maxlength:"50",placeholder:"\u8BF7\u586B\u5199",disabled:l.$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:a.value.projectOverview,"onUpdate:modelValue":e[31]||(e[31]=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(i,{label:"\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548",prop:"beseExpectedResults"},{default:r(()=>[t(L,{pagination:!1,style:{width:"100%"},column:Re,data:a.value.beseExpectedResults,"empty-temp":!1},{action:r(({scope:o})=>[k("a",{onClick:s=>be(o.row,o.$index)},"\u7F16\u8F91",8,Cl),k("a",{class:"text-danger",onClick:s=>He(o.$index)},"\u5220\u9664",8,cl)]),_:1},8,["data"]),k("p",Pl,[t(O,{type:"primary",class:"w-full",plain:"",icon:"Plus",onClick:e[32]||(e[32]=()=>be())},{default:r(()=>e[58]||(e[58]=[m("\u6DFB\u52A0 ")])),_:1})])]),_:1})]),_:1})):T("",!0)],64)):T("",!0),a.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(S,{modelValue:a.value.projectYear,"onUpdate:modelValue":e[33]||(e[33]=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(i,{label:"\u7533\u62A5\u91D1\u989D",prop:"declareAmount"},{default:r(()=>[t(w,{modelValue:a.value.declareAmount,"onUpdate:modelValue":e[34]||(e[34]=o=>a.value.declareAmount=o),placeholder:"\u8BF7\u586B\u5199",min:1e-6,controls:!1,onMousewheel:e[35]||(e[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(w,{modelValue:a.value.annualPlanAmount,"onUpdate:modelValue":e[36]||(e[36]=o=>a.value.annualPlanAmount=o),placeholder:"\u8BF7\u586B\u5199",min:0,controls:!1,onMousewheel:e[37]||(e[37]=ce(()=>{},["prevent"]))},null,8,["modelValue"])]),_:1})]),_:1})],64)):T("",!0)]}),_:1})]),_:1},8,["model"]),t(sl,{visible:f.unitVisible,"show-checkbox":!1,"default-data":f.data,title:f.title,type:f.type,"default-props":f.defaultProps,params:f.params,onClose:xe,onGetSelectUnit:_e},null,8,["visible","default-data","title","type","default-props","params"]),t(Ge,{"model-value":U.value,title:"\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D",width:"60%",onClose:e[40]||(e[40]=h=>U.value=!1)},{footer:r(()=>[k("span",jl,[t(O,{onClick:e[39]||(e[39]=h=>U.value=!1)},{default:r(()=>e[61]||(e[61]=[m("\u5173\u95ED")])),_:1}),t(O,{type:"primary",onClick:Ye},{default:r(()=>e[62]||(e[62]=[m(" \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":e[38]||(e[38]=h=>$.businessStripName=h),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),t(n,{span:16},{default:r(()=>[t(i,{class:"btn"},{default:r(()=>[k("div",Vl,[t(O,{type:"primary",onClick:J},{default:r(()=>e[59]||(e[59]=[m("\u67E5\u8BE2 ")])),_:1}),t(O,{onClick:Me},{default:r(()=>e[60]||(e[60]=[m("\u91CD\u7F6E ")])),_:1})])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),t(L,{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:e[41]||(e[41]=h=>G.visible=!1),onGetUserData:qe},null,8,["visible","params"]),t(il,{visible:M.visible,data:M.data,onGetProjectList:Ae,onClose:e[42]||(e[42]=h=>M.visible=!1)},null,8,["visible","data"]),t(nl,{visible:I.visible,data:I.data,onSetContent:Fe,onClose:e[43]||(e[43]=h=>I.visible=!1)},null,8,["visible","data"])],64)}}});export{Bl as default};