import{k,n as y}from"./index.BKEMpsLA.js";import{G as g,c as h}from"./crud.CTzUzUpg.js";import{h as w}from"./columnPermission.BZw343bd.js";import{a as p,q as x,aj as t,J as B,o as O,K as o,S as n,H as P,u as b,P as r}from"./vue.YrNK8sx4.js";import"./authFunction.DqglRaEG.js";const R=p({name:"allusers"}),v=p({...R,setup(G){const{crudBinding:d,crudRef:m,crudExpose:i,crudOptions:l,resetCrudOptions:c}=k({createCrudOptions:h}),u=()=>{},f=()=>{y({url:"/api/system/app_user/download_template/",method:"get",filename:"用户导入模板"})};return x(async()=>{const s=await w(g,l);c(s),i.doRefresh()}),(s,e)=>{const a=t("el-button"),_=t("fs-crud"),C=t("fs-page");return O(),B(C,null,{default:o(()=>[n(_,P({ref_key:"crudRef",ref:m},b(d)),{"actionbar-right":o(()=>[n(a,{type:"primary",onClick:u},{default:o(()=>e[0]||(e[0]=[r("批量导入")])),_:1}),n(a,{type:"primary",onClick:f},{default:o(()=>e[1]||(e[1]=[r("下载模板")])),_:1})]),_:1},16)]),_:1})}}});export{v as default};
