Commit b2f55148 authored by yanglilong's avatar yanglilong

Merge branch 'yanglilong' of git.ssish.com:sunhailiang/bims into test

parents cae27ef6 d8a41070
...@@ -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