From 5e5665f5f9b623f262fdc539d7b8271538fc907b Mon Sep 17 00:00:00 2001 From: wally <18603454788@163.com> Date: Wed, 24 May 2023 19:07:18 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=AF=A6=E6=83=851?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 2 + .../DetailAidRecord/DetailAidRecord.vue | 208 ++++++++++++++++++ config/code.ts | 82 ++++++- pages/detail1/detail1.vue | 18 +- pages/detail2/detail2.vue | 50 +++-- pages/patient-list/patient-list.vue | 2 +- static/images/plus-white.png | Bin 0 -> 894 bytes 7 files changed, 345 insertions(+), 17 deletions(-) create mode 100644 components/DetailAidRecord/DetailAidRecord.vue create mode 100644 static/images/plus-white.png diff --git a/.vscode/settings.json b/.vscode/settings.json index 337eb5e..da21e2c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -9,11 +9,13 @@ "FILESYSTEMS", "idcard", "JBXX", + "JCWB", "localdata", "LYFS", "NIHSS", "nvue", "plusempty", + "RYPG", "SFXHCZ", "SFYNCZ", "splashscreen", diff --git a/components/DetailAidRecord/DetailAidRecord.vue b/components/DetailAidRecord/DetailAidRecord.vue new file mode 100644 index 0000000..51cc3bb --- /dev/null +++ b/components/DetailAidRecord/DetailAidRecord.vue @@ -0,0 +1,208 @@ + + + diff --git a/config/code.ts b/config/code.ts index 0c7d4f6..f560ef6 100644 --- a/config/code.ts +++ b/config/code.ts @@ -1,4 +1,5 @@ -export const CODE_DICT = { +// 患者基本信息 +export const BASE_CODE_DICT = { 'JBXX-SFXHCZ': { // 是否醒后卒中 text: '发病时间', @@ -72,3 +73,82 @@ export const CODE_DICT = { default: '', }, } + +export const AID_RECORD_DICT = { + 'RYPG-HEIGHT': { + text: '身高', + description: '(cm)', + type: 'input', + inputType: 'digit', + default: '', + }, + 'RYPG-WEIGHT': { + text: '体重', + description: '(kg)', + type: 'text', + default: '', + }, + 'RYPG-BMI': { + text: 'BMI', + description: '', + type: 'text', + default: '', + }, + 'RYPG-SYSTOLIC-PRESSURE': { + text: '收缩压', + description: '(mmHg)', + type: 'input', + inputType: 'digit', + default: '', + }, + 'RYPG-DIASTOLIC-PRESSURE': { + text: '舒张压', + description: '(mmHg)', + type: 'input', + inputType: 'digit', + default: '', + }, + 'RYPG-PULSE': { + text: '脉搏', + description: '(次/分)', + type: 'input', + inputType: 'digit', + default: '', + }, + 'RYPG-MRS': { + text: '本次入院mRS评分', + description: '', + type: 'text', + rightArrow: true, + default: '', + }, + 'RYPG-NIHSS': { + text: '本次入院NIHSS评分', + description: '', + type: 'text', + rightArrow: true, + default: '', + }, + 'RYPG-BLOOD-REPORT-TIME': { + text: '血样完成时间', + type: 'datetime', + default: '', + valueType: 'string', + }, + 'RYPG-BLOOD-SUGAR': { + text: '血糖', + description: '(mol/L)', + type: 'input', + inputType: 'digit', + default: '', + }, + 'RYPG-CT-JCWB-TIME': { + text: 'CT完成时间', + type: 'datetime', + default: '', + valueType: 'string', + }, +} + +// all, you know? +export const CODE_DICT = { ...BASE_CODE_DICT } diff --git a/pages/detail1/detail1.vue b/pages/detail1/detail1.vue index fb89e78..2078573 100644 --- a/pages/detail1/detail1.vue +++ b/pages/detail1/detail1.vue @@ -2,6 +2,7 @@ +