選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

2 行
7.1KB

  1. import{_ as U,B as K,x as Q,r as I,b as W,o as X,c as P,e as D,f as O,h as o,i as r,g as p,t as v,j as x,n as H,u as g,G as B,k as z,F as Z}from"./index.a2494fc2.js";import ee from"./projectProgress.fcb997d4.js";import E from"./projectInfo.e06affa3.js";import ae from"./summarizeInfo.5f1f6635.js";import te from"./flowRecordDialog.a84b629b.js";import{p as se,f as oe,g as le}from"./projectStore.3d75a461.js";import{d as re}from"./projectCollectionEnter.417bcc1b.js";import"./sjFlowRecord.e3c7eb73.js";import"./basicInfo.d84407e7.js";import"./index.8851030e.js";import"./indicatorTemplate.6dbb281e.js";import"./fundsInfo.29ef563f.js";import"./investmentInfo.2596b795.js";import"./engineeringInfo.877be92c.js";import"./safeInfo.ef28a0bd.js";import"./businessInfo.5e0e636b.js";import"./yearPayPlanInfo.e6ebabe6.js";import"./filesInfo.cd50b75e.js";import"./remarkInfo.ced74296.js";import"./applications.8a11a7f5.js";import"./customModule.9a5c5aa0.js";import"./provincialInfo.c4a0733c.js";import"./index.7c249f3d.js";import"./approvalInfo.d28e7c61.js";import"./expertReviewInfo.de12bdea.js";import"./memberOpinion.c508348a.js";import"./index.82fd4159.js";import"./biddingRegistration.fc345c52.js";import"./contractInfo.ea5c1895.js";import"./initialInfo.022e8d28.js";import"./finalInfo.efc58e7b.js";import"./index.f55de596.js";import"./trialRunInfo.a23a2b3a.js";import"./implementationPlan.7d0a5412.js";import"./reviewCheckList.3f47d65f.js";import"./getIsShowReviewCheck.eaffc5c3.js";import"./flowRecord.d9a3f7fe.js";const ie={class:"card-header"},ne={class:"flex justify-between items-center"},de={class:"flex-1"},ue={class:"font-bold"},pe={class:"mt-8 search"},me={class:"textRight"},ce={key:0},fe={key:1},ve={__name:"index",setup(_e){const{statusOptions:_}=K.dictStore.globalDicts||{},N=Q(),y=I("1"),L=t=>{y.value=t,t==="1"?C.value.getTabs():t==="2"&&S.value.getTabs()},C=I(),e=I({projectCode:""}),M=async()=>{var l,c,n,s,b,h;const t=await se(N.query.id);if(t.data.prePlanProjectId){const f=await oe(t.data.prePlanProjectId);e.value={...f.data,baseHistorProjs:((c=(l=f.data)==null?void 0:l.baseHistorProjId)==null?void 0:c.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:((h=(b=t.data)==null?void 0:b.baseHistorProjId)==null?void 0:h.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"?(y.value="3",k.value.setActiveName("\u7EC8\u9A8C\u4FE1\u606F")):N.name==="reviewCheckProjectListProjectDetail"&&(y.value="3",k.value.setActiveName("\u5EFA\u8BBE\u65B9\u6848\u5BA1\u67E5\u610F\u89C1"))},S=I(),a=I(),m=W({visible:!1,flowData:void 0,sjFlowData:void 0}),q=(t,l)=>{m.visible=!0,t?(m.flowData=JSON.parse(JSON.stringify(t)),m.flowData=A(m.flowData)):m.flowData=void 0,m.sjFlowData=l||void 0},A=t=>(t.forEach(l=>{if(l.children){const c=[],n=[];l.children.forEach(s=>{c.includes(s.nodeId)?(n.find(b=>b.nodeId===s.nodeId).list.push(s),n.find(b=>b.nodeId===s.nodeId).userIds.push(s.userId)):(c.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]}))}),l.children=n}else l.userIds=[l.userId]}),t),J=()=>{m.visible=!1},F=I(),G=async()=>{const t=await le(N.query.id);F.value=t.data},T=()=>!0,R=I([]),k=I();return X(async()=>{R.value=(await re()).data,await M(),await G()}),(t,l)=>{const c=P("el-form-item"),n=P("el-col"),s=P("el-row"),b=P("el-form"),h=P("el-card"),f=P("el-tab-pane"),j=P("el-tabs");return D(),O(Z,null,[o(h,{shadow:"never",class:"mb-16"},{default:r(()=>{var i,d,w,$,V,Y;return[p("div",ie,[p("div",ne,[p("div",de,[p("p",ue,v(((i=a.value)==null?void 0:i.projectName)||e.value.projectName),1),p("div",pe,[o(b,{"label-suffix":":"},{default:r(()=>[o(s,{gutter:24},{default:r(()=>[o(n,{span:6},{default:r(()=>[o(c,{label:"\u7533\u62A5\u5355\u4F4D"},{default:r(()=>{var u;return[x(v(((u=a.value)==null?void 0:u.buildOrgName)||e.value.buildOrgName||"-"),1)]}),_:1})]),_:1}),o(n,{span:6},{default:r(()=>[o(c,{label:"\u4E3B\u7BA1\u5355\u4F4D"},{default:r(()=>{var u;return[x(v(((u=a.value)==null?void 0:u.superOrg)||e.value.superOrg||"-"),1)]}),_:1})]),_:1}),o(n,{span:6},{default:r(()=>[o(c,{label:"\u521B\u5EFA\u65F6\u95F4"},{default:r(()=>{var u;return[x(v(((u=a.value)==null?void 0:u.createOn)||e.value.createOn||"-"),1)]}),_:1})]),_:1}),o(n,{span:6},{default:r(()=>[o(c,{label:"\u66F4\u65B0\u65F6\u95F4"},{default:r(()=>{var u;return[x(v(((u=a.value)==null?void 0:u.updateOn)||e.value.updateOn||"-"),1)]}),_:1})]),_:1})]),_:1})]),_:1})])]),p("div",me,[(d=a.value)!=null&&d.status?(D(),O("p",ce,[p("span",{class:H(`dot mr-4 bg-${a.value&&a.value.status&&((w=g(_)[a.value.status])==null?void 0:w.color)}`)},null,2),p("span",{class:H(`font-semibold text-${a.value&&a.value.status&&(($=g(_)[a.value.status])==null?void 0:$.color)}`)},v(a.value&&a.value.status&&g(_)[a.value.stage].name)+"-"+v(a.value&&a.value.status&&g(_)[a.value.status].name),3)])):(D(),O("p",fe,[p("span",{class:H(`dot mr-4 bg-${e.value&&e.value.status&&((V=g(_)[e.value.status])==null?void 0:V.color)}`)},null,2),p("span",{class:H(`font-semibold text-${e.value&&e.value.status&&((Y=g(_)[e.value.status])==null?void 0:Y.color)}`)},v(e.value&&e.value.status&&g(_)[e.value.stage].name)+"-"+v(e.value&&e.value.status&&g(_)[e.value.status].name),3)])),l[1]||(l[1]=p("p",null,"\u72B6\u6001",-1))])])])]}),_:1}),o(ee,{"detail-data":e.value,"step-data":F.value,shadow:"never",onShowFlowRecordDialog:q},null,8,["detail-data","step-data"]),o(j,{modelValue:y.value,"onUpdate:modelValue":l[0]||(l[0]=i=>y.value=i),type:"card",class:"myCardTab mt-16",onTabChange:L},{default:r(()=>[o(f,{label:"\u521D\u6B65\u65B9\u6848",name:"1"},{default:r(()=>[o(E,{ref_key:"projectInfoRef",ref:C,"detail-data":e.value,"is-down-load-file":T(),"dictionary-list":R.value},null,8,["detail-data","is-down-load-file","dictionary-list"])]),_:1}),a.value?(D(),B(f,{key:0,label:"\u5EFA\u8BBE\u65B9\u6848",name:"2"},{default:r(()=>[o(E,{ref_key:"constructInfoRef",ref:S,"detail-data":a.value,"is-down-load-file":T(),"dictionary-list":R.value},null,8,["detail-data","is-down-load-file","dictionary-list"])]),_:1})):z("",!0),o(f,{label:"\u5F52\u96C6\u4FE1\u606F",name:"3"},{default:r(()=>[e.value?(D(),B(ae,{key:0,ref_key:"summarizeInfoRef",ref:k,"detail-data":a.value||e.value},null,8,["detail-data"])):z("",!0)]),_:1})]),_:1},8,["modelValue"]),o(te,{detail:e.value,visible:m.visible,"flow-data":m.flowData,"sj-flow-data":m.sjFlowData,onClose:J},null,8,["detail","visible","flow-data","sj-flow-data"])],64)}}},ea=U(ve,[["__scopeId","data-v-6f6efa99"]]);export{ea as default};