修改删除逻辑代码
Showing
2 changed files
with
5 additions
and
5 deletions
... | @@ -195,9 +195,9 @@ export function choiceBdcdy (data) { | ... | @@ -195,9 +195,9 @@ export function choiceBdcdy (data) { |
195 | * @param {*} data | 195 | * @param {*} data |
196 | * @author: renchao | 196 | * @author: renchao |
197 | */ | 197 | */ |
198 | export function deleteBdcdy (data) { | 198 | export function deleteSlbdcdy (data) { |
199 | return request({ | 199 | return request({ |
200 | url: SERVER.SERVERAPI + '/rest/business/workFlow/deleteBdcdy', | 200 | url: SERVER.SERVERAPI + '/rest/business/workFlow/deleteSlbdcdy', |
201 | method: 'post', | 201 | method: 'post', |
202 | data | 202 | data |
203 | }) | 203 | }) | ... | ... |
... | @@ -39,7 +39,7 @@ | ... | @@ -39,7 +39,7 @@ |
39 | </template> | 39 | </template> |
40 | <script> | 40 | <script> |
41 | import { leftMenu } from "@/api/fqsq.js" | 41 | import { leftMenu } from "@/api/fqsq.js" |
42 | import { deleteFlow } from "@/api/ywbl.js"; | 42 | import { deleteSlbdcdy } from "@/api/ywbl.js"; |
43 | export default { | 43 | export default { |
44 | data () { | 44 | data () { |
45 | return { | 45 | return { |
... | @@ -119,8 +119,8 @@ | ... | @@ -119,8 +119,8 @@ |
119 | .then(() => { | 119 | .then(() => { |
120 | var formdata = new FormData(); | 120 | var formdata = new FormData(); |
121 | formdata.append("bsmSldyList", item.bsmSldy.split(",")); | 121 | formdata.append("bsmSldyList", item.bsmSldy.split(",")); |
122 | formdata.append("bsmSlsq", this.bsmSlsq); | 122 | // formdata.append("bsmSlsq", this.bsmSlsq); |
123 | deleteFlow(formdata).then((res) => { | 123 | deleteSlbdcdy(formdata).then((res) => { |
124 | if (res.code == 200) { | 124 | if (res.code == 200) { |
125 | this.$message.success("删除成功"); | 125 | this.$message.success("删除成功"); |
126 | this.$parent.updateDialog(); | 126 | this.$parent.updateDialog(); | ... | ... |
-
Please register or sign in to post a comment