--no commit message
Showing
2 changed files
with
3 additions
and
4 deletions
... | @@ -4,6 +4,7 @@ | ... | @@ -4,6 +4,7 @@ |
4 | * @LastEditTime: 2023-05-16 14:05:25 | 4 | * @LastEditTime: 2023-05-16 14:05:25 |
5 | */ | 5 | */ |
6 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
7 | import { log } from 'bpmn-js-token-simulation' | ||
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 8 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
8 | /** | 9 | /** |
9 | * @description: 添加补录记录 | 10 | * @description: 添加补录记录 |
... | @@ -24,9 +25,8 @@ export function addRepairRecord (data) { | ... | @@ -24,9 +25,8 @@ export function addRepairRecord (data) { |
24 | */ | 25 | */ |
25 | export function deleteFlow (params) { | 26 | export function deleteFlow (params) { |
26 | return request({ | 27 | return request({ |
27 | url: SERVER.SERVERAPI + '/rest/djbRepair/deleteFlow', | 28 | url: SERVER.SERVERAPI + '/rest/djbRepair/deleteFlow?bsmSlsq='+params, |
28 | method: 'get', | 29 | method: 'get', |
29 | params:params | ||
30 | }) | 30 | }) |
31 | } | 31 | } |
32 | 32 | ... | ... |
... | @@ -242,8 +242,7 @@ export default { | ... | @@ -242,8 +242,7 @@ export default { |
242 | type: "warning", | 242 | type: "warning", |
243 | }) | 243 | }) |
244 | .then(() => { | 244 | .then(() => { |
245 | console.log('删除流程'); | 245 | deleteFlow(this.bsmSlsq).then((res) => { |
246 | deleteFlow(formdata).then((res) => { | ||
247 | if (res.code === 200) { | 246 | if (res.code === 200) { |
248 | this.$message({ | 247 | this.$message({ |
249 | type: "success", | 248 | type: "success", | ... | ... |
-
Please register or sign in to post a comment