From c2e8526f8f857be5e3a8c6f2b39c5efd424de33e Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 15 十月 2026 11:50:24 +0800
Subject: [PATCH] refactor(auth): 优化认证逻辑和界面组件结构
---
src/api/mes/qc/iqc/index.ts | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/api/mes/qc/iqc/index.ts b/src/api/mes/qc/iqc/index.ts
index 1600d54..a2e8297 100644
--- a/src/api/mes/qc/iqc/index.ts
+++ b/src/api/mes/qc/iqc/index.ts
@@ -2,6 +2,8 @@
import { requestClient } from '#/api/request';
+import { normalizeQcDateFilter } from '../date-filter';
+
export namespace MesQcIqcApi {
/** MES 鏉ユ枡妫�楠屽崟 */
export interface Iqc {
@@ -53,7 +55,7 @@
/** 鏌ヨ鏉ユ枡妫�楠屽崟鍒嗛〉 */
export function getIqcPage(params: PageParam) {
return requestClient.get<PageResult<MesQcIqcApi.Iqc>>('/mes/qc/iqc/page', {
- params,
+ params: normalizeQcDateFilter(params),
});
}
@@ -84,7 +86,9 @@
/** 瀵煎嚭鏉ユ枡妫�楠屽崟 */
export function exportIqc(params: any) {
- return requestClient.download('/mes/qc/iqc/export-excel', { params });
+ return requestClient.download('/mes/qc/iqc/export-excel', {
+ params: normalizeQcDateFilter(params),
+ });
}
/** 涓嬭浇鏉ユ枡妫�楠屽崟瀵煎叆妯℃澘 */
--
Gitblit v1.9.3