From a8e8ae3ba98dc0d843b5f59ff83a77a0e21d65b0 Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期四, 03 八月 2023 18:15:18 +0800 Subject: [PATCH] 1、对模板升版版本值进行了修改 --- 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