From 379ad4226bc5a3ad175635b5c40e6bf5b68e4069 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期三, 19 三月 2025 13:30:59 +0800 Subject: [PATCH] 能力范围功能更新70% --- src/components/Table/lims-table.vue | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/components/Table/lims-table.vue b/src/components/Table/lims-table.vue index 63c6f71..dad9288 100644 --- a/src/components/Table/lims-table.vue +++ b/src/components/Table/lims-table.vue @@ -99,7 +99,7 @@ </template> </el-table-column> </el-table> - <pagination v-show="page.total > 0" :total="page.total" :layout="page.layout" :page.sync="page.current" + <pagination v-if="page" v-show="page.total > 0" :total="page.total" :layout="page.layout" :page.sync="page.current" :limit.sync="page.size" @pagination="pagination" /> </div> </template> @@ -422,6 +422,17 @@ // } // } }, + // 鍥炴樉澶氶�夐�変腑鐘舵�� + toggleRowSelection(list) { + this.$nextTick(() => { + this.tableData.forEach(row => { + let obj = list.find(m => m == row[this.rowKey]) + if (obj) { + this.$refs.multipleTable.toggleRowSelection(obj, true); + } + }); + }); + } }, }; </script> -- Gitblit v1.9.3