zhbyyy 2 éve
szülő
commit
522b7f34b2

+ 1 - 1
manpower/index5.html

@@ -51,7 +51,7 @@
         <dv-border-box-8 :dur="11" style="flex: 1;">
           <div class="my-panel">
             <div class="panel-title flex-between">
-              <span class="text">定职数</span>
+              <span class="text">定职数11111</span>
               <div>
                 <span class="tip-window" @click.stop="handleShowTip(1,'focus')">关注重点</span>
                 <span class="tip-window" @click.stop="handleShowTip(1,'analysis')">智能分析</span>

+ 2 - 2
manpowerPort/js/index.js

@@ -38,7 +38,7 @@ let app = new Vue({
         oddRowBGC: '#69c0ff0f',
         // waitTime: '50000',
         evenRowBGC: '',
-        headerHeight: '40',
+        headerHeight: '60',
         columnWidth: [150, 150],
         rowNum: 4,
         align: ['right', 'center', 'center', 'center'],
@@ -49,7 +49,7 @@ let app = new Vue({
         headerBGC: '#05507b33',
         oddRowBGC: '#05507b33',
         evenRowBGC: '',
-        headerHeight: '40',
+        headerHeight: '60',
         columnWidth: [150],
         rowNum: 4,
         align: ['center', 'center', 'center', 'center', 'center'],

+ 2 - 2
manpowerPort/js/index2.js

@@ -34,7 +34,7 @@ let app = new Vue({
         headerBGC: '#05507b33',
         oddRowBGC: '#69c0ff0f',
         evenRowBGC: '',
-        headerHeight: '40',
+        headerHeight: '50',
         rowNum: 4,
         align: ['center', 'center', 'center', 'center'],
         data: [],
@@ -44,7 +44,7 @@ let app = new Vue({
         headerBGC: '#05507b33',
         oddRowBGC: '#05507b33',
         evenRowBGC: '',
-        headerHeight: '40',
+        headerHeight: '50',
         rowNum: 4,
         align: ['center', 'center', 'center', 'center'],
         data: [],

+ 18 - 14
manpowerPort/js/index2JNKG.js

@@ -34,7 +34,7 @@ let app = new Vue({
         headerBGC: '#05507b33',
         oddRowBGC: '#69c0ff0f',
         evenRowBGC: '',
-        headerHeight: '40',
+        headerHeight: '50',
         rowNum: 4,
         align: ['center', 'center', 'center', 'center'],
         data: [],
@@ -44,7 +44,7 @@ let app = new Vue({
         headerBGC: '#05507b33',
         oddRowBGC: '#05507b33',
         evenRowBGC: '',
-        headerHeight: '40',
+        headerHeight: '50',
         rowNum: 4,
         align: ['center', 'center', 'center', 'center'],
         data: [],
@@ -244,6 +244,8 @@ let app = new Vue({
           dataL3[0] = []
           res.orgData.area2.card1.forEach(item => {
             dataL3[0].push(item['ZBPZ0091'])
+            dataL3[0].push(item['ZBPZ0091'])
+            dataL3[0].push(item['ZBPZ0091'])
           })
           // 各二级企业管理人员数
           dataL4[1] = []
@@ -421,18 +423,20 @@ let app = new Vue({
           //   }
           // })
           this.generateEcharts()
-          this.timeCommon = setInterval(() => {
-            if (that.touch) {
-              if (that.commonOption.dataZoom[0].startValue < that.companyList.length) {
-                that.commonOption.dataZoom[0].endValue += 18
-                that.commonOption.dataZoom[0].startValue += 18
-              } else {
-                that.commonOption.dataZoom[0].endValue = 0
-                that.commonOption.dataZoom[0].startValue = 18
+          if (this.companyList.length > 18) {
+            this.timeCommon = setInterval(() => {
+              if (that.touch) {
+                if (that.commonOption.dataZoom[0].startValue < that.companyList.length) {
+                  that.commonOption.dataZoom[0].endValue += 18
+                  that.commonOption.dataZoom[0].startValue += 18
+                } else {
+                  that.commonOption.dataZoom[0].endValue = 0
+                  that.commonOption.dataZoom[0].startValue = 18
+                }
+                that.generateEcharts()
               }
-              that.generateEcharts()
-            }
-          }, 5000)
+            }, 5000)
+          }
           resolve(1)
         })
       });
@@ -891,7 +895,7 @@ let app = new Vue({
                 color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
                   {
                     offset: 0,
-                    color: '#6480f3',
+                    color: '#43ede3',
                   },
                   {
                     offset: 1,

+ 2 - 2
manpowerPort/js/index3.js

@@ -32,7 +32,7 @@ let app = new Vue({
         headerBGC: '#05507b33',
         oddRowBGC: '#69c0ff0f',
         evenRowBGC: '',
-        headerHeight: '40',
+        headerHeight: '50',
         rowNum: 4,
         align: ['center', 'center', 'center', 'center'],
         data: [],
@@ -42,7 +42,7 @@ let app = new Vue({
         headerBGC: '#05507b33',
         oddRowBGC: '#05507b33',
         evenRowBGC: '',
-        headerHeight: '40',
+        headerHeight: '50',
         rowNum: 4,
         align: ['center', 'center', 'center', 'center'],
         data: [],

+ 18 - 4
manpowerPort/js/index3MT.js

@@ -32,7 +32,7 @@ let app = new Vue({
         headerBGC: '#05507b33',
         oddRowBGC: '#69c0ff0f',
         evenRowBGC: '',
-        headerHeight: '40',
+        headerHeight: '50',
         rowNum: 4,
         align: ['center', 'center', 'center', 'center'],
         data: [],
@@ -42,7 +42,7 @@ let app = new Vue({
         headerBGC: '#05507b33',
         oddRowBGC: '#05507b33',
         evenRowBGC: '',
-        headerHeight: '40',
+        headerHeight: '50',
         rowNum: 4,
         align: ['center', 'center', 'center', 'center'],
         data: [],
@@ -273,7 +273,7 @@ let app = new Vue({
           // 各二级企业所属架构数
           dataL2[0] = []
           res.orgData.area1.card2.forEach(item => {
-            dataL2[0].push(item['ZBPZ0024'])
+            dataL2[0].push(item['ZBPZ0090'])
           })
 
           // 定职数
@@ -458,6 +458,20 @@ let app = new Vue({
           //   }
           // })
           this.generateEcharts()
+          if (this.companyList.length > 18) {
+            this.timeCommon = setInterval(() => {
+              if (that.touch) {
+                if (that.commonOption.dataZoom[0].startValue < that.companyList.length) {
+                  that.commonOption.dataZoom[0].endValue += 18
+                  that.commonOption.dataZoom[0].startValue += 18
+                } else {
+                  that.commonOption.dataZoom[0].endValue = 0
+                  that.commonOption.dataZoom[0].startValue = 18
+                }
+                that.generateEcharts()
+              }
+            }, 5000)
+          }
           resolve(1)
         })
       });
@@ -871,7 +885,7 @@ let app = new Vue({
                 color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
                   {
                     offset: 0,
-                    color: '#6480f3',
+                    color: '#43ede3',
                   },
                   {
                     offset: 1,

+ 2 - 2
manpowerPort/js/index4.js

@@ -32,7 +32,7 @@ let app = new Vue({
         headerBGC: '#05507b33',
         oddRowBGC: '#69c0ff0f',
         evenRowBGC: '',
-        headerHeight: '40',
+        headerHeight: '50',
         rowNum: 4,
         align: ['center', 'center', 'center', 'center'],
         data: [],
@@ -42,7 +42,7 @@ let app = new Vue({
         headerBGC: '#05507b33',
         oddRowBGC: '#05507b33',
         evenRowBGC: '',
-        headerHeight: '40',
+        headerHeight: '50',
         rowNum: 4,
         align: ['center', 'center', 'center', 'center'],
         data: [],

+ 27 - 13
manpowerPort/js/index4SY.js

@@ -32,7 +32,7 @@ let app = new Vue({
         headerBGC: '#05507b33',
         oddRowBGC: '#69c0ff0f',
         evenRowBGC: '',
-        headerHeight: '40',
+        headerHeight: '50',
         rowNum: 4,
         align: ['center', 'center', 'center', 'center'],
         data: [],
@@ -42,7 +42,7 @@ let app = new Vue({
         headerBGC: '#05507b33',
         oddRowBGC: '#05507b33',
         evenRowBGC: '',
-        headerHeight: '40',
+        headerHeight: '50',
         rowNum: 4,
         align: ['center', 'center', 'center', 'center'],
         data: [],
@@ -246,7 +246,7 @@ let app = new Vue({
           // 各二级企业所属架构数
           dataL2[0] = []
           res.orgData.area1.card2.forEach(item => {
-            dataL2[0].push(item['ZBPZ0024'])
+            dataL2[0].push(item['ZBPZ0090'])
           })
 
           // 定职数
@@ -430,6 +430,20 @@ let app = new Vue({
             }
           })
           this.generateEcharts()
+          if (this.companyList.length > 18) {
+            this.timeCommon = setInterval(() => {
+              if (that.touch) {
+                if (that.commonOption.dataZoom[0].startValue < that.companyList.length) {
+                  that.commonOption.dataZoom[0].endValue += 18
+                  that.commonOption.dataZoom[0].startValue += 18
+                } else {
+                  that.commonOption.dataZoom[0].endValue = 0
+                  that.commonOption.dataZoom[0].startValue = 18
+                }
+                that.generateEcharts()
+              }
+            }, 5000)
+          }
           resolve(1)
         })
       });
@@ -842,7 +856,7 @@ let app = new Vue({
                 color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
                   {
                     offset: 0,
-                    color: '#6480f3',
+                    color: '#43ede3',
                   },
                   {
                     offset: 1,
@@ -1790,14 +1804,14 @@ let app = new Vue({
             y: 0,
             x2: 0,
             y2: 1,
-            colorStops: [         {
-                      offset: 0,
-                      color: '#45DAD1',
-                    },
-                    {
-                      offset: 1,
-                      color: '#082550',
-                    },],
+            colorStops: [{
+              offset: 0,
+              color: '#45DAD1',
+            },
+            {
+              offset: 1,
+              color: '#082550',
+            },],
           }
         ],
         series: [
@@ -1949,7 +1963,7 @@ let app = new Vue({
                 color: params => {
                   if (dataR4[0][params.dataIndex] / 2 < params.value) {
                     return 'red'
-                  } 
+                  }
                   else {
                     return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
                       {