From 686b6f9e7ee9a390e179a3290d70d57c635ac7e1 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 31 十二月 2024 15:09:54 +0800
Subject: [PATCH] 流程转办:指定用户组件

---
 src/components/flow/Dept/index.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/components/flow/Dept/index.vue b/src/components/flow/Dept/index.vue
index 0f23c51..b119eef 100644
--- a/src/components/flow/Dept/index.vue
+++ b/src/components/flow/Dept/index.vue
@@ -4,9 +4,9 @@
       :title="`閫夋嫨鍊欓�夐儴闂╜"
       :visible.sync="show"
       width="65%"
-
       :destroy-on-close="true"
       :close-on-click-modal="false"
+      :modal="false"
       :before-close="close">
       <el-tree
         ref="tree"
@@ -66,6 +66,11 @@
   methods: {
     setCheckList(value) {
       this.checkList = value
+      this.$nextTick(() => {
+        if (this.$refs.tree && this.checkeds) {
+          this.$refs.tree.setCheckedKeys(this.checkeds);
+        }
+      });
     },
     handleCheckChange(data, checked, indeterminate) {
       if (checked) {

--
Gitblit v1.8.0