Browse Source

项目化配置添加竖井和租户配置

zhangyu 5 years ago
parent
commit
07d6ecd93c
1 changed files with 21 additions and 0 deletions
  1. 21 0
      src/views/project_setting/collection_setting/index.vue

+ 21 - 0
src/views/project_setting/collection_setting/index.vue

@@ -104,6 +104,12 @@
                 }, {
                     label: "空间",
                     value: "space"
+                }, {
+                    label: "租户",
+                    value: "tenant"
+                }, {
+                    label: "竖井",
+                    value: "shaft"
                 }],
                 tabsFalg: false,
                 active: "",
@@ -528,6 +534,7 @@
                     });
                 } else if (this.value == "space") {
                     getBussTypes(res => {
+                        debugger
                         this.isLoading = false
                         //   this.allFamily = res.Content;
                         this.allFamily = [{
@@ -558,6 +565,20 @@
                         ]
                         this.familySort();
                     })
+                } else if (this.value == "tenant") {
+                    this.allFamily = [{ 
+                            "code": "Tenant",
+                            "name": "租户"
+                        }
+                    ]
+                    this.familySort()
+                } else if (this.value == "shaft") {
+                    this.allFamily = [{ 
+                            "code": "Shaft",
+                            "name": "竖井"
+                        }
+                    ]
+                    this.familySort()
                 } else {
                     getEqCode().then(res => {
                         if (res.data.Result == "success") {