From 095fc5a71d094deccd5c5aecf79517ac01c0e598 Mon Sep 17 00:00:00 2001 From: 董国庆 <364620639@qq.com> Date: 星期二, 13 五月 2025 14:56:07 +0800 Subject: [PATCH] 检验方法确认单 --- laboratory/src/components/TableSlot/index.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/laboratory/src/components/TableSlot/index.vue b/laboratory/src/components/TableSlot/index.vue index e4a66ec..381023b 100644 --- a/laboratory/src/components/TableSlot/index.vue +++ b/laboratory/src/components/TableSlot/index.vue @@ -13,7 +13,9 @@ </template> <template v-if="$slots.table"> <Table :data="tableData" :total="total" :height="height" :queryForm="queryForm" - @handleCurrentChange="handleCurrentChange" @handleSizeChange="handleSizeChange"> + @handleCurrentChange="handleCurrentChange" + @handleSizeChange="handleSizeChange" + @selection-change="handleSelectionChange"> <slot name="table"></slot> </Table> </template> @@ -60,6 +62,9 @@ }, handleSizeChange(size) { this.$emit('handleSizeChange', size) + }, + handleSelectionChange(selection) { + this.$emit('selection-change', selection) } } } -- Gitblit v1.7.1