|
|
@@ -199,9 +199,9 @@ |
|
|
|
<div class="item_l" id="charts"> |
|
|
|
<div style="font-size:14px;color:#409eff;margin:20px 5px;">OpenI指数:{{tableDataIDTotal.openi | rounding}}</div> |
|
|
|
<div > |
|
|
|
<el-col :span='8' id="radar_openi" :style="{width: '400px', height: '300px'}"></el-col> |
|
|
|
<el-col :span='8' id="radar_openi" :style="{ height: '300px'}"></el-col> |
|
|
|
|
|
|
|
<el-col :span='16' id="line_openi" :style="{width: '600px', height: '300px',float:'right'}"></el-col> |
|
|
|
<el-col :span='16' id="line_openi" :style="{ height: '300px',float:'right'}"></el-col> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-col> |
|
|
@@ -292,7 +292,7 @@ |
|
|
|
<input type="checkbox" class="checkboxchart" name="checkboxchart" checked="checked" value="commit"/>commit |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
<div id ="selectData" style="width: 1280px;height: 300px;"> |
|
|
|
<div id ="selectData" style="height: 300px;"> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
@@ -712,8 +712,9 @@ |
|
|
|
params:this.paramsID |
|
|
|
}).then((res)=>{ |
|
|
|
if (bool_val){ |
|
|
|
this.tableDataIDOpenI = res.data |
|
|
|
this.tableDataIDOpenI = res.data |
|
|
|
this.drawOpenItrend() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}else{ |
|
|
@@ -925,6 +926,11 @@ |
|
|
|
] |
|
|
|
}; |
|
|
|
this.echartsOITd.setOption(option) |
|
|
|
// setTimeout(function (){ |
|
|
|
// window.onresize = function () { |
|
|
|
// this.echartsOITd.resize(); |
|
|
|
// } |
|
|
|
// },200) |
|
|
|
|
|
|
|
}, |
|
|
|
drawSelectData(){ |
|
|
@@ -1018,6 +1024,11 @@ |
|
|
|
] |
|
|
|
}; |
|
|
|
this.echartsSelectData.setOption(this.option) |
|
|
|
// setTimeout(function (){ |
|
|
|
// window.onresize = function () { |
|
|
|
// this.echartsSelectData.resize; |
|
|
|
// } |
|
|
|
// },200) |
|
|
|
|
|
|
|
// // 使用刚指定的选择项数据显示图表。 |
|
|
|
// var selectArr = this.echartsSelectData.getOption().legend[0].data;//legend所有值 |
|
|
@@ -1117,14 +1128,13 @@ |
|
|
|
|
|
|
|
|
|
|
|
mounted() { |
|
|
|
// document.getElementById("all").style.outline="none" |
|
|
|
// document.getElementById("all").focus() |
|
|
|
|
|
|
|
this.getAllProList("all",7) |
|
|
|
console.log("id:"+this.pro_id); |
|
|
|
// document.getElementById('radar_openi').style.width = document.getElementById('charts').offsetWidth*0.4+'px' |
|
|
|
// document.getElementById('line_openi').style.width = document.getElementById('charts').offsetWidth*0.6+'px' |
|
|
|
// document.getElementById('selectData').style.width = document.getElementById('linecharts').offsetWidth+'px' |
|
|
|
|
|
|
|
|
|
|
|
document.getElementById('radar_openi').style.width = document.getElementById('pro_main').offsetWidth*0.22+'px' |
|
|
|
document.getElementById('line_openi').style.width = document.getElementById('pro_main').offsetWidth*0.33+'px' |
|
|
|
document.getElementById('selectData').style.width = document.getElementById('pro_main').offsetWidth*0.8+'px' |
|
|
|
this.radarOpenI = this.$echarts.init(document.getElementById('radar_openi')) |
|
|
|
this.echartsOITd = this.$echarts.init(document.getElementById('line_openi')) |
|
|
|
this.echartsSelectData = this.$echarts.init(document.getElementById('selectData')) |
|
|
@@ -1266,4 +1276,4 @@ |
|
|
|
margin-top: 10px; |
|
|
|
font-weight:bold; |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |