excel导入导出功能合并并且细节修改完成

This commit is contained in:
pixel
2021-02-19 15:45:55 +08:00
parent 0f6613c4a1
commit 171be652eb
14 changed files with 218 additions and 183 deletions

View File

@@ -3,7 +3,7 @@
<el-row>
<el-col :span="2">
<el-upload
:action="`${path}/fileUploadAndDownload/importExcel`"
:action="`${path}/excel/importExcel`"
:headers="{'x-token':token}"
:on-success="loadExcel"
:show-file-list="false"
@@ -37,7 +37,7 @@
const path = process.env.VUE_APP_BASE_API;
import { mapGetters } from 'vuex';
import infoList from "@/mixins/infoList";
import { exportExcel, loadExcelData, downloadTemplate } from "@/api/fileUploadAndDownload";
import { exportExcel, loadExcelData, downloadTemplate } from "@/api/excel";
import { getMenuList } from "@/api/menu";
export default {
name: 'Excel',