Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
ferry_web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jianan
ferry_web
Commits
02a14710
Commit
02a14710
authored
Jul 16, 2020
by
Mr. Lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加流程管理。
parent
bfaec2ca
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/views/process/admin/process-manager.vue
+6
-6
No files found.
src/views/process/admin/process-manager.vue
View file @
02a14710
...
...
@@ -153,7 +153,8 @@ import {
processList
,
createProcess
,
updateProcess
,
processDetails
processDetails
,
deleteProcess
}
from
'@/api/process/admin/process'
import
{
classifyList
}
from
'@/api/process/admin/classify'
...
...
@@ -301,7 +302,7 @@ export default {
if
(
valid
)
{
if
(
this
.
ruleForm
.
structure
.
nodes
.
length
>
0
&&
this
.
ruleForm
.
structure
.
edges
.
length
>
0
)
{
createProcess
(
this
.
ruleForm
).
then
(
response
=>
{
//
this.getList()
this
.
getList
()
this
.
open
=
false
})
}
else
{
...
...
@@ -347,15 +348,14 @@ export default {
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
// eslint-disable-next-line no-undef
deleteTemplate
({
templateId
:
row
.
id
deleteProcess
({
processId
:
row
.
id
}).
then
(
response
=>
{
if
(
response
!==
undefined
)
{
this
.
getList
()
this
.
$message
({
type
:
'success'
,
message
:
'
模版
已删除!'
message
:
'
流程
已删除!'
})
}
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment