Commit a210bc2d authored by 许珑标's avatar 许珑标

路由优化

parent 6283a9ce
...@@ -922,4 +922,4 @@ export default { ...@@ -922,4 +922,4 @@ export default {
} }
} }
} }
</style> </style>
\ No newline at end of file
...@@ -665,12 +665,12 @@ export default { ...@@ -665,12 +665,12 @@ export default {
if (this.formData.id != null) { if (this.formData.id != null) {
updateOutContract(this.formData).then(response => { updateOutContract(this.formData).then(response => {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("修改成功");
this.$router.push({ path: "/business/contract" }) this.$router.push({ path: "/contract" })
}); });
} else { } else {
addOutContract(this.formData).then(response => { addOutContract(this.formData).then(response => {
this.$modal.msgSuccess("新增成功"); this.$modal.msgSuccess("新增成功");
this.$router.push({ path: "/business/contract" }) this.$router.push({ path: "/contract" })
}); });
} }
} else { } else {
...@@ -681,7 +681,7 @@ export default { ...@@ -681,7 +681,7 @@ export default {
// 返回功能 // 返回功能
goBackFN() { goBackFN() {
this.reset() this.reset()
this.$router.push({ path: "/business/contract" }) this.$router.push({ path: "/contract" })
}, },
// 表单重置方法 // 表单重置方法
reset() { reset() {
...@@ -801,4 +801,4 @@ export default { ...@@ -801,4 +801,4 @@ export default {
} }
} }
} }
</style> </style>
\ No newline at end of file
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