Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
work-order-web
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
张圳龙
work-order-web
Commits
8856175a
Commit
8856175a
authored
Aug 25, 2021
by
lanyulei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 首页工单类型数量支持跳转。
parent
58dab88c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
index.vue
src/views/dashboard/admin/index.vue
+7
-5
No files found.
src/views/dashboard/admin/index.vue
View file @
8856175a
...
...
@@ -2,28 +2,28 @@
<div
class=
"dashboard-editor-container"
>
<el-row
:gutter=
"12"
>
<el-col
:sm=
"24"
:xs=
"24"
:md=
"6"
:xl=
"6"
:lg=
"6"
:style=
"
{ marginBottom: '12px' }">
<chart-card
title=
"工单总数"
:total=
"dashboardValue.count.all"
>
<chart-card
title=
"工单总数"
:total=
"dashboardValue.count.all"
style=
"cursor: pointer"
@
click
.
native=
"toTicketList('/process/all')"
>
<el-tooltip
slot=
"action"
class=
"item"
effect=
"dark"
content=
"指标说明"
placement=
"top-start"
>
<i
class=
"el-icon-warning-outline"
/>
</el-tooltip>
</chart-card>
</el-col>
<el-col
:sm=
"24"
:xs=
"24"
:md=
"6"
:xl=
"6"
:lg=
"6"
:style=
"
{ marginBottom: '12px' }">
<chart-card
title=
"我创建的"
:total=
"dashboardValue.count.my_create"
>
<chart-card
title=
"我创建的"
:total=
"dashboardValue.count.my_create"
style=
"cursor: pointer"
@
click
.
native=
"toTicketList('/process/my-create')"
>
<el-tooltip
slot=
"action"
class=
"item"
effect=
"dark"
content=
"指标说明"
placement=
"top-start"
>
<i
class=
"el-icon-warning-outline"
/>
</el-tooltip>
</chart-card>
</el-col>
<el-col
:sm=
"24"
:xs=
"24"
:md=
"6"
:xl=
"6"
:lg=
"6"
:style=
"
{ marginBottom: '12px' }">
<chart-card
title=
"我相关的"
:total=
"dashboardValue.count.related"
>
<chart-card
title=
"我相关的"
:total=
"dashboardValue.count.related"
style=
"cursor: pointer"
@
click
.
native=
"toTicketList('/process/related')"
>
<el-tooltip
slot=
"action"
class=
"item"
effect=
"dark"
content=
"指标说明"
placement=
"top-start"
>
<i
class=
"el-icon-warning-outline"
/>
</el-tooltip>
</chart-card>
</el-col>
<el-col
:sm=
"24"
:xs=
"24"
:md=
"6"
:xl=
"6"
:lg=
"6"
:style=
"
{ marginBottom: '12px' }">
<chart-card
title=
"我的待办"
:total=
"dashboardValue.count.upcoming"
>
<chart-card
title=
"我的待办"
:total=
"dashboardValue.count.upcoming"
style=
"cursor: pointer"
@
click
.
native=
"toTicketList('/process/upcoming')"
>
<el-tooltip
slot=
"action"
class=
"item"
effect=
"dark"
content=
"指标说明"
placement=
"top-start"
>
<i
class=
"el-icon-warning-outline"
/>
</el-tooltip>
...
...
@@ -146,12 +146,14 @@ export default {
})
},
timeScreening
()
{
console
.
log
(
this
.
querys
)
if
(
this
.
querys
.
length
>
1
)
{
this
.
queryList
.
start_time
=
this
.
querys
[
0
]
this
.
queryList
.
end_time
=
this
.
querys
[
1
]
this
.
getInitData
()
}
},
toTicketList
(
path
)
{
this
.
$router
.
push
({
path
:
path
})
}
}
}
...
...
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