diff --git a/public/img/pro_new.svg b/public/img/pro_new.svg new file mode 100644 index 000000000..13dd3d83b --- /dev/null +++ b/public/img/pro_new.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web_src/js/components/DataAnalysis.vue b/web_src/js/components/DataAnalysis.vue index 931f10e36..026c02bd1 100755 --- a/web_src/js/components/DataAnalysis.vue +++ b/web_src/js/components/DataAnalysis.vue @@ -13,7 +13,7 @@ - + 项目分析 diff --git a/web_src/js/components/ProAnalysis.vue b/web_src/js/components/ProAnalysis.vue index 5b61e92a0..1999abd7d 100755 --- a/web_src/js/components/ProAnalysis.vue +++ b/web_src/js/components/ProAnalysis.vue @@ -199,9 +199,9 @@
OpenI指数:{{tableDataIDTotal.openi | rounding}}
- + - +
@@ -292,7 +292,7 @@ commit -
+
@@ -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; } - \ No newline at end of file +