aa533247 by weimo934

feat():办理查询数据

1 parent 4669efef
...@@ -39,6 +39,7 @@ const store = new Vuex.Store({ ...@@ -39,6 +39,7 @@ const store = new Vuex.Store({
39 zrzbsm: '', 39 zrzbsm: '',
40 zjlxList: [], 40 zjlxList: [],
41 gyfsList: [], 41 gyfsList: [],
42 hbsm:''
42 }, 43 },
43 modules: { 44 modules: {
44 user, 45 user,
......
...@@ -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",
......
...@@ -219,6 +219,7 @@ ...@@ -219,6 +219,7 @@
219 td { 219 td {
220 text-align: center; 220 text-align: center;
221 height: 36px; 221 height: 36px;
222 min-width: 50px;
222 } 223 }
223 224
224 table .formInput { 225 table .formInput {
......