Parcourir la source

需改未关联业务空间弹窗建筑楼层 没有默认建筑楼层问题

haojianlong il y a 5 ans
Parent
commit
c843c88254

+ 1 - 1
src/components/business_space/newGraphy/graphy.vue

@@ -464,7 +464,7 @@ export default {
         this.$message.warning('请至少选择一个空间');
         return;
       }
-      this.$refs.unRelateBSP.showDialog();
+      this.$refs.unRelateBSP.showDialog(this.buildFloor);
     },
     // 取消(所有取消公用)
     cancelGraphy() {

+ 4 - 1
src/components/business_space/newGraphy/unRelateBSP.vue

@@ -81,7 +81,10 @@ export default {
   },
   methods: {
     // 显示弹窗
-    showDialog() {
+    showDialog(buildFloor) {
+      if (buildFloor) {
+        this.floor = buildFloor;
+      }
       this.dialogVisible = true;
       this.getTableData();
     },