|
@@ -1072,36 +1072,39 @@
|
|
|
},
|
|
|
submit() {
|
|
|
this.spaceAIHandle();
|
|
|
+ setTimeout(()=>{
|
|
|
+ this.resultDataHandle();
|
|
|
+ },200)
|
|
|
//三个题都存在,则是完整的前测
|
|
|
- if(this.queryObj && this.queryObj.id2 && this.queryObj.id3){
|
|
|
- setTimeout(()=>{
|
|
|
- this.resultDataHandle();
|
|
|
- },200)
|
|
|
- }else{
|
|
|
- MessageBox.confirm('',{
|
|
|
- title: '提示',
|
|
|
- message: '感谢您的参与',
|
|
|
- showCancelButton: true,
|
|
|
- confirmButtonText:'返回首页',
|
|
|
- cancelButtonText:'确认',
|
|
|
- }).then(action => {
|
|
|
- console.warn("***MessageBox-action***",action)
|
|
|
- if(action == 'confirm'){
|
|
|
- if(window.__wxjs_environment === 'miniprogram'){
|
|
|
- this.pvCloseHandle();//小程序跳转会主动杀死关闭当前页面-不经过vue跳转关闭逻辑-所以需要主动触发关闭埋点
|
|
|
- wx.miniProgram.redirectTo({url: '/pages/index/index?houseId='+this.houseId})
|
|
|
- }else{
|
|
|
- // this.$message.warning("敬请期待");
|
|
|
- // this.showPop();
|
|
|
- }
|
|
|
- }
|
|
|
- }).catch(err=>{
|
|
|
- console.warn("***MessageBox-err***",err)
|
|
|
- if(err == 'cancel'){
|
|
|
- // self.cancelHandle();
|
|
|
- }
|
|
|
- });
|
|
|
- }
|
|
|
+ // if(this.queryObj && this.queryObj.id2 && this.queryObj.id3){
|
|
|
+ // setTimeout(()=>{
|
|
|
+ // this.resultDataHandle();
|
|
|
+ // },200)
|
|
|
+ // }else{
|
|
|
+ // MessageBox.confirm('',{
|
|
|
+ // title: '提示',
|
|
|
+ // message: '感谢您的参与',
|
|
|
+ // showCancelButton: true,
|
|
|
+ // confirmButtonText:'返回首页',
|
|
|
+ // cancelButtonText:'确认',
|
|
|
+ // }).then(action => {
|
|
|
+ // console.warn("***MessageBox-action***",action)
|
|
|
+ // if(action == 'confirm'){
|
|
|
+ // if(window.__wxjs_environment === 'miniprogram'){
|
|
|
+ // this.pvCloseHandle();//小程序跳转会主动杀死关闭当前页面-不经过vue跳转关闭逻辑-所以需要主动触发关闭埋点
|
|
|
+ // wx.miniProgram.redirectTo({url: '/pages/index/index?houseId='+this.houseId})
|
|
|
+ // }else{
|
|
|
+ // // this.$message.warning("敬请期待");
|
|
|
+ // // this.showPop();
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // }).catch(err=>{
|
|
|
+ // console.warn("***MessageBox-err***",err)
|
|
|
+ // if(err == 'cancel'){
|
|
|
+ // // self.cancelHandle();
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // }
|
|
|
},
|
|
|
//提交结果数据处理
|
|
|
async resultDataHandle(){
|