import{_,d as m,w as c,r as o,o as d,G as g,C as a,l as s,u as C,M as v}from"./index.1d1a5ecb.js";import{h,P as x}from"./purchase-modal.4a46d7e1.js";const P=[{label:"\u6309\u94AE\u7F16\u7801",prop:"action_code"},{label:"\u6309\u94AE\u540D\u79F0",prop:"action_name"}],k={columns:P,apis:{httpList:h}},y=m({__name:"index",setup(A){const l="action",r=c(null),u=c(null);return(B,t)=>{const p=o("ElButton"),i=o("PageContainer"),f=o("PageAuth");return d(),g(f,{pageName:l},{default:a(()=>[s(i,{contentConfig:C(k),"get-content-ref":n=>r.value=n},{content_header:a(()=>[s(p,{type:"primary",onClick:t[0]||(t[0]=n=>{var e;return(e=u.value)==null?void 0:e.onDisplay()})},{default:a(()=>[v("\u6DFB\u52A0")]),_:1})]),_:1},8,["contentConfig","get-content-ref"]),s(x,{ref_key:"purchaseModalRef",ref:u,onRefresh:t[1]||(t[1]=n=>{var e;return(e=r.value)==null?void 0:e.onSearch()})},null,512)]),_:1})}}});var M=_(y,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/system/action/index.vue"]]);export{M as default};
