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
3545dcd0
Commit
3545dcd0
authored
Aug 08, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
流程管理列表静态
parent
37c03ce7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
79 additions
and
76 deletions
+79
-76
src/pages/workbench/component-center/process-management/designer/index.vue
...ch/component-center/process-management/designer/index.vue
+79
-76
No files found.
src/pages/workbench/component-center/process-management/designer/index.vue
View file @
3545dcd0
...
...
@@ -140,6 +140,79 @@ export default {
console
.
log
(
error
);
});
},
iniHeader
()
{
this
.
listHeader
=
[
{
label
:
"
流程编号
"
,
prop
:
"
id
"
,
width
:
180
,
},
{
label
:
"
流程名称
"
,
prop
:
"
name
"
,
type
:
"
button
"
,
callback
:
this
.
detailItem
,
},
{
label
:
"
服务领域
"
,
prop
:
"
sectors_name
"
,
align
:
"
center
"
,
width
:
240
,
},
{
label
:
"
创建时间
"
,
prop
:
"
create_time
"
,
getText
(
item
)
{
return
helper
.
dateStringTransform
(
item
.
create_time
||
""
);
},
align
:
"
center
"
,
width
:
180
,
},
{
label
:
"
状态
"
,
prop
:
"
state
"
,
getText
(
item
)
{
return
[
"
未部署
"
,
"
已部署
"
,
"
已发布
"
][
item
.
state
||
0
];
},
align
:
"
center
"
,
width
:
180
,
},
{
label
:
"
操作
"
,
type
:
"
buttons
"
,
align
:
"
center
"
,
width
:
300
,
actionList
:
[
{
label
:
"
发布
"
,
callback
:
this
.
publishItem
,
disableHide
:
true
,
disabledRule
(
item
)
{
return
item
.
state
==
2
;
},
},
{
label
:
"
编辑
"
,
callback
:
this
.
editItem
,
},
],
moreActionList
:
[
{
label
:
"
取消部署
"
,
callback
:
this
.
canceldeployItem
,
},
{
label
:
"
复制
"
,
callback
:
this
.
copyItem
,
},
{
label
:
"
删除
"
,
callback
:
this
.
deleteItem
,
},
],
},
];
},
refresh
()
{
this
.
init
(
this
.
tempFilter
);
},
...
...
@@ -150,94 +223,24 @@ export default {
this
.
$router
.
push
(
`/progress/designer/detail/
${
item
.
id
}
`
);
},
publishItem
(
item
)
{
console
.
log
(
item
);
console
.
log
(
`publish
${
item
.
name
}
`
);
},
editItem
(
item
)
{
console
.
log
(
item
);
console
.
log
(
`edit
${
item
.
name
}
`
);
},
canceldeployItem
(
item
)
{
console
.
log
(
item
);
console
.
log
(
`cancel deploy
${
item
.
name
}
`
);
},
copyItem
(
item
)
{
console
.
log
(
item
);
console
.
log
(
`copy
${
item
.
name
}
`
);
},
deleteItem
(
item
)
{
console
.
log
(
item
);
console
.
log
(
`delete
${
item
.
name
}
`
);
},
},
created
()
{
this
.
initFilter
();
this
.
listHeader
=
[
{
label
:
"
流程编号
"
,
prop
:
"
id
"
,
width
:
180
,
},
{
label
:
"
流程名称
"
,
prop
:
"
name
"
,
type
:
"
button
"
,
callback
:
this
.
detailItem
,
},
{
label
:
"
服务领域
"
,
prop
:
"
sectors_name
"
,
align
:
"
center
"
,
width
:
240
,
},
{
label
:
"
创建时间
"
,
prop
:
"
create_time
"
,
getText
(
item
)
{
return
helper
.
dateStringTransform
(
item
.
create_time
||
""
);
},
align
:
"
center
"
,
width
:
180
,
},
{
label
:
"
状态
"
,
prop
:
"
state
"
,
getText
(
item
)
{
return
[
"
未部署
"
,
"
已部署
"
,
"
已发布
"
][
item
.
state
||
0
];
},
align
:
"
center
"
,
width
:
180
,
},
{
label
:
"
操作
"
,
type
:
"
buttons
"
,
align
:
"
center
"
,
width
:
300
,
actionList
:
[
{
label
:
"
发布
"
,
callback
:
this
.
publishItem
,
disableHide
:
true
,
disabledRule
(
item
)
{
return
item
.
state
==
2
;
},
},
{
label
:
"
编辑
"
,
callback
:
this
.
editItem
,
},
],
moreActionList
:
[
{
label
:
"
取消部署
"
,
callback
:
this
.
canceldeployItem
,
},
{
label
:
"
复制
"
,
callback
:
this
.
copyItem
,
},
{
label
:
"
删除
"
,
callback
:
this
.
deleteItem
,
},
],
},
];
this
.
iniHeader
();
},
};
</
script
>
...
...
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