|
@@ -618,6 +618,7 @@
|
|
|
},
|
|
},
|
|
|
// 验证手机
|
|
// 验证手机
|
|
|
checkPhone () {
|
|
checkPhone () {
|
|
|
|
|
+ console.log('000')
|
|
|
if (this.mobileChecked && this.codeChecked && this.checked) {
|
|
if (this.mobileChecked && this.codeChecked && this.checked) {
|
|
|
this.isShowLoading = true
|
|
this.isShowLoading = true
|
|
|
let param = new FormData()
|
|
let param = new FormData()
|
|
@@ -762,7 +763,8 @@
|
|
|
.then(response => {
|
|
.then(response => {
|
|
|
this.isShowLoading = false
|
|
this.isShowLoading = false
|
|
|
if (response.data.success) {
|
|
if (response.data.success) {
|
|
|
- if (response.data.content) {
|
|
|
|
|
|
|
+ console.log(response.data)
|
|
|
|
|
+ if (response.data.content.type === 'mall') {
|
|
|
let param = response.data.content.data
|
|
let param = response.data.content.data
|
|
|
let a = ''
|
|
let a = ''
|
|
|
for (let n in param) {
|
|
for (let n in param) {
|
|
@@ -786,6 +788,8 @@
|
|
|
} else {
|
|
} else {
|
|
|
this.loginOther(response, params, 3000)
|
|
this.loginOther(response, params, 3000)
|
|
|
}
|
|
}
|
|
|
|
|
+ } else if (response.data.content.type === 'city') {
|
|
|
|
|
+ this.$router.push({ path: `/overRegister/cityRegisterOver${this.$store.state.option.fullPath}` })
|
|
|
} else {
|
|
} else {
|
|
|
window.location.href = '/overRegister/overEnterprise'
|
|
window.location.href = '/overRegister/overEnterprise'
|
|
|
}
|
|
}
|