From 8b7babe2517db315040158b3855ca889c4beb48f Mon Sep 17 00:00:00 2001 From: dengbf Date: Thu, 21 Nov 2024 17:50:34 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E5=A4=8D]=20=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E5=99=A8=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../task/processdetail/workorder/autoexec/job-detail.vue | 2 +- src/views/pages/process/task/task-dispatch.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/pages/process/task/processdetail/workorder/autoexec/job-detail.vue b/src/views/pages/process/task/processdetail/workorder/autoexec/job-detail.vue index 16948ef4..99074500 100644 --- a/src/views/pages/process/task/processdetail/workorder/autoexec/job-detail.vue +++ b/src/views/pages/process/task/processdetail/workorder/autoexec/job-detail.vue @@ -131,7 +131,7 @@ export default { this.intervalId = null; } if (!this.$utils.isEmpty(handlerStepInfo) && handlerStepInfo.jobList && handlerStepInfo.jobList.length > 0 && handlerStepInfo.jobList.some(job => job.status === 'running' || job.status === 'pending')) { - this.intervalId = setInterval(this.getTaskStepInfo, 15 * 1000); + this.intervalId = this.$utils.setInterval(this.getTaskStepInfo, 15 * 1000); } else { this.clearIntervalIfSet(); // 清除定时器 } diff --git a/src/views/pages/process/task/task-dispatch.vue b/src/views/pages/process/task/task-dispatch.vue index f38c8f96..69d87caa 100644 --- a/src/views/pages/process/task/task-dispatch.vue +++ b/src/views/pages/process/task/task-dispatch.vue @@ -640,7 +640,7 @@ export default { this.updateFormWidth(); }, setTimer() { - this.timer = setInterval(() => { + this.timer = this.$utils.setInterval(() => { let isSame = this.beforeLeaveCompare(this.initData); if (this.autoSaveKey && !isSame) { this.save(); -- Gitee