2023年7月30日 修改导出

This commit is contained in:
bai 2023-07-30 11:53:33 +08:00
parent 14367e8026
commit 5790bd5757
1 changed files with 6 additions and 6 deletions

View File

@ -54,7 +54,7 @@
<template #tableTitle> <template #tableTitle>
<a-button type="primary" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button> <a-button type="primary" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button>
<a-button type="primary" @click="handleAddYq" preIcon="ant-design:plus-outlined"> 听课要求</a-button> <a-button type="primary" @click="handleAddYq" preIcon="ant-design:plus-outlined"> 听课要求</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" @click="onExport"> 导出</a-button> <a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
<!-- <j-upload-button type="primary" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button> --> <!-- <j-upload-button type="primary" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button> -->
<a-dropdown v-if="selectedRowKeys.length > 0"> <a-dropdown v-if="selectedRowKeys.length > 0">
<template #overlay> <template #overlay>
@ -134,7 +134,7 @@
}, },
}, },
exportConfig: { exportConfig: {
name: "kc_export_config_tpkwcqkjzglx", name: "人员信息",
url: getExportUrl, url: getExportUrl,
}, },
importConfig: { importConfig: {
@ -250,10 +250,10 @@
} }
function onExport() { function onExport() {
if(!queryParam.value.dwmc) { // if(!queryParam.value.dwmc) {
createMessage.warn('请选择导出的单位'); // createMessage.warn('');
return ; // return ;
} // }
onExportWord(); onExportWord();
} }