From b7210b2a365f5131ac5a3c26807d16a39425f039 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期二, 26 十一月 2024 22:46:53 +0800
Subject: [PATCH] 排队界面 可以多状态搜索
---
src/store/modules/checkType.ts | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/store/modules/checkType.ts b/src/store/modules/checkType.ts
index 54b50fd..c282975 100644
--- a/src/store/modules/checkType.ts
+++ b/src/store/modules/checkType.ts
@@ -9,6 +9,7 @@
value: number
name: string
displayBarcode: number
+ notes: string
}
export interface CheckTypeState {
checkTypeMap: Map<number, CheckTypeSimpleVO>
@@ -77,6 +78,12 @@
}
return this.checkTypeMap[type].displayBarcode
},
+ getCheckTypeNotes(type: number) {
+ if (!this.isSetCheckType) {
+ this.setCheckTypeMap()
+ }
+ return this.checkTypeMap[type].notes
+ },
async resetCheckTypeInfo() {
wsCache.delete(CACHE_KEY.CHECKTYPE_CACHE)
const res = await CheckTypeApi.getSimpleCheckTypeList()
--
Gitblit v1.9.3