|
@@ -211,13 +211,22 @@
|
|
}
|
|
}
|
|
if (r && r.error_msg === '' && r.data) {
|
|
if (r && r.error_msg === '' && r.data) {
|
|
if(r.data.phone != '') {
|
|
if(r.data.phone != '') {
|
|
- _this.vercodecor = true
|
|
|
|
- _this.setcodeShow = false
|
|
|
|
|
|
+ // _this.vercodecor = true
|
|
|
|
+ // _this.setcodeShow = false
|
|
sessionStorage.setItem('strud_phone', r.data.phone)
|
|
sessionStorage.setItem('strud_phone', r.data.phone)
|
|
} else {
|
|
} else {
|
|
- _this.setcodeShow = true
|
|
|
|
|
|
+ // _this.setcodeShow = true
|
|
}
|
|
}
|
|
this.setEchoInfo(r.data)
|
|
this.setEchoInfo(r.data)
|
|
|
|
+ var result = checkRequiredKeys(['name', 'phone'], r.data)
|
|
|
|
+ if (result) {
|
|
|
|
+ var skipAuto = ['jyarticle_see3', 'article_collection', 'article_original', 'jypush_see10']
|
|
|
|
+ var _this = this
|
|
|
|
+ var canAuto = !skipAuto.some(function (v) {
|
|
|
|
+ return _this.ajaxParams.source.indexOf(v) > -1
|
|
|
|
+ })
|
|
|
|
+ this.submitForm(canAuto)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|