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 16948ef4a2721848c5eb3e440a4da1bee2e233df..99074500b23ef332a3216a2a3502520e81f1f8d6 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 f38c8f9686df5613ea536709a73da7f82935b020..69d87caaecdcfa30474a581ca17e063d54d29c66 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();