fix(agentEenter): 移除提交申请后的结果判断逻辑

- 删除了对 res.result 的条件判断代码
- 简化了提交成功后的页面跳转流程
- 移除了失败情况下的提示信息处理逻辑
This commit is contained in:
hz
2025-11-20 11:20:44 +08:00
parent bd1aef5de9
commit 0cad8f3095

View File

@@ -273,23 +273,23 @@ export default {
.then(res => {
// console.log(res)
// todo 排除 2025-11-20 上午出现的阻断情况
if (res.result == '0' || res.result === 'F') {
this.$store.commit('updateAgentEnterApplyMsg', this.userInfo)
that.$toast.clear()
this.$jump({
flag: 'h5',
extra: {
url: location.origin + `/#/agentEenter/ShareInfoSuccess`,
forbidSwipeBack: '1',
backToFirst: '1'
},
routerInfo: {
path: `/agentEenter/ShareInfoSuccess`
}
})
} else {
this.$toast(res.resultMessage)
}
// if (res.result == '0' || res.result === 'F') {
this.$store.commit('updateAgentEnterApplyMsg', this.userInfo)
that.$toast.clear()
this.$jump({
flag: 'h5',
extra: {
url: location.origin + `/#/agentEenter/ShareInfoSuccess`,
forbidSwipeBack: '1',
backToFirst: '1'
},
routerInfo: {
path: `/agentEenter/ShareInfoSuccess`
}
})
// } else {
// this.$toast(res.resultMessage)
// }
})
.then(function(err) {
console.log(err)