From eda2e443a82ffcfc07773b103bc6d6f28f922410 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期二, 01 八月 2023 14:27:57 +0800 Subject: [PATCH] 修改样式 --- Source/UBCS-WEB/src/views/work/send.vue | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/views/work/send.vue b/Source/UBCS-WEB/src/views/work/send.vue index 34f95f4..54e54d7 100644 --- a/Source/UBCS-WEB/src/views/work/send.vue +++ b/Source/UBCS-WEB/src/views/work/send.vue @@ -9,6 +9,7 @@ @search-change="searchChange" @search-reset="searchReset" @selection-change="selectionChange" + @row-click="clickRowChange" @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" @@ -63,7 +64,7 @@ workBox: false, option: { height: 'auto', - calcHeight: 30, + calcHeight: 20, tip: false, searchShow: true, searchMenuSpan: 6, @@ -146,8 +147,15 @@ this.onLoad(this.page, params); done(); }, + clickRowChange(row){ + this.$refs.crud.toggleSelection(); + this.selectionList = row; + this.$refs.crud.setCurrentRow(row); + this.$refs.crud.toggleRowSelection(row); //閫変腑褰撳墠琛� + }, selectionChange(list) { this.selectionList = list; + this.$refs.crud.setCurrentRow(this.selectionList[list.length-1]); }, selectionClear() { this.selectionList = []; -- Gitblit v1.9.3