Merge remote-tracking branch 'origin/master'
Showing
2 changed files
with
19 additions
and
19 deletions
... | @@ -150,7 +150,7 @@ export function jzxsbatchModify(data) { | ... | @@ -150,7 +150,7 @@ export function jzxsbatchModify(data) { |
150 | */ | 150 | */ |
151 | export function deleteZdInfoByBsm(data) { | 151 | export function deleteZdInfoByBsm(data) { |
152 | return request({ | 152 | return request({ |
153 | url: '/zd/qjZdjbxx/deleteZdjbxxByBsm', | 153 | url: '/delete/deleteDyByBsm', |
154 | method: 'delete', | 154 | method: 'delete', |
155 | data: data | 155 | data: data |
156 | }) | 156 | }) |
... | @@ -161,7 +161,7 @@ export function deleteZdInfoByBsm(data) { | ... | @@ -161,7 +161,7 @@ export function deleteZdInfoByBsm(data) { |
161 | */ | 161 | */ |
162 | export function zdfg(data) { | 162 | export function zdfg(data) { |
163 | return request({ | 163 | return request({ |
164 | url: '/fg/zdFg', | 164 | url: '/bg/zdSplitMerge/zdFg', |
165 | method: 'post', | 165 | method: 'post', |
166 | data: data | 166 | data: data |
167 | }) | 167 | }) | ... | ... |
... | @@ -222,23 +222,23 @@ export default { | ... | @@ -222,23 +222,23 @@ export default { |
222 | }, | 222 | }, |
223 | //右键菜单的删除 | 223 | //右键菜单的删除 |
224 | deleteByBsm(){ | 224 | deleteByBsm(){ |
225 | let zdBsm = this.zdData.zdbsm; | 225 | //let zdBsm = this.zdData.zdbsm; |
226 | let type; | 226 | //let type; |
227 | console.log(zdBsm); | 227 | console.log(this.zdData.zdbsm); |
228 | switch (this.zdData.type){ | 228 | //switch (this.zdData.type){ |
229 | case "zd": | 229 | // case "zd": |
230 | type="0"; | 230 | // type="0"; |
231 | break; | 231 | // break; |
232 | case "zrz": | 232 | // case "zrz": |
233 | type="1"; | 233 | // type="1"; |
234 | break; | 234 | // break; |
235 | case "h": | 235 | // case "h": |
236 | type="2"; | 236 | // type="2"; |
237 | break; | 237 | // break; |
238 | default: | 238 | // default: |
239 | break; | 239 | // break; |
240 | } | 240 | //} |
241 | let params={"id":zdBsm,"type":type} | 241 | let params={"bsm":this.zdData.zdbsm,"type":this.zdData.type} |
242 | deleteZdInfoByBsm(params) | 242 | deleteZdInfoByBsm(params) |
243 | .then((res) => { | 243 | .then((res) => { |
244 | if(res.code=200){ | 244 | if(res.code=200){ | ... | ... |
-
Please register or sign in to post a comment