diff --git a/src/config/code.js b/src/config/code.js
index 94a3f83..b7fae67 100644
--- a/src/config/code.js
+++ b/src/config/code.js
@@ -23,26 +23,6 @@ export const MEDICAL_CODE = {
醒后卒中: '醒后卒中',
},
},
- 'JBXX-ISRS': {
- // 是否溶栓
- text: '是否溶栓',
- type: 'radio',
- default: '是',
- range: {
- 是: '是',
- 否: '否',
- },
- },
- 'JBXX-ISJR': {
- // 是否介入
- text: '是否介入',
- type: 'radio',
- default: '是',
- range: {
- 是: '是',
- 否: '否',
- },
- },
'JBXX-FBSJ': {
text: '发病时间',
type: 'datetime',
@@ -53,6 +33,26 @@ export const MEDICAL_CODE = {
value: '已知',
},
},
+ // 'JBXX-ISRS': {
+ // // 是否溶栓
+ // text: '是否溶栓',
+ // type: 'radio',
+ // default: '是',
+ // range: {
+ // 是: '是',
+ // 否: '否',
+ // },
+ // },
+ // 'JBXX-ISJR': {
+ // // 是否介入
+ // text: '是否介入',
+ // type: 'radio',
+ // default: '是',
+ // range: {
+ // 是: '是',
+ // 否: '否',
+ // },
+ // },
'JBXX-ZHZC-TIME': {
text: '最后正常时间',
type: 'datetime',
@@ -489,19 +489,19 @@ export const EMERGENCY_CODE = {
text: 'mRS评分',
description: '',
type: 'radio',
- default: '',
+ default: 0,
labelList: MRS_LIST,
range: ['0', '1', '2', '3', '4', '5'],
},
- // 'RYPG-NIHSS': {
- // text: 'NIHSS评分',
- // description: '',
- // type: 'pageText',
- // inputType: 'number',
- // rightArrow: true,
- // default: '',
- // range: NIHSS_LIST,
- // },
+ 'RYPG-NIHSS': {
+ text: 'NIHSS评分',
+ description: '',
+ type: 'pageText',
+ inputType: 'number',
+ rightArrow: true,
+ default: 0,
+ range: NIHSS_LIST,
+ },
};
//0min
export const EMERGENCY_Q_CODE = {
diff --git a/src/views/Patient/components/patient-create.vue b/src/views/Patient/components/patient-create.vue
index 6a6b7d7..1614a4b 100644
--- a/src/views/Patient/components/patient-create.vue
+++ b/src/views/Patient/components/patient-create.vue
@@ -1,7 +1,7 @@
-
-
@@ -37,7 +37,7 @@
-
@@ -48,7 +48,7 @@
扫描身份证
-
@@ -57,7 +57,7 @@
-
+
卒中急救
胸痛
@@ -79,7 +79,7 @@
-
+
@@ -365,7 +365,7 @@
};
\ No newline at end of file
diff --git a/src/views/ing/Adverse.vue b/src/views/ing/Adverse.vue
index b359810..1a37a10 100644
--- a/src/views/ing/Adverse.vue
+++ b/src/views/ing/Adverse.vue
@@ -8,7 +8,7 @@
-
@@ -47,7 +47,7 @@
@cancel="adversePickerVisable = false" @confirm="onAdverseConfirm" />
-
保存
下发医嘱
@@ -69,6 +69,10 @@
source: {
type: String,
default: 'normal'
+ },
+ editAuth: {
+ type: Boolean,
+ default: false
}
},
data() {
@@ -209,7 +213,7 @@
}))
}
this.newAdverse = newAdverse
- this.adverseList.unshift(newAdverse)
+ if(!this.adverseList?.length) this.adverseList.unshift(newAdverse)
},
pushAdverse() {
const {
diff --git a/src/views/thrombolysis/components/throm-before1.vue b/src/views/thrombolysis/components/throm-before1.vue
index 71d4e23..10874df 100644
--- a/src/views/thrombolysis/components/throm-before1.vue
+++ b/src/views/thrombolysis/components/throm-before1.vue
@@ -38,18 +38,17 @@
-
+
+ v-decorator="[v, { initialValue: k.default }]" button-style="solid" @change="changeRadio($event, v)">
{{ item }}
-
+
得分
@@ -168,7 +167,6 @@
...mapState('patient', ['patientData', 'timerData', 'writeAble']),
},
mounted() {
- console.log(this.timerData)
const {
code
} = this.timerData;
@@ -206,10 +204,12 @@
this.form.getFieldDecorator([`${k}`], {
preserve: true, //即便字段不再使用,也保留该字段的值
});
+
this.form.setFieldsValue({
[`${k}`]: answer.toString(),
});
let value = this.recordDict[k];
+
if (value && value.value && k !== 'RYPG-MRS') {
value.value = Number(answer.toString());
} else if (value && value.value) {
@@ -266,7 +266,7 @@
recordDict
} = this;
const codes = [
- // 'RYPG-MRS',
+ 'RYPG-MRS',
'RYPG-NIHSS',
'JMRS-Q-NIHSS',
'JMRS-15-NIHSS',
@@ -282,8 +282,10 @@
'JMRS-45-NIHSS',
'JMRS-60-NIHSS',
];
+
for (let k in recordDict) {
if (
+ recordDict[k].value &&
recordDict[k].value !== 'undefined' &&
recordDict[k].value !== 'null'
) {
@@ -296,9 +298,11 @@
}
}
}
+
for (let k in values) {
if (
- this.$route.name === 'Emergency' &&
+ // this.$route.name === 'Emergency' &&
+ this.$route.name === 'Thrombolysis' &&
codesEm.includes(k) &&
values[k] !== 'undefined' &&
values[k] !== 'null'
@@ -398,6 +402,7 @@
width: 45%;
display: flex;
justify-content: space-between;
+ margin-bottom: 10px;
.item-name {
display: flex;
diff --git a/src/views/thrombolysis/components/throm-before4.vue b/src/views/thrombolysis/components/throm-before4.vue
index bdabdde..6aaab7d 100644
--- a/src/views/thrombolysis/components/throm-before4.vue
+++ b/src/views/thrombolysis/components/throm-before4.vue
@@ -22,7 +22,7 @@
@@ -52,7 +52,7 @@
@@ -85,7 +85,7 @@
}}
@@ -97,7 +97,7 @@
-
@@ -112,7 +112,7 @@
-
![]()
+
@@ -241,21 +241,21 @@
informed
} = this;
if (!informed.doctorTime) return;
- return informed.doctorTime.split(' ')[0];
+ return informed.doctorTime; // .split(' ')[0];
},
getPatientTime() {
const {
informed
} = this;
if (!informed.patientTime) return;
- return informed.patientTime.split(' ')[0];
+ return informed.patientTime; // .split(' ')[0];
},
getLegalTime() {
const {
informed
} = this;
if (!informed.legalTime) return;
- return informed.legalTime.split(' ')[0];
+ return informed.legalTime; // .split(' ')[0];
},
getVideo() {
let path;
@@ -328,7 +328,7 @@
} = res;
if (code === 200) {
this.$message.success('保存成功');
- // this.$emit('next')
+ this.$emit('next')
// if (this.source === 'first') {
// this.$emit('on-success', true);
// } else {
@@ -354,15 +354,34 @@
this.currentDate = new Date(this.informed[type]);
}
},
+ formatDate(date){
+ if(!date) date = new Date()
+ let year = date.getFullYear();
+ let month = date.getMonth() + 1;
+ month = month < 10 ? '0' + month : month;
+ let day = date.getDate();
+ day = day < 10 ? '0' + day : day;
+ let hours = date.getHours();
+ hours = hours < 10 ? '0' + hours : hours;
+ let minutes = date.getMinutes();
+ minutes = minutes < 10 ? '0' + minutes : minutes;
+ let seconds = date.getSeconds();
+ seconds = seconds < 10 ? '0' + seconds : seconds;
+ return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`; // 0 y + '-' + m + '-' + d;
+ },
confirmPicker(date) {
- console.log(date)
- let y = date.getFullYear();
- let m = date.getMonth() + 1;
- m = m < 10 ? '0' + m : m;
- let d = date.getDate();
- d = d < 10 ? '0' + d : d;
- let dateTime = y + '-' + m + '-' + d;
+ // console.log(date)
+ // let year = date.getFullYear();
+ // let month = date.getMonth() + 1;
+ // month = month < 10 ? '0' + month : month;
+ // let day = date.getDate();
+ // day = day < 10 ? '0' + day : day;
+ // let hours = date.getHours();
+ // let minutes = date.getMinutes();
+ // let seconds = date.getSeconds();
+ let dateTime = this.formatDate(date); //`${year}-${month}-${day} ${hours}:${minutes}`; // :${seconds}0 y + '-' + m + '-' + d;
this.informed[this.type] = dateTime;
+ console.log('dateTime', dateTime)
this.picker = false;
},
@@ -429,13 +448,14 @@
uploadfile(form).then((res) => {
if (res.code === 200) {
this.informed.doctorSign = res.url;
- const now = new Date()
- let y = now.getFullYear();
- let m = now.getMonth() + 1;
- m = m < 10 ? '0' + m : m;
- let d = now.getDate();
- d = d < 10 ? '0' + d : d;
- let dateTime = y + '-' + m + '-' + d;
+ // const now = new Date()
+ // let y = now.getFullYear();
+ // let m = now.getMonth() + 1;
+ // m = m < 10 ? '0' + m : m;
+ // let d = now.getDate();
+ // d = d < 10 ? '0' + d : d;
+ // let dateTime = y + '-' + m + '-' + d;
+ let dateTime = this.formatDate();
this.informed.doctorTime = dateTime;
this.$message.success('谈话医师签名保存成功');
this.doctorSign = false;
@@ -454,13 +474,14 @@
uploadfile(form).then((res) => {
if (res.code === 200) {
this.informed.patientSign = res.url;
- const now = new Date()
- let y = now.getFullYear();
- let m = now.getMonth() + 1;
- m = m < 10 ? '0' + m : m;
- let d = now.getDate();
- d = d < 10 ? '0' + d : d;
- let dateTime = y + '-' + m + '-' + d;
+ // const now = new Date()
+ // let y = now.getFullYear();
+ // let m = now.getMonth() + 1;
+ // m = m < 10 ? '0' + m : m;
+ // let d = now.getDate();
+ // d = d < 10 ? '0' + d : d;
+ // let dateTime = y + '-' + m + '-' + d;
+ let dateTime = this.formatDate();
this.informed.patientTime = dateTime;
this.$message.success('患者本人签名保存成功');
this.patientSign = false;
@@ -477,13 +498,14 @@
uploadfile(form).then((res) => {
if (res.code === 200) {
this.informed.empowerSign = res.url;
- const now = new Date();
- let y = now.getFullYear();
- let m = now.getMonth() + 1;
- m = m < 10 ? '0' + m : m;
- let d = now.getDate();
- d = d < 10 ? '0' + d : d;
- let dateTime = y + '-' + m + '-' + d;
+ // const now = new Date();
+ // let y = now.getFullYear();
+ // let m = now.getMonth() + 1;
+ // m = m < 10 ? '0' + m : m;
+ // let d = now.getDate();
+ // d = d < 10 ? '0' + d : d;
+ // let dateTime = y + '-' + m + '-' + d;
+ let dateTime = this.formatDate();
this.informed.legalTime = dateTime;
this.$message.success('授权人签名保存成功');
this.empowerSign = false;
diff --git a/src/views/thrombolysis/components/throm-ing-min.vue b/src/views/thrombolysis/components/throm-ing-min.vue
index c05ca05..87d4a5e 100644
--- a/src/views/thrombolysis/components/throm-ing-min.vue
+++ b/src/views/thrombolysis/components/throm-ing-min.vue
@@ -81,7 +81,7 @@
diff --git a/src/views/thrombolysis/components/throm-ing-reactions.vue b/src/views/thrombolysis/components/throm-ing-reactions.vue
index 2e8568f..faa0749 100644
--- a/src/views/thrombolysis/components/throm-ing-reactions.vue
+++ b/src/views/thrombolysis/components/throm-ing-reactions.vue
@@ -129,7 +129,8 @@
let answer = source.map((item, index) => {
return item.answer
})
- let adverseList = [].concat(this.adverseList)
+ // let adverseList = [].concat(this.adverseList)
+
if (answer[0].length > 0) {
let res = answer[0].map((val, index) => {
let JSONitem = JSON.parse(val)
@@ -159,6 +160,7 @@
}
}]
})
+
this.adverseList = res
}
}
@@ -205,9 +207,10 @@
}))
}
this.newAdverse = newAdverse
- this.adverseList.unshift(newAdverse)
+ if(!this.adverseList?.length) this.adverseList.unshift(newAdverse)
},
pushAdverse() {
+ console.log(3333)
const {
ADVERSE_CODE
} = this
diff --git a/src/views/thrombolysis/components/throm-ing-record.vue b/src/views/thrombolysis/components/throm-ing-record.vue
index 198a700..dc7cb5a 100644
--- a/src/views/thrombolysis/components/throm-ing-record.vue
+++ b/src/views/thrombolysis/components/throm-ing-record.vue
@@ -101,7 +101,7 @@
// /deep/ .ant-result-title {
// font-size: 36px;
// }
- height: 50vh;
+ min-height: 50vh;
color: #000;
background-color: #eee;
padding: 1rem;
diff --git a/src/views/thrombolysis/components/throm-interfere-informed.vue b/src/views/thrombolysis/components/throm-interfere-informed.vue
index 17c72f9..fc77ebb 100644
--- a/src/views/thrombolysis/components/throm-interfere-informed.vue
+++ b/src/views/thrombolysis/components/throm-interfere-informed.vue
@@ -97,7 +97,7 @@
-
@@ -160,9 +160,9 @@
@@ -247,21 +247,21 @@
informed
} = this;
if (!informed.doctorTime) return;
- return informed.doctorTime.split(' ')[0];
+ return informed.doctorTime; // .split(' ')[0];
},
getPatientTime() {
const {
informed
} = this;
if (!informed.patientTime) return;
- return informed.patientTime.split(' ')[0];
+ return informed.patientTime; // .split(' ')[0];
},
getLegalTime() {
const {
informed
} = this;
if (!informed.legalTime) return;
- return informed.legalTime.split(' ')[0];
+ return informed.legalTime; // .split(' ')[0];
},
getVideo() {
let path;
@@ -346,7 +346,7 @@
} = res;
if (code === 200) {
this.$message.success('保存成功');
- // this.$emit('next')
+ this.$emit('next')
// if (this.source === 'first') {
// this.$emit('on-success', true);
// } else {
@@ -372,16 +372,32 @@
this.currentDate = new Date(this.informed[type]);
}
},
+ formatDate(date){
+ if(!date) date = new Date()
+ let year = date.getFullYear();
+ let month = date.getMonth() + 1;
+ month = month < 10 ? '0' + month : month;
+ let day = date.getDate();
+ day = day < 10 ? '0' + day : day;
+ let hours = date.getHours();
+ hours = hours < 10 ? '0' + hours : hours;
+ let minutes = date.getMinutes();
+ minutes = minutes < 10 ? '0' + minutes : minutes;
+ let seconds = date.getSeconds();
+ seconds = seconds < 10 ? '0' + seconds : seconds;
+ return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`; // :${seconds}0 y + '-' + m + '-' + d;
+ },
confirmPicker(date) {
- console.log(date)
- let y = date.getFullYear();
- let m = date.getMonth() + 1;
- m = m < 10 ? '0' + m : m;
- let d = date.getDate();
- d = d < 10 ? '0' + d : d;
- let dateTime = y + '-' + m + '-' + d;
- this.picker = false;
+ // console.log(date)
+ // let y = date.getFullYear();
+ // let m = date.getMonth() + 1;
+ // m = m < 10 ? '0' + m : m;
+ // let d = date.getDate();
+ // d = d < 10 ? '0' + d : d;
+ // let dateTime = y + '-' + m + '-' + d;
+ let dateTime = this.formatDate(date);
this.informed[this.type] = dateTime;
+ this.picker = false;
},
async thTime() {
@@ -433,13 +449,14 @@
uploadfile(form).then((res) => {
if (res.code === 200) {
this.informed.doctorSign = res.url;
- const now = new Date()
- let y = now.getFullYear();
- let m = now.getMonth() + 1;
- m = m < 10 ? '0' + m : m;
- let d = now.getDate();
- d = d < 10 ? '0' + d : d;
- let dateTime = y + '-' + m + '-' + d;
+ // const now = new Date()
+ // let y = now.getFullYear();
+ // let m = now.getMonth() + 1;
+ // m = m < 10 ? '0' + m : m;
+ // let d = now.getDate();
+ // d = d < 10 ? '0' + d : d;
+ // let dateTime = y + '-' + m + '-' + d;
+ let dateTime = this.formatDate();
this.informed.doctorTime = dateTime;
this.$message.success('谈话医师签名保存成功');
this.doctorSign = false;
@@ -458,13 +475,14 @@
uploadfile(form).then((res) => {
if (res.code === 200) {
this.informed.patientSign = res.url;
- const now = new Date()
- let y = now.getFullYear();
- let m = now.getMonth() + 1;
- m = m < 10 ? '0' + m : m;
- let d = now.getDate();
- d = d < 10 ? '0' + d : d;
- let dateTime = y + '-' + m + '-' + d;
+ // const now = new Date()
+ // let y = now.getFullYear();
+ // let m = now.getMonth() + 1;
+ // m = m < 10 ? '0' + m : m;
+ // let d = now.getDate();
+ // d = d < 10 ? '0' + d : d;
+ // let dateTime = y + '-' + m + '-' + d;
+ let dateTime = this.formatDate();
this.informed.patientTime = dateTime;
this.$message.success('患者本人签名保存成功');
this.patientSign = false;
@@ -481,13 +499,14 @@
uploadfile(form).then((res) => {
if (res.code === 200) {
this.informed.empowerSign = res.url;
- const now = new Date();
- let y = now.getFullYear();
- let m = now.getMonth() + 1;
- m = m < 10 ? '0' + m : m;
- let d = now.getDate();
- d = d < 10 ? '0' + d : d;
- let dateTime = y + '-' + m + '-' + d;
+ // const now = new Date();
+ // let y = now.getFullYear();
+ // let m = now.getMonth() + 1;
+ // m = m < 10 ? '0' + m : m;
+ // let d = now.getDate();
+ // d = d < 10 ? '0' + d : d;
+ // let dateTime = y + '-' + m + '-' + d;
+ let dateTime = this.formatDate();
this.informed.legalTime = dateTime;
this.$message.success('授权人签名保存成功');
this.empowerSign = false;
diff --git a/src/views/thrombolysis/components/throm-report.vue b/src/views/thrombolysis/components/throm-report.vue
index a51ce2e..6b9f33a 100644
--- a/src/views/thrombolysis/components/throm-report.vue
+++ b/src/views/thrombolysis/components/throm-report.vue
@@ -4,7 +4,7 @@
-
+
姓名
{{patient.patientName}}
@@ -18,7 +18,7 @@
{{patient.firstAidZlTypeString || '-'}}
-
+
性别
{{patient.patientGenderString || '-'}}
@@ -31,10 +31,10 @@
发病时间
- {{queryItemInfo('XGZL-CCWC-TIME').toString() ||'-'}}
+ {{queryItemInfo('JBXX-FBSJ').toString() ||'-'}}
-
+
年龄
{{patient.patientAge || '-'}}岁
@@ -286,7 +286,8 @@
时间点 |
- 血压(BP) |
+ 收缩压/舒张压 |
+
心率(HR) |
血样饱和度(HR) |
格拉斯评分 |
@@ -294,7 +295,10 @@
用药前 |
- {{queryItemInfo('JMRS-Q-SYSTOLIC-PRESSURE').toString()}} |
+
+ {{queryItemInfo('RYPG-SYSTOLIC-PRESSURE').toString()}} /
+ {{queryItemInfo('RYPG-DIASTOLIC-PRESSURE').toString()}}
+ |
|
|
|
@@ -302,7 +306,10 @@
15min |
- {{queryItemInfo('JMRS-15-SYSTOLIC-PRESSURE').toString()}} |
+
+ {{queryItemInfo('JMRS-15-SYSTOLIC-PRESSURE').toString()}} /
+ {{queryItemInfo('JMRS-15-DIASTOLIC-PRESSURE').toString()}}
+ |
|
|
|
@@ -310,7 +317,10 @@
30min |
- {{queryItemInfo('JMRS-30-SYSTOLIC-PRESSURE').toString()}} |
+
+ {{queryItemInfo('JMRS-30-SYSTOLIC-PRESSURE').toString()}} /
+ {{queryItemInfo('JMRS-30-DIASTOLIC-PRESSURE').toString()}}
+ |
|
|
|
@@ -318,7 +328,10 @@
45min |
- {{queryItemInfo('JMRS-45-SYSTOLIC-PRESSURE').toString()}} |
+
+ {{queryItemInfo('JMRS-45-SYSTOLIC-PRESSURE').toString()}} /
+ {{queryItemInfo('JMRS-45-DIASTOLIC-PRESSURE').toString()}}
+ |
|
|
|
@@ -326,7 +339,10 @@
60min |
- {{queryItemInfo('JMRS-60-SYSTOLIC-PRESSURE').toString()}} |
+
+ {{queryItemInfo('JMRS-60-SYSTOLIC-PRESSURE').toString()}} /
+ {{queryItemInfo('JMRS-60-DIASTOLIC-PRESSURE').toString()}}
+ |
|
|
|
@@ -334,7 +350,10 @@
75min |
- {{queryItemInfo('JMRS-75-SYSTOLIC-PRESSURE').toString()}} |
+
+ {{queryItemInfo('JMRS-75-SYSTOLIC-PRESSURE').toString()}} /
+ {{queryItemInfo('JMRS-75-DIASTOLIC-PRESSURE').toString()}}
+ |
|
|
|
@@ -342,7 +361,10 @@
90min |
- {{queryItemInfo('JMRS-90-SYSTOLIC-PRESSURE').toString()}} |
+
+ {{queryItemInfo('JMRS-90-SYSTOLIC-PRESSURE').toString()}} /
+ {{queryItemInfo('JMRS-90-DIASTOLIC-PRESSURE').toString()}}
+ |
|
|
|
@@ -350,7 +372,10 @@
105min |
- {{queryItemInfo('JMRS-105-SYSTOLIC-PRESSURE').toString()}} |
+
+ {{queryItemInfo('JMRS-105-SYSTOLIC-PRESSURE').toString()}} /
+ {{queryItemInfo('JMRS-105-DIASTOLIC-PRESSURE').toString()}}
+ |
|
|
|
@@ -358,7 +383,10 @@
120min |
- {{queryItemInfo('JMRS-120-SYSTOLIC-PRESSURE').toString()}} |
+
+ {{queryItemInfo('JMRS-120-SYSTOLIC-PRESSURE').toString()}} /
+ {{queryItemInfo('JMRS-120-DIASTOLIC-PRESSURE').toString()}}
+ |
|
|
|
@@ -1036,7 +1064,8 @@
.baseInfo {
line-height: 32px;
- .ant-col-8 {
+ .ant-col-7,
+ .ant-col-10 {
padding-left: 30px;
padding-right: 30px;
}
diff --git a/src/views/thrombolysis/components/throm-result-baseInfo.vue b/src/views/thrombolysis/components/throm-result-baseInfo.vue
index c29174b..03d9126 100644
--- a/src/views/thrombolysis/components/throm-result-baseInfo.vue
+++ b/src/views/thrombolysis/components/throm-result-baseInfo.vue
@@ -4,23 +4,33 @@
-
+
+
+
+
+
+
+
{{editAuth ? '取消编辑' : '编辑'}}
+
+
+
+
@@ -234,7 +237,7 @@