Compare commits

..

No commits in common. "af298409bf264f2eabe5cb9584c412a888903779" and "b0468501df536e201a99e4d15be9325e402e2920" have entirely different histories.

View File

@ -171,26 +171,26 @@ export default {
eqList: [], eqList: [],
startTime: null, startTime: null,
gantt: null, gantt: null,
// demo: [ demo: [
// [ [
// { {
// equipmentName: '线2线', equipmentName: '一大线四区2小线清洗机',
// duration: 30, duration: 30,
// relativeDuration: 0.6, relativeDuration: 0.6,
// status: 0, status: 0,
// startPos: 0, startPos: 0,
// startTime: 1711073203686, startTime: 1711073203686,
// }, },
// { {
// equipmentName: '线2线', equipmentName: '一大线四区2小线清洗机',
// duration: 20, duration: 20,
// relativeDuration: 0.4, relativeDuration: 0.4,
// status: 2, status: 2,
// startPos: 30, startPos: 30,
// startTime: 1711072203686, startTime: 1711072203686,
// }, },
// ], ],
// ], ],
}; };
}, },
computed: {}, computed: {},
@ -258,11 +258,11 @@ export default {
this.existingEquipments = Object.values(data).map( this.existingEquipments = Object.values(data).map(
(eq) => eq[0].equipmentId (eq) => eq[0].equipmentId
); );
this.graphList = this.objectToArray(data); // this.graphList = this.objectToArray(data);
// this.graphList = this.demo.map(item => { this.graphList = this.demo.map(item => {
// item.key = item[0].equipmentName; item.key = item[0].equipmentName;
// return item; return item;
// }); });
} }
}, },