小小儁爺
2024-09-20 dff1f3ff97550bd88468c365fefe1e8119467577
src/views/kanbanManager/cj.vue
@@ -10,7 +10,7 @@
        </div>
        <div class="kb_headTime kb_header_text" style="top: 35px;left:  800px">
          <span>装配车间数字化看板</span>
          <span>注塑车间数字化看板</span>
        </div>
        <div class="kb_headTime" style="top: 35px;right:  25px">
@@ -133,7 +133,7 @@
        ],
        // index: true,
        columnWidth: [150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150],
        columnWidth: [200, 140, 150, 290, 130, 130, 130, 130, 130, 130, 130, 130, 130],
        align: ['center', 'center', 'center', 'center', 'center', 'center', 'center', 'center', 'center', 'center', 'center', 'center', 'center']
        // carousel: 'page'
      }
@@ -159,7 +159,7 @@
  },
  methods: {
    getWorkShopProduceTopData() {
      WorkShopProduceTopData().then(res => {
      WorkShopProduceTopData({ wkshopcode: '1501' }).then(res => {
        const flag = this.compareArrays(this.configTableTop.data, res.data)
        if (!flag) {
          this.configTableTop.data = res.data.map(i =>
@@ -184,7 +184,7 @@
      })
    },
    async getWorkShopProduceBottomLeftData() {
      const res4 = await WorkShopProduceBottomLeftData()
      const res4 = await WorkShopProduceBottomLeftData({ wkshopcode: '1501' })
      this.cjzl03_xData = res4.data.map(i => i.click_date)
      this.cjzl03_yData = res4.data.map(i => i.count)
@@ -192,7 +192,7 @@
    },
    async getWorkShopProduceBottomRightData() {
      const res5 = await WorkShopProduceBottomRightData()
      const res5 = await WorkShopProduceBottomRightData({ wkshopcode: '1501' })
      this.RightBottom = res5.data
      if (this.RightBottom.length > 0) {
        loadEcharts('cjzl04', cjzl04(this.RightBottom.map(i => i.name), this.RightBottom.map(i => i.cont)))