Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
energyai_vue
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
葛齐林
energyai_vue
Commits
35cf54ef
Commit
35cf54ef
authored
Apr 21, 2021
by
xiexingan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
9a0f5740
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
index.vue
src/pages/analysis/fault/index.vue
+3
-4
chart.vue
src/pages/components/chart.vue
+2
-1
No files found.
src/pages/analysis/fault/index.vue
View file @
35cf54ef
...
@@ -14,10 +14,10 @@ card-warp(title="故障报警分析", height="45px", showBackground)
...
@@ -14,10 +14,10 @@ card-warp(title="故障报警分析", height="45px", showBackground)
.echartsWarp(width="100%", flex)
.echartsWarp(width="100%", flex)
div
div
.title 设备类型故障数量统计
.title 设备类型故障数量统计
pie(:data=
"typeList" ,id="123", :typeLegend="typeLegend"
)
pie(:data=
'typeList' , id='123'
)
div
div
.title 设备故障数量统计
.title 设备故障数量统计
pie2
#daad(:data="idList", :legendData="legendData"
)
pie2
(:data='idList' , id='daad' :legendData='legendData'
)
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -38,7 +38,6 @@ export default {
...
@@ -38,7 +38,6 @@ export default {
],
],
currentActive
:
1
,
currentActive
:
1
,
typeList
:
[],
typeList
:
[],
typeLegend
:
[],
idList
:
[],
idList
:
[],
legendData
:
[]
legendData
:
[]
}
}
...
@@ -96,7 +95,7 @@ export default {
...
@@ -96,7 +95,7 @@ export default {
color
:
#000000
;
color
:
#000000
;
line-height
:
40px
;
line-height
:
40px
;
&
:
:
before
{
&
:
:
before
{
content
:
""
;
content
:
''
;
display
:
inline-block
;
display
:
inline-block
;
width
:
10px
;
width
:
10px
;
height
:
10px
;
height
:
10px
;
...
...
src/pages/components/chart.vue
View file @
35cf54ef
...
@@ -29,7 +29,8 @@ export default {
...
@@ -29,7 +29,8 @@ export default {
text
:
this
.
title
text
:
this
.
title
},
},
tooltip
:
{
tooltip
:
{
trigger
:
'axis'
trigger
:
'axis'
,
transitionDuration
:
0
},
},
grid
:
{
grid
:
{
left
:
'3%'
,
left
:
'3%'
,
...
...
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