|
@@ -173,6 +173,7 @@ export default {
|
|
|
enginPassword: this.engineForm.password
|
|
|
}
|
|
|
bindEngineAccount(params).then(res => {
|
|
|
+ console.log('-----------', res)
|
|
|
if (res.code === 200) {
|
|
|
this.$successMsg("绑定成功,正在打开工程机系统")
|
|
|
this.$store.dispatch('user/getInfo').then(() => {
|
|
@@ -180,6 +181,8 @@ export default {
|
|
|
this.userInfo.enginPassword = this.engineForm.password
|
|
|
this.$refs.engineSubmit.click()
|
|
|
})
|
|
|
+ } else {
|
|
|
+ this.$errorMsg(res.message)
|
|
|
}
|
|
|
})
|
|
|
}
|