From 8c6cf205affbbc8ada74f00a7ca25ebca867e9ed Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 27 Sep 2021 11:44:44 +0800
Subject: [PATCH] 图表颜色

---
 src/views/dispatch/dispatchChildoperableSee.vue |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/views/dispatch/dispatchChildoperableSee.vue b/src/views/dispatch/dispatchChildoperableSee.vue
index ab2717c..0cba89c 100644
--- a/src/views/dispatch/dispatchChildoperableSee.vue
+++ b/src/views/dispatch/dispatchChildoperableSee.vue
@@ -82,9 +82,10 @@
           {
             label: "保安公司",
             prop: "deptId",
-            search: true,
+            // search: true,
             labelWidth: 120,
             type: "tree",
+            disabled: true,
             searchSpan: 4,
             cascaderItem: ["userIds"],
             props: {
@@ -129,9 +130,10 @@
             prop: "userIds",
             type: "tree",
             width: 70,
+            disabled: true,
             labelWidth: 120,
             searchSpan: 3,
-            search: true,
+            // search: true,
             hide: true,
             props: {
               label: "realName",
@@ -152,6 +154,7 @@
             label: "保安员",
             prop: "securityName",
             type: "tree",
+            disabled: true,
             width: 70,
             labelWidth: 120,
             addDisplay: false,
@@ -278,6 +281,10 @@
     };
   },
   created() {
+    console.log(this.userInfo);
+    this.option1.column[1]["value"] = this.userInfo.dept_id;
+    this.option1.column[3]["value"] = this.userInfo.Id;
+    this.option1.column[4]["value"] = this.userInfo.nick_name;
     if (this.userInfo.role_name == "保安公司管理员") {
       console.log("保安公司管理员登入");
       const deptColumn = this.findObject(this.option1.column, "deptId");

--
Gitblit v1.9.3