zjs_project 11 uur geleden
bovenliggende
commit
4e55d9d029
2 gewijzigde bestanden met toevoegingen van 17 en 14 verwijderingen
  1. 2 1
      src/components/newQCCom/viewMask/viewMask.vue
  2. 15 13
      src/pages/webgl_rxdz_test_all/webgl_rxdz_test_all.vue

+ 2 - 1
src/components/newQCCom/viewMask/viewMask.vue

@@ -709,7 +709,8 @@
 								shottingImg:this.shottingImg,
 								style:this.styleList[this.curStyleIndex].styleName
 							}
-						}
+						},
+                        behaviorName:"AI继续生成",
 					};
 					util.trackRequest(param);
 				}

+ 15 - 13
src/pages/webgl_rxdz_test_all/webgl_rxdz_test_all.vue

@@ -1133,19 +1133,20 @@
             backAysncData(){
                 console.warn("---backAysncData---",this.pvId)
                 let curLayoutStruct = JSON.parse(getStorage('curLayoutStruct')) ;//获取楼层的数据-户型数组
-                if(curLayoutStruct && curLayoutStruct.length>0){
-                    curLayoutStruct.forEach((layoutStruct,index)=>{
-                        let spaceList =  JSON.parse(layoutStruct.houseJson);//houseJson是字符串需要序列号处理
-                        spaceList.forEach(obj => delete obj.wallList);//去除墙体数据,减少数据量
-                        if(this.curHouseObj && this.curHouseObj.id==layoutStruct.id){
-                            this.curHouseObj.houseJson = JSON.stringify(spaceList);
-                            console.warn("***backAysncData-curHouseObj***",this.curHouseObj)
-                        }
-                        if(this.curLayoutStruc && this.curLayoutStruct[index]){
-                            this.curLayoutStruct[index].houseJson = JSON.stringify(spaceList);//数据会同步到组件中
-                        }
-                    })
-                }
+                // if(curLayoutStruct && curLayoutStruct.length>0){
+                //     curLayoutStruct.forEach((layoutStruct,index)=>{
+                //         let spaceList =  JSON.parse(layoutStruct.houseJson);//houseJson是字符串需要序列号处理
+                //         spaceList.forEach(obj => delete obj.wallList);//去除墙体数据,减少数据量
+                //         if(this.curHouseObj && this.curHouseObj.id==layoutStruct.id){
+                //             this.curHouseObj.houseJson = JSON.stringify(spaceList);
+                //             console.warn("***backAysncData-curHouseObj***",this.curHouseObj)
+                //         }
+                //         if(this.curLayoutStruct && this.curLayoutStruct[index]){
+                //             this.curLayoutStruct[index].houseJson = JSON.stringify(spaceList);//数据会同步到组件中
+                //         }
+                //     })
+                // }
+                this.curLayoutStruct = curLayoutStruct;
             },
             //当前户型初始化
             houseInit(item){
@@ -2306,6 +2307,7 @@
                     this.outRoam();
                     this.cameraInit();//把摄像头等属性还原到初始设置的
                     this.movePositionHandle(this.allSpaceCenter);//把摄像机移动到所有模型的中心点(水平面中心)
+                    this.curLayoutStruct = JSON.parse(getStorage('curLayoutStruct')) ;//获取楼层的数据-户型数组
                 }else{
                     this.movePositionHandle(this.allSpaceCenter,this.cameraStarPosition.y);//把摄像机移动到所有模型的中心点(水平面中心)
                 }