import{_ as c,d as m,n as r,p as f,a6 as p,r as d,o as _,c as v,h as l,y as w}from"./index.js";import h from"./action-table.3d81f8.js";import k from"./edit-dialog.34e172.js";import"./columns.40ddb0.js";import"./index.39f3085f.js";const x={class:"main"},C=m({__name:"index",setup(R){const t=r(null),i=r(null),e=r([]);function a(o,n,s){i.value.show(o,n,s)}return f(()=>{e.value=p().getMenuActions("menuOperator"),e.value.some(o=>o=="001")&&t.value.onSearch()}),(o,n)=>{const s=d("PagePower");return _(),v("div",x,[l(s,{isShow:e.value.some(u=>u=="001")},{default:w(()=>[l(h,{powers:e.value,showOverflowTooltip:"",ref_key:"actionTableRef",ref:t,onEdit:a,onView:a,onCreate:a},null,8,["powers"]),l(k,{ref_key:"modelRef",ref:i,onReload:n[0]||(n[0]=u=>t.value.onSearch())},null,512)]),_:1},8,["isShow"])])}}});var b=c(C,[["__file","D:/work/jiesuan/settle-vue3/src/views/system/menuOperator/index.vue"]]);export{b as default};
