Commit c8d51e01 authored by Jennie Shi's avatar Jennie Shi

fixConflict

parents 4c3cc414 95be47d2
Pipeline #4540 canceled with stages
...@@ -186,6 +186,12 @@ export default { ...@@ -186,6 +186,12 @@ export default {
}, },
immediate: true, immediate: true,
}, },
// '$route' (to, from) {
// debugger
// if (from.fullPath !== '/contract-create-list' && to.fullPath === '/sales-info') {
// this.$router.go(0)
// }
// },
}, },
activated () { activated () {
...@@ -222,7 +228,8 @@ export default { ...@@ -222,7 +228,8 @@ export default {
} }
vm.businessQuery().then(res => { vm.businessQuery().then(res => {
vm.agentQuery().then(res => { vm.agentQuery().then(res => {
vm.factoryQuery() vm.factoryQuery().then(res => {
})
}) })
}) })
} else if (from.name === 'CreateBaseInfo') { } else if (from.name === 'CreateBaseInfo') {
...@@ -327,7 +334,7 @@ export default { ...@@ -327,7 +334,7 @@ export default {
phone: window.localStorage.getItem('user_phone'), phone: window.localStorage.getItem('user_phone'),
} }
vm.hlsPopup.showLoading('请稍候') vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) { return vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
vm.factoty = res.lists vm.factoty = res.lists
if (res.result === 'S') { if (res.result === 'S') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment