Commit debbdc47 by yuzhenWang

修复处理工单的返回路径的bug

parent 84a8eef3
......@@ -2,7 +2,12 @@
<div class="app-container">
<div v-if="isLoadingStatus" />
<div v-else>
<el-button v-if="scrmParams.showBack" style="margin-bottom:16px;" type="primary" @click="goBack">
<el-button
v-if="scrmParams.showBack"
style="margin-bottom: 16px"
type="primary"
@click="goBack"
>
返回
</el-button>
<el-card class="box-card">
......@@ -343,10 +348,7 @@ export default {
if (response.code === 200) {
// this.$router.push({ name: 'upcoming' })
// window.location.reload()
// this.getProcessNodeList()
if (window.parent.goBackScrmCustomerServiceInfo) {
window.parent.goBackScrmCustomerServiceInfo()
}
this.getProcessNodeList()
}
})
})
......@@ -355,6 +357,9 @@ export default {
getAlertMessage() {
if (this.processStructureValue.workOrder.is_end === 1) {
this.alertMessage = '当前工单已结束。'
if (this.scrmParams.goBackFunction === 'goBackScrmCustomerServiceInfo') {
window.parent.goBackScrmCustomerServiceInfo()
}
}
},
activeOrderActive() {
......
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