index.125b2177.js 1.0 KB

1
  1. 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.56449854.js";import x from"./action-table.aef66422.js";import k from"./edit-dialog.d6680881.js";import"./index.77a8b055.js";import"./columns.ce0f089e.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/89793/Desktop/projects/report-v3/src/views/system/menuOperator/index.vue"]]);export{E as default};