import{_ as m}from"./action-table.vue_vue_type_script_setup_true_lang.ade74fb3.js";import{_ as c}from"./edit-dialog.vue_vue_type_script_setup_true_lang.e9c08120.js";import{b as f,p as r,H as p,o as u,c as _,j as i}from"./index.4d3e3847.js";import"./columns.2906a8dd.js";import"./menuOperator.24540560.js";import"./index.a5d44002.js";import"./useNav.afbe69e0.js";import"./hooks.428ba1c3.js";import"./responseHandle.db1518c7.js";const d={class:"main"},B=f({__name:"index",setup(v){const n=r(null),s=r(null),a=r([]);function t(e,o,l){s.value.show(e,o,l)}return p(()=>{a.value=["001","002","003","004","005","006","007","008","009","010","011"],a.value.some(e=>e=="001")&&n.value.onSearch()}),(e,o)=>(u(),_("div",d,[i(m,{ref_key:"actionTableRef",ref:n,powers:a.value,onEdit:t,onCreate:t,onView:t},null,8,["powers"]),i(c,{ref_key:"modelRef",ref:s,onReload:o[0]||(o[0]=l=>n.value.onSearch())},null,512)]))}});export{B as default};
