From e08546af8d75c24115c83feb461fb6011d97d1c5 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 17 八月 2023 10:12:34 +0800 Subject: [PATCH] 打包部署 --- Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue b/Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue index 08ab794..68050b1 100644 --- a/Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue +++ b/Source/UBCS-WEB/src/components/refer/vciWebReferTable.vue @@ -15,6 +15,7 @@ @search-change="searchChange" @search-reset="searchReset" @selection-change="selectionChange" + @row-click="rowClick" @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" @@ -75,6 +76,7 @@ border: true, index: true, selection: true, + reserveSelection:true, dialogClickModal: false, highlightCurrentRow: true, rowKey:'oid', @@ -85,8 +87,8 @@ }, created() { this.getParams(); - console.log('referConfig:') - console.log(this.referConfig) + // console.log('referConfig:') + // console.log(this.referConfig) }, mounted() { if(this.referConfig.options.page){ @@ -310,6 +312,11 @@ sizeChange(pageSize){ this.page.pageSize = pageSize; }, + rowClick (row) { + this.$refs.referCrud.toggleSelection(); + this.$refs.referCrud.toggleRowSelection(row); //閫変腑褰撳墠琛� + this.selectionList=[row] + }, selectionChange(list) { if (!this.isMuti && list.length > 1) { const nowVal = list.shift(); -- Gitblit v1.9.3