yxk-20260622-党委会所务会增加勾选几条数据后导出功能

This commit is contained in:
ye1023
2026-06-22 16:10:42 +08:00
parent cb46bd8896
commit 9b8203c4c5
@@ -40,26 +40,26 @@
</div> </div>
<div class="content"> <div class="content">
<!--引用表格--> <!--引用表格-->
<BasicTable @register="registerTable" :expandedRowKeys="expandedRowKeys" @expand="handleExpand"> <BasicTable @register="registerTable" :rowSelection="rowSelection" :expandedRowKeys="expandedRowKeys" @expand="handleExpand">
<!--插槽:table标题--> <!--插槽:table标题-->
<template #tableTitle> <template #tableTitle>
<a-button type="primary" v-auth="actionAuth.add" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button> <a-button type="primary" v-auth="actionAuth.add" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button>
<a-button type="primary" v-auth="actionAuth.exportXls" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button> <a-button type="primary" v-auth="actionAuth.exportXls" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
<!-- <j-upload-button type="primary" v-auth="actionAuth.importExcel" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>--> <!-- <j-upload-button type="primary" v-auth="actionAuth.importExcel" 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>
<!-- <a-menu>--> <a-menu>
<!-- <a-menu-item key="1" @click="batchHandleDelete">--> <a-menu-item key="1" @click="batchHandleDelete">
<!-- <Icon icon="ant-design:delete-outlined"></Icon>--> <Icon icon="ant-design:delete-outlined"></Icon>
<!-- 删除--> 删除
<!-- </a-menu-item>--> </a-menu-item>
<!-- </a-menu>--> </a-menu>
<!-- </template>--> </template>
<!-- <a-button v-auth="actionAuth.deleteBatch">--> <a-button v-auth="actionAuth.deleteBatch">
<!-- 批量操作--> 批量操作
<!-- <Icon icon="mdi:chevron-down"></Icon>--> <Icon icon="mdi:chevron-down"></Icon>
<!-- </a-button>--> </a-button>
<!-- </a-dropdown>--> </a-dropdown>
<!-- 高级查询 --> <!-- 高级查询 -->
<super-query :config="superQueryConfig" @search="handleSuperQuery" /> <super-query :config="superQueryConfig" @search="handleSuperQuery" />
</template> </template>
@@ -206,8 +206,8 @@
resizeHeightOffset: 56, resizeHeightOffset: 56,
useSearchForm: false, useSearchForm: false,
expandRowByClick: true, expandRowByClick: true,
clickToRowSelect: true, clickToRowSelect: false,
rowSelection: {type: 'radio'}, rowSelection: {type: 'checkbox'},
actionColumn: { actionColumn: {
width: 120, width: 120,
fixed:'right' fixed:'right'
@@ -355,6 +355,7 @@
} }
function searchQuery() { function searchQuery() {
selectedRowKeys.value = [];
resetFeedbackExpand(); resetFeedbackExpand();
reload({ page: 1 }); reload({ page: 1 });
} }