From 0a27a9c0f9e1213dff16162d73a03dba0473b96e Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期五, 27 六月 2025 11:06:36 +0800 Subject: [PATCH] refactor(lb-eims):优化维护计划生成订单功能 --- eims-ui-mobile/src/service/inspect.ts | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/eims-ui-mobile/src/service/inspect.ts b/eims-ui-mobile/src/service/inspect.ts index adf4fa6..3aad82e 100644 --- a/eims-ui-mobile/src/service/inspect.ts +++ b/eims-ui-mobile/src/service/inspect.ts @@ -1,6 +1,6 @@ import { http } from '@/utils/http' import type { InspectStVO, InspectRecordVO } from './inspect.d' - +type ID = number | string /** * 鐐规姹囨�诲垪琛� */ @@ -9,6 +9,22 @@ } /** + * 鏍规嵁id鏌ヨ姹囨�� + * @param id + */ +export const getInspSt = (id: ID) => { + return http.get<InspectStVO>(`/eims/inspectSt/${id}`) +} + +/** + * 鏍规嵁id鏌ヨ姹囨�� + * @param stId + */ +export const getInspStByStId = (stId: string) => { + return http.get<InspectStVO>(`/eims/inspectSt/info/${stId}`) +} + +/** * 鐐规姹囨�诲垪琛ㄤ笅鐐规璁板綍鍒楄〃 */ export const getInspStRecordList = (params: any) => { -- Gitblit v1.9.3