Browse Source

Merge branch 'xiaoqin' into mergeBranch

codeMan 2 years ago
parent
commit
59605f86f8
1 changed files with 7 additions and 2 deletions
  1. 7 2
      src/SDrpManagement/agentOrder/details/index.vue

+ 7 - 2
src/SDrpManagement/agentOrder/details/index.vue

@@ -284,8 +284,13 @@ export default {
         }
       })
       this.tool.showMessage(res,()=>{
-        this.tool.showMessage(res)
-      })
+        let route = this.$route
+        if (route.path !== '/taskDetails') {
+          this.oldRoute = {path:route.path,query:route.query}
+          this.$store.dispatch('setHistoryRouter',this.oldRoute)
+        }
+        this.$router.replace({path:'/agent_orderDetails',query:{id:res.data.sa_orderid,rowindex:res.data.rowindex}})
+        })
     },
   },
   mounted () {