feat():办理查询数据
Showing
4 changed files
with
18 additions
and
6 deletions
... | @@ -116,13 +116,20 @@ | ... | @@ -116,13 +116,20 @@ |
116 | //点击办理 | 116 | //点击办理 |
117 | handleClick(row) { | 117 | handleClick(row) { |
118 | let path = ""; | 118 | let path = ""; |
119 | switch (row.lx) { | 119 | console.log(row) |
120 | case "自然幢": | 120 | switch (row.dylx) { |
121 | case "zrz": | ||
121 | path = "/zrz"; | 122 | path = "/zrz"; |
123 | this.$store.state.zrzbsm = row.glbsm; | ||
122 | break; | 124 | break; |
123 | case "宗地": | 125 | case "zd": |
124 | path = "/zd"; | 126 | path = "/zd"; |
127 | this.$store.state.zdbsm = row.glbsm | ||
125 | break; | 128 | break; |
129 | case "h": | ||
130 | path = "h"; | ||
131 | this.$store.state.hbsm = row.glbsm | ||
132 | type = "2"; | ||
126 | default: | 133 | default: |
127 | break; | 134 | break; |
128 | } | 135 | } | ... | ... |
... | @@ -122,21 +122,24 @@ | ... | @@ -122,21 +122,24 @@ |
122 | case "自然幢": | 122 | case "自然幢": |
123 | path = "/zrz"; | 123 | path = "/zrz"; |
124 | type = "1"; | 124 | type = "1"; |
125 | this.$store.state.zrzbsm = row.glbsm; | ||
125 | break; | 126 | break; |
126 | case "zd": | 127 | case "zd": |
127 | path = "/zd"; | 128 | path = "/zd"; |
128 | type = "0"; | 129 | type = "0"; |
130 | this.$store.state.zdbsm = row.glbsm | ||
129 | break; | 131 | break; |
130 | case "户": | 132 | case "户": |
131 | path = "h"; | 133 | path = "h"; |
134 | this.$store.state.hbsm = row.glbsm | ||
132 | type = "2"; | 135 | type = "2"; |
133 | default: | 136 | default: |
134 | break; | 137 | break; |
135 | } | 138 | } |
136 | var data={"id":id,"type":type}; | 139 | var data = {"id": id, "type": type}; |
137 | updateQsztByBsm(data) | 140 | updateQsztByBsm(data) |
138 | .then((res =>{ | 141 | .then((res => { |
139 | if(res.code==200){ | 142 | if (res.code == 200) { |
140 | this.$message({ | 143 | this.$message({ |
141 | message: res.message, | 144 | message: res.message, |
142 | type: "success", | 145 | type: "success", | ... | ... |
-
Please register or sign in to post a comment