68a4f805 by tianhaohao@pashanhoo.com

修改删除逻辑代码

1 parent 92c5dd4d
......@@ -195,9 +195,9 @@ export function choiceBdcdy (data) {
* @param {*} data
* @author: renchao
*/
export function deleteBdcdy (data) {
export function deleteSlbdcdy (data) {
return request({
url: SERVER.SERVERAPI + '/rest/business/workFlow/deleteBdcdy',
url: SERVER.SERVERAPI + '/rest/business/workFlow/deleteSlbdcdy',
method: 'post',
data
})
......
......@@ -39,7 +39,7 @@
</template>
<script>
import { leftMenu } from "@/api/fqsq.js"
import { deleteFlow } from "@/api/ywbl.js";
import { deleteSlbdcdy } from "@/api/ywbl.js";
export default {
data () {
return {
......@@ -119,8 +119,8 @@
.then(() => {
var formdata = new FormData();
formdata.append("bsmSldyList", item.bsmSldy.split(","));
formdata.append("bsmSlsq", this.bsmSlsq);
deleteFlow(formdata).then((res) => {
// formdata.append("bsmSlsq", this.bsmSlsq);
deleteSlbdcdy(formdata).then((res) => {
if (res.code == 200) {
this.$message.success("删除成功");
this.$parent.updateDialog();
......