Commit 35cf54ef authored by xiexingan's avatar xiexingan

提交

parent 9a0f5740
...@@ -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;
......
...@@ -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%',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment