loulijun2021
2023-02-28 c2f67da5b5086f6e3e4bc01f61e81e0505a17d10
src/views/gantt_back/gantt_back.vue
@@ -83,8 +83,11 @@
      </el-row>
      <el-row />
    </el-tabs>
    <!--    {{ time_data }}-->
    <!--    {{ bm_data }}-->
    <div class="container" style="margin: 30px;">
      <v-gantt-chart
        :start-time="time_data[0]"
        :end-time="time_data[1]"
        :cell-width="cellWidth"
@@ -273,7 +276,7 @@
        },
        'rows': [
          {
            'YearDate': '2022-09-24',
            'YearDate': '2022-11-29',
            'children': [
              {
                'AdvaDevicNumber': 'LKFDL_SC-PC029',
@@ -289,7 +292,7 @@
            ]
          },
          {
            'YearDate': '2022-09-25',
            'YearDate': '2022-11-30',
            'children': [
              {
                'AdvaDevicNumber': 'LKFDL_SC-PC029',
@@ -305,7 +308,7 @@
            ]
          },
          {
            'YearDate': '2022-09-26',
            'YearDate': '2022-12-01',
            'children': [
              {
                'AdvaDevicNumber': 'LKFDL_SC-PC029',
@@ -321,7 +324,7 @@
            ]
          },
          {
            'YearDate': '2022-09-27',
            'YearDate': '2022-12-02',
            'children': [
              {
                'AdvaDevicNumber': 'LKFDL_SC-PC029',
@@ -337,7 +340,7 @@
            ]
          },
          {
            'YearDate': '2022-09-28',
            'YearDate': '2022-12-03',
            'children': [
              {
                'AdvaDevicNumber': 'LKFDL_SC-PC029',
@@ -353,12 +356,12 @@
            ]
          },
          {
            'YearDate': '2022-09-29',
            'YearDate': '2022-12-04',
            'children': [
              {
                'AdvaDevicNumber': 'LKFDL_SC-PC029',
                'AdvaDevicName': '金鼎数控车床029',
                'AdvaDevicCropMob': '78',
                'AdvaDevicCropMob': '30',
                'AdvaDevicRhythm': '10',
                'OneStartDate': '08:00~11:30',
                'TwoStartDate': '12:30~17:00',
@@ -745,6 +748,7 @@
          }
        }
      }
      console.log(newList, 321)
      for (const i in list) {
        this.pushTiem(newList, list[i].id, list[i].gtArray)
      }
@@ -977,7 +981,7 @@
      for (const i in this.bm_data) {
        const newArr = []
        for (const j in this.bm_data[i].gtArray) {
          if (this.bm_data[i].gtArray[j].type != 'schedule') {
          if (this.bm_data[i].gtArray[j].type !== 'schedule') {
            newArr.push(this.bm_data[i].gtArray[j])
          }
        }