From 4e79568138e25ca3223f6fc2cd39d03f86f73a22 Mon Sep 17 00:00:00 2001 From: LiLongLong <13717757313@163.com> Date: Sat, 11 Jan 2025 14:35:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=B8=B8=E9=87=8F=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/constant/index.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/constant/index.ts diff --git a/src/constant/index.ts b/src/constant/index.ts new file mode 100644 index 0000000..dc5f1e3 --- /dev/null +++ b/src/constant/index.ts @@ -0,0 +1,24 @@ +export const DICT = { + +} +//扫描状态 +export const SCAN_CONSUMABLES_STATE_MAP:any[] = [ + 'PASS',//通过 + 'EMPTY',//空 + 'EXPIRED',//耗材过期 + 'MISS_REACTION_PLATE',//没有反应板夹 + 'MISS_LITTSB',//缺少小缓冲液 + 'MISS_LARBS',//缺少大缓冲液 + 'MISS_IDCARD',//未找到匹配的项目ID卡 + 'LITTSB_LOTID_MISMATCH',//小缓冲液批号不匹配 + 'LARBS_LOTID_MISMATCH',//大缓冲液批号不匹配 + 'REACTION_PLATE_2D_CODE_FORMATE_ERROR',//反应板二维码格式错误 + 'CODE_ERROR_PROJINFO_IS_ERROR',//代码错误,项目信息异常 + 'UN_SUPPORT_PROJ',//不支持的项目 +] + +let scan_consumables_state_option:any = {} +SCAN_CONSUMABLES_STATE_MAP.map(el => { + scan_consumables_state_option[el] = el +}) +export const SCAN_CONSUMABLES_STATE = scan_consumables_state_option; \ No newline at end of file