Commit d8a41070 authored by yanglilong's avatar yanglilong

'修改'

parent 2fcb7e00
...@@ -199,12 +199,14 @@ export default { ...@@ -199,12 +199,14 @@ export default {
.then((res) => { .then((res) => {
if (res.returnCode == "0000") { if (res.returnCode == "0000") {
this.$message.success("保存成功"); this.$message.success("保存成功");
this.$router.replace({ if(!this.detailObj.id){
path: '/info/companyDetail', this.$router.replace({
query: { path: '/info/companyDetail',
id: res.content query: {
} id: res.content
}) }
})
}
} else { } else {
this.$message.error(res.returnMsg); this.$message.error(res.returnMsg);
} }
......
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