Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Chatopera OpenSource
/
ferry_web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8856175a
authored
Aug 25, 2021
by
lanyulei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 首页工单类型数量支持跳转。
parent
58dab88c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
src/views/dashboard/admin/index.vue
src/views/dashboard/admin/index.vue
View file @
8856175a
...
@@ -2,28 +2,28 @@
...
@@ -2,28 +2,28 @@
<div
class=
"dashboard-editor-container"
>
<div
class=
"dashboard-editor-container"
>
<el-row
:gutter=
"12"
>
<el-row
:gutter=
"12"
>
<el-col
:sm=
"24"
:xs=
"24"
:md=
"6"
:xl=
"6"
:lg=
"6"
:style=
"
{ marginBottom: '12px' }">
<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"
>
<el-tooltip
slot=
"action"
class=
"item"
effect=
"dark"
content=
"指标说明"
placement=
"top-start"
>
<i
class=
"el-icon-warning-outline"
/>
<i
class=
"el-icon-warning-outline"
/>
</el-tooltip>
</el-tooltip>
</chart-card>
</chart-card>
</el-col>
</el-col>
<el-col
:sm=
"24"
:xs=
"24"
:md=
"6"
:xl=
"6"
:lg=
"6"
:style=
"
{ marginBottom: '12px' }">
<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"
>
<el-tooltip
slot=
"action"
class=
"item"
effect=
"dark"
content=
"指标说明"
placement=
"top-start"
>
<i
class=
"el-icon-warning-outline"
/>
<i
class=
"el-icon-warning-outline"
/>
</el-tooltip>
</el-tooltip>
</chart-card>
</chart-card>
</el-col>
</el-col>
<el-col
:sm=
"24"
:xs=
"24"
:md=
"6"
:xl=
"6"
:lg=
"6"
:style=
"
{ marginBottom: '12px' }">
<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"
>
<el-tooltip
slot=
"action"
class=
"item"
effect=
"dark"
content=
"指标说明"
placement=
"top-start"
>
<i
class=
"el-icon-warning-outline"
/>
<i
class=
"el-icon-warning-outline"
/>
</el-tooltip>
</el-tooltip>
</chart-card>
</chart-card>
</el-col>
</el-col>
<el-col
:sm=
"24"
:xs=
"24"
:md=
"6"
:xl=
"6"
:lg=
"6"
:style=
"
{ marginBottom: '12px' }">
<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"
>
<el-tooltip
slot=
"action"
class=
"item"
effect=
"dark"
content=
"指标说明"
placement=
"top-start"
>
<i
class=
"el-icon-warning-outline"
/>
<i
class=
"el-icon-warning-outline"
/>
</el-tooltip>
</el-tooltip>
...
@@ -146,12 +146,14 @@ export default {
...
@@ -146,12 +146,14 @@ export default {
})
})
},
},
timeScreening
()
{
timeScreening
()
{
console
.
log
(
this
.
querys
)
if
(
this
.
querys
.
length
>
1
)
{
if
(
this
.
querys
.
length
>
1
)
{
this
.
queryList
.
start_time
=
this
.
querys
[
0
]
this
.
queryList
.
start_time
=
this
.
querys
[
0
]
this
.
queryList
.
end_time
=
this
.
querys
[
1
]
this
.
queryList
.
end_time
=
this
.
querys
[
1
]
this
.
getInitData
()
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