zhbyyy 1 år sedan
förälder
incheckning
51d97c6c52
2 ändrade filer med 12 tillägg och 6 borttagningar
  1. 3 3
      manpower/index5.html
  2. 9 3
      manpower/js/index5.js

+ 3 - 3
manpower/index5.html

@@ -206,7 +206,7 @@
 
       </div>
       <div class="right">
-        <dv-border-box-8 :dur="10" style="flex: 2">
+        <dv-border-box-8 :dur="10" style="flex: 1">
           <div class="my-panel">
             <div class="panel-title flex-between">
               <span class="text">定机制</span>
@@ -236,7 +236,7 @@
             </div>
             <div class="content flex">
               <div ref="echartR5" style="flex: 1;height: 100%;"></div>
-              <div ref="echartR6" style="flex: 1;height: 100%;"></div>
+              <!-- <div ref="echartR6" style="flex: 1;height: 100%;"></div> -->
             </div>
           </div>
         </dv-border-box-8>
@@ -251,7 +251,7 @@
             </div>
             <div class="content flex">
               <div ref="echartR7" style="flex: 1;height: 100%;"></div>
-              <div ref="echartR8" style="flex: 1;height: 100%;"></div>
+              <!-- <div ref="echartR8" style="flex: 1;height: 100%;"></div> -->
             </div>
           </div>
         </dv-border-box-8>

+ 9 - 3
manpower/js/index5.js

@@ -226,14 +226,14 @@ let app = new Vue({
     this.initChartC1()
     this.initChartC2()
     // 右侧图表
-    // this.initChartR1() 右上
+    // this.initChartR1() //右上
     // this.initChartR2()
     // this.initChartR3()
     this.initChartR4()
     this.initChartR5()
-    this.initChartR6()
+    // this.initChartR6() // 右中
     this.initChartR7()
-    this.initChartR8()
+    // this.initChartR8() //右下
   },
   beforeDestroy () {
     if (this.timer) {
@@ -2028,6 +2028,8 @@ let app = new Vue({
       }
       option.title.text = '各省属企业"退二进一"完成情况'
       option.legend.data = ['2022年退出人数', '2022年累计招聘人数']
+      option.grid.right  = '3%'
+      option.grid.left  = '3%'
       option.legend.show = true
       option.yAxis[0] = {
         //type: 'log',
@@ -2124,6 +2126,8 @@ let app = new Vue({
       }
       option.title.text = '各省属企业在岗职工平均薪酬'
       option.legend.data = ['去年同期在岗职工平均薪酬', '在岗职工平均薪酬']
+      option.grid.right  = '3%'
+      option.grid.left  = '3%'
       option.legend.show = true
       option.yAxis.push({
         splitLine: {
@@ -2292,6 +2296,8 @@ let app = new Vue({
         ],
       }
       option.title.text = '各省属企业全员绩效考核'
+      option.grid.right  = '3%'
+      option.grid.left  = '3%'
       option.legend.show = true
       option.tooltip = {
         trigger: 'axis',