1 |
- import{_ as p,d,w as s,x as m,X as f,r as _,o as v,c as w,l,C as h}from"./index.26d13061.js";import x from"./action-table.57c3e40a.js";import C from"./edit-dialog.38bca15f.js";import"./index.9667e214.js";import"./columns.4683e410.js";import"./status.3ccd5ebb.js";const k={class:"main"},R=d({__name:"index",setup(S){const n=s(null),i=s(null),a=s([]);function r(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 m(()=>{a.value=f().getMenuActions("menuOperator"),a.value.some(e=>e=="3")&&n.value.onSearch()}),(e,o)=>{const t=_("PagePower");return v(),w("div",k,[l(t,{isShow:a.value.some(u=>u=="3")},{default:h(()=>[l(x,{powers:a.value,showOverflowTooltip:"",ref_key:"actionTableRef",ref:n,onEdit:r,onView:r,onCreate:r},null,8,["powers"]),l(C,{ref_key:"modelRef",ref:i,onReload:c},null,512)]),_:1},8,["isShow"])])}}});var E=p(R,[["__file","C:/Users/a/Desktop/projects/report-v3/src/views/system/menuOperator/index.vue"]]);export{E as default};
|