Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
multiSystem
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yulun Yao
multiSystem
Commits
4fd07397
Commit
4fd07397
authored
Aug 03, 2021
by
levante
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
33a9f55c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
86 additions
and
1 deletion
+86
-1
actionList.vue
src/views/action/actionList.vue
+1
-1
executionLogList.vue
src/views/executionLog/executionLogList.vue
+85
-0
No files found.
src/views/action/actionList.vue
View file @
4fd07397
<
template
>
<div
class=
"routerWapper"
>
<div
class=
"portalDetailTitle"
v-if=
"$route.name == 'actionList'"
>
<a-tabs
default-active-key=
"1"
@
change=
"callback"
>
<a-tabs
default-active-key=
"1"
>
<a-tab-pane
key=
"1"
tab=
"触发Action"
>
<div
class=
"layoutMargin"
>
<a-row>
...
...
src/views/executionLog/executionLogList.vue
View file @
4fd07397
...
...
@@ -2,6 +2,91 @@
<div
class=
"routerWapper"
>
<div
class=
"portalDetailTitle"
v-if=
"$route.name == 'executionLogList'"
>
<span
class=
"title"
>
日志列表
</span>
<div
class=
"layoutPadding"
>
<div
class=
"itemMargin"
>
<a-alert
type=
"info"
show-icon
>
<p
slot=
"description"
>
已选择:
{{
selectedRowKeys
.
length
}}
</p>
</a-alert>
</div>
<a-table
class=
"elevator-table portalTable"
:dataSource=
"list"
:columns=
"columns"
size=
"small"
:pagination=
"pagination"
rowKey=
"id"
:row-selection=
"
{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }">
<span
slot=
"operation"
slot-scope=
"text, record"
>
<span
class=
"actionBtn"
@
click=
"edit(record)"
>
编辑
</span>
<span
class=
"actionBtn"
@
click=
"more(record)"
>
更多
</span>
</span>
<span
slot=
"no"
slot-scope=
"text, record, index"
>
{{
index
+
1
}}
</span>
</a-table>
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
selectedRowKeys
:
[],
list
:
[],
columns
:
[
{
title
:
'#'
,
dataIndex
:
'no'
,
align
:
'center'
,
key
:
'no'
,
scopedSlots
:
{
customRender
:
'no'
,
},
},
{
title
:
'触发服务'
,
dataIndex
:
'cffw'
,
align
:
'center'
,
key
:
'cffw'
},
{
title
:
'执行服务'
,
dataIndex
:
'zxfw'
,
align
:
'center'
,
key
:
'zxfw'
},
{
title
:
'执行时间'
,
dataIndex
:
'zxsj'
,
align
:
'center'
,
key
:
'zxsj'
},
{
title
:
'执行结果'
,
dataIndex
:
'zxjg'
,
align
:
'center'
,
key
:
'zxjg'
},
],
pagination
:
{
//分页
pageNo
:
1
,
pageSize
:
10
,
total
:
10
,
current
:
1
,
defaultCurrent
:
1
,
showQuickJumper
:
true
,
onChange
:
this
.
pageChange
},
}
},
methods
:
{
pageChange
(
val
)
{
this
.
pagination
.
pageNo
=
val
this
.
pagination
.
current
=
val
// this.getCompanyList()
},
onSelectChange
(
selectedRowKeys
)
{
this
.
selectedRowKeys
=
selectedRowKeys
}
}
}
</
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