kllay пре 1 дан
родитељ
комит
e96498382e
1 измењених фајлова са 17 додато и 1 уклоњено
  1. 17 1
      src/views/system/allusers/index.vue

+ 17 - 1
src/views/system/allusers/index.vue

@@ -1,6 +1,13 @@
 <template>
 	<fs-page>
-		<fs-crud ref="crudRef" v-bind="crudBinding"> </fs-crud>
+		<fs-crud ref="crudRef" v-bind="crudBinding"> 
+			<template #actionbar-right>
+				<el-button type="primary" @click="handleBatchImport">批量导入</el-button>
+				<el-button type="primary"  @click="handleDownloadTemplate">下载模板</el-button>
+			</template>
+
+		</fs-crud>
+
 	</fs-page>
 </template>
 
@@ -13,6 +20,15 @@ import { handleColumnPermission } from '/@/utils/columnPermission';
 
 const { crudBinding, crudRef, crudExpose, crudOptions, resetCrudOptions } = useFs({ createCrudOptions });
 
+const handleBatchImport = () => {
+
+}
+
+const handleDownloadTemplate = () => {
+
+}
+
+
 // 页面打开后获取列表数据
 onMounted(async () => {
 	// 设置列权限