From 2e117fe7bbe994e501bb0b677e94ece6ccdb62ab Mon Sep 17 00:00:00 2001 From: weidy <lastanimals@163.com> Date: 星期二, 20 六月 2023 17:07:03 +0800 Subject: [PATCH] 关闭驼峰命名转下划线 --- Source/UBCS-WEB/src/views/work/done.vue | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/Source/UBCS-WEB/src/views/work/done.vue b/Source/UBCS-WEB/src/views/work/done.vue index 56ef30c..a4d9ad6 100644 --- a/Source/UBCS-WEB/src/views/work/done.vue +++ b/Source/UBCS-WEB/src/views/work/done.vue @@ -12,6 +12,7 @@ @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" + @row-click="clickRowChange" @on-load="onLoad"> <template slot-scope="scope" slot="menu"> <el-button type="text" @@ -136,8 +137,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