From e6dff096a9e94d1a5323e82f74bc1368ff7a72d6 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期四, 12 九月 2024 13:47:17 +0800 Subject: [PATCH] 装机 作业列表 --- src/api/ecg/devmanage/index.ts | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/src/api/ecg/devmanage/index.ts b/src/api/ecg/devmanage/index.ts index 486c4f5..912ca47 100644 --- a/src/api/ecg/devmanage/index.ts +++ b/src/api/ecg/devmanage/index.ts @@ -14,7 +14,12 @@ category: string // 鍒嗙被鍚� brand: string // 鍝佺墝 model: string // 鍨嬪彿 - purchaseDate: Date // 閲囪喘鏃ユ湡 + purchaseDate: number // 閲囪喘鏃ユ湡 +} + +export interface OptionsVO { + label: string + value: string } // 璁惧鍨嬪彿 API @@ -47,6 +52,15 @@ // 瀵煎嚭璁惧鍨嬪彿 Excel exportDevModel: async (params) => { return await request.download({ url: `/ecg/dev-model/export-excel`, params }) + }, + + // + getBrandOption: async (category: string) => { + return await request.get({ url: `/ecg/dev-model/brand-option?category=` + category }) + }, + + getModelOption: async (category: string, brand: string) => { + return await request.get({ url: `/ecg/dev-model/model-option?category=` + category + `&brand=` + brand }) } } -- Gitblit v1.9.3