排产看板提交

dev-scheduling
zhangdi 4 days ago
parent 4d12dcb6de
commit fd65912891
  1. 30
      src/views/productionSchedulingPlan/schedulingDashboard/index.vue

@ -466,7 +466,7 @@ export default {
//
currentPage: 1,
pageSize: 10,
pageSize: 6,
//
tooltipVisible: false,
@ -698,12 +698,12 @@ export default {
this.$nextTick(() => {
this.calcCurrentTimePosition();
//
if (this.$refs.timelineContainerTest) {
this.$refs.timelineContainerTest.addEventListener('scroll', this.handleRightScrollBound);
}
if (this.$refs.leftScrollContainer) {
this.$refs.leftScrollContainer.addEventListener('scroll', this.handleLeftScrollBound);
}
// if (this.$refs.timelineContainerTest) {
// this.$refs.timelineContainerTest.addEventListener('scroll', this.handleRightScrollBound);
// }
// if (this.$refs.leftScrollContainer) {
// this.$refs.leftScrollContainer.addEventListener('scroll', this.handleLeftScrollBound);
// }
});
// 线
@ -713,17 +713,17 @@ export default {
},
created() {
// this
this.handleRightScrollBound = this.handleRightScroll.bind(this);
this.handleLeftScrollBound = this.handleLeftScroll.bind(this);
// this.handleRightScrollBound = this.handleRightScroll.bind(this);
// this.handleLeftScrollBound = this.handleLeftScroll.bind(this);
},
beforeDestroy() {
//
if (this.$refs.timelineContainerTest) {
this.$refs.timelineContainerTest.removeEventListener('scroll', this.handleRightScrollBound);
}
if (this.$refs.leftScrollContainer) {
this.$refs.leftScrollContainer.removeEventListener('scroll', this.handleLeftScrollBound);
}
// if (this.$refs.timelineContainerTest) {
// this.$refs.timelineContainerTest.removeEventListener('scroll', this.handleRightScrollBound);
// }
// if (this.$refs.leftScrollContainer) {
// this.$refs.leftScrollContainer.removeEventListener('scroll', this.handleLeftScrollBound);
// }
},
methods: {
//

Loading…
Cancel
Save