|
- var xe=Object.defineProperty,ke=Object.defineProperties;var qe=Object.getOwnPropertyDescriptors;var Ie=Object.getOwnPropertySymbols;var Le=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable;var Te=(S,c,o)=>c in S?xe(S,c,{enumerable:!0,configurable:!0,writable:!0,value:o}):S[c]=o,F=(S,c)=>{for(var o in c||(c={}))Le.call(c,o)&&Te(S,o,c[o]);if(Ie)for(var o of Ie(c))Ue.call(c,o)&&Te(S,o,c[o]);return S},v=(S,c)=>ke(S,qe(c));var y=(S,c,o)=>new Promise((D,N)=>{var l=P=>{try{h(o.next(P))}catch(C){N(C)}},O=P=>{try{h(o.throw(P))}catch(C){N(C)}},h=P=>P.done?D(P.value):Promise.resolve(P.value).then(l,O);h((o=o.apply(S,c)).next())});import{_ as He,d as Ve,u as We,A as $e,r as _,o as Ge,e as M,f as I,g as Ke,h as g,k as b,l as d,I as E,i as R,m as w,j as pe,p as ze}from"./index.11dc4694.js";import Qe from"./basicInfo.019f480a.js";import{g as n}from"./uploadAction.c865409e.js";import Xe from"./projectDeclareInfo.5760f413.js";import Ze from"./applicationInfo.d77468a9.js";import es from"./coreBusiness.95a69949.js";import ss from"./projectApprovalInfo.a5cbaa59.js";import as from"./purchaseInfo.a72d015c.js";import ts from"./empMaterials.f149f233.js";import{d as is}from"./projectCollectionEnter.7f6e2b1f.js";import{d as rs,s as os,b as ns}from"./operationProjectRecord.88f86460.js";import"./index.83c11d37.js";import"./unitManage.315d6884.js";import"./userDialog.3837d700.js";import"./lineOrgDialog.b37dec7e.js";import"./index.f58f6803.js";import"./indicatorTemplate.96eacb73.js";import"./relatedProjectDialog.b99677b1.js";import"./renewalProjectCapitalDeclare.17ea4eca.js";import"./projectContentDialog.ee0a030b.js";import"./actualPerformanceIndicatorsDialog.930aa2cb.js";const ls={class:"footerPage"},ds=g("div",{class:"collapse-title"},"\u9879\u76EE\u57FA\u672C\u4FE1\u606F",-1),cs={class:"pb-24"},us=g("div",{class:"collapse-title"},"\u9879\u76EE\u7533\u62A5\u4FE1\u606F",-1),Ps={class:"pb-24"},gs=g("div",{class:"collapse-title"},"\u9879\u76EE\u5173\u8054\u4FE1\u606F",-1),bs={class:"pb-24"},js=g("div",{class:"collapse-title"},"\u6838\u5FC3\u4E1A\u52A1",-1),Ss={class:"pb-24"},ms=g("div",{class:"collapse-title"},"\u9879\u76EE\u7ACB\u9879\u8BC4\u5BA1\u4FE1\u606F",-1),hs={class:"pb-24"},fs=g("div",{class:"collapse-title"},"\u9879\u76EE\u91C7\u8D2D\u3001\u8D44\u91D1\u652F\u4ED8\u4FE1\u606F",-1),Fs={class:"pb-24"},vs=g("div",{class:"collapse-title"},"\u5B9E\u65BD\u6750\u6599\u4FE1\u606F",-1),_s={class:"pb-24"},Os={class:"footer"},ys=Ve({name:"projectCollectionEnter"}),Ns=Object.assign(ys,{setup(S){const{proxy:c}=ze(),o=We(),D=$e(),N=["1","2","3","4","5","6","7"],l={},O=_(!1),h=_(),P=_(),C=()=>y(this,null,function*(){const e=o.query.type==="1"?o.query.id:o.query.draftId,s=yield rs(o.query.type,e);P.value=s.data}),Me=()=>y(this,null,function*(){O.value=!0;try{const e=Object.values(l).map(r=>y(this,null,function*(){return(r==null?void 0:r.formRef)&&(yield r.formRef.validate())}));yield Promise.all(e);const s=x();yield os(s),O.value=!1,c.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),D.go(-1)}catch(e){O.value=!1}}),m=_(),Ee=e=>{m.value=e},T=_(),Re=e=>{T.value=e},Y=_(),we=e=>{Y.value=e},x=()=>{var J,A,u,k,q,L,U,H,V,W,$,G,K,p,z,Q,X,Z,ee,se,ae,te,ie,re,oe,ne,le,de,ce,ue,Pe,ge,be,je,Se,me,he,fe,Fe,ve,_e,Oe,ye,Ne,Ce,Je;const e=JSON.parse(JSON.stringify(l.baseinfo.formData)),s=JSON.parse(JSON.stringify(l.apply.formData)),r=l.application&&JSON.parse(JSON.stringify(l.application.formData))||{},j=l.baseCore&&JSON.parse(JSON.stringify(l.baseCore.formData))||{},t=l.approve&&JSON.parse(JSON.stringify(l.approve.formData))||{},f=l.procures&&JSON.parse(JSON.stringify(l.procures.formData))||[],a=l.cimplement&&JSON.parse(JSON.stringify(l.cimplement.formData))||[];return{baseProjId:o.query.id||"",draftId:o.query.draftId*1||"",baseinfo:v(F({},e),{baseProvManDeprtType:(e==null?void 0:e.baseProvManDeprtType)*1||void 0,baseConstructionType:(J=e==null?void 0:e.baseConstructionType)==null?void 0:J.join("\uFF1B")}),apply:v(F(v(F(v(F({},s),{baseProjStartTime:(A=s==null?void 0:s.baseProjTime)!=null&&A.length?(s==null?void 0:s.baseProjTime[0])+" 00:00:00":void 0,baseProjEndTime:(u=s==null?void 0:s.baseProjTime)!=null&&u.length?(s==null?void 0:s.baseProjTime[1])+" 00:00:00":void 0,baseProjTime:void 0,baseHistorProjId:s!=null&&s.missing?"":(q=(k=s==null?void 0:s.baseHistorProjs)==null?void 0:k.map(i=>i.baseProjId))==null?void 0:q.join("\uFF1B"),baseHistorProjName:s!=null&&s.missing?"":(U=(L=s==null?void 0:s.baseHistorProjs)==null?void 0:L.map(i=>i.baseProjName))==null?void 0:U.join("\uFF1B"),baseHistorProjYear:s!=null&&s.missing?"":(V=(H=s==null?void 0:s.baseHistorProjs)==null?void 0:H.map(i=>i.baseProjSetYear))==null?void 0:V.join("\uFF1B"),baseProjAmountOri:((W=s==null?void 0:s.baseProjAmountOri)==null?void 0:W.join("\uFF1B"))||void 0,baseProjBasis:((G=($=s==null?void 0:s.baseProjBasis)==null?void 0:$.map(i=>i.value))==null?void 0:G.join("\uFF1B"))||void 0,baseProjBasisFile:((p=(K=s==null?void 0:s.baseProjBasis)==null?void 0:K.map(i=>i.fileList&&JSON.stringify(n(i.fileList))))==null?void 0:p.join("\uFF1B"))||"",beseExpectedResults:((z=s==null?void 0:s.beseExpectedResults)==null?void 0:z.length)&&JSON.stringify(s.beseExpectedResults)||"",baseProjApplyFile:(["01","02","04","05"].includes(e==null?void 0:e.baseProjType)&&(s==null?void 0:s.baseProjSetYear)*1>=2023||(s==null?void 0:s.baseProjSetYear)*1<2023)&&((Q=s==null?void 0:s.baseProjApplyFile)==null?void 0:Q.length)?JSON.stringify(n(s==null?void 0:s.baseProjApplyFile)):"",baseOperatMaintenFile:(X=s==null?void 0:s.baseOperatMaintenFile)!=null&&X.length?JSON.stringify(n(s==null?void 0:s.baseOperatMaintenFile)):"",baseProjOtherFile:(Z=s==null?void 0:s.baseProjOtherFile)!=null&&Z.length?JSON.stringify(n(s==null?void 0:s.baseProjOtherFile)):"",baseHistorProjs:void 0}),r),{baseProjSysCode:((ee=r==null?void 0:r.applications)==null?void 0:ee.map(i=>i.application.applicationCode).join("\uFF1B"))||"",baseProjSys:((se=r==null?void 0:r.applications)==null?void 0:se.map(i=>i.application.applicationName).join("\uFF1B"))||"",baseAccountAppName:((ae=r==null?void 0:r.applications)==null?void 0:ae.map(i=>i.baseAccountAppName).join("\uFF1B"))||"",baseBrainName:((te=r==null?void 0:r.applications)==null?void 0:te.map(i=>i.baseBrainName).join("\uFF1B"))||"",applications:void 0}),j),{baseCoreBusinessCode:((ie=j==null?void 0:j.coreBusiness)==null?void 0:ie.map(i=>i.id).join("\uFF1B"))||"",baseCoreBusiness:((re=j==null?void 0:j.coreBusiness)==null?void 0:re.map(i=>i.matterName).join("\uFF1B"))||"",baseCoreBusinessOrg:((oe=j==null?void 0:j.coreBusiness)==null?void 0:oe.map(i=>i.orgName).join("\uFF1B"))||"",coreBusiness:void 0}),approve:v(F({},t),{baseReviewResults:(e==null?void 0:e.baseProjSetProg)!=="01"?t==null?void 0:t.baseReviewResults:"",baseReviewOpinion:(e==null?void 0:e.baseProjSetProg)!=="01"?t==null?void 0:t.baseReviewOpinion:"",baseReviewCommentsFile:(e==null?void 0:e.baseProjSetProg)!=="01"?((ne=t==null?void 0:t.baseReviewCommentsFile)==null?void 0:ne.length)&&JSON.stringify(n(t==null?void 0:t.baseReviewCommentsFile)):"",equalProtectionLevel:(e==null?void 0:e.baseProjIsConfidentiality)==="01"&&!["01","02","03"].includes(e==null?void 0:e.baseProjSetProg)?t==null?void 0:t.equalProtectionLevel:"",approvalFile:["01","02","03"].includes(e==null?void 0:e.baseProjSetProg)?"":((le=t==null?void 0:t.approvalFile)==null?void 0:le.length)&&JSON.stringify(n(t==null?void 0:t.approvalFile)),baseExpertTotalMoney:["01","03"].includes(e==null?void 0:e.baseProjSetProg)?"":t==null?void 0:t.baseExpertTotalMoney,baseExpertYearMoney:["01","03"].includes(e==null?void 0:e.baseProjSetProg)?"":t==null?void 0:t.baseExpertYearMoney,baseInitialReviewTotalMoney:["01","02","03"].includes(e==null?void 0:e.baseProjSetProg)?"":t==null?void 0:t.baseInitialReviewTotalMoney,baseProjReplyAmount:["01","02","03"].includes(e==null?void 0:e.baseProjSetProg)?"":t==null?void 0:t.baseProjReplyAmount,releaseYearMoney:["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)?t==null?void 0:t.releaseYearMoney:"",preliminaryDesignScheme:(t==null?void 0:t.baseProjReplyAmount)>=5e3&&["04","05","06","07","00"].includes(e.baseProjSetProg)?((de=t==null?void 0:t.preliminaryDesignScheme)==null?void 0:de.length)&&JSON.stringify(n(t.preliminaryDesignScheme)):"",preliminaryDesignFile:(t==null?void 0:t.baseProjReplyAmount)>=5e3&&["04","05","06","07","00"].includes(e.baseProjSetProg)?((ce=t==null?void 0:t.preliminaryDesignFile)==null?void 0:ce.length)&&JSON.stringify(n(t.preliminaryDesignFile)):""}),procures:(["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)||(s==null?void 0:s.baseProjSetYear)*1<2023)&&((ue=f==null?void 0:f.sections)==null?void 0:ue.map(i=>{var Ae,De,Be;return v(F({},i),{baseBidName:["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)&&i.baseBidName||"",baseProjPurchaseWay:["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)&&i.baseProjPurchaseWay||"",basePurchaseCode:["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)&&i.basePurchaseCode||"",basePurchasingAgencies:(["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)||(s==null?void 0:s.baseProjSetYear)*1<2023)&&i.basePurchasingAgencies||"",baseUnifiedCreditCode:(["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)||(s==null?void 0:s.baseProjSetYear)*1<2023)&&i.baseUnifiedCreditCode||"",baseWinningBidTime:["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)&&i.baseWinningBidTime||"",baseProjPurchaseAmount:["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)&&i.baseProjPurchaseAmount||"",baseConsDeprt:["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)&&i.baseConsDeprt||"",baseConsDeprtUsci:["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)&&i.baseConsDeprtUsci||"",basePaymentTime:(["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)||(s==null?void 0:s.baseProjSetYear)*1<2023)&&i.basePaymentTime||"",paymentProgress:(["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)||(s==null?void 0:s.baseProjSetYear)*1<2023)&&i.paymentProgress||"",purchaseFile:["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)&&((Ae=i.purchaseFile)==null?void 0:Ae.length)?JSON.stringify(n(i.purchaseFile)):"",biddingFile:["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)&&((De=i.biddingFile)==null?void 0:De.length)?JSON.stringify(n(i.biddingFile)):"",purchaseContract:["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)&&((Be=i.purchaseContract)==null?void 0:Be.length)?JSON.stringify(n(i.purchaseContract)):""})}))||[],mimplement:v(F({},a),{baseInitialOpinionFile:(Pe=a==null?void 0:a.baseInitialOpinionFile)!=null&&Pe.length?JSON.stringify(n(a.baseInitialOpinionFile)):"",baseInforLevelFile:(["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)&&((ge=e==null?void 0:e.baseConstructionType)==null?void 0:ge.includes("01"))||!((be=e==null?void 0:e.baseConstructionType)!=null&&be.includes("01")))&&((je=a==null?void 0:a.baseInforLevelFile)==null?void 0:je.length)?JSON.stringify(n(a.baseInforLevelFile)):"",basePasswAssessFile:(["04","05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)||(s==null?void 0:s.baseProjSetYear)*1<2023)&&((Se=a==null?void 0:a.basePasswAssessFile)==null?void 0:Se.length)?JSON.stringify(n(a.basePasswAssessFile)):"",baseThirdAcceptFile:(me=a.baseThirdAcceptFile)!=null&&me.length?JSON.stringify(n(a.baseThirdAcceptFile)):"",baseCheckFile:["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)&&((he=a==null?void 0:a.baseCheckFile)==null?void 0:he.length)?JSON.stringify(n(a.baseCheckFile)):"",baseFinanlAuditFile:["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)&&(t==null?void 0:t.releaseYearMoney)*1>=2e3&&((fe=a==null?void 0:a.baseFinanlAuditFile)==null?void 0:fe.length)?JSON.stringify(n(a.baseFinanlAuditFile)):"",baseUserConsFile:(["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)||(s==null?void 0:s.baseProjSetYear)*1<2023)&&((Fe=a==null?void 0:a.baseUserConsFile)==null?void 0:Fe.length)?JSON.stringify(n(a.baseUserConsFile)):"",baseEstaSummFile:(ve=a==null?void 0:a.baseEstaSummFile)!=null&&ve.length?JSON.stringify(n(a==null?void 0:a.baseEstaSummFile)):"",baseOperatMaintenSummFile:(["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)||(s==null?void 0:s.baseProjSetYear)*1<2023)&&((_e=a==null?void 0:a.baseOperatMaintenSummFile)==null?void 0:_e.length)?JSON.stringify(n(a.baseOperatMaintenSummFile)):"",baseFinalExpertOpinionFile:(e==null?void 0:e.baseProjSetProg)==="07"&&((Oe=a.baseFinalExpertOpinionFile)==null?void 0:Oe.length)?JSON.stringify(n(a==null?void 0:a.baseFinalExpertOpinionFile)):"",baseEngineerPostpoFile:(ye=a==null?void 0:a.baseEngineerPostpoFile)!=null&&ye.length?JSON.stringify(n(a==null?void 0:a.baseEngineerPostpoFile)):"",baseEngineerAlterFile:(Ne=a==null?void 0:a.baseEngineerAlterFile)!=null&&Ne.length?JSON.stringify(n(a==null?void 0:a.baseEngineerAlterFile)):"",baseChanFile:(Ce=a==null?void 0:a.baseChanFile)!=null&&Ce.length?JSON.stringify(n(a==null?void 0:a.baseChanFile)):"",baseBusinessMetrics:(Je=a==null?void 0:a.baseBusinessMetrics)!=null&&Je.length?JSON.stringify(a==null?void 0:a.baseBusinessMetrics):""})}},B=_(!1),Ye=()=>y(this,null,function*(){B.value=!0;const e=x();try{yield ns(e),B.value=!1,c.$message.success("\u6682\u5B58\u6210\u529F\uFF01"),D.go(-1)}catch(s){B.value=!1}});return Ge(()=>y(this,null,function*(){h.value=(yield is()).data,o.query.id&&C()})),(e,s)=>{const r=M("el-collapse-item"),j=M("el-button"),t=M("el-collapse");return I(),Ke("div",ls,[g("div",null,[b(t,{modelValue:N,"onUpdate:modelValue":s[1]||(s[1]=f=>N=f)},{default:d(()=>{var f,a,J,A;return[b(r,{name:"1",class:"mb-16"},{title:d(()=>[ds]),default:d(()=>[g("div",cs,[b(Qe,{ref:u=>l.baseinfo=u,detail:P.value,"dictionary-list":h.value,onGetBasicInfoData:Ee},null,8,["detail","dictionary-list"])])]),_:1}),b(r,{name:"2",class:"mb-16"},{title:d(()=>[us]),default:d(()=>[g("div",Ps,[b(Xe,{ref:u=>l.apply=u,detail:P.value,"basic-info-data":m.value,"dictionary-list":h.value,onGetProYear:Re},null,8,["detail","basic-info-data","dictionary-list"])])]),_:1}),((a=(f=m.value)==null?void 0:f.baseConstructionType)==null?void 0:a.length)===1&&((J=m.value)==null?void 0:J.baseConstructionType.includes("02"))?R("v-if",!0):(I(),E(r,{key:0,name:"3",class:"mb-16"},{title:d(()=>[gs]),default:d(()=>[g("div",bs,[b(Ze,{ref:u=>l.application=u,detail:P.value,"basic-info-data":m.value},null,8,["detail","basic-info-data"])])]),_:1})),b(r,{name:"4",class:"mb-16"},{title:d(()=>[js]),default:d(()=>[g("div",Ss,[b(es,{ref:u=>l.baseCore=u,detail:P.value,"basic-info-data":m.value},null,8,["detail","basic-info-data"])])]),_:1}),((A=m.value)==null?void 0:A.baseProjSetProg)!=="01"?(I(),E(r,{key:1,name:"5",class:"mb-16"},{title:d(()=>[ms]),default:d(()=>[g("div",hs,[b(ss,{ref:u=>l.approve=u,detail:P.value,"basic-info-data":m.value,"dictionary-list":h.value,onGetApprovalInfoData:we},null,8,["detail","basic-info-data","dictionary-list"])])]),_:1})):R("v-if",!0),b(r,{name:"6",class:"mb-16"},{title:d(()=>[fs]),default:d(()=>[g("div",Fs,[b(as,{ref:u=>l.procures=u,detail:P.value,"dictionary-list":h.value,"base-proj-set-year":T.value,"basic-info-data":m.value},null,8,["detail","dictionary-list","base-proj-set-year","basic-info-data"])])]),_:1}),b(r,{name:"7",class:"mb-16"},{title:d(()=>[vs]),default:d(()=>[g("div",_s,[b(ts,{ref:u=>l.cimplement=u,detail:P.value,"basic-info-data":m.value,"base-proj-set-year":T.value,"approval-info-data":Y.value},null,8,["detail","basic-info-data","base-proj-set-year","approval-info-data"])])]),_:1}),g("div",Os,[b(j,{onClick:s[0]||(s[0]=u=>e.$router.go(-1))},{default:d(()=>[w(" \u8FD4\u56DE ")]),_:1}),pe(o).query.type!=="1"?(I(),E(j,{key:0,type:"primary",loading:B.value,plain:"",onClick:Ye},{default:d(()=>[w(" \u6682\u5B58 ")]),_:1},8,["loading"])):R("v-if",!0),b(j,{type:"primary",loading:O.value,onClick:Me},{default:d(()=>[w(" \u63D0\u4EA4 ")]),_:1},8,["loading"])])]}),_:1})])])}}}),Ks=He(Ns,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/declareManage/operationProjectRecord/operationProjectEdit/index.vue"]]);export{Ks as default};
|