Sfoglia il codice sorgente

Merge branch 'dev' of http://39.106.8.246:3003/web/ibms into dev

shaun-sheep 5 anni fa
parent
commit
416d19d787

+ 1 - 1
src/components/ready/buildfloor/addBuild.vue

@@ -3,7 +3,7 @@
     :title="buildTitle"
     :visible.sync="buildDialogVis"
     id="messageDialog"
-    width="55%"
+    width="850px"
   >
     <el-form
       :inline="true"

+ 3 - 2
src/views/ledger/cenotelist/relatedSpace.vue

@@ -152,10 +152,11 @@ export default {
         });
       }
     },
-    //默认显示第一个空间
+    //默认显示默认分区,无默认分区显示第一个分区
     showDefaultSpace() {
       if (this.spaceList.length) {
         this.space = this.spaceList.find((item) => { return item.Code == "GeneralZone" }) ? ["GeneralZone"] : [this.spaceList[0].Code];
+        this.ObjectType = this.space[0];
         // if (this.spaceList.length > 1 && this.cenoteObj.onlyRead) {
         //   this.showSpaceDot = true;
         // }
@@ -242,7 +243,7 @@ export default {
     },
     //更改业务空间类型
     changeSpace(val) {
-      this.ObjectType = val[val.length - 1];
+      this.ObjectType = val[0];
       this.floor = '';
       this.buildingList = [];
       this.building = '';

+ 1 - 1
src/views/ready/buildfloor/addFloor/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <el-dialog :title="title" :visible.sync="dialogVisible" width="45%" @close="handleClose" id="messageDialog">
+  <el-dialog :title="title" :visible.sync="dialogVisible" width="850px" @close="handleClose" id="messageDialog">
     <el-row>
       <formItems :type="'Floor'" ref="formItems"></formItems>
     </el-row>