index.967962.js 1.1 KB

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