aa533247 by weimo934

feat():办理查询数据

1 parent 4669efef
......@@ -39,6 +39,7 @@ const store = new Vuex.Store({
zrzbsm: '',
zjlxList: [],
gyfsList: [],
hbsm:''
},
modules: {
user,
......
......@@ -116,13 +116,20 @@
//点击办理
handleClick(row) {
let path = "";
switch (row.lx) {
case "自然幢":
console.log(row)
switch (row.dylx) {
case "zrz":
path = "/zrz";
this.$store.state.zrzbsm = row.glbsm;
break;
case "宗地":
case "zd":
path = "/zd";
this.$store.state.zdbsm = row.glbsm
break;
case "h":
path = "h";
this.$store.state.hbsm = row.glbsm
type = "2";
default:
break;
}
......
......@@ -122,31 +122,34 @@
case "自然幢":
path = "/zrz";
type = "1";
this.$store.state.zrzbsm = row.glbsm;
break;
case "zd":
path = "/zd";
type = "0";
this.$store.state.zdbsm = row.glbsm
break;
case "户":
path = "h";
this.$store.state.hbsm = row.glbsm
type = "2";
default:
break;
}
var data={"id":id,"type":type};
var data = {"id": id, "type": type};
updateQsztByBsm(data)
.then((res =>{
if(res.code==200){
.then((res => {
if (res.code == 200) {
this.$message({
message: res.message,
type: "success",
});
});
} else {
this.$message({
message: res.message,
type: "warning",
});
}
this.$message({
message: res.message,
type: "warning",
});
}
}))
this.$router.push(path);
},
......
......@@ -219,6 +219,7 @@
td {
text-align: center;
height: 36px;
min-width: 50px;
}
table .formInput {
......