|
|
|
|
@ -9,7 +9,7 @@ import { ExcelIcon, InBoxIcon } from '@vben/icons';
|
|
|
|
|
import { Modal, Switch, Upload } from 'ant-design-vue';
|
|
|
|
|
|
|
|
|
|
import { downloadImportTemplate, userImportData } from '#/api/system/user';
|
|
|
|
|
import { downloadExcel } from '#/utils/file/download';
|
|
|
|
|
import { commonDownloadExcel } from '#/utils/file/download';
|
|
|
|
|
|
|
|
|
|
const emit = defineEmits<{ reload: [] }>();
|
|
|
|
|
|
|
|
|
|
@ -89,7 +89,7 @@ function handleCancel() {
|
|
|
|
|
<span>允许导入xlsx, xls文件</span>
|
|
|
|
|
<a-button
|
|
|
|
|
type="link"
|
|
|
|
|
@click="downloadExcel(downloadImportTemplate, '用户导入模板')"
|
|
|
|
|
@click="commonDownloadExcel(downloadImportTemplate, '用户导入模板')"
|
|
|
|
|
>
|
|
|
|
|
<div class="flex items-center gap-[4px]">
|
|
|
|
|
<ExcelIcon />
|
|
|
|
|
|