import{a as E}from"./index.lP_uh0LI.js";import h from"./crud.BDMg_Fkh.js";import{_ as C}from"./index.vue_vue_type_script_setup_true_name_importExcel_lang.NIlRmFc0.js";import{d as v,D as N,o as $,b as r,x as w,h as c,f as p,w as t,g as i,n as B,z as D,l as m,A as I}from"./vue.BxlDVA1H.js";import{_ as M}from"./_plugin-vue_export-helper.DlAUqK2U.js";import"./authFunction.z5AMEiSQ.js";const S=v({name:"VIEWSETNAME",components:{importExcel:C},setup(){const e=N(),o={componentName:e==null?void 0:e.type.name},{crudBinding:s,crudRef:n,crudExpose:a,resetCrudOptions:_}=E({createCrudOptions:h,context:o});return $(()=>{a.doRefresh()}),{crudBinding:s,crudRef:n}}});function V(e,o,s,n,a,_){const u=r("el-tag"),d=r("importExcel"),f=r("fs-crud"),l=r("fs-page"),g=w("auth");return p(),c(l,{class:"PageFeatureSearchMulti"},{default:t(()=>[i(f,B({ref:"crudRef"},e.crudBinding),{cell_url:t(x=>[i(u,{size:"small"},{default:t(()=>[m(I(x.row.url),1)]),_:2},1024)]),"actionbar-right":t(()=>[D((p(),c(d,{api:"api/VIEWSETNAME/"},{default:t(()=>o[0]||(o[0]=[m("导入")])),_:1,__:[0]})),[[g,"user:Import"]])]),_:1},16)]),_:1})}const z=M(S,[["render",V]]);export{z as default};
