import{_ as m,d as p,m as s,n as d,R as f,r as _,o as v,c as h,h as l,x as w}from"./index.e80c366d.js";import x from"./action-table.ae738319.js";import k from"./edit-dialog.aecd02aa.js";import"./index.31c623b4.js";import"./columns.5906b9fd.js";import"./status.3ccd5ebb.js";const C={class:"main"},R=p({__name:"index",setup(S){const n=s(null),i=s(null),r=s([]);function t(e,o,a){i.value.show(e,o,a)}function c({data:e}){const{pid:o}=e||{};Number(o)===0?n.value.onSearch():n.value.reloadTree(o)}return d(()=>{r.value=f().getMenuActions("menuOperator"),r.value.some(e=>e=="3")&&n.value.onSearch()}),(e,o)=>{const a=_("PagePower");return v(),h("div",C,[l(a,{isShow:r.value.some(u=>u=="3")},{default:w(()=>[l(x,{powers:r.value,showOverflowTooltip:"",ref_key:"actionTableRef",ref:n,onEdit:t,onView:t,onCreate:t},null,8,["powers"]),l(k,{ref_key:"modelRef",ref:i,onReload:c},null,512)]),_:1},8,["isShow"])])}}});var E=m(R,[["__file","C:/Users/63107/Desktop/projects/report-v3/src/views/system/menuOperator/index.vue"]]);export{E as default};
