import{_ as u,d as m,x as a,y as p,ad as d,r as f,o as _,c as v,l,D as w}from"./index.js";import h from"./action-table.273dc5.js";import x from"./edit-dialog.d81f08.js";import"./columns.40ddb0.js";import"./index.b8b33c0d.js";const k={class:"main"},C=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",k,[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 b=u(C,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/system/menuOperator/index.vue"]]);export{b as default};
