10c3f5af by 焦泽平

更正功能办理成功目录树表单刷新

1 parent 0abf3d46
......@@ -117,16 +117,20 @@
//点击办理
handleClick(row) {
let type;name;
let path = "";
switch (row.dylx) {
case "zd":
type = "0";
name = '宗地';
this.$store.state.zdbsm = row.glbsm
path = "/zd";
break;
case "zrz":
type = "1";
name = '自然幢';
this.$store.state.zrzbsm = row.glbsm;
path = "/zrz";
break;
case "h":
case "h0":
......@@ -138,6 +142,7 @@
type = "3";
name = "多幢";
this.$store.state.dzbsm = row.glbsm;
path = "/dz";
default:
break;
}
......@@ -154,7 +159,13 @@
type: 'success',
message: '更正成功!'
});
this.$router.push("/"+path);
this.$router.push({
path: path,
query: {
bsm: res.result,
source: 2
}
});
} else {
this.$message({
message: res.message,
......