| | |
| | | |
| | | <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 |
| | |
| | | :datas="bm_data" |
| | | @scrollLeft="scrollLeftA" |
| | | > |
| | | <!-- <template v-slot:block="{data,item}"> --> |
| | | <template slot="block" slot-scope="{data,item}"> |
| | | <Test |
| | | :data="data" |
| | |
| | | </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> |
| | |
| | | |
| | | <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)) |
| | |
| | | }, |
| | | 'rows': [ |
| | | { |
| | | 'YearDate': '2022-09-01', |
| | | 'YearDate': '2022-09-24', |
| | | 'children': [ |
| | | { |
| | | 'AdvaDevicNumber': 'LKFDL_SC-PC029', |
| | |
| | | ] |
| | | }, |
| | | { |
| | | 'YearDate': '2022-09-02', |
| | | 'YearDate': '2022-09-25', |
| | | 'children': [ |
| | | { |
| | | 'AdvaDevicNumber': 'LKFDL_SC-PC029', |
| | |
| | | ] |
| | | }, |
| | | { |
| | | 'YearDate': '2022-09-03', |
| | | 'YearDate': '2022-09-26', |
| | | 'children': [ |
| | | { |
| | | 'AdvaDevicNumber': 'LKFDL_SC-PC029', |
| | |
| | | ] |
| | | }, |
| | | { |
| | | 'YearDate': '2022-09-04', |
| | | 'YearDate': '2022-09-27', |
| | | 'children': [ |
| | | { |
| | | 'AdvaDevicNumber': 'LKFDL_SC-PC029', |
| | |
| | | ] |
| | | }, |
| | | { |
| | | 'YearDate': '2022-09-05', |
| | | 'YearDate': '2022-09-28', |
| | | 'children': [ |
| | | { |
| | | 'AdvaDevicNumber': 'LKFDL_SC-PC029', |
| | |
| | | ] |
| | | }, |
| | | { |
| | | 'YearDate': '2022-09-06', |
| | | 'YearDate': '2022-09-29', |
| | | 'children': [ |
| | | { |
| | | 'AdvaDevicNumber': 'LKFDL_SC-PC029', |
| | |
| | | this.dataTransition() |
| | | this.change_num(this.bm_data) |
| | | } |
| | | this.$forceUpdate() |
| | | }, |
| | | // 手动过滤所有时间已排程 |
| | | time_nitalize() { |