No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

2 líneas
15KB

  1. import Ie from"./basicInfo.405e376a.js";import{d as Re,z as Ee,A as Me,r as S,o as Ye,c as N,e as v,f as we,g as c,h as u,i as l,I as C,k as J,j as A,u as xe,x as ke}from"./index.d340e473.js";import{g as o}from"./uploadAction.95992a5e.js";import $e from"./projectDeclareInfo.998766f0.js";import qe from"./applicationInfo.c8675f4e.js";import Le from"./coreBusiness.1aa4a053.js";import Ue from"./projectApprovalInfo.d542e7fb.js";import He from"./purchaseInfo.ab8eae38.js";import Ve from"./empMaterials.a99db162.js";import{d as We}from"./projectCollectionEnter.b0eea7b8.js";import{d as Ge,s as ze,b as Ke}from"./operationProjectRecord.ff6bf0bc.js";import"./index.92826120.js";import"./unitManage.92dc7eb4.js";import"./userDialog.ebe4a0b3.js";import"./lineOrgDialog.bbfd4e31.js";import"./index.cf3ded3c.js";import"./indicatorTemplate.b913f726.js";import"./relatedProjectDialog.066d533b.js";import"./renewalProjectCapitalDeclare.425372f7.js";import"./projectContentDialog.55ca7e73.js";import"./actualPerformanceIndicatorsDialog.be7247c7.js";const Qe={class:"footerPage"},Xe=c("div",{class:"collapse-title"},"\u9879\u76EE\u57FA\u672C\u4FE1\u606F",-1),Ze={class:"pb-24"},pe=c("div",{class:"collapse-title"},"\u9879\u76EE\u7533\u62A5\u4FE1\u606F",-1),es={class:"pb-24"},ss=c("div",{class:"collapse-title"},"\u9879\u76EE\u5173\u8054\u4FE1\u606F",-1),as={class:"pb-24"},ts=c("div",{class:"collapse-title"},"\u6838\u5FC3\u4E1A\u52A1",-1),is={class:"pb-24"},rs=c("div",{class:"collapse-title"},"\u9879\u76EE\u7ACB\u9879\u8BC4\u5BA1\u4FE1\u606F",-1),os={class:"pb-24"},ns=c("div",{class:"collapse-title"},"\u9879\u76EE\u91C7\u8D2D\u3001\u8D44\u91D1\u652F\u4ED8\u4FE1\u606F",-1),ls={class:"pb-24"},ds=c("div",{class:"collapse-title"},"\u5B9E\u65BD\u6750\u6599\u4FE1\u606F",-1),cs={class:"pb-24"},us={class:"footer"},Ps=Re({name:"projectCollectionEnter"}),Ms=Object.assign(Ps,{setup(bs){const{proxy:D}=ke(),g=Ee(),T=Me(),B=["1","2","3","4","5","6","7"],n={},f=S(!1),h=S(),j=S(),Ce=async()=>{const e=g.query.type==="1"?g.query.id:g.query.draftId,s=await Ge(g.query.type,e);j.value=s.data},Je=async()=>{f.value=!0;try{const e=Object.values(n).map(async r=>(r==null?void 0:r.formRef)&&await r.formRef.validate());await Promise.all(e);const s=R();await ze(s),f.value=!1,D.$message.success("\u63D0\u4EA4\u6210\u529F\uFF01"),T.go(-1)}catch{f.value=!1}},b=S(),Ae=e=>{b.value=e},y=S(),De=e=>{y.value=e},I=S(),Te=e=>{I.value=e},R=()=>{var _,F,d,E,M,Y,w,x,k,$,q,L,U,H,V,W,G,z,K,Q,X,Z,p,ee,se,ae,te,ie,re,oe,ne,le,de,ce,ue,Pe,be,ge,je,me,Se,he,_e,Fe,fe,Oe;const e=JSON.parse(JSON.stringify(n.baseinfo.formData)),s=JSON.parse(JSON.stringify(n.apply.formData)),r=n.application&&JSON.parse(JSON.stringify(n.application.formData))||{},P=n.baseCore&&JSON.parse(JSON.stringify(n.baseCore.formData))||{},t=n.approve&&JSON.parse(JSON.stringify(n.approve.formData))||{},m=n.procures&&JSON.parse(JSON.stringify(n.procures.formData))||[],a=n.cimplement&&JSON.parse(JSON.stringify(n.cimplement.formData))||[];return{baseProjId:g.query.id||"",draftId:g.query.draftId*1||"",baseinfo:{...e,baseProvManDeprtType:(e==null?void 0:e.baseProvManDeprtType)*1||void 0,baseConstructionType:(_=e==null?void 0:e.baseConstructionType)==null?void 0:_.join("\uFF1B")},apply:{...s,baseProjStartTime:(F=s==null?void 0:s.baseProjTime)!=null&&F.length?(s==null?void 0:s.baseProjTime[0])+" 00:00:00":void 0,baseProjEndTime:(d=s==null?void 0:s.baseProjTime)!=null&&d.length?(s==null?void 0:s.baseProjTime[1])+" 00:00:00":void 0,baseProjTime:void 0,baseHistorProjId:s!=null&&s.missing?"":(M=(E=s==null?void 0:s.baseHistorProjs)==null?void 0:E.map(i=>i.baseProjId))==null?void 0:M.join("\uFF1B"),baseHistorProjName:s!=null&&s.missing?"":(w=(Y=s==null?void 0:s.baseHistorProjs)==null?void 0:Y.map(i=>i.baseProjName))==null?void 0:w.join("\uFF1B"),baseHistorProjYear:s!=null&&s.missing?"":(k=(x=s==null?void 0:s.baseHistorProjs)==null?void 0:x.map(i=>i.baseProjSetYear))==null?void 0:k.join("\uFF1B"),baseProjAmountOri:(($=s==null?void 0:s.baseProjAmountOri)==null?void 0:$.join("\uFF1B"))||void 0,baseProjBasis:((L=(q=s==null?void 0:s.baseProjBasis)==null?void 0:q.map(i=>i.value))==null?void 0:L.join("\uFF1B"))||void 0,baseProjBasisFile:((H=(U=s==null?void 0:s.baseProjBasis)==null?void 0:U.map(i=>i.fileList&&JSON.stringify(o(i.fileList))))==null?void 0:H.join("\uFF1B"))||"",beseExpectedResults:((V=s==null?void 0:s.beseExpectedResults)==null?void 0:V.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)&&((W=s==null?void 0:s.baseProjApplyFile)==null?void 0:W.length)?JSON.stringify(o(s==null?void 0:s.baseProjApplyFile)):"",baseOperatMaintenFile:(G=s==null?void 0:s.baseOperatMaintenFile)!=null&&G.length?JSON.stringify(o(s==null?void 0:s.baseOperatMaintenFile)):"",baseProjOtherFile:(z=s==null?void 0:s.baseProjOtherFile)!=null&&z.length?JSON.stringify(o(s==null?void 0:s.baseProjOtherFile)):"",baseHistorProjs:void 0,...r,baseProjSysCode:((K=r==null?void 0:r.applications)==null?void 0:K.map(i=>i.application.applicationCode).join("\uFF1B"))||"",baseProjSys:((Q=r==null?void 0:r.applications)==null?void 0:Q.map(i=>i.application.applicationName).join("\uFF1B"))||"",baseAccountAppName:((X=r==null?void 0:r.applications)==null?void 0:X.map(i=>i.baseAccountAppName).join("\uFF1B"))||"",baseBrainName:((Z=r==null?void 0:r.applications)==null?void 0:Z.map(i=>i.baseBrainName).join("\uFF1B"))||"",applications:void 0,...P,baseCoreBusinessCode:((p=P==null?void 0:P.coreBusiness)==null?void 0:p.map(i=>i.id).join("\uFF1B"))||"",baseCoreBusiness:((ee=P==null?void 0:P.coreBusiness)==null?void 0:ee.map(i=>i.matterName).join("\uFF1B"))||"",baseCoreBusinessOrg:((se=P==null?void 0:P.coreBusiness)==null?void 0:se.map(i=>i.orgName).join("\uFF1B"))||"",coreBusiness:void 0},approve:{...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"?((ae=t==null?void 0:t.baseReviewCommentsFile)==null?void 0:ae.length)&&JSON.stringify(o(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)?"":((te=t==null?void 0:t.approvalFile)==null?void 0:te.length)&&JSON.stringify(o(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)?((ie=t==null?void 0:t.preliminaryDesignScheme)==null?void 0:ie.length)&&JSON.stringify(o(t.preliminaryDesignScheme)):"",preliminaryDesignFile:(t==null?void 0:t.baseProjReplyAmount)>=5e3&&["04","05","06","07","00"].includes(e.baseProjSetProg)?((re=t==null?void 0:t.preliminaryDesignFile)==null?void 0:re.length)&&JSON.stringify(o(t.preliminaryDesignFile)):""},procures:(["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)||(s==null?void 0:s.baseProjSetYear)*1<2023)&&((oe=m==null?void 0:m.sections)==null?void 0:oe.map(i=>{var ve,ye,Ne;return{...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)&&((ve=i.purchaseFile)==null?void 0:ve.length)?JSON.stringify(o(i.purchaseFile)):"",biddingFile:["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)&&((ye=i.biddingFile)==null?void 0:ye.length)?JSON.stringify(o(i.biddingFile)):"",purchaseContract:["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)&&((Ne=i.purchaseContract)==null?void 0:Ne.length)?JSON.stringify(o(i.purchaseContract)):""}}))||[],mimplement:{...a,baseInitialOpinionFile:(ne=a==null?void 0:a.baseInitialOpinionFile)!=null&&ne.length?JSON.stringify(o(a.baseInitialOpinionFile)):"",baseInforLevelFile:(["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)&&((le=e==null?void 0:e.baseConstructionType)==null?void 0:le.includes("01"))||!((de=e==null?void 0:e.baseConstructionType)!=null&&de.includes("01")))&&((ce=a==null?void 0:a.baseInforLevelFile)==null?void 0:ce.length)?JSON.stringify(o(a.baseInforLevelFile)):"",basePasswAssessFile:(["04","05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)||(s==null?void 0:s.baseProjSetYear)*1<2023)&&((ue=a==null?void 0:a.basePasswAssessFile)==null?void 0:ue.length)?JSON.stringify(o(a.basePasswAssessFile)):"",baseThirdAcceptFile:(Pe=a.baseThirdAcceptFile)!=null&&Pe.length?JSON.stringify(o(a.baseThirdAcceptFile)):"",baseCheckFile:["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)&&((be=a==null?void 0:a.baseCheckFile)==null?void 0:be.length)?JSON.stringify(o(a.baseCheckFile)):"",baseFinanlAuditFile:["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)&&(t==null?void 0:t.releaseYearMoney)*1>=2e3&&((ge=a==null?void 0:a.baseFinanlAuditFile)==null?void 0:ge.length)?JSON.stringify(o(a.baseFinanlAuditFile)):"",baseUserConsFile:(["05","06","07","00"].includes(e==null?void 0:e.baseProjSetProg)||(s==null?void 0:s.baseProjSetYear)*1<2023)&&((je=a==null?void 0:a.baseUserConsFile)==null?void 0:je.length)?JSON.stringify(o(a.baseUserConsFile)):"",baseEstaSummFile:(me=a==null?void 0:a.baseEstaSummFile)!=null&&me.length?JSON.stringify(o(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)&&((Se=a==null?void 0:a.baseOperatMaintenSummFile)==null?void 0:Se.length)?JSON.stringify(o(a.baseOperatMaintenSummFile)):"",baseFinalExpertOpinionFile:(e==null?void 0:e.baseProjSetProg)==="07"&&((he=a.baseFinalExpertOpinionFile)==null?void 0:he.length)?JSON.stringify(o(a==null?void 0:a.baseFinalExpertOpinionFile)):"",baseEngineerPostpoFile:(_e=a==null?void 0:a.baseEngineerPostpoFile)!=null&&_e.length?JSON.stringify(o(a==null?void 0:a.baseEngineerPostpoFile)):"",baseEngineerAlterFile:(Fe=a==null?void 0:a.baseEngineerAlterFile)!=null&&Fe.length?JSON.stringify(o(a==null?void 0:a.baseEngineerAlterFile)):"",baseChanFile:(fe=a==null?void 0:a.baseChanFile)!=null&&fe.length?JSON.stringify(o(a==null?void 0:a.baseChanFile)):"",baseBusinessMetrics:(Oe=a==null?void 0:a.baseBusinessMetrics)!=null&&Oe.length?JSON.stringify(a==null?void 0:a.baseBusinessMetrics):""}}},O=S(!1),Be=async()=>{O.value=!0;const e=R();try{await Ke(e),O.value=!1,D.$message.success("\u6682\u5B58\u6210\u529F\uFF01"),T.go(-1)}catch{O.value=!1}};return Ye(async()=>{h.value=(await We()).data,g.query.id&&Ce()}),(e,s)=>{const r=N("el-collapse-item"),P=N("el-button"),t=N("el-collapse");return v(),we("div",Qe,[c("div",null,[u(t,{modelValue:B,"onUpdate:modelValue":s[1]||(s[1]=m=>B=m)},{default:l(()=>{var m,a,_,F;return[u(r,{name:"1",class:"mb-16"},{title:l(()=>[Xe]),default:l(()=>[c("div",Ze,[u(Ie,{ref:d=>n.baseinfo=d,detail:j.value,"dictionary-list":h.value,onGetBasicInfoData:Ae},null,8,["detail","dictionary-list"])])]),_:1}),u(r,{name:"2",class:"mb-16"},{title:l(()=>[pe]),default:l(()=>[c("div",es,[u($e,{ref:d=>n.apply=d,detail:j.value,"basic-info-data":b.value,"dictionary-list":h.value,onGetProYear:De},null,8,["detail","basic-info-data","dictionary-list"])])]),_:1}),((a=(m=b.value)==null?void 0:m.baseConstructionType)==null?void 0:a.length)===1&&((_=b.value)==null?void 0:_.baseConstructionType.includes("02"))?J("",!0):(v(),C(r,{key:0,name:"3",class:"mb-16"},{title:l(()=>[ss]),default:l(()=>[c("div",as,[u(qe,{ref:d=>n.application=d,detail:j.value,"basic-info-data":b.value},null,8,["detail","basic-info-data"])])]),_:1})),u(r,{name:"4",class:"mb-16"},{title:l(()=>[ts]),default:l(()=>[c("div",is,[u(Le,{ref:d=>n.baseCore=d,detail:j.value,"basic-info-data":b.value},null,8,["detail","basic-info-data"])])]),_:1}),((F=b.value)==null?void 0:F.baseProjSetProg)!=="01"?(v(),C(r,{key:1,name:"5",class:"mb-16"},{title:l(()=>[rs]),default:l(()=>[c("div",os,[u(Ue,{ref:d=>n.approve=d,detail:j.value,"basic-info-data":b.value,"dictionary-list":h.value,onGetApprovalInfoData:Te},null,8,["detail","basic-info-data","dictionary-list"])])]),_:1})):J("",!0),u(r,{name:"6",class:"mb-16"},{title:l(()=>[ns]),default:l(()=>[c("div",ls,[u(He,{ref:d=>n.procures=d,detail:j.value,"dictionary-list":h.value,"base-proj-set-year":y.value,"basic-info-data":b.value},null,8,["detail","dictionary-list","base-proj-set-year","basic-info-data"])])]),_:1}),u(r,{name:"7",class:"mb-16"},{title:l(()=>[ds]),default:l(()=>[c("div",cs,[u(Ve,{ref:d=>n.cimplement=d,detail:j.value,"basic-info-data":b.value,"base-proj-set-year":y.value,"approval-info-data":I.value},null,8,["detail","basic-info-data","base-proj-set-year","approval-info-data"])])]),_:1}),c("div",us,[u(P,{onClick:s[0]||(s[0]=d=>e.$router.go(-1))},{default:l(()=>[A(" \u8FD4\u56DE ")]),_:1}),xe(g).query.type!=="1"?(v(),C(P,{key:0,type:"primary",loading:O.value,plain:"",onClick:Be},{default:l(()=>[A(" \u6682\u5B58 ")]),_:1},8,["loading"])):J("",!0),u(P,{type:"primary",loading:f.value,onClick:Je},{default:l(()=>[A(" \u63D0\u4EA4 ")]),_:1},8,["loading"])])]}),_:1})])])}}});export{Ms as default};