274202c3 by xiaomiao

--no commit message

1 parent 2272a742
......@@ -4,6 +4,7 @@
* @LastEditTime: 2023-05-16 14:05:25
*/
import request from '@/utils/request'
import { log } from 'bpmn-js-token-simulation'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/**
* @description: 添加补录记录
......@@ -24,9 +25,8 @@ export function addRepairRecord (data) {
*/
export function deleteFlow (params) {
return request({
url: SERVER.SERVERAPI + '/rest/djbRepair/deleteFlow',
url: SERVER.SERVERAPI + '/rest/djbRepair/deleteFlow?bsmSlsq='+params,
method: 'get',
params:params
})
}
......
......@@ -242,8 +242,7 @@ export default {
type: "warning",
})
.then(() => {
console.log('删除流程');
deleteFlow(formdata).then((res) => {
deleteFlow(this.bsmSlsq).then((res) => {
if (res.code === 200) {
this.$message({
type: "success",
......