From af46c32e97d3fd9b7d86bbdc2de41009c0873d7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A2=86=E6=82=9F?= <735033209@qq.com> Date: Fri, 14 Mar 2025 09:59:13 +0800 Subject: [PATCH] 0314 --- src/config/code.js | 135 ++++++++++++++++++ .../thrombolysis/components/throm-ing-min.vue | 52 ++++++- .../thrombolysis/components/throm-ing.vue | 2 +- .../thrombolysis/components/throm-report.vue | 63 ++++---- 4 files changed, 217 insertions(+), 35 deletions(-) diff --git a/src/config/code.js b/src/config/code.js index d48518c..aa25c2d 100644 --- a/src/config/code.js +++ b/src/config/code.js @@ -570,6 +570,33 @@ export const EMERGENCY_Q_CODE = { default: '', range: NIHSS_LIST, }, + 'JMRS-Q-BQPG-XL': { + text: '心率', + description: '', + type: 'pageNumer', + inputType: 'number', + rightArrow: true, + default: undefined, + range: [0, 200], + }, + 'JMRS-Q-BQPG-SAO2': { + text: '血氧饱和度', + description: '', + type: 'pageNumer', + inputType: 'number', + rightArrow: true, + default: undefined, + range: [0, 100], + }, + 'JMRS-Q-BQPG-GCS': { + text: '格拉斯评分', + description: '', + type: 'pageNumer', + inputType: 'number', + rightArrow: true, + default: undefined, + range: [0, 15], + }, }; // 15min export const EMERGENCY_15_CODE = { @@ -597,6 +624,33 @@ export const EMERGENCY_15_CODE = { default: '', range: NIHSS_LIST, }, + 'JMRS-15-BQPG-XL': { + text: '心率', + description: '', + type: 'pageNumer', + inputType: 'number', + rightArrow: true, + default: undefined, + range: [0, 200], + }, + 'JMRS-15-BQPG-SAO2': { + text: '血氧饱和度', + description: '', + type: 'pageNumer', + inputType: 'number', + rightArrow: true, + default: undefined, + range: [0, 100], + }, + 'JMRS-15-BQPG-GCS': { + text: '格拉斯评分', + description: '', + type: 'pageNumer', + inputType: 'number', + rightArrow: true, + default: undefined, + range: [0, 15], + }, }; // 30min export const EMERGENCY_30_CODE = { @@ -624,6 +678,33 @@ export const EMERGENCY_30_CODE = { default: '', range: NIHSS_LIST, }, + 'JMRS-30-BQPG-XL': { + text: '心率', + description: '', + type: 'pageNumer', + inputType: 'number', + rightArrow: true, + default: undefined, + range: [0, 200], + }, + 'JMRS-30-BQPG-SAO2': { + text: '血氧饱和度', + description: '', + type: 'pageNumer', + inputType: 'number', + rightArrow: true, + default: undefined, + range: [0, 100], + }, + 'JMRS-30-BQPG-GCS': { + text: '格拉斯评分', + description: '', + type: 'pageNumer', + inputType: 'number', + rightArrow: true, + default: undefined, + range: [0, 15], + }, }; //45min export const EMERGENCY_45_CODE = { @@ -651,6 +732,33 @@ export const EMERGENCY_45_CODE = { default: '', range: NIHSS_LIST, }, + 'JMRS-45-BQPG-XL': { + text: '心率', + description: '', + type: 'pageNumer', + inputType: 'number', + rightArrow: true, + default: undefined, + range: [0, 200], + }, + 'JMRS-45-BQPG-SAO2': { + text: '血氧饱和度', + description: '', + type: 'pageNumer', + inputType: 'number', + rightArrow: true, + default: undefined, + range: [0, 100], + }, + 'JMRS-45-BQPG-GCS': { + text: '格拉斯评分', + description: '', + type: 'pageNumer', + inputType: 'number', + rightArrow: true, + default: undefined, + range: [0, 15], + }, }; //60min export const EMERGENCY_60_CODE = { @@ -678,6 +786,33 @@ export const EMERGENCY_60_CODE = { default: '', range: NIHSS_LIST, }, + 'JMRS-60-BQPG-XL': { + text: '心率', + description: '', + type: 'pageNumer', + inputType: 'number', + rightArrow: true, + default: undefined, + range: [0, 200], + }, + 'JMRS-60-BQPG-SAO2': { + text: '血氧饱和度', + description: '', + type: 'pageNumer', + inputType: 'number', + rightArrow: true, + default: undefined, + range: [0, 100], + }, + 'JMRS-60-BQPG-GCS': { + text: '格拉斯评分', + description: '', + type: 'pageNumer', + inputType: 'number', + rightArrow: true, + default: undefined, + range: [0, 15], + }, }; // 溶栓药物剂量 export const RSYW_CODE = { diff --git a/src/views/thrombolysis/components/throm-ing-min.vue b/src/views/thrombolysis/components/throm-ing-min.vue index 43f1eac..e5ba57f 100644 --- a/src/views/thrombolysis/components/throm-ing-min.vue +++ b/src/views/thrombolysis/components/throm-ing-min.vue @@ -90,6 +90,15 @@ +
+ +
+ + +
+
@@ -134,26 +143,41 @@ 'JMRS-Q-NIHSS': '', 'JMRS-Q-DIASTOLIC-PRESSURE': '', 'JMRS-Q-SYSTOLIC-PRESSURE': '', + 'JMRS-Q-BQPG-XL': '', + 'JMRS-Q-BQPG-SAO2': '', + 'JMRS-Q-BQPG-GCS': '', }, 'JMRS-15-NIHSS': { 'JMRS-15-NIHSS': '', 'JMRS-15-SYSTOLIC-PRESSURE': '', 'JMRS-15-DIASTOLIC-PRESSURE': '', + 'JMRS-15-BQPG-XL': '', + 'JMRS-15-BQPG-SAO2': '', + 'JMRS-15-BQPG-GCS': '', }, 'JMRS-30-NIHSS': { 'JMRS-30-NIHSS': '', 'JMRS-30-SYSTOLIC-PRESSURE': '', 'JMRS-30-DIASTOLIC-PRESSURE': '', + 'JMRS-30-BQPG-XL': '', + 'JMRS-30-BQPG-SAO2': '', + 'JMRS-30-BQPG-GCS': '', }, 'JMRS-45-NIHSS': { 'JMRS-45-NIHSS': '', 'JMRS-45-SYSTOLIC-PRESSURE': '', 'JMRS-45-DIASTOLIC-PRESSURE': '', + 'JMRS-45-BQPG-XL': '', + 'JMRS-45-BQPG-SAO2': '', + 'JMRS-45-BQPG-GCS': '', }, 'JMRS-60-NIHSS': { 'JMRS-60-NIHSS': '', 'JMRS-60-SYSTOLIC-PRESSURE': '', 'JMRS-60-DIASTOLIC-PRESSURE': '', + 'JMRS-60-BQPG-XL': '', + 'JMRS-60-BQPG-SAO2': '', + 'JMRS-60-BQPG-GCS': '', }, }, EMERGENCY_Q_CODE, @@ -212,10 +236,11 @@ const { code } = this.timerData; - console.log('code=====', code, this.timercode) + // console.log('code=====', code, this.timercode) const wangbadan = code ? this.codeFormData[`${code}`] : this.codeForm; + for (let k in wangbadan) { if (data[k]) { const { @@ -224,6 +249,7 @@ this.form.getFieldDecorator([`${k}`], { preserve: true, //即便字段不再使用,也保留该字段的值 }); + this.form.setFieldsValue({ [`${k}`]: answer.toString(), }); @@ -322,9 +348,27 @@ 'JMRS-30-NIHSS', 'JMRS-45-NIHSS', 'JMRS-60-NIHSS', + 'JMRS-Q-BQPG-XL', + 'JMRS-Q-BQPG-SAO2', + 'JMRS-Q-BQPG-GCS', + 'JMRS-15-BQPG-XL', + 'JMRS-15-BQPG-SAO2', + 'JMRS-15-BQPG-GCS', + 'JMRS-30-BQPG-XL', + 'JMRS-30-BQPG-SAO2', + 'JMRS-30-BQPG-GCS', + 'JMRS-45-BQPG-XL', + 'JMRS-45-BQPG-SAO2', + 'JMRS-45-BQPG-GCS', + 'JMRS-60-BQPG-XL', + 'JMRS-60-BQPG-SAO2', + 'JMRS-60-BQPG-GCS', ]; + for (let k in recordDict) { + if ( + recordDict[k].value && recordDict[k].value !== 'undefined' && recordDict[k].value !== 'null' ) { @@ -372,7 +416,7 @@ }); } } - + for (let k in this.NIHSS_LIST) { if (this.NIHSS_LIST[k].value) { codeAndAnswerList.push({ @@ -381,9 +425,9 @@ time: '', }); } - + } - + this.home.updateAidCode({ codeAndAnswerList, }, false); diff --git a/src/views/thrombolysis/components/throm-ing.vue b/src/views/thrombolysis/components/throm-ing.vue index 043db76..131fd6c 100644 --- a/src/views/thrombolysis/components/throm-ing.vue +++ b/src/views/thrombolysis/components/throm-ing.vue @@ -85,7 +85,7 @@ }, created() { - if(this.tabIndex) this.currentIndex = this.tabIndex + if (this.tabIndex) this.currentIndex = this.tabIndex // console.log('patientData', this.patientData) // console.log('book', this.book) }, diff --git a/src/views/thrombolysis/components/throm-report.vue b/src/views/thrombolysis/components/throm-report.vue index 80cc065..0f303a2 100644 --- a/src/views/thrombolysis/components/throm-report.vue +++ b/src/views/thrombolysis/components/throm-report.vue @@ -282,7 +282,10 @@ 溶栓药物:{{queryItemInfo('JMRS-RSYW').toString()}} 剂量:{{queryItemInfo('JMRS-JDJL').toString()}} - 用法用量: + 用法用量: + + 时间点 @@ -296,12 +299,12 @@ 用药前 - {{queryItemInfo('RYPG-SYSTOLIC-PRESSURE').toString()}} / - {{queryItemInfo('RYPG-DIASTOLIC-PRESSURE').toString()}} + {{queryItemInfo('JMRS-Q-SYSTOLIC-PRESSURE').toString()}} / + {{queryItemInfo('JMRS-Q-DIASTOLIC-PRESSURE').toString()}} - - - + {{queryItemInfo('JMRS-Q-BQPG-XL').toString()}} + {{queryItemInfo('JMRS-Q-BQPG-SAO2').toString()}} + {{queryItemInfo('JMRS-Q-BQPG-GCS').toString()}} {{queryItemInfo('JMRS-Q-NIHSS').toString()}} @@ -310,9 +313,9 @@ {{queryItemInfo('JMRS-15-SYSTOLIC-PRESSURE').toString()}} / {{queryItemInfo('JMRS-15-DIASTOLIC-PRESSURE').toString()}} - - - + {{queryItemInfo('JMRS-15-BQPG-XL').toString()}} + {{queryItemInfo('JMRS-15-BQPG-SAO2').toString()}} + {{queryItemInfo('JMRS-15-BQPG-GCS').toString()}} {{queryItemInfo('JMRS-15-NIHSS').toString()}} @@ -321,9 +324,9 @@ {{queryItemInfo('JMRS-30-SYSTOLIC-PRESSURE').toString()}} / {{queryItemInfo('JMRS-30-DIASTOLIC-PRESSURE').toString()}} - - - + {{queryItemInfo('JMRS-30-BQPG-XL').toString()}} + {{queryItemInfo('JMRS-30-BQPG-SAO2').toString()}} + {{queryItemInfo('JMRS-30-BQPG-GCS').toString()}} {{queryItemInfo('JMRS-30-NIHSS').toString()}} @@ -332,9 +335,9 @@ {{queryItemInfo('JMRS-45-SYSTOLIC-PRESSURE').toString()}} / {{queryItemInfo('JMRS-45-DIASTOLIC-PRESSURE').toString()}} - - - + {{queryItemInfo('JMRS-45-BQPG-XL').toString()}} + {{queryItemInfo('JMRS-45-BQPG-SAO2').toString()}} + {{queryItemInfo('JMRS-45-BQPG-GCS').toString()}} {{queryItemInfo('JMRS-45-NIHSS').toString()}} @@ -343,9 +346,9 @@ {{queryItemInfo('JMRS-60-SYSTOLIC-PRESSURE').toString()}} / {{queryItemInfo('JMRS-60-DIASTOLIC-PRESSURE').toString()}} - - - + {{queryItemInfo('JMRS-60-BQPG-XL').toString()}} + {{queryItemInfo('JMRS-60-BQPG-SAO2').toString()}} + {{queryItemInfo('JMRS-60-BQPG-GCS').toString()}} {{queryItemInfo('JMRS-60-NIHSS').toString()}} @@ -354,9 +357,9 @@ {{queryItemInfo('JMRS-75-SYSTOLIC-PRESSURE').toString()}} / {{queryItemInfo('JMRS-75-DIASTOLIC-PRESSURE').toString()}} - - - + {{queryItemInfo('JMRS-75-BQPG-XL').toString()}} + {{queryItemInfo('JMRS-75-BQPG-SAO2').toString()}} + {{queryItemInfo('JMRS-75-BQPG-GCS').toString()}} {{queryItemInfo('JMRS-75-NIHSS').toString()}} @@ -365,9 +368,9 @@ {{queryItemInfo('JMRS-90-SYSTOLIC-PRESSURE').toString()}} / {{queryItemInfo('JMRS-90-DIASTOLIC-PRESSURE').toString()}} - - - + {{queryItemInfo('JMRS-90-BQPG-XL').toString()}} + {{queryItemInfo('JMRS-90-BQPG-SAO2').toString()}} + {{queryItemInfo('JMRS-90-BQPG-GCS').toString()}} {{queryItemInfo('JMRS-90-NIHSS').toString()}} @@ -376,9 +379,9 @@ {{queryItemInfo('JMRS-105-SYSTOLIC-PRESSURE').toString()}} / {{queryItemInfo('JMRS-105-DIASTOLIC-PRESSURE').toString()}} - - - + {{queryItemInfo('JMRS-105-BQPG-XL').toString()}} + {{queryItemInfo('JMRS-105-BQPG-SAO2').toString()}} + {{queryItemInfo('JMRS-105-BQPG-GCS').toString()}} {{queryItemInfo('JMRS-105-NIHSS').toString()}} @@ -387,9 +390,9 @@ {{queryItemInfo('JMRS-120-SYSTOLIC-PRESSURE').toString()}} / {{queryItemInfo('JMRS-120-DIASTOLIC-PRESSURE').toString()}} - - - + {{queryItemInfo('JMRS-120-BQPG-XL').toString()}} + {{queryItemInfo('JMRS-120-BQPG-SAO2').toString()}} + {{queryItemInfo('JMRS-120-BQPG-GCS').toString()}} {{queryItemInfo('JMRS-120-NIHSS').toString()}}