src/views/gantt_back/gantt_back.vue
@@ -3,7 +3,6 @@
    <el-tabs style="margin: 30px">
      <el-row style="margin-bottom:20px">
        <el-col :span="7" :offset="1">
          <span class="t_size" style="margin-left:7px">排程日期</span>
          <el-date-picker
@@ -102,7 +101,6 @@
        :datas="bm_data"
        @scrollLeft="scrollLeftA"
      >
        <!-- <template v-slot:block="{data,item}"> -->
        <template slot="block" slot-scope="{data,item}">
          <Test
            :data="data"
@@ -133,7 +131,6 @@
        </template>
        <template slot="title">
          <span class="tc">工位列表</span>
          <el-checkbox v-model="all_status" class="box_style" @change="changeLift()" />
          <input v-model.number="cellWidth" type="range" min="20" max="100" class="box_styles">
        </template>
@@ -144,11 +141,7 @@
<script>
import Test from '@/components/Test'
// import PaginationView from '@/components/PaginationView'
// import TestLeft from '@/components/TestLeft'
// import { mockDatas } from './index1.js'
import dayjs from 'dayjs'
// import automaticScheduling from '@/api/automaticScheduling'
const scaleList = `30,60,240,360`.split(',').map(n => parseInt(n))
const timeList = `0,30,60,120,240,480`.split(',').map(n => parseInt(n))
@@ -280,7 +273,7 @@
        },
        'rows': [
          {
            'YearDate': '2022-09-01',
            'YearDate': '2022-09-24',
            'children': [
              {
                'AdvaDevicNumber': 'LKFDL_SC-PC029',
@@ -296,7 +289,7 @@
            ]
          },
          {
            'YearDate': '2022-09-02',
            'YearDate': '2022-09-25',
            'children': [
              {
                'AdvaDevicNumber': 'LKFDL_SC-PC029',
@@ -312,7 +305,7 @@
            ]
          },
          {
            'YearDate': '2022-09-03',
            'YearDate': '2022-09-26',
            'children': [
              {
                'AdvaDevicNumber': 'LKFDL_SC-PC029',
@@ -328,7 +321,7 @@
            ]
          },
          {
            'YearDate': '2022-09-04',
            'YearDate': '2022-09-27',
            'children': [
              {
                'AdvaDevicNumber': 'LKFDL_SC-PC029',
@@ -344,7 +337,7 @@
            ]
          },
          {
            'YearDate': '2022-09-05',
            'YearDate': '2022-09-28',
            'children': [
              {
                'AdvaDevicNumber': 'LKFDL_SC-PC029',
@@ -360,7 +353,7 @@
            ]
          },
          {
            'YearDate': '2022-09-06',
            'YearDate': '2022-09-29',
            'children': [
              {
                'AdvaDevicNumber': 'LKFDL_SC-PC029',
@@ -970,6 +963,7 @@
        this.dataTransition()
        this.change_num(this.bm_data)
      }
      this.$forceUpdate()
    },
    // 手动过滤所有时间已排程
    time_nitalize() {