From 13b22edeb1c60505be93e7af1903f7c5e00bbc6d Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期一, 22 五月 2023 18:08:30 +0800 Subject: [PATCH] 对使用分类的主键获取表单的定义、根据模板的主键获取表格的定义、标记流程中业务数据是否通过、使用分类的主键获取业务数据等接口的移植工作,其中对以前查询平台数据的方式使用的QueryWrapper实现数据的查询 --- 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