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
6aa657ab
authored
2023-04-26 17:35:10 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
fdc47d9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
src/views/workflow/components/batchDel.vue
src/views/workflow/mixin/index.js
src/views/workflow/components/batchDel.vue
View file @
6aa657a
...
...
@@ -11,6 +11,7 @@
</
template
>
<
script
>
import
{
deleteFlow
}
from
"@/api/ywbl.js"
import
store
from
'@/store/index.js'
export
default
{
components
:
{},
props
:
{
...
...
@@ -52,8 +53,7 @@
deleteFlow
(
formdata
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$popupCacel
();
location
.
reload
()
console
.
log
(
"走i了"
);
store
.
dispatch
(
'user/refreshPage'
,
true
);
this
.
$message
.
success
(
"删除成功"
);
}
else
{
this
.
$message
.
error
(
res
.
message
)
...
...
src/views/workflow/mixin/index.js
View file @
6aa657a
...
...
@@ -11,6 +11,7 @@ import {
completeTask
,
getNextLinkInfo
,
}
from
"@/api/fqsq.js"
;
import
{
mapGetters
}
from
'vuex'
import
{
log
}
from
"bpmn-js-token-simulation"
;
export
default
{
data
()
{
...
...
@@ -29,6 +30,16 @@ export default {
batchButtonName
:
''
,
}
},
computed
:
{
...
mapGetters
([
'isRefresh'
])
},
watch
:
{
isRefresh
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
)
this
.
loadBdcdylist
()
}
}
},
mounted
()
{
this
.
flowInitParam
();
this
.
loadBdcdylist
();
...
...
Please
register
or
sign in
to post a comment