diff --git a/src/components/360View/medicalRecord/index.vue b/src/components/360View/medicalRecord/index.vue index 851a1ba..29be009 100644 --- a/src/components/360View/medicalRecord/index.vue +++ b/src/components/360View/medicalRecord/index.vue @@ -72,7 +72,7 @@ @formDelete="formDelete" /> + 日期:
检查前药物过敏试验情况:
- 阴性: - 时间: + 过敏试验结果: + + + +
+ 时间: + + - + +
阳性:反应情况:恶心、呕吐、头晕、皮肤反应、其它 @@ -125,7 +160,8 @@
- 工号: + + 工号:
核对药敏实验者签字: @@ -133,6 +169,7 @@
+ 工号: @@ -169,6 +206,9 @@ export default { this.printHidden = true } }, + startTime: '', + endTime: '', + rangTime: '', formData: { patientName: '', patientAge: '', @@ -190,6 +230,13 @@ export default { performerId: '', checkerId: '' }, + options: [{ + value: '荧光素钠注射液过敏试验阴性(-)', + label: '荧光素钠注射液过敏试验阴性(-)' + }, { + value: '荧光素钠注射液过敏试验阳性(+)', + label: '荧光素钠注射液过敏试验阳性(+)' + }], context: [ { title: '造影前的全身要求', @@ -249,6 +296,11 @@ export default { if (val) { this.getOrderDetail() } + }, + startTime(val) { + if (val) { + this.endTime = new Date(val).getTime() + 20 * 60 * 1000 + } } }, created() { @@ -261,7 +313,14 @@ export default { this.handleSaveTable() }, handleSaveTable() { + const start = this.$moment(this.startTime).format('yyyy-MM-DD HH:mm') + const end = this.$moment(this.endTime).format('yyyy-MM-DD HH:mm') + this.formData.negativeTime = start + '~' + end this.formData.jzNumber = window.sessionStorage.getItem('jzNumber') || this.$route.query.jzNumber || '' + this.formData.patientSign = this.fundusDocSign + this.formData.dependantSign = this.kinSign + this.formData.performerSign = this.performerSign + this.formData.checkerSign = this.checkerSign this.$http.post('/mzbl/saveMzblYdxgzyzqtys', { caseId: this.caseId, ...this.formData @@ -276,14 +335,25 @@ export default { }}).then(data => { const detail = data.data.data this.formData = { ...detail } - const userData = JSON.parse(window.sessionStorage.getItem('qg-userData')) - this.formData.doctorSign = userData.signImgBase + this.$store.commit('fundusDocSign', detail.patientSign) + this.$store.commit('kinSign', detail.dependantSign) + this.$store.commit('performerSign', detail.performerSign) + this.$store.commit('checkerSign', detail.checkerSign) + if (this.formData.negativeTime) { + const range = this.formData.negativeTime.split('~') + this.startTime = range[0] + this.endTime = range[1] + } if (!detail.jzNumber) { // 患者信息带入 + const userData = JSON.parse(window.sessionStorage.getItem('qg-userData')) + this.formData.doctorSign = userData.signImgBase this.formData.patientName = this.patientDetail.patientName this.formData.patientAge = this.patientDetail.patientAge this.formData.patientSex = this.patientDetail.patientSex this.formData.patientId = this.patientDetail.patientId + this.startTime = '' + this.endTime = '' } }) }, @@ -322,6 +392,9 @@ export default { text-align: left; line-height: 30px; } +::v-deep .el-input__suffix{ + display: none; +} .item{ display: flex; align-items: center; @@ -337,8 +410,22 @@ export default { z-index: 999; right: 90px; } +.active{ + ::v-deep .el-input__inner{ + color: #ff0000; + } +} +::v-deep .el-input__icon{ + display: none; +} +.active_other{ + ::v-deep .el-input__inner{ + color: #409EFF; + } +} ::v-deep .el-input__inner { border: none; + font-size: 16px; height: 26px !important; line-height: 26px !important; text-align: center;