From ae5807029edabde0b1e1488c090bd830fccf75a7 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期一, 18 九月 2023 16:13:07 +0800
Subject: [PATCH] 代码提交

---
 Source/UBCS-WEB/src/views/flow/manager.vue |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/flow/manager.vue b/Source/UBCS-WEB/src/views/flow/manager.vue
index 33b4a7f..6679dbb 100644
--- a/Source/UBCS-WEB/src/views/flow/manager.vue
+++ b/Source/UBCS-WEB/src/views/flow/manager.vue
@@ -13,6 +13,7 @@
                @current-change="currentChange"
                @size-change="sizeChange"
                @refresh-change="refreshChange"
+               @row-click="clickRowChange"
                @on-load="onLoad">
       <template slot="menuLeft">
         <el-radio-group v-model="mode" size="small">
@@ -132,6 +133,7 @@
           dialogWidth: 900,
           menuWidth: 250,
           dialogClickModal: false,
+          highlightCurrentRow: true, //琛岄�変腑鏃堕珮浜�
           column: [
             {
               label: '绉熸埛缂栧彿',
@@ -158,7 +160,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"
@@ -229,8 +231,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