当前位置: 首页 > news >正文

vue3+Echarts+ts实现甘特图

项目场景:

vue3+Echarts+ts实现甘特图;发布任务


代码实现

封装ganttEcharts.vue

<template><!-- Echarts 甘特图 --><div ref="progressChart" class="w100 h100"></div>
</template>
<script lang="ts" name="construction" setup>
import { ElLoading } from 'element-plus';
import { useMessage } from '/@/hooks/message';
import { formatDate } from '/@/utils/formatTime';
import * as echarts from 'echarts';
import { useUserInfo } from '/@/stores/userInfo';
// import ganttData from './airport-schedule.json';
import ganttData from './gantt.json';
import lockUrl from '/@/assets/images/gantt/lock.png';
// import dragUrl from '/@/assets/images/gantt/drag.png';
import { vulcanization, molding, quality } from '/@/api/plan/pre_production_scheduling';
import { cloneDeep } from 'lodash';
const stores = useUserInfo();
const { userInfos } = storeToRefs(stores);
const emit = defineEmits(['refresh', 'setDatas']);
const props = defineProps({shiftList: {type: Array,default: () => [],},errorEquip: {type: Array,default: () => [],},pageType: {type: String,default: '',},
});
const progressChart = ref();
// echarts 的实例不应该是‘响应式’的 因为它可能会影响对内部模型属性的访问,并带来一些意想不到的问题
let myChart: any = null;
const option: any = ref({});
// 定义常量
const HEIGHT_RATIO = 0.6;
const DIM_TIME = {DIM_TIME_ARRIVAL: 1, //开始时间DIM_TIME_DEPARTURE: 2, //结束时间
};
const DIM_CATEGORY = {DIM_CATEGORY_INDEX: 0, //y轴决定值
};
const DATA_ZOOM = {DATA_ZOOM_X_INSIDE_INDEX: 1,DATA_ZOOM_Y_INSIDE_INDEX: 3,DATA_ZOOM_AUTO_MOVE_SPEED: 0.2,DATA_ZOOM_AUTO_MOVE_DETECT_AREA_WIDTH: 30,DATA_ZOOM_AUTO_MOVE_THROTTLE: 30,
};
let _draggingEl: any;
let _dropRecord: any;
let _dropShadow: any;
let _draggingTimeLength: any;
const _cartesianXBounds: any = reactive([]);
const _cartesianYBounds: any = reactive([]);
const _autoDataZoomAnimator: any = ref();
const _draggingRecord: any = ref();
const _draggingCursorOffset = ref([0, 0]);
const _draggable = ref(false);
let _rawData = reactive({parkingApron: {dimensions: [] as any,data: [] as any,},flight: {dimensions: [] as any,data: [] as any,},
});
// 保存接口返回的甘特图数据
let res_data: any = [];
//临时拖拽的元素
let ganttObj: any = [];
// 保存冲突的图形元素
const conflictingGraphics: any = ref(null);
// 全局变量来跟踪选中的图形元素id
let selectedElementId: any = null;
// x轴y轴视图大小
const _xdata_start = ref(0);
const _xdata_end = ref(60);
const _ydata_start = ref(98);
const _ydata_end = ref(100);
//异常机台
const errorEquipList: any = ref([]);
//锁定的用户
const lockUser = ref('');
onMounted(() => {// _rawData = { ...ganttData };lockUser.value = userInfos.value.user.username;nextTick(() => {myChart = echarts.init(progressChart.value);window.addEventListener('resize', resizeChart);// initChart();setData(ganttData.data);});
});
onUnmounted(() => window.removeEventListener('resize', resizeChart));
const initChart = () => {myChart.setOption((option.value = makeOption()));initDrag();
};
// 撤回/更新数据操作
const setWithdrawData = (data: any) => {let resArr = cloneDeep(data);_rawData.flight.data.forEach((gantt: any, index: any) => {let newItem = resArr.find((item: any) => item.atrKey === gantt[14].atrKey);if (newItem) {let startTime = new Date(newItem['startTime']).getTime();let endTime = new Date(newItem['endTime']).getTime();gantt[DIM_TIME.DIM_TIME_ARRIVAL] = startTime;gantt[DIM_TIME.DIM_TIME_DEPARTURE] = endTime;gantt[3] = newItem['equipmentName'];gantt[5] = newItem['type'] === 'Stop' ? '是' : '否';gantt[6] = newItem['quantity'];gantt[7] = newItem['partNumber'];gantt[8] = newItem['partDesc'];gantt[9] = newItem['poOrderNo'];gantt[10] = newItem['bizDate'];gantt[11] = newItem['shiftValue'];gantt[12] = newItem['lockUser'];gantt[13] = newItem['color'];gantt[14] = newItem;}});myChart.setOption({series: {id: 'flightData',data: _rawData.flight.data,},});
};
// 生成甘特图
const setData = (dataList: any) => {console.log('生成甘特图', props.shiftList, props.errorEquip);if (props.errorEquip.length > 0) {errorEquipList.value = props.errorEquip.map((item: any) => item['equipmentName']);} else {errorEquipList.value = [];}res_data = [...dataList];console.log('甘特图数据', res_data);if (!res_data.length) return useMessage().error('暂无数据!');let dateShiftInfo = res_data[0]['dateShiftInfo'];_xdata_end.value = 1400 / ((dateShiftInfo.length / 3) * 24);_rawData.parkingApron.dimensions = ['序号', '机台描述', '机台编码', '总规格数', '计划数', '总换料时间', '总停机时长'];_rawData.parkingApron.data = res_data.map((item: any, index: any) => {let data = [index,item['equipmentDesc'],item['equipmentName'],item['equipPartCount'],item['equipTotalQty'],item['equipChg'],item['equipTotalStop'],];return data;});_rawData.flight.dimensions = ['序号','开始时间','结束时间','机台编码','uid','是否停机','计划数量','物料编码','物料描述','定制通知单','日期','班次','锁定人','color','gentt',];_rawData.flight.data = [];res_data.forEach((item: any, index: any) => {let list: any = [];if (item.ganttList && item.ganttList.length > 0) {list = item.ganttList.map((gantt: any) => {let startTime = new Date(gantt['startTime']).getTime();let endTime = new Date(gantt['endTime']).getTime();return [index,startTime,endTime,gantt['equipmentName'],gantt['atrKey'],gantt['type'] === 'Stop' ? '是' : '否',gantt['quantity'],gantt['partNumber'],gantt['partDesc'],gantt['poOrderNo'],gantt['bizDate'],gantt['shiftValue'],gantt['lockUser'],gantt['color'],gantt,];});}_rawData.flight.data = [..._rawData.flight.data, ...list];});// console.log(_rawData.flight.data, '_rawData.flight.data');let L = _rawData['parkingApron']['data'].length;if (L < 13) {_ydata_start.value = 0;// _height.value = (100 * L) / 13;} else {_ydata_start.value = (100 * (L - 13)) / L;}initChart();
};
// 浏览器窗口大小变化,图表大小自适应
function resizeChart() {if (myChart) {myChart.resize();}
}
function makeOption() {return {tooltip: {},toolbox: {right: 10,top: 0,itemSize: 20,feature: {myDrag: {show: true,title: '编辑',icon: 'path://M990.55 380.08 q11.69 0 19.88 8.19 q7.02 7.01 7.02 18.71 l0 480.65 q-1.17 43.27 -29.83 71.93 q-28.65 28.65 -71.92 29.82 l-813.96 0 q-43.27 -1.17 -72.5 -30.41 q-28.07 -28.07 -29.24 -71.34 l0 -785.89 q1.17 -43.27 29.24 -72.5 q29.23 -29.24 72.5 -29.24 l522.76 0 q11.7 0 18.71 7.02 q8.19 8.18 8.19 18.71 q0 11.69 -7.6 19.29 q-7.6 7.61 -19.3 7.61 l-518.08 0 q-22.22 1.17 -37.42 16.37 q-15.2 15.2 -15.2 37.42 l0 775.37 q0 23.39 15.2 38.59 q15.2 15.2 37.42 15.2 l804.6 0 q22.22 0 37.43 -15.2 q15.2 -15.2 16.37 -38.59 l0 -474.81 q0 -11.7 7.02 -18.71 q8.18 -8.19 18.71 -8.19 l0 0 ZM493.52 723.91 l-170.74 -170.75 l509.89 -509.89 q23.39 -23.39 56.13 -21.05 q32.75 1.17 59.65 26.9 l47.94 47.95 q25.73 26.89 27.49 59.64 q1.75 32.75 -21.64 57.3 l-508.72 509.9 l0 0 ZM870.09 80.69 l-56.13 56.14 l94.72 95.9 l56.14 -57.31 q8.19 -9.35 8.19 -21.05 q-1.17 -12.86 -10.53 -22.22 l-47.95 -49.12 q-10.52 -9.35 -23.39 -9.35 q-11.69 -1.17 -21.05 7.01 l0 0 ZM867.75 272.49 l-93.56 -95.9 l-380.08 380.08 l94.73 94.73 l378.91 -378.91 l0 0 ZM322.78 553.16 l38.59 39.77 l-33.92 125.13 l125.14 -33.92 l38.59 38.6 l-191.79 52.62 q-5.85 1.17 -12.28 0 q-6.44 -1.17 -11.11 -5.84 q-4.68 -4.68 -5.85 -11.7 q-2.34 -5.85 0 -11.69 l52.63 -192.97 l0 0 Z',onclick: onDragSwitchClick,},},show: _rawData['parkingApron']['data'].length > 0,},dataZoom: [{type: 'slider',xAxisIndex: 0,filterMode: 'weakFilter',height: 15,bottom: 0,start: _xdata_start.value,end: _xdata_end.value,handleSize: '80%',showDetail: false,show: _rawData['parkingApron']['data'].length > 0,},{type: 'inside',id: 'insideX',xAxisIndex: 0,filterMode: 'weakFilter',start: _xdata_start.value,end: _xdata_end.value,zoomOnMouseWheel: false,moveOnMouseMove: true,},{type: 'slider',yAxisIndex: 0,zoomLock: true,width: 10,right: 10,top: 70,bottom: 20,start: _ydata_start.value,end: _ydata_end.value,handleSize: 0,showDetail: false,show: false,},// x = 60H/26// y = 100 - 8L/195{type: 'inside',id: 'insideY',yAxisIndex: 0,start: _ydata_start.value,end: _ydata_end.value,zoomOnMouseWheel: false,moveOnMouseMove: true,moveOnMouseWheel: true,},],grid: {show: true,top: 70,bottom: 20,left: 100,right: 20,backgroundColor: '#fff',borderWidth: 0,},legend: {show: false,},xAxis: {type: 'time',position: 'top',axisLabel: {formatter: function (value: any) {let date = new Date(value);let mm = ('0' + (date.getMonth() + 1)).slice(-2);let dd = ('0' + date.getDate()).slice(-2);let hh = date.getHours();let text = '';let shiftList: any = [{ name: '早班', startDate: 7, endDate: 15 },{ name: '中班', startDate: 15, endDate: 23 },{ name: '夜班', startDate: 23, endDate: 7 },];if (props.shiftList.length === 3) {shiftList = [...props.shiftList];}for (let shift of shiftList) {if (shift.startDate <= shift.endDate) {if (hh >= shift.startDate && hh < shift.endDate) {text = shift.name;break;}} else {// 对于跨越午夜的班次if ((hh >= shift.startDate && hh < 24) || (hh >= 0 && hh < shift.endDate)) {text = shift.name;break;}}}if (hh >= 0 && hh <= 9) {return `${text}\n${mm}-${dd}\n0${hh}:00`;}return `${text}\n${mm}-${dd}\n${hh}:00`;},},maxInterval: 3600 * 1000,minInterval: 3600 * 1000,// axisLabel: {// 	formatter: '{MM}-{dd}\n{hh}:00', // 得到的 label 形如:{yyyy}-{MM}-{dd} => '2020-12-02'// },splitLine: {show: false,},axisLine: {show: false,},axisTick: {show: false,},},yAxis: {axisTick: { show: false },splitLine: { show: false },axisLine: { show: false },axisLabel: { show: false },min: 0,max: _rawData.parkingApron.data.length,},series: [{id: 'flightData',type: 'custom',renderItem: renderGanttItem,dimensions: _rawData.flight.dimensions,encode: {x: [DIM_TIME.DIM_TIME_ARRIVAL, DIM_TIME.DIM_TIME_DEPARTURE],y: DIM_CATEGORY.DIM_CATEGORY_INDEX,tooltip: [3, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2],},data: _rawData.flight.data,// tooltip: {// 	formatter: (params: any) => {// 		console.log(params, 'params');// 		return `<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:#5470c6;"></span>`;// 	},// },},{type: 'custom',renderItem: renderAxisLabelItem,dimensions: _rawData.parkingApron.dimensions,encode: {x: -1,y: 0,tooltip: [4, 3, 5, 6],},data: _rawData.parkingApron.data,// tooltip: {// 	trigger: 'none', // 这将禁用 tooltip// },},],};
}
const renderGanttItem = (params: any, api: any) => {let categoryIndex = api.value(DIM_CATEGORY.DIM_CATEGORY_INDEX);let timeArrival = api.coord([api.value(DIM_TIME.DIM_TIME_ARRIVAL), categoryIndex]);let timeDeparture = api.coord([api.value(DIM_TIME.DIM_TIME_DEPARTURE), categoryIndex]);let coordSys = params.coordSys;_cartesianXBounds[0] = coordSys.x;_cartesianXBounds[1] = coordSys.x + coordSys.width;_cartesianYBounds[0] = coordSys.y;_cartesianYBounds[1] = coordSys.y + coordSys.height;let barLength = timeDeparture[0] - timeArrival[0];// Get the heigth corresponds to length 1 on y axis.let barHeight = api.size([0, 1])[1] * HEIGHT_RATIO;let x = timeArrival[0];let y = timeArrival[1] - barHeight;let flightNumber = api.value(4) + '';let textTit = '已选中';let textTitWidth = echarts.format.getTextRect(textTit).width;let text = barLength > textTitWidth + 40 && x + barLength >= 120 ? '已选中' : '选中';let color = '';if (api.value(13)) {color = api.value(13).indexOf('#') !== -1 ? api.value(13) : `#${api.value(13)}`;}if (api.value(5) === '是') {color = `rgb(217, 217, 217)`;}let rectNormal = clipRectByRect(params, {x: x,y: y,width: barLength,height: barHeight,});let rectVIP = clipRectByRect(params, {x: x,y: y,width: barLength / 2,height: barHeight,});let rectText = clipRectByRect(params, {x: x,y: y,width: barLength,height: barHeight,});return {type: 'group',id: 'group_' + flightNumber,children: [{type: 'rect',id: 'rect_normal_' + flightNumber,ignore: !rectNormal,shape: rectNormal,style: {fill: selectedElementId !== 'rect_normal_' + flightNumber ? color || '#343F97' : '#aaa',// stroke: 'transparent', // 无边框stroke: '#fff',// shadowBlur: 0.5,// shadowOffsetX: 0.5,// shadowOffsetY: 0.5,// shadowColor: '#999',},},// {// 	type: 'rect',// 	ignore: !rectVIP && !api.value(4),// 	shape: rectVIP,// 	style: { fill: '#F6AB41' },// },{type: 'rect',ignore: !rectText,shape: rectText,style: {fill: 'transparent',stroke: 'transparent',text: selectedElementId !== 'rect_normal_' + flightNumber ? '' : text,textFill: '#fff',},},],};
};
const renderAxisLabelItem = (params: any, api: any) => {let y = api.coord([0, api.value(0)])[1];if (y < params.coordSys.y + 5) {return;}return {type: 'group',position: [10, y],children: [{type: 'path',shape: {d: 'M0,0 L0,-20 L30,-20 C42,-20 38,-1 50,-1 L70,-1 L70,0 Z',x: 0,y: -20,width: 90,height: 20,layout: 'cover',},style: {// 获取异常机台 异常的机台背景颜色为#FFC005fill: errorEquipList.value.includes(api.value(2)) ? '#FFC005' : '#00C488',},},{type: 'text',style: {x: 75,y: -2,text: api.value(1),textVerticalAlign: 'bottom',textAlign: 'center',textFill: '#000',},},{type: 'text',style: {x: 24,y: -3,textVerticalAlign: 'bottom',textAlign: 'center',text: api.value(2),textFill: '#fff',},},{type: 'image',style: {x: 60,y: -26,image: api.value(2) == 'W' ? lockUrl : '',width: 24,height: 24,// opacity: 0.8,},},],};
};
function clipRectByRect(params: any, rect: any) {return echarts.graphic.clipRectByRect(rect, {x: params.coordSys.x,y: params.coordSys.y,width: params.coordSys.width,height: params.coordSys.height,});
}
// 启用拖动
function onDragSwitchClick(model: any, api: any, type: any) {_draggable.value = !_draggable.value;myChart.setOption({dataZoom: [{id: 'insideX',disabled: _draggable.value,},{id: 'insideY',disabled: _draggable.value,},],toolbox: {feature: {myDrag: {title: _draggable.value ? '锁定' : '编辑',},},},});this.model.setIconStatus(type, _draggable.value ? 'emphasis' : 'normal');
}
const initDrag = () => {_autoDataZoomAnimator.value = makeAnimator(dispatchDataZoom);// 添加点击事件监听器myChart.on('click', function (param: any) {if (param.seriesId === 'flightData' && param.seriesType === 'custom' && !_draggable.value) {let elementId = param.data && param.data[4]; // 获取被点击数据点的ID(这里只是一个示例)selectedElementId = 'rect_normal_' + elementId;myChart.setOption({series: {id: 'flightData',data: _rawData.flight.data,},});emit('refresh', param.data[14]);}});// 当用户按下鼠标按钮时触发myChart.on('mousedown', function (param: any) {if (!_draggable.value || !param || param.seriesIndex == null || !_draggable.value) {return;}if (param.data[14].type === 'Stop') return useMessage().error('该项不允许拖动!');if (param.data[14].lockUser && param.data[14].lockUser !== lockUser.value) return useMessage().error('该项已被用户锁定,不允许拖动!');if (param.data[14].dragUser && param.data[14].dragUser !== lockUser.value) return useMessage().error('该项已被用户锁定,不允许拖动!');// Drag startganttObj = cloneDeep(param.data);_draggingRecord.value = {dataIndex: param.dataIndex,categoryIndex: param.value[DIM_CATEGORY.DIM_CATEGORY_INDEX],timeArrival: param.value[DIM_TIME.DIM_TIME_ARRIVAL],timeDeparture: param.value[DIM_TIME.DIM_TIME_DEPARTURE],};let style = {lineWidth: 2,fill: 'rgba(255,0,0,0.1)',stroke: 'rgba(255,0,0,0.8)',lineDash: [6, 3],};_draggingEl = addOrUpdateBar(_draggingEl, _draggingRecord.value, style, 100);_draggingCursorOffset.value = [_draggingEl.position[0] - param.event.offsetX, _draggingEl.position[1] - param.event.offsetY];_draggingTimeLength = _draggingRecord.value.timeDeparture - _draggingRecord.value.timeArrival;});// 当鼠标指针在元素上移动时触发myChart.getZr().on('mousemove', function (event: any) {if (!_draggingEl) {return;}let cursorX = event.offsetX;let cursorY = event.offsetY;// Move _draggingEl._draggingEl.attr('position', [_draggingCursorOffset.value[0] + cursorX, _draggingCursorOffset.value[1] + cursorY]);prepareDrop();autoDataZoomWhenDraggingOutside(cursorX, cursorY);});// 当用户释放鼠标按钮时触发myChart.getZr().on('mouseup', function () {// Dropif (_draggingEl && _dropRecord) {updateRawData(_dropRecord, _draggingRecord.value.dataIndex);}});// 拖动释放-删除创造元素function dragRelease() {_autoDataZoomAnimator.value.stop();if (_draggingEl) {myChart.getZr().remove(_draggingEl);_draggingEl = null;}if (_dropShadow) {myChart.getZr().remove(_dropShadow);_dropShadow = null;}_dropRecord = _draggingRecord.value = null;}function addOrUpdateBar(el: any, itemData: any, style: any, z: any) {let pointArrival = myChart.convertToPixel('grid', [itemData.timeArrival, itemData.categoryIndex]);let pointDeparture = myChart.convertToPixel('grid', [itemData.timeDeparture, itemData.categoryIndex]);let barLength = pointDeparture[0] - pointArrival[0];let barHeight = Math.abs(myChart.convertToPixel('grid', [0, 0])[1] - myChart.convertToPixel('grid', [0, 1])[1]) * HEIGHT_RATIO;if (!el) {el = new echarts.graphic.Rect({shape: { x: 0, y: 0, width: 0, height: 0 },style: style,z: z,});myChart.getZr().add(el);}el.attr({shape: { x: 0, y: 0, width: barLength, height: barHeight },position: [pointArrival[0], pointArrival[1] - barHeight],});return el;}function prepareDrop() {// Check droppable place.let xPixel = _draggingEl.shape.x + _draggingEl.position[0];let yPixel = _draggingEl.shape.y + _draggingEl.position[1];let cursorData = myChart.convertFromPixel('grid', [xPixel, yPixel]);if (cursorData) {// Make drop shadow and _dropRecord_dropRecord = {categoryIndex: Math.floor(cursorData[1]),timeArrival: cursorData[0],timeDeparture: cursorData[0] + _draggingTimeLength,};let style = { fill: 'rgba(0,0,0,0.4)' };_dropShadow = addOrUpdateBar(_dropShadow, _dropRecord, style, 99);}}// 业务逻辑判断function updateRawData(dropRecord_: any, index_: number) {let flight_Data = _rawData.flight.data;let movingItem: any = flight_Data[index_];let params: any = {};// 判断重叠let hasAnyConflict = flight_Data.some((dataItem: any) =>hasConflict(dataItem, {movingItem,categoryIndex: dropRecord_.categoryIndex,timeArrival: dropRecord_.timeArrival,timeDeparture: dropRecord_.timeDeparture,}));// 有重叠下一步if (hasAnyConflict) {// console.log(conflictingGraphics.value, '重叠的静态元素');// useMessage().error('重叠!');if (conflictingGraphics.value[14].type === 'Stop') {conflictingGraphics.value = null;useMessage().error('与停机项冲突,不允许拖动!');return;}// 判断重叠项的时间,拖动的元素是放左面还是右面了// let timeDifference = dropRecord_.timeArrival - conflictingGraphics.value[DIM_TIME.DIM_TIME_ARRIVAL];// 需要向右自动移动的距离// let distanceTheRight: any = _draggingTimeLength;// timeDifference <= 0 拖动的元素是放右面了// if (timeDifference >= 0) {// 	distanceTheRight = conflictingGraphics.value[DIM_TIME.DIM_TIME_DEPARTURE] - conflictingGraphics.value[DIM_TIME.DIM_TIME_ARRIVAL];// 	movingItem[DIM_CATEGORY.DIM_CATEGORY_INDEX] = dropRecord_.categoryIndex;// 	movingItem[DIM_TIME.DIM_TIME_ARRIVAL] = conflictingGraphics.value[DIM_TIME.DIM_TIME_DEPARTURE];// 	movingItem[DIM_TIME.DIM_TIME_DEPARTURE] = conflictingGraphics.value[DIM_TIME.DIM_TIME_DEPARTURE] + distanceTheRight;// } else {// movingItem[DIM_CATEGORY.DIM_CATEGORY_INDEX] = dropRecord_.categoryIndex;// movingItem[DIM_TIME.DIM_TIME_ARRIVAL] = dropRecord_.timeArrival;// movingItem[DIM_TIME.DIM_TIME_DEPARTURE] = dropRecord_.timeDeparture;// }// 找到重叠的Y轴对应的所有数据// let y_data: any = flight_Data.filter((item: any) => {// 	return item[0] === conflictingGraphics.value[0];// });// // 找到与当前拖拽的最终位置不冲突的所有数据// let no_data: any = [];// // 找到与当前拖拽的最终位置冲突的所有数据// let yes_data: any = y_data.filter((dataItem: any) => {// 	if (// 		dropRecord_.categoryIndex === dataItem[DIM_CATEGORY.DIM_CATEGORY_INDEX] &&// 		dropRecord_.timeArrival < dataItem[DIM_TIME.DIM_TIME_DEPARTURE] &&// 		dropRecord_.timeDeparture > dataItem[DIM_TIME.DIM_TIME_ARRIVAL]// 	) {// 		return true;// 	} else {// 		no_data.push(dataItem);// 		return false;// 	}// });//// console.log(y_data, '有重叠!Y轴所有数据');// console.log(no_data, '不冲突!所有数据');// console.log(yes_data, '有冲突!所有数据');// 前端不需要复杂操作,只记录操作后的元素位置即可,以上数据注释 同没有重叠操作}// 没有重叠的元素只需要修改当前元素movingItem[DIM_CATEGORY.DIM_CATEGORY_INDEX] = dropRecord_.categoryIndex;movingItem[DIM_TIME.DIM_TIME_ARRIVAL] = dropRecord_.timeArrival;movingItem[DIM_TIME.DIM_TIME_DEPARTURE] = dropRecord_.timeDeparture;let startTime = formatDate(new Date(dropRecord_.timeArrival), 'YYYY-mm-dd HH:MM:SS');let endTime = formatDate(new Date(dropRecord_.timeDeparture), 'YYYY-mm-dd HH:MM:SS');// 判断是否是同一个机台// console.log('更新前的:',ganttObj,'更新后的:', movingItem);if (ganttObj[0] === movingItem[0]) {// console.log('是同一个机台', res_data[ganttObj[0]]);if (res_data[ganttObj[0]].ganttList) {let ganttList = cloneDeep(res_data[ganttObj[0]].ganttList);ganttList.forEach((item: any) => {if (item['atrKey'] === ganttObj[4]) {item['oldPosition'] = '1';}});ganttList.push({ ...ganttObj[14], startTime, endTime });params = { ganttList };} else {useMessage().error('数据有误!请重新查询');}} else {// console.log('不是同一个机台');if (res_data[ganttObj[0]].ganttList && res_data[movingItem[0]].ganttList) {let oldGanttList = cloneDeep(res_data[ganttObj[0]].ganttList);let ganttList = cloneDeep(res_data[movingItem[0]].ganttList);oldGanttList.forEach((item: any) => {if (item['atrKey'] === ganttObj[4]) {item['oldPosition'] = '1';}});ganttList.push({ ...ganttObj[14], startTime, endTime });params = { ganttList, oldGanttList };} else {useMessage().error('数据有误!请重新查询');}}ganttTests(params);}// 拖拽调用后台数据const ganttTests = async (params: any) => {console.log(params, '传参');let pc_loading = ElLoading.service({lock: true,text: '提交数据中...',background: 'rgba(0, 0, 0, 0.7)',});try {let res: any = {};if (props.pageType === 'C') {res = await vulcanization.ganttTestAndVerify(params);} else if (props.pageType === 'B') {res = await molding.ganttTestAndVerify(params);} else if (props.pageType === 'A') {res = await quality.ganttTestAndVerify(params);}pc_loading.close();if (res.data.flag) {let resArr = res.data.ganttList;setWithdrawData(resArr);}} catch (err: any) {pc_loading.close();useMessage().error(err.msg);myChart.setOption({series: {id: 'flightData',data: _rawData.flight.data,},});}dragRelease();};// 判断是否有重叠元素function hasConflict(dataItem: any, dropRecord: any) {if (dataItem !== dropRecord.movingItem &&dropRecord.categoryIndex === dataItem[DIM_CATEGORY.DIM_CATEGORY_INDEX] &&dropRecord.timeArrival < dataItem[DIM_TIME.DIM_TIME_DEPARTURE] &&dropRecord.timeDeparture > dataItem[DIM_TIME.DIM_TIME_ARRIVAL]) {conflictingGraphics.value = { ...dataItem };return true;} else {return false;}}function autoDataZoomWhenDraggingOutside(cursorX: any, cursorY: any) {// When cursor is outside the cartesian and being dragging,// auto move the dataZooms.let cursorDistX = getCursorCartesianDist(cursorX, _cartesianXBounds);let cursorDistY = getCursorCartesianDist(cursorY, _cartesianYBounds);if (cursorDistX !== 0 || cursorDistY !== 0) {_autoDataZoomAnimator.value.start({cursorDistX: cursorDistX,cursorDistY: cursorDistY,});} else {_autoDataZoomAnimator.value.stop();}}function dispatchDataZoom(params: any) {let option = myChart.getOption();let optionInsideX = option.dataZoom[DATA_ZOOM.DATA_ZOOM_X_INSIDE_INDEX];let optionInsideY = option.dataZoom[DATA_ZOOM.DATA_ZOOM_Y_INSIDE_INDEX];let batch: any = [];prepareBatch(batch, 'insideX', optionInsideX.start, optionInsideX.end, params.cursorDistX);prepareBatch(batch, 'insideY', optionInsideY.start, optionInsideY.end, -params.cursorDistY);batch.length &&myChart.dispatchAction({type: 'dataZoom',batch: batch,});function prepareBatch(batch: any, id: any, start: any, end: any, cursorDist: any) {if (cursorDist === 0) {return;}let sign = cursorDist / Math.abs(cursorDist);let size = end - start;let delta = DATA_ZOOM.DATA_ZOOM_AUTO_MOVE_SPEED * sign;start += delta;end += delta;if (end > 100) {end = 100;start = end - size;}if (start < 0) {start = 0;end = start + size;}batch.push({dataZoomId: id,start: start,end: end,});}}function getCursorCartesianDist(cursorXY: any, bounds: any) {let dist0 = cursorXY - (bounds[0] + DATA_ZOOM.DATA_ZOOM_AUTO_MOVE_DETECT_AREA_WIDTH);let dist1 = cursorXY - (bounds[1] - DATA_ZOOM.DATA_ZOOM_AUTO_MOVE_DETECT_AREA_WIDTH);return dist0 * dist1 <= 0? 0 // cursor is in cartesian: dist0 < 0? dist0 // cursor is at left/top of cartesian: dist1; // cursor is at right/bottom of cartesian}function makeAnimator(callback: any) {let requestId: any;let callbackParams: any;// Use throttle to prevent from calling dispatchAction frequently.callback = echarts.throttle(callback, DATA_ZOOM.DATA_ZOOM_AUTO_MOVE_THROTTLE);function onFrame() {callback(callbackParams);requestId = requestAnimationFrame(onFrame);}return {start: function (params: any) {callbackParams = params;if (requestId == null) {onFrame();}},stop: function () {if (requestId != null) {cancelAnimationFrame(requestId);}requestId = callbackParams = null;},};}
};
watchEffect(() => {if (_rawData.flight.data) {let dataList = _rawData.flight.data.map((item: any) => {return { ...item[14] };});emit('setDatas', dataList);}
});
// 暴露变量
defineExpose({setData,setWithdrawData,
});
</script>

模拟数据:

gantt.json

{"code": 200,"msg": "操作成功","data": [{"equipmentName": "O1B001","siteName": null,"areaName": null,"plineName": null,"bizDate": null,"shiftValue": null,"equipmentDesc": "G11","flag": null,"equipTotalQty": 17,"equipPartCount": 2,"equipChg": null,"equipTotalStop": null,"dateShiftInfo": [{"atrKey": null,"bizDate": "20241202","shiftValue": "0","startDate": "2024-12-02T00:00:00","endDate": "2024-12-02T08:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "1","startDate": "2024-12-02T08:00:00","endDate": "2024-12-02T16:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "2","startDate": "2024-12-02T16:00:00","endDate": "2024-12-03T00:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "0","startDate": "2024-12-03T00:00:00","endDate": "2024-12-03T08:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "1","startDate": "2024-12-03T08:00:00","endDate": "2024-12-03T16:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "2","startDate": "2024-12-03T16:00:00","endDate": "2024-12-04T00:00:00"}],"ganttList": [{"atrKey": 12636643,"planKey": 843851520,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B001","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G11","planPartpri": "6","partClassName": "胎胚","partNumber": "204403391","partDesc": "46/90R57 MS440 PRO S2HRQ-B","quantity": 1,"startTime": "2024-12-02T22:30:00","endTime": "2024-12-02T23:30:00","stdtime": 150,"bizDate": "20241202","shiftValue": "0","color": "00FF99","colorCode": 2,"equipTotalQty": 17,"shiftTotalQty": 38,"equipPartCount": 2,"shiftPartCount": 12,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1175","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12636651,"planKey": 843848857,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B001","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G11","planPartpri": "7","partClassName": "胎胚","partNumber": "204402256","partDesc": "46/90R57 MS440  PRO S1R-B","quantity": 1,"startTime": "2024-12-03T06:00:00","endTime": "2024-12-03T07:00:00","stdtime": 150,"bizDate": "20241202","shiftValue": "1","color": "FFCC66","colorCode": 3,"equipTotalQty": 17,"shiftTotalQty": 23,"equipPartCount": 2,"shiftPartCount": 9,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1135","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12636653,"planKey": 843945313,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B001","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G11","planPartpri": "9","partClassName": "胎胚","partNumber": "204402256","partDesc": "46/90R57 MS440  PRO S1R-B","quantity": 1,"startTime": "2024-12-03T14:00:00","endTime": "2024-12-03T15:00:00","stdtime": 150,"bizDate": "20241202","shiftValue": "2","color": "FF9999","colorCode": 5,"equipTotalQty": 17,"shiftTotalQty": 31,"equipPartCount": 2,"shiftPartCount": 10,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1135","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12639152,"planKey": 844073629,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B001","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G11","planPartpri": "5","partClassName": "胎胚","partNumber": "204402256","partDesc": "46/90R57 MS440  PRO S1R-B","quantity": 1,"startTime": "2024-12-03T23:30:00","endTime": "2024-12-04T00:30:00","stdtime": 150,"bizDate": "20241203","shiftValue": "0","color": "00FF99","colorCode": 2,"equipTotalQty": 17,"shiftTotalQty": 39,"equipPartCount": 2,"shiftPartCount": 14,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1135","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12641764,"planKey": null,"siteName": null,"areaName": null,"status": "1","equipmentName": "O1B001","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G11","planPartpri": "9","partClassName": "胎胚","partNumber": "204402256","partDesc": "46/90R57 MS440  PRO S1R-B","quantity": 1,"startTime": "2024-12-04T02:35:00","endTime": "2024-12-04T11:30:00","stdtime": 535,"bizDate": "20241203","shiftValue": "2","color": "0099FF","colorCode": 4,"equipTotalQty": 17,"shiftTotalQty": 7,"equipPartCount": 2,"shiftPartCount": 4,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1135","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12641765,"planKey": null,"siteName": null,"areaName": null,"status": "1","equipmentName": "O1B001","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G11","planPartpri": "10","partClassName": "胎胚","partNumber": "204402256","partDesc": "46/90R57 MS440  PRO S1R-B","quantity": 1,"startTime": "2024-12-04T05:05:00","endTime": "2024-12-04T14:00:00","stdtime": 535,"bizDate": "20241203","shiftValue": "2","color": "0099FF","colorCode": 4,"equipTotalQty": 17,"shiftTotalQty": 7,"equipPartCount": 2,"shiftPartCount": 4,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1135","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null}],"oldGanttList": null,"lockUser": null},{"equipmentName": "O1B002","siteName": null,"areaName": null,"plineName": null,"bizDate": null,"shiftValue": null,"equipmentDesc": "G12","flag": null,"equipTotalQty": 9,"equipPartCount": 3,"equipChg": null,"equipTotalStop": null,"dateShiftInfo": [{"atrKey": null,"bizDate": "20241202","shiftValue": "0","startDate": "2024-12-02T00:00:00","endDate": "2024-12-02T08:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "1","startDate": "2024-12-02T08:00:00","endDate": "2024-12-02T16:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "2","startDate": "2024-12-02T16:00:00","endDate": "2024-12-03T00:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "0","startDate": "2024-12-03T00:00:00","endDate": "2024-12-03T08:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "1","startDate": "2024-12-03T08:00:00","endDate": "2024-12-03T16:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "2","startDate": "2024-12-03T16:00:00","endDate": "2024-12-04T00:00:00"}],"ganttList": [{"atrKey": 12636640,"planKey": 843857321,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B002","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G12","planPartpri": "10","partClassName": "胎胚","partNumber": "204403446","partDesc": "40.00R57 MS403 PRO ES3A-B","quantity": 1,"startTime": "2024-12-02T07:00:00","endTime": "2024-12-02T08:00:00","stdtime": 150,"bizDate": "20241202","shiftValue": "0","color": "9966FF","colorCode": 1,"equipTotalQty": 9,"shiftTotalQty": 38,"equipPartCount": 3,"shiftPartCount": 12,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1089","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12641797,"planKey": null,"siteName": null,"areaName": null,"status": "1","equipmentName": "O1B002","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G12","planPartpri": "8","partClassName": "胎胚","partNumber": "204402230","partDesc": "40.00R57 MS403 PRO ES2-B","quantity": 1,"startTime": "2024-12-03T13:24:59","endTime": "2024-12-03T22:19:59","stdtime": 535,"bizDate": "20241203","shiftValue": "0","color": "00FF99","colorCode": 2,"equipTotalQty": 9,"shiftTotalQty": 39,"equipPartCount": 3,"shiftPartCount": 14,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1147","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12641821,"planKey": null,"siteName": null,"areaName": null,"status": "1","equipmentName": "O1B002","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G12","planPartpri": "2","partClassName": "胎胚","partNumber": "204402230","partDesc": "40.00R57 MS403 PRO ES2-B","quantity": 1,"startTime": "2024-12-03T15:54:59","endTime": "2024-12-04T00:49:59","stdtime": 535,"bizDate": "20241203","shiftValue": "1","color": "00FF99","colorCode": 2,"equipTotalQty": 9,"shiftTotalQty": 16,"equipPartCount": 3,"shiftPartCount": 8,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1147","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12639147,"planKey": 844073622,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B002","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G12","planPartpri": "4","partClassName": "胎胚","partNumber": "204403446","partDesc": "40.00R57 MS403 PRO ES3A-B","quantity": 1,"startTime": "2024-12-03T17:00:00","endTime": "2024-12-03T18:00:00","stdtime": 150,"bizDate": "20241203","shiftValue": "0","color": "FFCC66","colorCode": 3,"equipTotalQty": 9,"shiftTotalQty": 39,"equipPartCount": 3,"shiftPartCount": 14,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1089","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12639148,"planKey": 844081696,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B002","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G12","planPartpri": "5","partClassName": "胎胚","partNumber": "204403446","partDesc": "40.00R57 MS403 PRO ES3A-B","quantity": 1,"startTime": "2024-12-03T19:30:00","endTime": "2024-12-03T20:30:00","stdtime": 150,"bizDate": "20241203","shiftValue": "0","color": "FFCC66","colorCode": 3,"equipTotalQty": 9,"shiftTotalQty": 39,"equipPartCount": 3,"shiftPartCount": 14,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1089","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12639150,"planKey": 844081694,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B002","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G12","planPartpri": "7","partClassName": "胎胚","partNumber": "204403431","partDesc": "40.00R57 MS403 PRO ES2M-B","quantity": 1,"startTime": "2024-12-03T22:00:00","endTime": "2024-12-03T23:00:00","stdtime": 150,"bizDate": "20241203","shiftValue": "0","color": "0099FF","colorCode": 4,"equipTotalQty": 9,"shiftTotalQty": 39,"equipPartCount": 3,"shiftPartCount": 14,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1146","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null}],"oldGanttList": null,"lockUser": null},{"equipmentName": "O1B007","siteName": null,"areaName": null,"plineName": null,"bizDate": null,"shiftValue": null,"equipmentDesc": "G07","flag": null,"equipTotalQty": 33,"equipPartCount": 5,"equipChg": null,"equipTotalStop": null,"dateShiftInfo": [{"atrKey": null,"bizDate": "20241202","shiftValue": "0","startDate": "2024-12-02T00:00:00","endDate": "2024-12-02T08:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "1","startDate": "2024-12-02T08:00:00","endDate": "2024-12-02T16:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "2","startDate": "2024-12-02T16:00:00","endDate": "2024-12-03T00:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "0","startDate": "2024-12-03T00:00:00","endDate": "2024-12-03T08:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "1","startDate": "2024-12-03T08:00:00","endDate": "2024-12-03T16:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "2","startDate": "2024-12-03T16:00:00","endDate": "2024-12-04T00:00:00"}],"ganttList": [{"atrKey": 12636573,"planKey": 843857293,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B007","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G07","planPartpri": "16","partClassName": "胎胚","partNumber": "204402595","partDesc": "27.00R49 MS401 S1-B","quantity": 1,"startTime": "2024-12-02T18:50:00","endTime": "2024-12-02T19:50:00","stdtime": 150,"bizDate": "20241202","shiftValue": "0","color": "9966FF","colorCode": 1,"equipTotalQty": 33,"shiftTotalQty": 38,"equipPartCount": 5,"shiftPartCount": 12,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1140","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12636576,"planKey": 843857328,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B007","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G07","planPartpri": "17","partClassName": "胎胚","partNumber": "204402595","partDesc": "27.00R49 MS401 S1-B","quantity": 1,"startTime": "2024-12-03T02:50:00","endTime": "2024-12-03T03:50:00","stdtime": 150,"bizDate": "20241202","shiftValue": "1","color": "FFCC66","colorCode": 3,"equipTotalQty": 33,"shiftTotalQty": 23,"equipPartCount": 5,"shiftPartCount": 9,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1140","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12636587,"planKey": 843857333,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B007","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G07","planPartpri": "22","partClassName": "胎胚","partNumber": "204402626","partDesc": "27.00R49 MS412 S1-B","quantity": 1,"startTime": "2024-12-03T02:50:00","endTime": "2024-12-03T03:50:00","stdtime": 150,"bizDate": "20241202","shiftValue": "1","color": "0099FF","colorCode": 4,"equipTotalQty": 33,"shiftTotalQty": 23,"equipPartCount": 5,"shiftPartCount": 9,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1121","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12636583,"planKey": 843851510,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B007","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G07","planPartpri": "20","partClassName": "胎胚","partNumber": "204402595","partDesc": "27.00R49 MS401 S1-B","quantity": 1,"startTime": "2024-12-03T10:50:00","endTime": "2024-12-03T11:50:00","stdtime": 150,"bizDate": "20241202","shiftValue": "2","color": "9966FF","colorCode": 1,"equipTotalQty": 33,"shiftTotalQty": 31,"equipPartCount": 5,"shiftPartCount": 10,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1140","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12639091,"planKey": 844078997,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B007","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G07","planPartpri": "10","partClassName": "胎胚","partNumber": "204402601","partDesc": "27.00R49 MS401 S2UCM-B","quantity": 1,"startTime": "2024-12-03T16:10:00","endTime": "2024-12-03T17:10:00","stdtime": 150,"bizDate": "20241203","shiftValue": "0","color": "0099FF","colorCode": 4,"equipTotalQty": 33,"shiftTotalQty": 39,"equipPartCount": 5,"shiftPartCount": 14,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1120","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12641935,"planKey": null,"siteName": null,"areaName": null,"status": "1","equipmentName": "O1B007","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G07","planPartpri": "1","partClassName": "胎胚","partNumber": "204402601","partDesc": "27.00R49 MS401 S2UCM-B","quantity": 1,"startTime": "2024-12-03T16:22:02","endTime": "2024-12-03T20:42:02","stdtime": 260,"bizDate": "20241203","shiftValue": "1","color": "0099FF","colorCode": 4,"equipTotalQty": 33,"shiftTotalQty": 16,"equipPartCount": 5,"shiftPartCount": 8,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1120","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12639092,"planKey": 844078995,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B007","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G07","planPartpri": "11","partClassName": "胎胚","partNumber": "204402601","partDesc": "27.00R49 MS401 S2UCM-B","quantity": 1,"startTime": "2024-12-03T17:30:00","endTime": "2024-12-03T18:30:00","stdtime": 150,"bizDate": "20241203","shiftValue": "0","color": "0099FF","colorCode": 4,"equipTotalQty": 33,"shiftTotalQty": 39,"equipPartCount": 5,"shiftPartCount": 14,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1120","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12641937,"planKey": null,"siteName": null,"areaName": null,"status": "1","equipmentName": "O1B007","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G07","planPartpri": "2","partClassName": "胎胚","partNumber": "204402601","partDesc": "27.00R49 MS401 S2UCM-B","quantity": 1,"startTime": "2024-12-03T17:42:02","endTime": "2024-12-03T22:02:02","stdtime": 260,"bizDate": "20241203","shiftValue": "1","color": "0099FF","colorCode": 4,"equipTotalQty": 33,"shiftTotalQty": 16,"equipPartCount": 5,"shiftPartCount": 8,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1120","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12639090,"planKey": 844078993,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B007","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G07","planPartpri": "9","partClassName": "胎胚","partNumber": "204402601","partDesc": "27.00R49 MS401 S2UCM-B","quantity": 1,"startTime": "2024-12-03T18:50:00","endTime": "2024-12-03T19:50:00","stdtime": 150,"bizDate": "20241203","shiftValue": "0","color": "0099FF","colorCode": 4,"equipTotalQty": 33,"shiftTotalQty": 39,"equipPartCount": 5,"shiftPartCount": 14,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1120","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12641938,"planKey": null,"siteName": null,"areaName": null,"status": "1","equipmentName": "O1B007","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G07","planPartpri": "3","partClassName": "胎胚","partNumber": "204402601","partDesc": "27.00R49 MS401 S2UCM-B","quantity": 1,"startTime": "2024-12-03T19:02:02","endTime": "2024-12-03T23:22:02","stdtime": 260,"bizDate": "20241203","shiftValue": "1","color": "9966FF","colorCode": 1,"equipTotalQty": 33,"shiftTotalQty": 16,"equipPartCount": 5,"shiftPartCount": 8,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1120","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12642082,"planKey": 844326843,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B007","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G07","planPartpri": "0","partClassName": "胎胚","partNumber": "204402747","partDesc": "27.00R49 MS401+ S2-B","quantity": 1,"startTime": "2024-12-03T23:00:00","endTime": "2024-12-04T00:00:00","stdtime": 150,"bizDate": "20241203","shiftValue": "2","color": "00FF99","colorCode": 2,"equipTotalQty": 33,"shiftTotalQty": 7,"equipPartCount": 5,"shiftPartCount": 4,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1095","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null}],"oldGanttList": null,"lockUser": null},{"equipmentName": "O1B021","siteName": null,"areaName": null,"plineName": null,"bizDate": null,"shiftValue": null,"equipmentDesc": "G01","flag": null,"equipTotalQty": 17,"equipPartCount": 4,"equipChg": null,"equipTotalStop": null,"dateShiftInfo": [{"atrKey": null,"bizDate": "20241202","shiftValue": "0","startDate": "2024-12-02T00:00:00","endDate": "2024-12-02T08:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "1","startDate": "2024-12-02T08:00:00","endDate": "2024-12-02T16:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "2","startDate": "2024-12-02T16:00:00","endDate": "2024-12-03T00:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "0","startDate": "2024-12-03T00:00:00","endDate": "2024-12-03T08:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "1","startDate": "2024-12-03T08:00:00","endDate": "2024-12-03T16:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "2","startDate": "2024-12-03T16:00:00","endDate": "2024-12-04T00:00:00"}],"ganttList": [{"atrKey": 12636601,"planKey": 843851514,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B021","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G01","planPartpri": "10","partClassName": "胎胚","partNumber": "204403457","partDesc": "27.00R49 MS403 ES2A","quantity": 1,"startTime": "2024-12-02T07:00:00","endTime": "2024-12-02T08:00:00","stdtime": 0,"bizDate": "20241202","shiftValue": "0","color": "00FF99","colorCode": 2,"equipTotalQty": 17,"shiftTotalQty": 38,"equipPartCount": 4,"shiftPartCount": 12,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1094","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12636597,"planKey": 843945319,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B021","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G01","planPartpri": "9","partClassName": "胎胚","partNumber": "204403349","partDesc": "27.00R49 MS403 S2HR","quantity": 1,"startTime": "2024-12-02T23:00:00","endTime": "2024-12-03T00:00:00","stdtime": 150,"bizDate": "20241202","shiftValue": "2","color": "FFCC66","colorCode": 3,"equipTotalQty": 17,"shiftTotalQty": 31,"equipPartCount": 4,"shiftPartCount": 10,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1074","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12639107,"planKey": 844078968,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B021","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G01","planPartpri": "8","partClassName": "胎胚","partNumber": "204403349","partDesc": "27.00R49 MS403 S2HR","quantity": 1,"startTime": "2024-12-03T15:12:02","endTime": "2024-12-03T16:12:02","stdtime": 150,"bizDate": "20241203","shiftValue": "0","color": "FFCC66","colorCode": 3,"equipTotalQty": 17,"shiftTotalQty": 39,"equipPartCount": 4,"shiftPartCount": 14,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1074","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12641932,"planKey": null,"siteName": null,"areaName": null,"status": "1","equipmentName": "O1B021","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G01","planPartpri": "1","partClassName": "胎胚","partNumber": "204402747","partDesc": "27.00R49 MS401+ S2-B","quantity": 1,"startTime": "2024-12-03T16:46:51","endTime": "2024-12-03T21:46:51","stdtime": 300,"bizDate": "20241203","shiftValue": "1","color": "0099FF","colorCode": 4,"equipTotalQty": 17,"shiftTotalQty": 16,"equipPartCount": 4,"shiftPartCount": 8,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1095","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12642015,"planKey": 844323767,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B021","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G01","planPartpri": "2","partClassName": "胎胚","partNumber": "204403349","partDesc": "27.00R49 MS403 S2HR","quantity": 1,"startTime": "2024-12-04T02:16:51","endTime": "2024-12-04T03:16:51","stdtime": 150,"bizDate": "20241203","shiftValue": "1","color": "FF9999","colorCode": 5,"equipTotalQty": 17,"shiftTotalQty": 16,"equipPartCount": 4,"shiftPartCount": 8,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1074","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12641784,"planKey": null,"siteName": null,"areaName": null,"status": "1","equipmentName": "O1B021","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G01","planPartpri": "9","partClassName": "胎胚","partNumber": "204403348","partDesc": "27.00R49 MS403 S2H","quantity": 1,"startTime": "2024-12-04T06:30:00","endTime": "2024-12-04T11:30:00","stdtime": 300,"bizDate": "20241203","shiftValue": "2","color": "9966FF","colorCode": 1,"equipTotalQty": 17,"shiftTotalQty": 7,"equipPartCount": 4,"shiftPartCount": 4,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1099","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null}],"oldGanttList": null,"lockUser": null},{"equipmentName": "O1B022","siteName": null,"areaName": null,"plineName": null,"bizDate": null,"shiftValue": null,"equipmentDesc": "G02","flag": null,"equipTotalQty": 13,"equipPartCount": 1,"equipChg": null,"equipTotalStop": null,"dateShiftInfo": [{"atrKey": null,"bizDate": "20241202","shiftValue": "0","startDate": "2024-12-02T00:00:00","endDate": "2024-12-02T08:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "1","startDate": "2024-12-02T08:00:00","endDate": "2024-12-02T16:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "2","startDate": "2024-12-02T16:00:00","endDate": "2024-12-03T00:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "0","startDate": "2024-12-03T00:00:00","endDate": "2024-12-03T08:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "1","startDate": "2024-12-03T08:00:00","endDate": "2024-12-03T16:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "2","startDate": "2024-12-03T16:00:00","endDate": "2024-12-04T00:00:00"}],"ganttList": [{"atrKey": 12636617,"planKey": 843945318,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B022","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G02","planPartpri": "4","partClassName": "胎胚","partNumber": "204402284","partDesc": "33.00R51 MS403 PRO S2R","quantity": 1,"startTime": "2024-12-02T07:00:00","endTime": "2024-12-02T08:00:00","stdtime": 240,"bizDate": "20241202","shiftValue": "0","color": "9966FF","colorCode": 1,"equipTotalQty": 13,"shiftTotalQty": 38,"equipPartCount": 1,"shiftPartCount": 12,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1101","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12636620,"planKey": 843857342,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B022","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G02","planPartpri": "4","partClassName": "胎胚","partNumber": "204402284","partDesc": "33.00R51 MS403 PRO S2R","quantity": 1,"startTime": "2024-12-02T15:00:00","endTime": "2024-12-02T16:00:00","stdtime": 240,"bizDate": "20241202","shiftValue": "1","color": "9966FF","colorCode": 1,"equipTotalQty": 13,"shiftTotalQty": 23,"equipPartCount": 1,"shiftPartCount": 9,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1101","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12636624,"planKey": 843945322,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B022","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G02","planPartpri": "6","partClassName": "胎胚","partNumber": "204402284","partDesc": "33.00R51 MS403 PRO S2R","quantity": 1,"startTime": "2024-12-02T23:00:00","endTime": "2024-12-03T00:00:00","stdtime": 240,"bizDate": "20241202","shiftValue": "2","color": "9966FF","colorCode": 1,"equipTotalQty": 13,"shiftTotalQty": 31,"equipPartCount": 1,"shiftPartCount": 10,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1101","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12639127,"planKey": 844081679,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B022","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G02","planPartpri": "4","partClassName": "胎胚","partNumber": "204402284","partDesc": "33.00R51 MS403 PRO S2R","quantity": 1,"startTime": "2024-12-03T07:00:00","endTime": "2024-12-03T08:00:00","stdtime": 240,"bizDate": "20241203","shiftValue": "0","color": "9966FF","colorCode": 1,"equipTotalQty": 13,"shiftTotalQty": 39,"equipPartCount": 1,"shiftPartCount": 14,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1101","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null}],"oldGanttList": null,"lockUser": null},{"equipmentName": "O1B023","siteName": null,"areaName": null,"plineName": null,"bizDate": null,"shiftValue": null,"equipmentDesc": "G03","flag": null,"equipTotalQty": 3,"equipPartCount": 1,"equipChg": null,"equipTotalStop": null,"dateShiftInfo": [{"atrKey": null,"bizDate": "20241202","shiftValue": "0","startDate": "2024-12-02T00:00:00","endDate": "2024-12-02T08:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "1","startDate": "2024-12-02T08:00:00","endDate": "2024-12-02T16:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "2","startDate": "2024-12-02T16:00:00","endDate": "2024-12-03T00:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "0","startDate": "2024-12-03T00:00:00","endDate": "2024-12-03T08:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "1","startDate": "2024-12-03T08:00:00","endDate": "2024-12-03T16:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "2","startDate": "2024-12-03T16:00:00","endDate": "2024-12-04T00:00:00"}],"ganttList": [{"atrKey": 12641793,"planKey": null,"siteName": null,"areaName": null,"status": "1","equipmentName": "O1B023","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G03","planPartpri": "1","partClassName": "胎胚","partNumber": "204403464","partDesc": "50/80R57 MS403 S2AR-B","quantity": 1,"startTime": "2024-12-03T20:45:25","endTime": "2024-12-04T11:25:25","stdtime": 880,"bizDate": "20241203","shiftValue": "1","color": "9966FF","colorCode": 1,"equipTotalQty": 3,"shiftTotalQty": 16,"equipPartCount": 1,"shiftPartCount": 8,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1139","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12641795,"planKey": null,"siteName": null,"areaName": null,"status": "1","equipmentName": "O1B023","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G03","planPartpri": "1","partClassName": "胎胚","partNumber": "204403464","partDesc": "50/80R57 MS403 S2AR-B","quantity": 1,"startTime": "2024-12-04T04:05:25","endTime": "2024-12-04T18:45:25","stdtime": 880,"bizDate": "20241203","shiftValue": "2","color": "9966FF","colorCode": 1,"equipTotalQty": 3,"shiftTotalQty": 7,"equipPartCount": 1,"shiftPartCount": 4,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1139","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null}],"oldGanttList": null,"lockUser": null},{"equipmentName": "O1B024","siteName": null,"areaName": null,"plineName": null,"bizDate": null,"shiftValue": null,"equipmentDesc": "G04","flag": null,"equipTotalQty": 15,"equipPartCount": 2,"equipChg": null,"equipTotalStop": null,"dateShiftInfo": [{"atrKey": null,"bizDate": "20241202","shiftValue": "0","startDate": "2024-12-02T00:00:00","endDate": "2024-12-02T08:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "1","startDate": "2024-12-02T08:00:00","endDate": "2024-12-02T16:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "2","startDate": "2024-12-02T16:00:00","endDate": "2024-12-03T00:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "0","startDate": "2024-12-03T00:00:00","endDate": "2024-12-03T08:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "1","startDate": "2024-12-03T08:00:00","endDate": "2024-12-03T16:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "2","startDate": "2024-12-03T16:00:00","endDate": "2024-12-04T00:00:00"}],"ganttList": [{"atrKey": 12636655,"planKey": 843851543,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B024","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G04","planPartpri": "9","partClassName": "胎胚","partNumber": "204403497","partDesc": "50/80R57 MS403 S1A-B","quantity": 1,"startTime": "2024-12-02T07:00:00","endTime": "2024-12-02T08:00:00","stdtime": 0,"bizDate": "20241202","shiftValue": "0","color": "00FF99","colorCode": 2,"equipTotalQty": 15,"shiftTotalQty": 38,"equipPartCount": 2,"shiftPartCount": 12,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1164","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12636657,"planKey": 843851532,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B024","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G04","planPartpri": "10","partClassName": "胎胚","partNumber": "204403497","partDesc": "50/80R57 MS403 S1A-B","quantity": 1,"startTime": "2024-12-02T23:00:00","endTime": "2024-12-03T00:00:00","stdtime": 0,"bizDate": "20241202","shiftValue": "2","color": "0099FF","colorCode": 4,"equipTotalQty": 15,"shiftTotalQty": 31,"equipPartCount": 2,"shiftPartCount": 10,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1164","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12639169,"planKey": 844081698,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B024","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G04","planPartpri": "8","partClassName": "胎胚","partNumber": "204403497","partDesc": "50/80R57 MS403 S1A-B","quantity": 1,"startTime": "2024-12-03T07:00:00","endTime": "2024-12-03T08:00:00","stdtime": 0,"bizDate": "20241203","shiftValue": "0","color": "9966FF","colorCode": 1,"equipTotalQty": 15,"shiftTotalQty": 39,"equipPartCount": 2,"shiftPartCount": 14,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1164","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12642085,"planKey": 844326841,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B024","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G04","planPartpri": "0","partClassName": "胎胚","partNumber": "204403497","partDesc": "50/80R57 MS403 S1A-B","quantity": 1,"startTime": "2024-12-03T15:00:00","endTime": "2024-12-03T16:00:00","stdtime": 0,"bizDate": "20241203","shiftValue": "1","color": "FFCC66","colorCode": 3,"equipTotalQty": 15,"shiftTotalQty": 16,"equipPartCount": 2,"shiftPartCount": 8,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1164","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null}],"oldGanttList": null,"lockUser": null},{"equipmentName": "O1B025","siteName": null,"areaName": null,"plineName": null,"bizDate": null,"shiftValue": null,"equipmentDesc": "G05","flag": null,"equipTotalQty": 8,"equipPartCount": 1,"equipChg": null,"equipTotalStop": null,"dateShiftInfo": [{"atrKey": null,"bizDate": "20241202","shiftValue": "0","startDate": "2024-12-02T00:00:00","endDate": "2024-12-02T08:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "1","startDate": "2024-12-02T08:00:00","endDate": "2024-12-02T16:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "2","startDate": "2024-12-02T16:00:00","endDate": "2024-12-03T00:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "0","startDate": "2024-12-03T00:00:00","endDate": "2024-12-03T08:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "1","startDate": "2024-12-03T08:00:00","endDate": "2024-12-03T16:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "2","startDate": "2024-12-03T16:00:00","endDate": "2024-12-04T00:00:00"}],"ganttList": [{"atrKey": 12636615,"planKey": 843851535,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B025","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G05","planPartpri": "7","partClassName": "胎胚","partNumber": "204402863","partDesc": "30.00R51 MS401 PRO S2UC","quantity": 1,"startTime": "2024-12-02T07:00:00","endTime": "2024-12-02T08:00:00","stdtime": 209,"bizDate": "20241202","shiftValue": "0","color": "9966FF","colorCode": 1,"equipTotalQty": 8,"shiftTotalQty": 38,"equipPartCount": 1,"shiftPartCount": 12,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1124","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12639124,"planKey": 844081693,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B025","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G05","planPartpri": "4","partClassName": "胎胚","partNumber": "204402863","partDesc": "30.00R51 MS401 PRO S2UC","quantity": 1,"startTime": "2024-12-03T07:00:00","endTime": "2024-12-03T08:00:00","stdtime": 209,"bizDate": "20241203","shiftValue": "0","color": "9966FF","colorCode": 1,"equipTotalQty": 8,"shiftTotalQty": 39,"equipPartCount": 1,"shiftPartCount": 14,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1124","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12641831,"planKey": null,"siteName": null,"areaName": null,"status": "1","equipmentName": "O1B025","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G05","planPartpri": "2","partClassName": "胎胚","partNumber": "204402863","partDesc": "30.00R51 MS401 PRO S2UC","quantity": 1,"startTime": "2024-12-03T16:54:59","endTime": "2024-12-03T23:54:59","stdtime": 420,"bizDate": "20241203","shiftValue": "1","color": "9966FF","colorCode": 1,"equipTotalQty": 8,"shiftTotalQty": 16,"equipPartCount": 1,"shiftPartCount": 8,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1124","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12641832,"planKey": null,"siteName": null,"areaName": null,"status": "1","equipmentName": "O1B025","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G05","planPartpri": "3","partClassName": "胎胚","partNumber": "204402863","partDesc": "30.00R51 MS401 PRO S2UC","quantity": 1,"startTime": "2024-12-03T20:24:59","endTime": "2024-12-04T03:24:59","stdtime": 420,"bizDate": "20241203","shiftValue": "1","color": "9966FF","colorCode": 1,"equipTotalQty": 8,"shiftTotalQty": 16,"equipPartCount": 1,"shiftPartCount": 8,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1124","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null}],"oldGanttList": null,"lockUser": null},{"equipmentName": "O1B026","siteName": null,"areaName": null,"plineName": null,"bizDate": null,"shiftValue": null,"equipmentDesc": "G06","flag": null,"equipTotalQty": 19,"equipPartCount": 3,"equipChg": null,"equipTotalStop": null,"dateShiftInfo": [{"atrKey": null,"bizDate": "20241202","shiftValue": "0","startDate": "2024-12-02T00:00:00","endDate": "2024-12-02T08:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "1","startDate": "2024-12-02T08:00:00","endDate": "2024-12-02T16:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "2","startDate": "2024-12-02T16:00:00","endDate": "2024-12-03T00:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "0","startDate": "2024-12-03T00:00:00","endDate": "2024-12-03T08:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "1","startDate": "2024-12-03T08:00:00","endDate": "2024-12-03T16:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "2","startDate": "2024-12-03T16:00:00","endDate": "2024-12-04T00:00:00"}],"ganttList": [{"atrKey": 12636602,"planKey": 843851502,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B026","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G06","planPartpri": "8","partClassName": "胎胚","partNumber": "204403457","partDesc": "27.00R49 MS403 ES2A","quantity": 1,"startTime": "2024-12-02T07:00:00","endTime": "2024-12-02T08:00:00","stdtime": 0,"bizDate": "20241202","shiftValue": "0","color": "00FF99","colorCode": 2,"equipTotalQty": 19,"shiftTotalQty": 38,"equipPartCount": 3,"shiftPartCount": 12,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1094","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12636604,"planKey": 843851544,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B026","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G06","planPartpri": "10","partClassName": "胎胚","partNumber": "204403457","partDesc": "27.00R49 MS403 ES2A","quantity": 1,"startTime": "2024-12-02T15:00:00","endTime": "2024-12-02T16:00:00","stdtime": 0,"bizDate": "20241202","shiftValue": "1","color": "0099FF","colorCode": 4,"equipTotalQty": 19,"shiftTotalQty": 23,"equipPartCount": 3,"shiftPartCount": 9,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1094","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12636611,"planKey": 843851517,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B026","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G06","planPartpri": "12","partClassName": "胎胚","partNumber": "204403349","partDesc": "27.00R49 MS403 S2HR","quantity": 1,"startTime": "2024-12-02T23:00:00","endTime": "2024-12-03T00:00:00","stdtime": 150,"bizDate": "20241202","shiftValue": "2","color": "FF9999","colorCode": 5,"equipTotalQty": 19,"shiftTotalQty": 31,"equipPartCount": 3,"shiftPartCount": 10,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1074","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12641934,"planKey": null,"siteName": null,"areaName": null,"status": "1","equipmentName": "O1B026","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G06","planPartpri": "10","partClassName": "胎胚","partNumber": "204403349","partDesc": "27.00R49 MS403 S2HR","quantity": 1,"startTime": "2024-12-03T14:35:53","endTime": "2024-12-03T19:35:53","stdtime": 300,"bizDate": "20241203","shiftValue": "0","color": "FF9999","colorCode": 5,"equipTotalQty": 19,"shiftTotalQty": 39,"equipPartCount": 3,"shiftPartCount": 14,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1074","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12641936,"planKey": null,"siteName": null,"areaName": null,"status": "1","equipmentName": "O1B026","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G06","planPartpri": "1","partClassName": "胎胚","partNumber": "204403349","partDesc": "27.00R49 MS403 S2HR","quantity": 1,"startTime": "2024-12-03T17:05:53","endTime": "2024-12-03T22:05:53","stdtime": 300,"bizDate": "20241203","shiftValue": "1","color": "FF9999","colorCode": 5,"equipTotalQty": 19,"shiftTotalQty": 16,"equipPartCount": 3,"shiftPartCount": 8,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1074","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12639116,"planKey": 844078972,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B026","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G06","planPartpri": "9","partClassName": "胎胚","partNumber": "204403349","partDesc": "27.00R49 MS403 S2HR","quantity": 1,"startTime": "2024-12-03T19:35:53","endTime": "2024-12-03T20:35:53","stdtime": 150,"bizDate": "20241203","shiftValue": "0","color": "FF9999","colorCode": 5,"equipTotalQty": 19,"shiftTotalQty": 39,"equipPartCount": 3,"shiftPartCount": 14,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1074","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12641789,"planKey": null,"siteName": null,"areaName": null,"status": "1","equipmentName": "O1B026","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G06","planPartpri": "7","partClassName": "胎胚","partNumber": "204403348","partDesc": "27.00R49 MS403 S2H","quantity": 1,"startTime": "2024-12-04T04:00:00","endTime": "2024-12-04T09:00:00","stdtime": 300,"bizDate": "20241203","shiftValue": "2","color": "9966FF","colorCode": 1,"equipTotalQty": 19,"shiftTotalQty": 7,"equipPartCount": 3,"shiftPartCount": 4,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1099","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12641824,"planKey": null,"siteName": null,"areaName": null,"status": "1","equipmentName": "O1B026","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G06","planPartpri": "8","partClassName": "胎胚","partNumber": "204403348","partDesc": "27.00R49 MS403 S2H","quantity": 1,"startTime": "2024-12-04T06:30:00","endTime": "2024-12-04T11:30:00","stdtime": 300,"bizDate": "20241203","shiftValue": "2","color": "9966FF","colorCode": 1,"equipTotalQty": 19,"shiftTotalQty": 7,"equipPartCount": 3,"shiftPartCount": 4,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1099","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null}],"oldGanttList": null,"lockUser": null},{"equipmentName": "O1B029","siteName": null,"areaName": null,"plineName": null,"bizDate": null,"shiftValue": null,"equipmentDesc": "G09","flag": null,"equipTotalQty": 20,"equipPartCount": 1,"equipChg": null,"equipTotalStop": null,"dateShiftInfo": [{"atrKey": null,"bizDate": "20241202","shiftValue": "0","startDate": "2024-12-02T00:00:00","endDate": "2024-12-02T08:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "1","startDate": "2024-12-02T08:00:00","endDate": "2024-12-02T16:00:00"},{"atrKey": null,"bizDate": "20241202","shiftValue": "2","startDate": "2024-12-02T16:00:00","endDate": "2024-12-03T00:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "0","startDate": "2024-12-03T00:00:00","endDate": "2024-12-03T08:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "1","startDate": "2024-12-03T08:00:00","endDate": "2024-12-03T16:00:00"},{"atrKey": null,"bizDate": "20241203","shiftValue": "2","startDate": "2024-12-03T16:00:00","endDate": "2024-12-04T00:00:00"}],"ganttList": [{"atrKey": 12636630,"planKey": 843848821,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B029","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G09","planPartpri": "16","partClassName": "胎胚","partNumber": "204402687","partDesc": "33.00R51 MS403 PRO S2R-B","quantity": 1,"startTime": "2024-12-02T09:00:00","endTime": "2024-12-02T10:00:00","stdtime": 240,"bizDate": "20241202","shiftValue": "0","color": "9966FF","colorCode": 1,"equipTotalQty": 20,"shiftTotalQty": 38,"equipPartCount": 1,"shiftPartCount": 12,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Stop","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1068","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12636628,"planKey": 843848822,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B029","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G09","planPartpri": "14","partClassName": "胎胚","partNumber": "204402687","partDesc": "33.00R51 MS403 PRO S2R-B","quantity": 1,"startTime": "2024-12-02T07:00:00","endTime": "2024-12-02T08:00:00","stdtime": 240,"bizDate": "20241202","shiftValue": "0","color": "9966FF","colorCode": 1,"equipTotalQty": 20,"shiftTotalQty": 38,"equipPartCount": 1,"shiftPartCount": 12,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1066","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12636631,"planKey": 843857336,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B029","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G09","planPartpri": "5","partClassName": "胎胚","partNumber": "204402687","partDesc": "33.00R51 MS403 PRO S2R-B","quantity": 1,"startTime": "2024-12-02T15:00:00","endTime": "2024-12-02T16:00:00","stdtime": 240,"bizDate": "20241202","shiftValue": "1","color": "9966FF","colorCode": 1,"equipTotalQty": 20,"shiftTotalQty": 23,"equipPartCount": 1,"shiftPartCount": 9,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1068","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12636635,"planKey": 843857298,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B029","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G09","planPartpri": "13","partClassName": "胎胚","partNumber": "204402687","partDesc": "33.00R51 MS403 PRO S2R-B","quantity": 1,"startTime": "2024-12-02T23:00:00","endTime": "2024-12-03T00:00:00","stdtime": 240,"bizDate": "20241202","shiftValue": "2","color": "9966FF","colorCode": 1,"equipTotalQty": 20,"shiftTotalQty": 31,"equipPartCount": 1,"shiftPartCount": 10,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1068","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null},{"atrKey": 12639140,"planKey": 844073641,"siteName": null,"areaName": null,"status": "3","equipmentName": "O1B029","oldEquipmentName": null,"plineName": "PL_Molding4","equipmentDesc": "G09","planPartpri": "10","partClassName": "胎胚","partNumber": "204402687","partDesc": "33.00R51 MS403 PRO S2R-B","quantity": 1,"startTime": "2024-12-03T07:00:00","endTime": "2024-12-03T08:00:00","stdtime": 240,"bizDate": "20241203","shiftValue": "0","color": "9966FF","colorCode": 1,"equipTotalQty": 20,"shiftTotalQty": 39,"equipPartCount": 1,"shiftPartCount": 14,"equipChg": null,"shiftChg": null,"equipTotalStop": null,"changeTime": null,"type": "Plan","changeFlag": null,"lockUser": null,"oldPosition": null,"dragUser": null,"poOrderNo": "24-SL-P-GOTR-1068","traceCode": null,"changeType": null,"refuellingTime": null,"startShift": null,"endShift": null,"startDateAndShift": null,"endDateAndShift": null,"construction": null,"planType": null,"buildingPlanChangeTimeDto": null,"demandKey": null,"erporder": null}],"oldGanttList": null,"lockUser": null}]
}

运行结果:

静态图

选中图

拖拽图

相关文章:

vue3+Echarts+ts实现甘特图

项目场景&#xff1a; vue3Echartsts实现甘特图;发布任务 代码实现 封装ganttEcharts.vue <template><!-- Echarts 甘特图 --><div ref"progressChart" class"w100 h100"></div> </template> <script lang"ts&qu…...

OpenCV相机标定与3D重建(41)从 3D 物点和它们对应的 2D 图像点估算初始相机内参矩阵函数initCameraMatrix2D()的使用

操作系统&#xff1a;ubuntu22.04 OpenCV版本&#xff1a;OpenCV4.9 IDE:Visual Studio Code 编程语言&#xff1a;C11 算法描述 从3D-2D点对应关系中找到一个初始的相机内参矩阵。 cv::initCameraMatrix2D 是 OpenCV 库中的一个函数&#xff0c;用于从 3D 物点和它们对应的…...

ELK日志平台搭建 (最新版)

一、安装 JDK 1. 下载 JDK 21 RPM 包 wget https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.rpm2. 安装 JDK 21,使用 rpm 命令安装下载的 RPM 包&#xff1a; sudo rpm -ivh jdk-21_linux-x64_bin.rpm3. 配置环境变量 编辑 /etc/profile 文件以配置 JAVA_HO…...

智能化人才招聘系统是怎样的?

随着企业规模的扩大和业务范围的拓展&#xff0c;人才招聘成为了企业发展的关键环节。然而&#xff0c;市面上的人才招聘系统琳琅满目&#xff0c;质量参差不齐&#xff0c;许多企业发现&#xff0c;并非所有系统都能满足他们的需求&#xff0c;特别是智能化的需求。今天&#…...

电脑主机后置音频插孔无声?还得Realtek高清晰音频管理器调教

0 缘起 一台联想电脑&#xff0c;使用Windows 10 专业版32位&#xff0c;电脑主机后置音频插孔一直没有声音&#xff0c;所以音箱是接在机箱前面版的前置音频插孔上的。 一天不小心捱到了音箱的音频线&#xff0c;音频线头断在音频插孔里面了&#xff0c;前置音频插孔因此用不…...

记一次音频无输出的解决方案

啊啊啊&#xff0c;刷个抖音就发现个死电脑死都不出声&#xff0c;捣鼓了一天才解决 打开wav文件时&#xff0c;提示错误找不到音频播放设备 0xc00d36fa 起初以为是声卡坏了&#xff0c;就到官网下载、更新了声卡驱动。无用什么驱动精灵也检测了&#xff0c;但也测不出啥来。…...

初学stm32 --- FSMC驱动LCD屏

目录 FSMC简介 FSMC框图介绍 FSMC通信引脚介绍 FSMC_NWE 的作用 FSMC_NWE 的时序关系 FSMC_NOE 的含义 FSMC_NOE 的典型用途 FSMC_NOE 的时序关系 使用FSMC驱动LCD FSMC时序介绍 时序特性中的 OE ILI9341重点时序&#xff1a; FSMC地址映射 HADDR与FSMC_A关系 LCD的…...

Scala_【4】流程控制

第四章 分支控制if-else单分支双分支多分支返回值嵌套分支 For循环控制包含边界不包含边界循环守卫循环步长嵌套循环循环返回值 While循环Break友情链接 分支控制if-else 单分支 双分支 多分支 返回值 嵌套分支 For循环控制 Scala也为for循环这一常见的控制结构提供了非常多的…...

mysql带自动递增列的表删除数据后如何重置递增值

mysql带自动递增列的表删除数据后如何重置递增值 在 MySQL 中&#xff0c;如果你删除了表中的数据&#xff0c;自动递增列的值 不会自动重置。如果你希望在删除数据后重新设置自动递增列的值&#xff0c;可以使用以下几种方法&#xff1a; 1. 使用 ALTER TABLE 重置自动递增值…...

[CTF/网络安全] 攻防世界 simple_php 解题详析

题目描述&#xff1a;小宁听说php是最好的语言,于是她简单学习之后写了几行php代码。 代码解读 $a$_GET[a]; 从HTTP GET请求参数中获取一个名为a的变量&#xff0c;并将其赋值给变量a。符号用于禁止错误输出&#xff0c;如果不存在参数a则会将变量a设置为NULL。 $b$_GET[b];…...

Android 第三方框架:网络框架:OkHttp:源码分析:缓存

文章目录 概述磁盘缓存 类结构 InternalCache接口DiskLruCahce.Entry内部类DiskLruCahce.Snapshot内部类DiskLruCahce.Editor内部类DiskLruCahce类Cahce.Entry内部类Cahce类总结概述 不存在内存缓存,只存在磁盘缓存 磁盘缓存 磁盘缓存 类结构 主要InternalCache接口、Dis…...

大数据新视界 -- Hive 集群搭建与配置的最佳实践(2 - 16 - 13)

&#x1f496;&#x1f496;&#x1f496;亲爱的朋友们&#xff0c;热烈欢迎你们来到 青云交的博客&#xff01;能与你们在此邂逅&#xff0c;我满心欢喜&#xff0c;深感无比荣幸。在这个瞬息万变的时代&#xff0c;我们每个人都在苦苦追寻一处能让心灵安然栖息的港湾。而 我的…...

C# 设计模式(结构型模式):组合模式

C# 设计模式&#xff08;结构型模式&#xff09;&#xff1a;组合模式 在软件设计中&#xff0c;有时我们需要处理的是一组对象&#xff0c;而这些对象既可以是单独的元素&#xff0c;也可以是由多个子元素组成的复合体。这时&#xff0c;组合模式&#xff08;Composite Patte…...

Aloudata AIR | 逻辑数据平台的 NoETL 之道

一文为你介绍 Aloudata AIR 逻辑数据平台的技术原理与核心价值 本文主旨是介绍逻辑数据平台的技术原理与核心价值&#xff0c;包含几个部分的内容&#xff1a; 首先&#xff0c;简要阐述逻辑数据平台出现的背景&#xff1b;其次&#xff0c;详细讲解逻辑数据平台的构建方法&am…...

js的一些处理

1.翻转字符串 let str abcdef str str.split().reverse().join() console.log(str) 因此想到了我之前写的截取字符串获取参数跳转&#xff0c;在写一遍 let str nameJack&age18&gender男 let list str.split(&); let obj {} list.forEach((v)>{ …...

NLP 复习大纲

CH3 激活函数意义 增强网络表达能力&#xff0c;引入非线性因素 连续可导的非线性函数 尽可能简单 导数的值域要在合适的范围内 为什么会发生梯度消失 误差传播的迭代公式为&#xff1a; 其中需要用到激活函数的导数&#xff0c;而激活函数的导数值小于1时&#xff0c;误差经过…...

Kafka的rebalance机制

1、什么是 rebalance 机制 重平衡&#xff08;rebalance&#xff09;机制规定了如何让消费者组下的所有消费者来分配 topic 中的每一个分区。 2、rebalance 机制的触发条件是什么 &#xff08;1&#xff09;消费者组内成员变更 成员增加&#xff1a;当有新的消费者加入到消费…...

【git】git stash相关指令

目录 git stashgit stash save “”git stash list&#xff1a; 获取stash列表git stash pop&#xff1a;恢复最近一次stash缓存git stash apply stash{index}: 恢复指定缓存在这里插入图片描述git stash drop stash{1}&#xff1a;删除指定缓存 git stash clear :删除stash gi…...

BLIP论文笔记

论文地址 BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation 论文思想 其实Clip就相当于只用了ITC...

设计模式-创建型设计模式总结

创建型设计模式&#xff08;Creational Design Patterns&#xff09;是 设计模式 中的一类&#xff0c;专注于如何实例化对象或类。它们提供了一些优雅的方式来创建对象&#xff0c;允许程序在对象创建过程中更灵活地进行管理&#xff0c;从而提高系统的扩展性和维护性。 创建…...

Java-多种方法实现多线程卖票

Java多线程卖票是一个经典的并发编程问题,它展示了如何在多个线程之间安全地共享和修改资 源。以下是几种实现方式: 使用synchronized关键字: 使用synchronized修饰符来同步方法或代码块,确保同一时刻只有一个线程可以访问临界区(即操 作共享资源的代码)。 使用Reen…...

嵌入式系统开发笔记112:通过有人云测试MQTT

文章目录 前言一、MQTT1、基本原理(1)发布 / 订阅模式:(2)主题系统:2、特点(1)轻量级:(2)可靠性:(3)低功耗:3、消息主题的命名(1)使用正斜杠(/)分隔层级:(2)区分大小写:(3)避免特殊字符:4、客户端ID(1)作用a、连接标识:b、消息路由与管理:c、会话…...

C++ Latch 和 Barrier: 新手指南

文章目录 什么是 Latch 和 Barrier?为什么要使用 Latch 和 Barrier?代码示例示例 1: 使用 std::latch示例 2: 多阶段任务示例 3: 使用 std::barrier 何时使用?优势使用时需要注意的事项参考链接源码链接 随着并发和并行编程的重要性日益增加, 理解像 Latch 和 Barrier 这样的…...

【Cocos TypeScript 零基础 4.1】

目录 背景滚动 背景滚动 创建一个 空节点 背景丟进去 ( 复制一个,再丢一次都行) 新建TS脚本 并绑定到 空节点 上 再对TS脚本进行编辑 export class TS2bg extends Component {property (Node) // 通过属性面板去赋值bg1:Node nullproperty (Node) bg2:Node nullprope…...

区块链安全常见的攻击合约和简单复现,附带详细分析——不安全调用漏洞 (Unsafe Call Vulnerability)【6】

区块链安全常见的攻击分析——不安全调用漏洞 Unsafe Call Vulnerability 1.1 漏洞合约1.2 漏洞分析1.3 攻击步骤分析1.4 攻击合约 Name: 不安全调用漏洞 (Unsafe Call Vulnerability) 重点&#xff1a; 在 TokenWhale 合约的 approveAndCallcode 函数中&#xff0c;漏洞允许任…...

鸿蒙应用开发搬砖经验之—使用ArkWeb要开启文档对象模型存储接口权限(DOM Storage API权限)

如题&#xff0c;该属性/功能默认是没有开启的&#xff01;&#xff01;&#xff01;&#xff01; 所以需要我们手动开启&#xff0c;否侧加载的H5 SPA大概率功能不正常&#xff0c;因为现在大多数的H5应用都用遇到对象模型存储的功能&#xff0c;对应的接口是 不开启一般会…...

本机实现Llama 7B推理及部署

本机实现Llama 7B推理及部署 使用llamafile在Windows系统部署 部署步骤:首先从https://www.modelscope.cn/api/v1/models/bingal/llamafile-models/repo?Revision=master&FilePath=llamafile-0.6.2.win.zip下载llamafile并解压得到llamafile.exe文件, 再从https://www.…...

Spring Boot 依赖配置分离多种打包方式

生产上发布 Spring Boot 项目时,但凡代码有一丁点改动,就得把整个项目包括依赖重新打包上传部署,这样的包很大,影响效率 为解决这个问题,可以把依赖(pom中的依赖jar包)、配置文件(resources 下的 applacation.yml 等文件)从项目主体里剥离出来,后续部署时,只需发布代…...

华为的数字化转型框架和数字化转型成熟度评估方法

2016年&#xff0c;华为公司数字化转型变革规划汇报通过&#xff0c;一系列的变革项目由变革指导委员会(Executive Steering Committee,ESC)完成立项。8年多来&#xff0c;华为数字化转型工作初步取得了一些成果&#xff0c;比如&#xff1a; 实现“销售收入翻番&#xff0c;但…...

图像转换 VM与其他格式互转

目录 前言 图像转换 1.相机取流转VM对应类型图像格式 1.1 相机采图转流程输入和Group输入(ImageBaseData_V2) 1.2 相机采图转图像源SDK输入(ImageBaseData) 1.3 相机采图转模块输入(InputImageData) 1.4 相机采图转算子输入(CmvdImage) 2.Bitmap取图与VM对应图像格式互…...