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/ipqc/index.ts | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/api/mes/qc/ipqc/index.ts b/src/api/mes/qc/ipqc/index.ts
index 48fe15c..ab2804f 100644
--- a/src/api/mes/qc/ipqc/index.ts
+++ b/src/api/mes/qc/ipqc/index.ts
@@ -2,6 +2,8 @@
import { requestClient } from '#/api/request';
+import { normalizeQcDateFilter } from '../date-filter';
+
export namespace MesQcIpqcApi {
/** MES 杩囩▼妫�楠屽崟 */
export interface Ipqc {
@@ -58,7 +60,7 @@
/** 鏌ヨ杩囩▼妫�楠屽崟鍒嗛〉 */
export function getIpqcPage(params: PageParam) {
return requestClient.get<PageResult<MesQcIpqcApi.Ipqc>>('/mes/qc/ipqc/page', {
- params,
+ params: normalizeQcDateFilter(params),
});
}
@@ -89,7 +91,9 @@
/** 瀵煎嚭杩囩▼妫�楠屽崟 */
export function exportIpqc(params: any) {
- return requestClient.download('/mes/qc/ipqc/export-excel', { params });
+ return requestClient.download('/mes/qc/ipqc/export-excel', {
+ params: normalizeQcDateFilter(params),
+ });
}
/** 涓嬭浇杩囩▼妫�楠屽崟瀵煎叆妯℃澘 */
--
Gitblit v1.9.3