|
|
@ -101,6 +101,7 @@
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<% if @work.myshixun.present? %>
|
|
|
|
<div class="bor-grey-e mt20">
|
|
|
|
<div class="bor-grey-e mt20">
|
|
|
|
<p class="pt10 pb10 pl15 pr15 clearfix bor-bottom-greyE">
|
|
|
|
<p class="pt10 pb10 pl15 pr15 clearfix bor-bottom-greyE">
|
|
|
|
<span class="fl font-bd">图形统计</span>
|
|
|
|
<span class="fl font-bd">图形统计</span>
|
|
|
@ -224,6 +225,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</body>
|
|
|
@ -261,6 +263,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 基于准备好的dom,初始化echarts实例
|
|
|
|
// 基于准备好的dom,初始化echarts实例
|
|
|
|
|
|
|
|
if(document.getElementById('shixun_skill_chart')){
|
|
|
|
var effChart = echarts.init(document.getElementById('shixun_skill_chart'));
|
|
|
|
var effChart = echarts.init(document.getElementById('shixun_skill_chart'));
|
|
|
|
// 指定图表的配置项和数据
|
|
|
|
// 指定图表的配置项和数据
|
|
|
|
var option = {
|
|
|
|
var option = {
|
|
|
@ -357,6 +360,9 @@
|
|
|
|
// 使用刚指定的配置项和数据显示图表
|
|
|
|
// 使用刚指定的配置项和数据显示图表
|
|
|
|
effChart.setOption(option);
|
|
|
|
effChart.setOption(option);
|
|
|
|
console.debug(<%= @myself_consume %>);
|
|
|
|
console.debug(<%= @myself_consume %>);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(document.getElementById('shixun_skill_chart')) {
|
|
|
|
var ablChart = echarts.init(document.getElementById('shixun_overall_ablility_chart'));
|
|
|
|
var ablChart = echarts.init(document.getElementById('shixun_overall_ablility_chart'));
|
|
|
|
var dataBJ = <%= @echart_data[:consume_list] %>;
|
|
|
|
var dataBJ = <%= @echart_data[:consume_list] %>;
|
|
|
|
var schema = [
|
|
|
|
var schema = [
|
|
|
@ -471,5 +477,6 @@
|
|
|
|
// 使用刚指定的配置项和数据显示图表。
|
|
|
|
// 使用刚指定的配置项和数据显示图表。
|
|
|
|
ablChart.setOption(option1);
|
|
|
|
ablChart.setOption(option1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
</html>
|
|
|
|
</html>
|
|
|
|