|
@@ -76,6 +76,7 @@ export default {
|
|
|
showPopup:false,
|
|
|
isIOS:false,
|
|
|
payed:0,//当前柔性定制是否已经支付了 1:是,0:否,默认0
|
|
|
+ houseDZ:true, //是否已经户型定制过,默认 有
|
|
|
}
|
|
|
},
|
|
|
/**
|
|
@@ -486,6 +487,12 @@ export default {
|
|
|
}
|
|
|
this.tabData.push(data);
|
|
|
})
|
|
|
+ //有户型id,说明已经进入过户型的柔性定制
|
|
|
+ if(this.form.houseJson && this.form.houseJson[0] && this.form.houseJson[0].spaceId){
|
|
|
+ this.houseDZ = true;
|
|
|
+ }else{
|
|
|
+ this.houseDZ = false;
|
|
|
+ }
|
|
|
this.gsImage = this.form.layoutImgCustomized;//获取高斯模糊的图片
|
|
|
}else{
|
|
|
Toast({
|
|
@@ -516,7 +523,33 @@ export default {
|
|
|
catchTouchMove: function() {
|
|
|
return false;
|
|
|
},
|
|
|
-
|
|
|
+ // 点击跳转到h5柔性定制-继续
|
|
|
+ toUEDatail() {
|
|
|
+ console.warn("toUEDatail")
|
|
|
+ let data = {
|
|
|
+ houseId:this.houseId,
|
|
|
+ customizedRecordId:this.id,
|
|
|
+ ueId: this.form.layoutId,
|
|
|
+ }
|
|
|
+ router.push({
|
|
|
+ name: "webgl_rxdz_test",
|
|
|
+ query:data
|
|
|
+ });
|
|
|
+ // let expand = {
|
|
|
+ // houseId: this.houseId,
|
|
|
+ // customizedRecordId: this.id, //定制的作品id
|
|
|
+ // ueId: this.form.layoutId,
|
|
|
+ // }
|
|
|
+ // let webUrl = config.rxdzUrl + "pages/webgl_rxdz_test";
|
|
|
+ // webUrl += util.converToUrl(expand);
|
|
|
+ // uni.navigateTo({
|
|
|
+ // keep: true, //不处理
|
|
|
+ // url: '/pages/webView/webView?view=' + encodeURIComponent(webUrl) + "&houseId=" + this.houseId,
|
|
|
+ // fail: function(res) {
|
|
|
+ // console.log(res)
|
|
|
+ // },
|
|
|
+ // })
|
|
|
+ },
|
|
|
toMode(){
|
|
|
let data = {
|
|
|
houseId:this.houseId,
|