import{_ as u,d as m,w as a,x as p,ad as d,r as f,o as _,c as v,l,C as w}from"./index.1d1a5ecb.js";import h from"./action-table.c47c5237.js";import x from"./edit-dialog.223aa1f3.js";import"./columns.1c42f04f.js";import"./index.1da10c4e.js";import"./status.d6b2a53d.js";const C={class:"main"},k=m({__name:"index",setup(R){const n=a(null),i=a(null),e=a([]);function s(o,t,r){i.value.show(o,t,r)}return p(()=>{e.value=d().getMenuActions("menuOperator"),e.value.some(o=>o=="001")&&n.value.onSearch()}),(o,t)=>{const r=f("PagePower");return _(),v("div",C,[l(r,{isShow:e.value.some(c=>c=="001")},{default:w(()=>[l(h,{powers:e.value,showOverflowTooltip:"",ref_key:"actionTableRef",ref:n,onEdit:s,onView:s,onCreate:s},null,8,["powers"]),l(x,{ref_key:"modelRef",ref:i,onReload:t[0]||(t[0]=c=>n.value.onSearch())},null,512)]),_:1},8,["isShow"])])}}});var A=u(k,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/system/menuOperator/index.vue"]]);export{A as default};
