zhbyyy 2 lat temu
rodzic
commit
073f8e54d4
2 zmienionych plików z 4 dodań i 5 usunięć
  1. 1 1
      manpower/js/fjx.js
  2. 3 4
      manpowerPort/js/index.js

+ 1 - 1
manpower/js/fjx.js

@@ -50,7 +50,7 @@ const tipData =
   ],
   focus: [
     [
-      '&nbsp&nbsp&nbsp&nbsp● 18家123省属企业总部机构平均数量由25个降到15个','&nbsp&nbsp&nbsp&nbsp● 内设机构平均数量由103个降到26个','&nbsp&nbsp&nbsp&nbsp● 一律取消二级内设机构'
+      '&nbsp&nbsp&nbsp&nbsp● 18家省属企业总部机构平均数量由25个降到15个','&nbsp&nbsp&nbsp&nbsp● 内设机构平均数量由103个降到26个','&nbsp&nbsp&nbsp&nbsp● 一律取消二级内设机构'
     ],
     [
       '&nbsp&nbsp&nbsp&nbsp● 省管干部减少82人','&nbsp&nbsp&nbsp&nbsp● 总经理助理级和中层管理人员分别减少一半以上'

+ 3 - 4
manpowerPort/js/index.js

@@ -160,8 +160,7 @@ let app = new Vue({
           },
         },
         xAxis: {
-          // data: companyList.map(item => item.name),
-          data: '123123',
+          data: companyList.map(item => item.name),
           axisLine: {
             show: false, //隐藏X轴轴线
             lineStyle: {
@@ -233,7 +232,6 @@ let app = new Vue({
     // })
   },
   mounted () {
-    let a = [1, 2, 3, 4, 5, 6, 7]
     if (!sessionStorage.getItem('accounts', this.accounts)) {
       window.location.href = './login/login.html'
       return
@@ -244,6 +242,7 @@ let app = new Vue({
       this.time = formatDate()
     }, 1000)
     this.centerData = data
+    this.generateEcharts()
   },
   beforeDestroy () {
     if (this.timer) {
@@ -468,7 +467,7 @@ let app = new Vue({
           // 弹窗
           // tipData.focus[3] = res.orgData.area9.keyPoint
           // tipData.analysis[3] = res.orgData.area9.intAnalysis
-          // 各省属企业全员劳动生产
+          // 劳动生产各省属企业全员率
           c1[0] = []
           c1[1] = []
           res.orgData.area9.card1.forEach(item => {