import{d as e,r as a,u as t,s as o,a as r,b as s,c as l,w as d,e as m,f as n,H as c,l as p,M as i,N as j,k as u,j as f}from"./index-d052b22f-1780912037814v=1.0.0.js";import{I as b}from"./IndexPagePro-44077094-1780912037814v=1.0.0.js";import v from"./ProjectBaseInfoDetail-a8d53733-1780912037814v=1.0.0.js";import I from"./ProjectFileDetail-1abbcf9a-1780912037814v=1.0.0.js";import _ from"./ProjectPointDetail-c0251b08-1780912037814v=1.0.0.js";import{u as P}from"./useFormEdit-098e87f9-1780912037814v=1.0.0.js";import"./CardContainer-bf0a1588-1780912037814v=1.0.0.js";import"./project-4a4cab5b-1780912037814v=1.0.0.js";import"./FileViewItem-a766e203-1780912037814v=1.0.0.js";import"./tabs-f13d13c5-1780912037814v=1.0.0.js";const C={class:"mt40"},V=e({__name:"detail",setup(e){const{closeCurrent:V}=P();let x=a("1");const y=t(),D=o((()=>y.query.project_id||"")),F=o((()=>y.query.project_performance_id||""));return(e,a)=>{const t=r("el-tab-pane"),o=r("el-tabs"),P=r("el-button");return s(),l(b,null,{default:d((()=>[m(o,{modelValue:n(x),"onUpdate:modelValue":a[0]||(a[0]=e=>c(x)?x.value=e:x=e),type:"card"},{default:d((()=>[m(t,{label:"基础信息",name:"1"}),p(' <el-tab-pane label="项目资料" name="2" /> '),m(t,{label:"点位情况",name:"3"})])),_:1},8,["modelValue"]),i(m(v,{projectId:n(D)},null,8,["projectId"]),[[j,"1"==n(x)]]),i(m(I,{projectId:n(D)},null,8,["projectId"]),[[j,"2"==n(x)]]),i(m(_,{projectId:n(F)},null,8,["projectId"]),[[j,"3"==n(x)]]),u("div",C,[m(P,{onClick:a[1]||(a[1]=e=>n(V)())},{default:d((()=>a[2]||(a[2]=[f("返回")]))),_:1})])])),_:1})}}});export{V as default};
