From fd65912891f8d3a09a08e4187340f3abd6c0a26a Mon Sep 17 00:00:00 2001 From: zhangdi <15053473693@163.com> Date: Fri, 26 Dec 2025 21:17:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E4=BA=A7=E7=9C=8B=E6=9D=BF=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../schedulingDashboard/index.vue | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/views/productionSchedulingPlan/schedulingDashboard/index.vue b/src/views/productionSchedulingPlan/schedulingDashboard/index.vue index 78a12b9..e895b0a 100644 --- a/src/views/productionSchedulingPlan/schedulingDashboard/index.vue +++ b/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: { // 右侧滚动时同步左侧滚动