2023年7月30日 修改导出
This commit is contained in:
parent
14367e8026
commit
5790bd5757
|
@ -54,7 +54,7 @@
|
|||
<template #tableTitle>
|
||||
<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" 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> -->
|
||||
<a-dropdown v-if="selectedRowKeys.length > 0">
|
||||
<template #overlay>
|
||||
|
@ -134,7 +134,7 @@
|
|||
},
|
||||
},
|
||||
exportConfig: {
|
||||
name: "kc_export_config_tpkwcqkjzglx",
|
||||
name: "人员信息",
|
||||
url: getExportUrl,
|
||||
},
|
||||
importConfig: {
|
||||
|
@ -250,10 +250,10 @@
|
|||
}
|
||||
|
||||
function onExport() {
|
||||
if(!queryParam.value.dwmc) {
|
||||
createMessage.warn('请选择导出的单位');
|
||||
return ;
|
||||
}
|
||||
// if(!queryParam.value.dwmc) {
|
||||
// createMessage.warn('请选择导出的单位');
|
||||
// return ;
|
||||
// }
|
||||
onExportWord();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue