From 69e2baf5518079bfc16cfadc2fb29842fb3de85d Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 14 一月 2020 21:02:48 +0800
Subject: [PATCH] 加入userName

---
 WebService/src/main/resources/components/orgPackage/edit-org/editOrg.html |   22 +++++++++++++++-------
 1 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/WebService/src/main/resources/components/orgPackage/edit-org/editOrg.html b/WebService/src/main/resources/components/orgPackage/edit-org/editOrg.html
index a9b1125..6646fb8 100644
--- a/WebService/src/main/resources/components/orgPackage/edit-org/editOrg.html
+++ b/WebService/src/main/resources/components/orgPackage/edit-org/editOrg.html
@@ -17,9 +17,8 @@
                             <div class="form-group row">
                                 <label class="col-sm-2 col-form-label">缁勭粐绾у埆</label>
                                 <div class="col-sm-10">
-                                    <select class="custom-select" v-model="editOrgInfo.orgLevel">
+                                    <select class="custom-select" v-model="editOrgInfo.orgLevel" disabled>
                                         <option selected disabled value="">蹇呭~锛岃閫夋嫨缁勭粐绾у埆</option>
-                                        <option value="1">鍏徃绾�</option>
                                         <option value="2">鍒嗗叕鍙哥骇</option>
                                         <option value="3">閮ㄩ棬绾�</option>
                                     </select></div>
@@ -27,11 +26,20 @@
                             <div class="form-group row">
                                 <label class="col-sm-2 col-form-label">涓婄骇缁勭粐</label>
                                 <div class="col-sm-10">
-                                    <select class="custom-select" v-model="editOrgInfo.parentOrgId">
-                                        <option selected disabled value="">蹇呭~锛岃閫夋嫨涓婄骇ID</option>
-                                        <option value="1">鍏徃绾�</option>
-                                        <option value="2">鍒嗗叕鍙哥骇</option>
-                                        <option value="3">閮ㄩ棬绾�</option>
+                                    <select class="custom-select" v-model="editOrgInfo.parentOrgId" disabled>
+                                        <option selected disabled value="">蹇呭~锛岃閫夋嫨涓婄骇缁勭粐</option>
+                                        <option v-for="parentOrg in editOrgInfo.parentOrg" :value="parentOrg.orgId">{{parentOrg.orgName}}</option>
+                                    </select></div>
+                            </div>
+                            <div class="form-group row">
+                                <label class="col-sm-2 col-form-label">闅跺睘灏忓尯</label>
+                                <div class="col-sm-10">
+                                    <select class="custom-select" v-model="editOrgInfo.belongCommunityId" v-bind:disabled="editOrgInfo.orgLevel == 3">
+                                        <option selected disabled value="">蹇呭~锛岃閫夋嫨闅跺睘灏忓尯</option>
+                                        <option  value="9999">鍏ラ┗鎵�鏈夊皬鍖�</option>
+                                        <option v-for="belongCommunity in editOrgInfo.belongCommunitys" :value="belongCommunity.communityId">
+                                            {{belongCommunity.name}}
+                                        </option>
                                     </select></div>
                             </div>
                             <div class="form-group row">

--
Gitblit v1.8.0