From 8199d1738e8b75ccad7f3465dfd88aac2bb1a160 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期五, 04 八月 2023 14:56:11 +0800 Subject: [PATCH] 主题库切换树模板流程和阶段显示bug --- Source/UBCS-WEB/src/views/work/send.vue | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/views/work/send.vue b/Source/UBCS-WEB/src/views/work/send.vue index 0a06f88..c1931ee 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, @@ -82,7 +83,7 @@ label: "娴佺▼鍒嗙被", type: "select", row: true, - dicUrl: "/api/blade-system/dict/dictionary?code=flow", + dicUrl: "/api/ubcs-system/dict/dictionary?code=flow", props: { label: "dictValue", value: "dictKey" @@ -146,15 +147,22 @@ 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 = []; this.$refs.crud.toggleSelection(); }, handleDetail(row) { - this.$router.push({ path: `/work/process/${flowRoute(this.flowRoutes, row.category)}/detail/${row.processInstanceId}/${row.businessId}` }); + this.$router.push({ path: `/work/process/${flowRoute(this.flowRoutes, row.category)}/detail/${row.processInstanceId}/${row.businessId}?name=` +row.categoryName+'璇︽儏' }); }, handleImage(row) { this.processInstanceId = row.processInstanceId; -- Gitblit v1.9.3