index.a0f6e4.js 973 B

1
  1. import{_ as u,d as m,w as a,x as p,ad as d,r as f,o as _,c as v,j as l,C as w}from"./index.js";import h from"./action-table.6994e9.js";import x from"./edit-dialog.244a5d.js";import"./columns.6b8776.js";import"./index.f6de32cf.js";import"./status.151ccddb.js";const C={class:"main"},k=m({__name:"index",setup(R){const n=a(null),i=a(null),e=a([]);function r(o,t,s){i.value.show(o,t,s)}return p(()=>{e.value=d().getMenuActions("menuOperator"),e.value.some(o=>o=="001")&&n.value.onSearch()}),(o,t)=>{const s=f("PagePower");return _(),v("div",C,[l(s,{isShow:e.value.some(c=>c=="001")},{default:w(()=>[l(h,{powers:e.value,showOverflowTooltip:"",ref_key:"actionTableRef",ref:n,onEdit:r,onView:r,onCreate:r},null,8,["powers"]),l(x,{ref_key:"modelRef",ref:i,onReload:t[0]||(t[0]=c=>n.value.onSearch())},null,512)]),_:1},8,["isShow"])])}}});var y=u(k,[["__file","C:/Users/Administrator/Desktop/projects/purchase-vue3/src/views/system/menuOperator/index.vue"]]);export{y as default};