Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
918e8b4b
Commit
918e8b4b
authored
Oct 19, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页待办数单独接口
parent
b45aeb5e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
PanelGroup.vue
src/views/dashboard/PanelGroup.vue
+7
-2
No files found.
src/views/dashboard/PanelGroup.vue
View file @
918e8b4b
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<div
class=
"card-panel-text"
>
<div
class=
"card-panel-text"
>
{{
$t
(
'
待办事项
'
)
}}
{{
$t
(
'
待办事项
'
)
}}
</div>
</div>
<count-to
:start-val=
"0"
:end-val=
"
data.
todoCount"
:duration=
"3200"
class=
"card-panel-num"
/>
<count-to
:start-val=
"0"
:end-val=
"todoCount"
:duration=
"3200"
class=
"card-panel-num"
/>
</div>
</div>
</div>
</div>
</el-col>
</el-col>
...
@@ -72,13 +72,15 @@
...
@@ -72,13 +72,15 @@
import
CountTo
from
'
vue-count-to
'
import
CountTo
from
'
vue-count-to
'
import
{
panelData
}
from
'
@/api/system/pannel
'
import
{
panelData
}
from
'
@/api/system/pannel
'
import
{
checkPermi
}
from
'
@/utils/permission
'
import
{
checkPermi
}
from
'
@/utils/permission
'
import
{
taskTodoCount
}
from
'
@/api/bpm/task
'
export
default
{
export
default
{
components
:
{
components
:
{
CountTo
CountTo
},
},
data
(){
data
(){
return
{
return
{
data
:
null
data
:
null
,
todoCount
:
0
}
}
},
},
methods
:
{
methods
:
{
...
@@ -91,6 +93,9 @@ export default {
...
@@ -91,6 +93,9 @@ export default {
panelData
().
then
(
res
=>
{
panelData
().
then
(
res
=>
{
this
.
data
=
res
.
data
this
.
data
=
res
.
data
})
})
taskTodoCount
().
then
(
res
=>
{
this
.
todoCount
=
res
.
data
})
}
}
}
}
</
script
>
</
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