import{y as h,A as v,B as w,C as x,D as R}from"./element-plus.517d4382.js";import{P as O}from"./index.b17dae19.js";import{a as k}from"./custom.99349afc.js";import{d as c,s as n,a0 as _,o as j,c as P,V as t,M as e,T as s,U as r}from"./@vue.ab566ce7.js";import"./lodash.1d82ee7c.js";import{_ as V}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 I={class:"detail-popup"},N=c({name:"customdetail"}),S=c({...N,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(T,{expose:d,emit:f}){const C=n(),u=n();_({provinceOptions:[],cityOptions:[],areaOptions:[]});const a=_({}),i=async o=>{Object.assign(a,o)},y=async o=>{const m=await k({id:o.id});i(m)},b=async()=>{var o;(o=u.value)==null||o.close()},E=()=>{var o;console.log("1111111"),(o=u.value)==null||o.open()},F=()=>{f("close")};return d({open:E,setFormData:i,getDetail:y}),(o,m)=>{const l=h,p=v,B=w,D=x,g=R;return j(),P("div",I,[t(O,{ref_key:"popupRef",ref:u,title:"\u9879\u76EE\u6587\u6863\u8BBE\u7F6E\u8BE6\u60C5",async:!0,width:"80%",onConfirm:b,onClose:F},{default:e(()=>[t(g,{ref_key:"formRef",ref:C,model:a,"label-width":"120px"},{default:e(()=>[t(D,{class:"mb-2"},{default:e(()=>[t(B,null,{default:e(()=>[t(p,{span:12},{default:e(()=>[t(l,{label:"\u9879\u76EE\u7C7B\u578B"},{default:e(()=>[s(r(a.project_type_name),1)]),_:1})]),_:1}),t(p,{span:12},{default:e(()=>[t(l,{label:"\u6587\u6863\u5927\u7C7B"},{default:e(()=>[s(r(a.large_category),1)]),_:1})]),_:1}),t(p,{span:12},{default:e(()=>[t(l,{label:"\u6587\u6863\u4E2D\u7C7B"},{default:e(()=>[s(r(a.middle_category),1)]),_:1})]),_:1}),t(p,{span:12},{default:e(()=>[t(l,{label:"\u6587\u6863\u5C0F\u7C7B"},{default:e(()=>[s(r(a.small_category),1)]),_:1})]),_:1}),t(p,{span:12},{default:e(()=>[t(l,{label:"\u6587\u6863\u540D\u79F0"},{default:e(()=>[s(r(a.name),1)]),_:1})]),_:1}),t(p,{span:24},{default:e(()=>[t(l,{label:"\u6587\u6863\u63CF\u8FF0"},{default:e(()=>[s(r(a.describe),1)]),_:1})]),_:1}),t(p,{span:8},{default:e(()=>[t(l,{label:"\u5FC5\u4F20"},{default:e(()=>[s(r(a.is_upload==1?"\u662F":"\u5426"),1)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});const Et=V(S,[["__scopeId","data-v-b4e8f2e0"]]);export{Et as default};