Commit 35cf54ef authored by xiexingan's avatar xiexingan

提交

parent 9a0f5740
......@@ -14,10 +14,10 @@ card-warp(title="故障报警分析", height="45px", showBackground)
.echartsWarp(width="100%", flex)
div
.title 设备类型故障数量统计
pie(:data="typeList" ,id="123", :typeLegend="typeLegend")
pie(:data='typeList' , id='123')
div
.title 设备故障数量统计
pie2#daad(:data="idList", :legendData="legendData")
pie2(:data='idList' , id='daad' :legendData='legendData')
</template>
<script>
......@@ -38,7 +38,6 @@ export default {
],
currentActive: 1,
typeList: [],
typeLegend: [],
idList: [],
legendData: []
}
......@@ -96,7 +95,7 @@ export default {
color: #000000;
line-height: 40px;
&::before {
content: "";
content: '';
display: inline-block;
width: 10px;
height: 10px;
......
......@@ -29,7 +29,8 @@ export default {
text: this.title
},
tooltip: {
trigger: 'axis'
trigger: 'axis',
transitionDuration: 0
},
grid: {
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