yxk-20260622-党委会所务会增加勾选几条数据后导出功能
This commit is contained in:
@@ -40,26 +40,26 @@
|
||||
</div>
|
||||
<div class="content">
|
||||
<!--引用表格-->
|
||||
<BasicTable @register="registerTable" :expandedRowKeys="expandedRowKeys" @expand="handleExpand">
|
||||
<BasicTable @register="registerTable" :rowSelection="rowSelection" :expandedRowKeys="expandedRowKeys" @expand="handleExpand">
|
||||
<!--插槽:table标题-->
|
||||
<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.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>-->
|
||||
<!-- <a-dropdown v-if="selectedRowKeys.length > 0">-->
|
||||
<!-- <template #overlay>-->
|
||||
<!-- <a-menu>-->
|
||||
<!-- <a-menu-item key="1" @click="batchHandleDelete">-->
|
||||
<!-- <Icon icon="ant-design:delete-outlined"></Icon>-->
|
||||
<!-- 删除-->
|
||||
<!-- </a-menu-item>-->
|
||||
<!-- </a-menu>-->
|
||||
<!-- </template>-->
|
||||
<!-- <a-button v-auth="actionAuth.deleteBatch">-->
|
||||
<!-- 批量操作-->
|
||||
<!-- <Icon icon="mdi:chevron-down"></Icon>-->
|
||||
<!-- </a-button>-->
|
||||
<!-- </a-dropdown>-->
|
||||
<a-dropdown v-if="selectedRowKeys.length > 0">
|
||||
<template #overlay>
|
||||
<a-menu>
|
||||
<a-menu-item key="1" @click="batchHandleDelete">
|
||||
<Icon icon="ant-design:delete-outlined"></Icon>
|
||||
删除
|
||||
</a-menu-item>
|
||||
</a-menu>
|
||||
</template>
|
||||
<a-button v-auth="actionAuth.deleteBatch">
|
||||
批量操作
|
||||
<Icon icon="mdi:chevron-down"></Icon>
|
||||
</a-button>
|
||||
</a-dropdown>
|
||||
<!-- 高级查询 -->
|
||||
<super-query :config="superQueryConfig" @search="handleSuperQuery" />
|
||||
</template>
|
||||
@@ -206,8 +206,8 @@
|
||||
resizeHeightOffset: 56,
|
||||
useSearchForm: false,
|
||||
expandRowByClick: true,
|
||||
clickToRowSelect: true,
|
||||
rowSelection: {type: 'radio'},
|
||||
clickToRowSelect: false,
|
||||
rowSelection: {type: 'checkbox'},
|
||||
actionColumn: {
|
||||
width: 120,
|
||||
fixed:'right'
|
||||
@@ -355,6 +355,7 @@
|
||||
}
|
||||
|
||||
function searchQuery() {
|
||||
selectedRowKeys.value = [];
|
||||
resetFeedbackExpand();
|
||||
reload({ page: 1 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user