ソースを参照

修改业务空间交互

haojianlong 5 年 前
コミット
3fc4226d22

+ 4 - 3
src/components/business_space/newGraphy/graphy.vue

@@ -448,6 +448,7 @@ export default {
           type: "warning"
         }
         ).then(() => {
+          this.groupCreateDialogVis = false;
           this.canvasLoading = true;
           this.groupCreateBSP(Spaces)
         }).catch(() => {
@@ -573,19 +574,19 @@ export default {
       let pa = {
         zone: this.tab.code,
         data: {
-          Content: space
+          Content: spaces
         }
       }
       createZone(pa, res => {
         res.EntityList.map(t => {
-          Spaces = Spaces.map(item => {
+          spaces = spaces.map(item => {
             if (t.RoomLocalName == item.RoomLocalName) {
               item.SpaceId = t.RoomID
             }
             return item;
           })
         })
-        this.groupCreRelaZoneAndISp(space)
+        this.groupCreRelaZoneAndISp(spaces)
       })
     },
     // 单个创建

+ 1 - 2
src/views/ready/buildfloor/drawGraphy/drawFloor.vue

@@ -32,8 +32,7 @@ export default {
       floorData: {},
       config: {
         isEdit: false,
-        divide: true,
-        groupSelect: true
+        divide: true
       }
     };
   },