From 426cd61c707f13a471b56330b3ba7b588b6cb245 Mon Sep 17 00:00:00 2001
From: fujunling <2984387807@qq.com>
Date: 星期四, 15 六月 2023 18:11:58 +0800
Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs

---
 Source/UBCS-WEB/src/views/authority/role.vue |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/authority/role.vue b/Source/UBCS-WEB/src/views/authority/role.vue
index 14b2e79..94180ad 100644
--- a/Source/UBCS-WEB/src/views/authority/role.vue
+++ b/Source/UBCS-WEB/src/views/authority/role.vue
@@ -35,10 +35,11 @@
       </template>
     </avue-crud>
     <el-dialog title="瑙掕壊鏉冮檺閰嶇疆"
-               append-to-body
-               :visible.sync="box"
-               width="345px">
-      <el-tabs type="border-card">
+      append-to-body
+      :visible.sync="box"
+      width="350px" 
+      style="height: 115vh; margin-top: -13vh; overflow: hidden">
+      <el-tabs type="border-card" style="overflow-y: auto; height: 72vh">
         <el-tab-pane label="鑿滃崟鏉冮檺">
           <el-tree :data="menuGrantList"
                    show-checkbox
@@ -307,6 +308,13 @@
       },
       selectionChange(list) {
         this.selectionList = list;
+        this.$refs.crud.setCurrentRow(this.selectionList[list.length-1]);
+      },
+      clickRowChange(row){
+        this.selectionList = row;
+        this.$refs.crud.toggleSelection();
+        this.$refs.crud.setCurrentRow(row);
+        this.$refs.crud.toggleRowSelection(row); //閫変腑褰撳墠琛�
       },
       selectionClear() {
         this.selectionList = [];
@@ -363,6 +371,7 @@
       },
       currentChange(currentPage) {
         this.page.currentPage = currentPage;
+
       },
       sizeChange(pageSize) {
         this.page.pageSize = pageSize;

--
Gitblit v1.9.3