kllay il y a 1 jour
Parent
commit
e96498382e
1 fichiers modifiés avec 17 ajouts et 1 suppressions
  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 () => {
 	// 设置列权限