소스 검색

no message

kllay 3 일 전
부모
커밋
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: '用户导入模板'
+		})
 }