瀏覽代碼

no message

kllay 1 天之前
父節點
當前提交
54413b7af0
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      src/views/system/allusers/index.vue

+ 6 - 2
src/views/system/allusers/index.vue

@@ -17,7 +17,7 @@ import { onMounted } from 'vue';
 import { GetPermission } from './api';
 import { createCrudOptions } from './crud';
 import { handleColumnPermission } from '/@/utils/columnPermission';
-
+import { downloadFile } from '/@/utils/service';
 const { crudBinding, crudRef, crudExpose, crudOptions, resetCrudOptions } = useFs({ createCrudOptions });
 
 const handleBatchImport = () => {
@@ -25,7 +25,11 @@ const handleBatchImport = () => {
 }
 
 const handleDownloadTemplate = () => {
-
+	downloadFile({
+		url: '/api/system/app_user/download_template/',
+		method: 'get',
+		filename: '用户导入模板'
+		})
 }