From 5a5042a11af0b8ec07ac74c99a014748ccf9b31c Mon Sep 17 00:00:00 2001
From: “linengliang” <vanSuperEnergy@163.com>
Date: 星期一, 21 八月 2023 17:30:36 +0800
Subject: [PATCH] lnl,修后汇报

---
 src/views/eam/modules/equipment/EquipmentModel.vue |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/views/eam/modules/equipment/EquipmentModel.vue b/src/views/eam/modules/equipment/EquipmentModel.vue
index 726a235..b55f514 100644
--- a/src/views/eam/modules/equipment/EquipmentModel.vue
+++ b/src/views/eam/modules/equipment/EquipmentModel.vue
@@ -215,14 +215,22 @@
                 placeholder="璇疯緭鍏ユ墍鏈夌粍缁�"
                 v-decorator="['affiliationId', validatorRules.affiliationId]"
               /> -->
-              <a-select
+              <!-- <a-select
                 :placeholder="disableSubmit?'':'璇烽�夋嫨鎵�鏈夌粍缁�'"
                 :options="this.departs"
                 style="width: 100%"
                 :disabled="disableSubmit"
                 v-decorator="['affiliationId', validatorRules.affiliationId]"
-              />
+              /> -->
               <!-- @change="(e)=>handle1Change(e)" -->
+              <a-tree-select
+                style="width: 100%"
+                :dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
+                :tree-data="treeData"
+                placeholder="璇烽�夋嫨绠$悊缁勭粐"
+                tree-default-expand-all
+                v-decorator="['affiliationId', validatorRules.affiliationId]"
+              />
             </a-form-item>
           </a-col>
           <a-col :span="24 / 3">
@@ -338,7 +346,7 @@
                 :placeholder="disableSubmit?'':'璇烽�夋嫨璐d换鐝粍'"
                 :triggerChange="true"
                 dictCode="mom_base_team,name,id,status='1' and del_flag='0'"
-                v-decorator="['teamId', validatorRules.teamId]"
+                v-decorator="['teamId', {}]"
               />
             </a-form-item>
           </a-col>

--
Gitblit v1.9.3