kllay 1 gün önce
ebeveyn
işleme
54413b7af0
1 değiştirilmiş dosya ile 6 ekleme ve 2 silme
  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: '用户导入模板'
+		})
 }