Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
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
TFMOM
TF-MOM-WEB
Commits
b85cd758
Commit
b85cd758
authored
Jul 24, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页站位完工统计环形图默认展示已完工
parent
f93f9219
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
stationPie.vue
...dee-task-center/src/views/home/compontents/stationPie.vue
+5
-5
No files found.
applications/dee-task-center/src/views/home/compontents/stationPie.vue
View file @
b85cd758
...
@@ -24,6 +24,10 @@ export default {
...
@@ -24,6 +24,10 @@ export default {
immediate
:
true
,
immediate
:
true
,
handler
(
val
)
{
handler
(
val
)
{
this
.
datas
=
[
this
.
datas
=
[
{
value
:
this
.
item
.
countCarry
,
name
:
'已完工'
// 已完工
},
{
{
value
:
this
.
item
.
countUndone
,
value
:
this
.
item
.
countUndone
,
name
:
'未开工'
// 未完成
name
:
'未开工'
// 未完成
...
@@ -31,10 +35,6 @@ export default {
...
@@ -31,10 +35,6 @@ export default {
{
{
value
:
this
.
item
.
countNotOk
,
value
:
this
.
item
.
countNotOk
,
name
:
'执行中'
// 执行中
name
:
'执行中'
// 执行中
},
{
value
:
this
.
item
.
countCarry
,
name
:
'已完工'
// 已完工
}
}
]
]
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
@@ -55,7 +55,7 @@ export default {
...
@@ -55,7 +55,7 @@ export default {
methods
:
{
methods
:
{
setPieOption
()
{
setPieOption
()
{
this
.
pieOption
=
{
this
.
pieOption
=
{
color
:
[
'
blue'
,
'#f2743a'
,
'#13b346
'
],
// 环形的分段色值设置
color
:
[
'
#13b346'
,
'blue'
,
'#f2743a
'
],
// 环形的分段色值设置
title
:
{
title
:
{
text
:
this
.
item
.
name
,
text
:
this
.
item
.
name
,
color
:
'#3F3F3F'
,
color
:
'#3F3F3F'
,
...
...
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