Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

2 строки
7.1KB

  1. import{_ as K,D as Q,z as W,r as I,b as X,o as Z,c as P,e as y,f as O,h as o,i as l,g as p,t as _,j as S,n as H,u as g,I as B,k as q,F as ee,q as ae,s as te}from"./index.d340e473.js";import se from"./projectProgress.432e620d.js";import E from"./projectInfo.0429e446.js";import oe from"./summarizeInfo.716b7fc2.js";import le from"./flowRecordDialog.1241a580.js";import{p as re,f as ie,g as ne}from"./projectStore.d1b5c8dd.js";import{d as de}from"./projectCollectionEnter.b0eea7b8.js";import"./sjFlowRecord.94c0565f.js";import"./basicInfo.36e7fe07.js";import"./index.79d05d9e.js";import"./indicatorTemplate.b913f726.js";import"./fundsInfo.65ac922e.js";import"./investmentInfo.f1bbff50.js";import"./engineeringInfo.4e066700.js";import"./safeInfo.17e9be79.js";import"./businessInfo.57dd31fc.js";import"./yearPayPlanInfo.bd37cfcd.js";import"./filesInfo.96ed11c2.js";import"./remarkInfo.85f5e786.js";import"./applications.dd9c1555.js";import"./customModule.8c53f766.js";import"./provincialInfo.001bf189.js";import"./index.cf3ded3c.js";import"./approvalInfo.734b68f9.js";import"./expertReviewInfo.baf4443d.js";import"./memberOpinion.0c9330e2.js";import"./index.b5cf0c78.js";import"./biddingRegistration.03d482af.js";import"./contractInfo.1d8ca5cf.js";import"./initialInfo.93adbc9e.js";import"./finalInfo.043baeab.js";import"./index.f55de596.js";import"./trialRunInfo.be8e2ef8.js";import"./implementationPlan.e8b5d02b.js";import"./reviewCheckList.ec29e306.js";import"./getIsShowReviewCheck.a13f8f4e.js";import"./flowRecord.2f03e886.js";const ue=h=>(ae("data-v-6f6efa99"),h=h(),te(),h),pe={class:"card-header"},ce={class:"flex justify-between items-center"},me={class:"flex-1"},fe={class:"font-bold"},_e={class:"mt-8 search"},ve={class:"textRight"},be={key:0},je={key:1},we=ue(()=>p("p",null,"\u72B6\u6001",-1)),Ie={__name:"index",setup(h){const{statusOptions:v}=Q.dictStore.globalDicts||{},N=W(),D=I("1"),L=t=>{D.value=t,t==="1"?C.value.getTabs():t==="2"&&F.value.getTabs()},C=I(),e=I({projectCode:""}),M=async()=>{var r,m,n,s,b,x;const t=await re(N.query.id);if(t.data.prePlanProjectId){const f=await ie(t.data.prePlanProjectId);e.value={...f.data,baseHistorProjs:((m=(r=f.data)==null?void 0:r.baseHistorProjId)==null?void 0:m.split("\uFF1B").map((j,i)=>{var d,w;return{baseProjId:j,baseProjName:(d=f.data)==null?void 0:d.baseHistorProjName.split("\uFF1B")[i],baseProjSetYear:(w=f.data)==null?void 0:w.baseHistorProjYear.split("\uFF1B")[i]}}))||[]},a.value={...t.data,baseHistorProjs:((s=(n=t.data)==null?void 0:n.baseHistorProjId)==null?void 0:s.split("\uFF1B").map((j,i)=>{var d,w;return{baseProjId:j,baseProjName:(d=t.data)==null?void 0:d.baseHistorProjName.split("\uFF1B")[i],baseProjSetYear:(w=t.data)==null?void 0:w.baseHistorProjYear.split("\uFF1B")[i]}}))||[]}}else e.value={...t.data,baseHistorProjs:((x=(b=t.data)==null?void 0:b.baseHistorProjId)==null?void 0:x.split("\uFF1B").map((f,j)=>{var i,d;return{baseProjId:f,baseProjName:(i=t.data)==null?void 0:i.baseHistorProjName.split("\uFF1B")[j],baseProjSetYear:(d=t.data)==null?void 0:d.baseHistorProjYear.split("\uFF1B")[j]}}))||[]},a.value=null;N.name==="projectIrsDocDetail"?(D.value="3",k.value.setActiveName("\u7EC8\u9A8C\u4FE1\u606F")):N.name==="reviewCheckProjectListProjectDetail"&&(D.value="3",k.value.setActiveName("\u5EFA\u8BBE\u65B9\u6848\u5BA1\u67E5\u610F\u89C1"))},F=I(),a=I(),c=X({visible:!1,flowData:void 0,sjFlowData:void 0}),A=(t,r)=>{c.visible=!0,t?(c.flowData=JSON.parse(JSON.stringify(t)),c.flowData=J(c.flowData)):c.flowData=void 0,c.sjFlowData=r||void 0},J=t=>(t.forEach(r=>{if(r.children){const m=[],n=[];r.children.forEach(s=>{m.includes(s.nodeId)?(n.find(b=>b.nodeId===s.nodeId).list.push(s),n.find(b=>b.nodeId===s.nodeId).userIds.push(s.userId)):(m.push(s.nodeId),n.push({nodeId:s.nodeId,approvalMode:s.approvalMode,name:s.name,taskId:s.taskId,nodeType:s.nodeType,list:[{...s}],userIds:[s.userId]}))}),r.children=n}else r.userIds=[r.userId]}),t),U=()=>{c.visible=!1},T=I(),G=async()=>{const t=await ne(N.query.id);T.value=t.data},$=()=>!0,R=I([]),k=I();return Z(async()=>{R.value=(await de()).data,await M(),await G()}),(t,r)=>{const m=P("el-form-item"),n=P("el-col"),s=P("el-row"),b=P("el-form"),x=P("el-card"),f=P("el-tab-pane"),j=P("el-tabs");return y(),O(ee,null,[o(x,{shadow:"never",class:"mb-16"},{default:l(()=>{var i,d,w,V,Y,z;return[p("div",pe,[p("div",ce,[p("div",me,[p("p",fe,_(((i=a.value)==null?void 0:i.projectName)||e.value.projectName),1),p("div",_e,[o(b,{"label-suffix":":"},{default:l(()=>[o(s,{gutter:24},{default:l(()=>[o(n,{span:6},{default:l(()=>[o(m,{label:"\u7533\u62A5\u5355\u4F4D"},{default:l(()=>{var u;return[S(_(((u=a.value)==null?void 0:u.buildOrgName)||e.value.buildOrgName||"-"),1)]}),_:1})]),_:1}),o(n,{span:6},{default:l(()=>[o(m,{label:"\u4E3B\u7BA1\u5355\u4F4D"},{default:l(()=>{var u;return[S(_(((u=a.value)==null?void 0:u.superOrg)||e.value.superOrg||"-"),1)]}),_:1})]),_:1}),o(n,{span:6},{default:l(()=>[o(m,{label:"\u521B\u5EFA\u65F6\u95F4"},{default:l(()=>{var u;return[S(_(((u=a.value)==null?void 0:u.createOn)||e.value.createOn||"-"),1)]}),_:1})]),_:1}),o(n,{span:6},{default:l(()=>[o(m,{label:"\u66F4\u65B0\u65F6\u95F4"},{default:l(()=>{var u;return[S(_(((u=a.value)==null?void 0:u.updateOn)||e.value.updateOn||"-"),1)]}),_:1})]),_:1})]),_:1})]),_:1})])]),p("div",ve,[(d=a.value)!=null&&d.status?(y(),O("p",be,[p("span",{class:H(`dot mr-4 bg-${a.value&&a.value.status&&((w=g(v)[a.value.status])==null?void 0:w.color)}`)},null,2),p("span",{class:H(`font-semibold text-${a.value&&a.value.status&&((V=g(v)[a.value.status])==null?void 0:V.color)}`)},_(a.value&&a.value.status&&g(v)[a.value.stage].name)+"-"+_(a.value&&a.value.status&&g(v)[a.value.status].name),3)])):(y(),O("p",je,[p("span",{class:H(`dot mr-4 bg-${e.value&&e.value.status&&((Y=g(v)[e.value.status])==null?void 0:Y.color)}`)},null,2),p("span",{class:H(`font-semibold text-${e.value&&e.value.status&&((z=g(v)[e.value.status])==null?void 0:z.color)}`)},_(e.value&&e.value.status&&g(v)[e.value.stage].name)+"-"+_(e.value&&e.value.status&&g(v)[e.value.status].name),3)])),we])])])]}),_:1}),o(se,{"detail-data":e.value,"step-data":T.value,shadow:"never",onShowFlowRecordDialog:A},null,8,["detail-data","step-data"]),o(j,{modelValue:D.value,"onUpdate:modelValue":r[0]||(r[0]=i=>D.value=i),type:"card",class:"myCardTab mt-16",onTabChange:L},{default:l(()=>[o(f,{label:"\u521D\u6B65\u65B9\u6848",name:"1"},{default:l(()=>[o(E,{ref_key:"projectInfoRef",ref:C,"detail-data":e.value,"is-down-load-file":$(),"dictionary-list":R.value},null,8,["detail-data","is-down-load-file","dictionary-list"])]),_:1}),a.value?(y(),B(f,{key:0,label:"\u5EFA\u8BBE\u65B9\u6848",name:"2"},{default:l(()=>[o(E,{ref_key:"constructInfoRef",ref:F,"detail-data":a.value,"is-down-load-file":$(),"dictionary-list":R.value},null,8,["detail-data","is-down-load-file","dictionary-list"])]),_:1})):q("",!0),o(f,{label:"\u5F52\u96C6\u4FE1\u606F",name:"3"},{default:l(()=>[e.value?(y(),B(oe,{key:0,ref_key:"summarizeInfoRef",ref:k,"detail-data":a.value||e.value},null,8,["detail-data"])):q("",!0)]),_:1})]),_:1},8,["modelValue"]),o(le,{detail:e.value,visible:c.visible,"flow-data":c.flowData,"sj-flow-data":c.sjFlowData,onClose:U},null,8,["detail","visible","flow-data","sj-flow-data"])],64)}}},oa=K(Ie,[["__scopeId","data-v-6f6efa99"]]);export{oa as default};