From bf26550ac9ef8cab43d149f81d93a23345034112 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期三, 16 八月 2023 17:37:39 +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