Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
c1f94aa7
Commit
c1f94aa7
authored
Aug 13, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
流程管理调试
parent
dc45fd14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
6 deletions
+23
-6
src/pages/workbench/component-center/process-management/designer/index.vue
...ch/component-center/process-management/designer/index.vue
+23
-6
No files found.
src/pages/workbench/component-center/process-management/designer/index.vue
View file @
c1f94aa7
...
...
@@ -136,6 +136,7 @@ export default {
(
filter
.
states
&&
filter
.
states
.
map
((
item
)
=>
item
.
value
).
join
(
"
,
"
))
||
""
,
filter_by
:
filter
.
keyword
,
page
:
filter
.
page
,
page_size
:
filter
.
size
,
};
...
...
@@ -308,10 +309,10 @@ export default {
this
.
dialogInfo
.
cancelText
=
"
取消
"
;
this
.
dialogInfo
.
sunbmitText
=
"
发布
"
;
this
.
dialogInfo
.
submit
=
()
=>
{
console
.
log
(
`发布
${
item
.
name
}
`
);
this
.
$router
.
push
(
`/fwzc/fwcs?process=
${
item
.
workflows_id
}
`
);
};
this
.
showDialog
();
},
// TODO: 发布流程
},
cancelPublishItem
(
item
)
{
this
.
dialogInfo
.
title
=
"
提示
"
;
this
.
dialogInfo
.
msg
=
`取消发布后,该流程服务将从服务超市下架,仅部署在工作区域
${
item
.
workarea_name
}
中,是否取消发布流程服务“
${
item
.
name
}
”?`
;
...
...
@@ -341,7 +342,7 @@ export default {
console
.
log
(
`取消部署
${
item
.
name
}
`
);
};
this
.
showDialog
();
},
// TODO: 取消流程
},
// TODO: 取消
部署
流程
copyItem
(
item
)
{
this
.
copyTempItem
=
{
...
item
,
...
...
@@ -355,13 +356,29 @@ export default {
submitCopyProcess
()
{
this
.
$refs
.
detail_form
.
validate
((
valid
)
=>
{
if
(
valid
)
{
console
.
log
(
this
.
copyTempItem
);
this
.
copyProcessHide
();
this
.
$http
.
post
(
"
/apaas/serviceapp/v3/workflows/copy
"
,
{
id
:
this
.
copyTempItem
.
workflows_id
,
name
:
this
.
copyTempItem
.
newName
,
})
.
then
(({
data
})
=>
{
if
(
data
.
success
===
1
)
{
this
.
$message
.
success
(
data
.
errMsg
||
"
复制成功
"
);
this
.
copyProcessHide
();
this
.
refreshPage
();
}
else
{
this
.
$message
.
error
(
data
.
errMsg
||
"
复制失败
"
);
}
})
.
catch
((
error
)
=>
{
console
.
log
(
error
);
this
.
$message
.
error
(
"
复制失败
"
);
});
}
else
{
return
false
;
}
});
},
// TODO: 复制流程-确定
},
deleteItem
(
item
)
{
this
.
dialogInfo
.
title
=
"
提示
"
;
this
.
dialogInfo
.
msg
=
`您确定要删除流程服务“
${
item
.
name
}
”吗?`
;
...
...
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