Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
274202c3
authored
2023-06-28 13:46:06 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
2272a742
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
src/api/djbbl.js
src/views/djbworkflow/mixin/index.js
src/api/djbbl.js
View file @
274202c
...
...
@@ -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
})
}
...
...
src/views/djbworkflow/mixin/index.js
View file @
274202c
...
...
@@ -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"
,
...
...
Please
register
or
sign in
to post a comment