From 9fb4dc42af85dceaeaa340df64f1540b34cc15c4 Mon Sep 17 00:00:00 2001 From: hbk01 <3243430237@qq.com> Date: Sun, 2 Apr 2023 20:54:33 +0800 Subject: [PATCH] =?UTF-8?q?+=20=E5=B0=86=E6=A0=87=E5=93=81=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=92=8C=E8=AE=BE=E5=A4=87=E4=BF=A1=E6=81=AF=E5=90=88?= =?UTF-8?q?=E5=B9=B6=E4=B8=BA=E6=95=88=E6=9C=9F=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 8 +- .../info/device.json | 19 +- .../info/standard.json | 8 +- views/common-standards.html | 142 ------------ views/equipment.html | 151 ------------- views/expir-info.html | 203 ++++++++++++++++++ 6 files changed, 209 insertions(+), 322 deletions(-) rename views/equipment.info.js => statics/info/device.json (97%) rename views/common-standards.info.js => statics/info/standard.json (97%) delete mode 100644 views/common-standards.html delete mode 100644 views/equipment.html create mode 100644 views/expir-info.html diff --git a/index.html b/index.html index 33bfb9b..9db5f9d 100644 --- a/index.html +++ b/index.html @@ -29,12 +29,8 @@ "location": "./views/injection-sequence.html" }, { - "name": "设备信息", - "location": "./views/equipment.html" - }, - { - "name": "常用标品信息", - "location": "./views/common-standards.html" + "name": "效期查询", + "location": "./views/expir-info.html" }, { "name": "常用操作规程", diff --git a/views/equipment.info.js b/statics/info/device.json similarity index 97% rename from views/equipment.info.js rename to statics/info/device.json index 6529d9a..f326d6d 100644 --- a/views/equipment.info.js +++ b/statics/info/device.json @@ -1,5 +1,4 @@ -let info = [ - // 天平室 +[ { "where": "天平室", "name": "天平", @@ -30,8 +29,6 @@ let info = [ "id": "CAQ-14-009", "expir": "2023.12.06" }, - - // 水分室 { "where": "水分室", "name": "水分仪", @@ -56,8 +53,6 @@ let info = [ "id": "CAS-14-008", "expir": "2023.07.10" }, - - // 高温室 { "where": "高温室", "name": "鼓风干燥箱", @@ -94,8 +89,6 @@ let info = [ "id": "CBC-14-003", "expir": "2023.04.17" }, - - // 液相室一 { "where": "液相室一", "name": "液相色谱仪", @@ -192,8 +185,6 @@ let info = [ "id": "CAA-14-037", "expir": "2024.09.21" }, - - // 液相室二 { "where": "液相室二", "name": "液相色谱仪", @@ -242,8 +233,6 @@ let info = [ "id": "CAA-14-033", "expir": "2023.12.01" }, - - // 气相室 { "where": "气相室", "name": "气相色谱仪", @@ -298,8 +287,6 @@ let info = [ "id": "CAB-14-012", "expir": "2024.09.22" }, - - // 综合仪器室二 { "where": "仪器室二", "name": "质谱仪", @@ -360,8 +347,6 @@ let info = [ "id": "XRD-14-001", "expir": "2024.07.31" }, - - // 综合仪器室三 { "where": "仪器室三", "name": "电位滴定仪", @@ -374,4 +359,4 @@ let info = [ "id": "CAF-14-005", "expir": "2023.07.10" } -]; +] diff --git a/views/common-standards.info.js b/statics/info/standard.json similarity index 97% rename from views/common-standards.info.js rename to statics/info/standard.json index 34322ef..847bed0 100644 --- a/views/common-standards.info.js +++ b/statics/info/standard.json @@ -1,5 +1,4 @@ -let info = [ - // L014 系列 +[ { "kind": "L014-1", "batch": "S014-1-21029069", @@ -18,7 +17,6 @@ let info = [ "expir": "2024.02.12", "content": "99.7%" }, - // L018 系列 { "kind": "L018-1", "batch": "S018-1-21037023", @@ -67,8 +65,6 @@ let info = [ "expir": "2026.08.20", "content": "99.8%" }, - - // L414 系列 { "kind": "L414-1", "batch": "L414-1-20220051-11", @@ -140,5 +136,5 @@ let info = [ "batch": "TEMPO
M02-108-210601", "expir": "2023.05.15", "content": "99.6%" - }, + } ] diff --git a/views/common-standards.html b/views/common-standards.html deleted file mode 100644 index ecdde4a..0000000 --- a/views/common-standards.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - 常用标品信息 - - - - - - - - - -
- - -
-
-

- 过期提醒:
- 黄色表示有效期剩余30天
- 红色表示有效期剩余7天
- 红色加删除线表示已过期
-

- - - diff --git a/views/equipment.html b/views/equipment.html deleted file mode 100644 index 6d7126a..0000000 --- a/views/equipment.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - 设备信息 - - - - - - - - - -
- - -
-
-

- 过期提醒:
- 黄色表示有效期剩余30天
- 红色表示有效期剩余7天
- 红色加删除线表示已过期
-

- - - diff --git a/views/expir-info.html b/views/expir-info.html new file mode 100644 index 0000000..f67504c --- /dev/null +++ b/views/expir-info.html @@ -0,0 +1,203 @@ + + + + + + + + 效期查询 + + + + + + + + + + +
+
+

+ 过期提醒:
+ 黄色表示有效期剩余 30 天
+ 红色表示有效期剩余 7 天
+ 红色加删除线表示已过期
+

+
+ + +