import{_ as N}from"./EditPeopleForm.vue_vue_type_script_setup_true_lang-d55646ce-1779868775780v=1.0.0.js";import{f as x}from"./systemManage-d67b09c0-1779868775780v=1.0.0.js";import{z as g,E as y}from"./eleVendor-dbf96bf3-1779868775780v=1.0.0.js";import{l as k,a as n,d as b,ah as i,m as C,M as P,O as d,q as o,U as r,u as s,H as D,T as w}from"./vendor-98154105-1779868775780v=1.0.0.js";import{_ as B}from"./_plugin-vue_export-helper-8c5478df-1779868775780v=1.0.0.js";import"./index-0f3e2c06-1779868775780v=1.0.0.js";const E={class:"main-container"},M={class:"left"},T={class:"el-tree-node__label"},O={class:"item_container"},S={class:"right"},U=k({__name:"index",setup(V){const m=e=>{t.value={peopleNum:e.peopleNum,areaId:e.areaId,name:e.name},l.value=e},u=e=>{t.value={peopleNum:e.peopleNum,areaId:e.areaId,name:e.name},l.value.peopleNum=e.peopleNum},f={children:"children",label:"name",value:"areaId"},c=n([]),p=n([]),t=n({}),l=n({}),v=async()=>{let e=await x();if(e.code!==0&&y.error(e.msg),c.value=e.data,e.data&&e.data.length>0){let a=e==null?void 0:e.data[0];p.value=[a.areaId],l.value=a,t.value={peopleNum:a.peopleNum,areaId:a.areaId,name:a.name}}};return b(()=>{v()}),(e,a)=>{const I=i("el-scrollbar"),h=i("PaIndexPage");return C(),P(h,null,{default:d(()=>[o("div",E,[o("div",M,[r(I,null,{default:d(()=>[r(s(g),{data:s(c),props:f,"node-key":"areaId",onNodeClick:m,"default-expanded-keys":s(p)},{default:d(_=>[o("span",T,[D(e.$slots,"default",{row:_},()=>[o("div",O,[o("span",null,w(_.node.label),1)])],!0)])]),_:3},8,["data","default-expanded-keys"])]),_:3})]),o("div",S,[r(N,{info:s(t),onUpdate:u},null,8,["info"])])])]),_:3})}}});const L=B(U,[["__scopeId","data-v-e12520fd"]]);export{L as default};
