import{y as F,A as v,B as x,C as R,D as g}from"./element-plus.517d4382.js";import{P as k}from"./index.b17dae19.js";import{a as O}from"./custom.99349afc.js";import{d as c,s as i,a0 as u,o as j,c as S,V as t,M as o,T as s,U as r}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as P}from"./index.8b1962e9.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.49f4af13.js";import"./dayjs.4afe12d3.js";import"./axios.37fc980d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.d0bec2c9.js";import"./color.ea90db3f.js";import"./clone.cbd692e6.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.ad6bc3c0.js";import"./ms.a9ae1d6d.js";import"./nprogress.bcdf1f46.js";import"./vue-clipboard3.c45111bf.js";import"./clipboard.1cb79a0d.js";import"./echarts.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const V={class:"detail-popup"},A=s(),I=c({name:"customdetail"}),N=c({...I,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(T,{expose:d,emit:f}){const b=i(),m=i();u({provinceOptions:[],cityOptions:[],areaOptions:[]});const a=u({}),n=async e=>{Object.assign(a,e)},E=async e=>{const _=await O({id:e.id});n(_)},y=async()=>{var e;(e=m.value)==null||e.close()},C=()=>{var e;console.log("1111111"),(e=m.value)==null||e.open()},D=()=>{f("close")};return d({open:C,setFormData:n,getDetail:E}),(e,_)=>{const p=F,l=v,w=x,B=R,h=g;return j(),S("div",V,[t(k,{ref_key:"popupRef",ref:m,title:"\u9879\u76EEwbs\u8BBE\u7F6E\u8BE6\u60C5",async:!0,width:"80%",onConfirm:y,onClose:D},{default:o(()=>[t(h,{ref_key:"formRef",ref:b,model:a,"label-width":"120px"},{default:o(()=>[t(B,{class:"mb-2"},{default:o(()=>[t(w,null,{default:o(()=>[t(l,{span:12},{default:o(()=>[t(p,{label:"\u9879\u76EE\u7C7B\u578B"},{default:o(()=>[s(r(a.project_type_name),1)]),_:1})]),_:1}),t(l,{span:12},{default:o(()=>[t(p,{label:"\u7236\u7EA7WBS\u7F16\u7801"},{default:o(()=>[s(r(a.sup_wbs_code),1)]),_:1})]),_:1}),A,t(l,{span:12},{default:o(()=>[t(p,{label:"WBS\u7F16\u7801"},{default:o(()=>[s(r(a.wbs_code),1)]),_:1})]),_:1}),t(l,{span:12},{default:o(()=>[t(p,{label:"\u8282\u70B9\u540D\u79F0"},{default:o(()=>[s(r(a.name),1)]),_:1})]),_:1}),t(l,{span:12},{default:o(()=>[t(p,{label:"\u5DE5\u4F5C\u6807\u51C6"},{default:o(()=>[s(r(a.work_standards),1)]),_:1})]),_:1}),t(l,{span:12},{default:o(()=>[t(p,{label:"\u8D1F\u8D23\u89D2\u8272"},{default:o(()=>[s(r(a.project_role_name),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const Dt=P(N,[["__scopeId","data-v-b499c2e8"]]);export{Dt as default};