| | |
| | | export interface CheckTypeSimpleVO { |
| | | value: number |
| | | name: string |
| | | displayBarcode: number |
| | | displayBarcode: [] |
| | | notes: string |
| | | } |
| | | export interface CheckTypeState { |
| | | checkTypeMap: Map<number, CheckTypeSimpleVO> |
| | |
| | | } |
| | | 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() |