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