Commit 3dcf9ffb authored by linxin's avatar linxin

add

parents 80bb8a78 a7e11343
......@@ -646,14 +646,15 @@ export default {
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.hlsPopup.hideLoading()
vm.isComputed = true
vm.calculeFlag = true
vm.saveTed = true
hlsPopup.showLongCenter('计算成功')
vm.goPlan()
} else {
vm.hlsPopup.hideLoading()
hlsPopup.showLongCenter(res.message)
}
})
......
......@@ -766,8 +766,8 @@ export default {
if (isEmpty) {
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.hlsPopup.hideLoading()
vm.saveTed = true
vm.$router.push({
name: 'CreateRentInfo',
......@@ -778,6 +778,7 @@ export default {
},
})
} else {
vm.hlsPopup.hideLoading()
hlsPopup.showLongCenter(res.message)
}
})
......
......@@ -640,13 +640,14 @@ export default {
}
vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.hlsPopup.hideLoading()
vm.hlsPopup.showSuccess('提交成功')
vm.$router.push({
name: 'MyInfo',
})
} else {
vm.hlsPopup.hideLoading()
vm.hlsPopup.showLongCenter(res.message)
}
})
......
......@@ -12,7 +12,7 @@ axios.interceptors.request.use(config => {
cancel = c
})
if (promiseArr[config.url]) {
promiseArr[config.url]('操作取消')
promiseArr[config.url]('正在计算中,请稍后...')
promiseArr[config.url] = cancel
} else {
promiseArr[config.url] = cancel
......
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