選択できるのは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.121be81f.js";import se from"./projectProgress.dd4b5167.js";import E from"./projectInfo.cbd32da3.js";import oe from"./summarizeInfo.60a5b367.js";import le from"./flowRecordDialog.06003bc1.js";import{p as re,f as ie,g as ne}from"./projectStore.94f188d8.js";import{d as de}from"./projectCollectionEnter.4643d944.js";import"./sjFlowRecord.d524d603.js";import"./basicInfo.dbd04ceb.js";import"./index.3b212700.js";import"./indicatorTemplate.80c727a2.js";import"./fundsInfo.c062709f.js";import"./investmentInfo.f3be594b.js";import"./engineeringInfo.45d1781f.js";import"./safeInfo.a46e3d6a.js";import"./businessInfo.256d99c3.js";import"./yearPayPlanInfo.8839e0bf.js";import"./filesInfo.7949eaa8.js";import"./remarkInfo.a18a79c3.js";import"./applications.f32150d1.js";import"./customModule.84f6f99a.js";import"./provincialInfo.cd37735f.js";import"./index.c4a348b4.js";import"./approvalInfo.348fb3fc.js";import"./expertReviewInfo.f0ca21ed.js";import"./memberOpinion.5c68f8d8.js";import"./index.3de4dfbb.js";import"./biddingRegistration.8be2e2bd.js";import"./contractInfo.f0ad3cb0.js";import"./initialInfo.0f07263d.js";import"./finalInfo.f086e5cd.js";import"./index.f55de596.js";import"./trialRunInfo.9ebc573f.js";import"./implementationPlan.167e1a94.js";import"./reviewCheckList.9b49e893.js";import"./getIsShowReviewCheck.2beaaf24.js";import"./flowRecord.6f96f817.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};