增加excel模板配置,增加前端导出工具。token迁移至cookie x-token且保留header x-token 两者兼容。

This commit is contained in:
piexlMax
2023-12-30 19:57:36 +08:00
parent 5ea8947fc9
commit cd5b60c8cc
23 changed files with 1275 additions and 38 deletions

View File

@@ -111,6 +111,7 @@
>刷新缓存</el-button>
</template>
</el-popover>
<ExportExcel template-id="api" />
</div>
<el-table
:data="tableData"
@@ -283,6 +284,7 @@ import {
} from '@/api/api'
import { toSQLLine } from '@/utils/stringFun'
import WarningBar from '@/components/warningBar/warningBar.vue'
import ExportExcel from "@/components/exportExcel/exportExcel.vue";
import { ref } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus'
import { VideoCameraFilled } from '@element-plus/icons-vue'