From c925563568f0b3b0aa2792ec61b84c40f1e3ebf6 Mon Sep 17 00:00:00 2001 From: "zangch@mesnac.com" Date: Sat, 11 Oct 2025 13:15:09 +0800 Subject: [PATCH] =?UTF-8?q?change(mes):=E4=BF=AE=E6=94=B9=E6=8A=A5?= =?UTF-8?q?=E8=A1=A8=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将报表中的 processId 默认值从2 改为 undefined - 将工时报表中的 processId 默认值从 2 改为 undefined - 重置查询条件时统一将 processId 设置为 undefined - 确保页面初始化和重置功能的一致性处理 --- src/views/mes/reportTeamWork/index3.vue | 4 ++-- src/views/mes/reportWorkHour/index3.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/mes/reportTeamWork/index3.vue b/src/views/mes/reportTeamWork/index3.vue index c7b19e4..ce58eac 100644 --- a/src/views/mes/reportTeamWork/index3.vue +++ b/src/views/mes/reportTeamWork/index3.vue @@ -117,7 +117,7 @@ const columns = ref([ const queryParams = ref({ pageNum: 1, pageSize: 10, - processId: 2, + processId: undefined, classTeamId: undefined, beginDate: '', endDate: '', @@ -159,7 +159,7 @@ const resetQuery = () => { queryFormRef.value?.resetFields?.(); const nowDate = proxy?.parseTime(new Date(), '{y}-{m}-{d}'); dateRange.value = [nowDate, nowDate]; - queryParams.value.processId = 2; + queryParams.value.processId = undefined; queryParams.value.classTeamId = undefined; handleQuery(); }; diff --git a/src/views/mes/reportWorkHour/index3.vue b/src/views/mes/reportWorkHour/index3.vue index 92bcae6..abf9aec 100644 --- a/src/views/mes/reportWorkHour/index3.vue +++ b/src/views/mes/reportWorkHour/index3.vue @@ -140,7 +140,7 @@ const columns = ref([ const queryParams = ref({ pageNum: 1, pageSize: 10, - processId: 2, + processId: undefined, machineId: undefined, shiftId: undefined, classTeamId: undefined, @@ -194,7 +194,7 @@ const resetQuery = () => { queryFormRef.value?.resetFields?.(); const nowDate = proxy?.parseTime(new Date(), '{y}-{m}-{d}'); dateRange.value = [nowDate, nowDate]; - queryParams.value.processId = 2; + queryParams.value.processId = undefined; queryParams.value.machineId = undefined; queryParams.value.shiftId = undefined; queryParams.value.classTeamId = undefined;