index.6044d813.js 964 B

1
  1. import{_ as u,d as m,E as r,F as p,ag as d,x as f,o as _,c as v,y as l,K as w}from"./index.1417328f.js";import h from"./action-table.b0f6809c.js";import x from"./edit-dialog.f9996aa4.js";import"./columns.ec334c4c.js";import"./index.8c82491f.js";import"./status.727086c1.js";const k={class:"main"},C=m({__name:"index",setup(g){const t=r(null),i=r(null),e=r([]);function a(o,n,s){i.value.show(o,n,s)}return p(()=>{e.value=d().getMenuActions("menuOperator"),e.value.some(o=>o=="001")&&t.value.onSearch()}),(o,n)=>{const s=f("PagePower");return _(),v("div",k,[l(s,{isShow:e.value.some(c=>c=="001")},{default:w(()=>[l(h,{ref_key:"actionTableRef",ref:t,powers:e.value,onEdit:a,onCreate:a,onView:a},null,8,["powers"]),l(x,{ref_key:"modelRef",ref:i,onReload:n[0]||(n[0]=c=>t.value.onSearch())},null,512)]),_:1},8,["isShow"])])}}});var A=u(C,[["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/views/system/menuOperator/index.vue"]]);export{A as default};