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

路由优化

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