|
@@ -1,7 +1,7 @@
|
1
|
1
|
<template>
|
2
|
2
|
<div class="plate-box">
|
3
|
3
|
<h2 class="DetailsTit"><span>{{ title }}</span></h2>
|
4
|
|
- <div class="plate " >
|
|
4
|
+ <div class="plate ">
|
5
|
5
|
<ul>
|
6
|
6
|
<li v-if="isShow('入室方式')">
|
7
|
7
|
<label>入室方式 : </label>
|
|
@@ -27,29 +27,38 @@
|
27
|
27
|
<label>病人食欲 : </label>
|
28
|
28
|
<span class="content">{{ appetite }}</span>
|
29
|
29
|
</li>
|
30
|
|
- <li v-if="isShow('病情')">
|
|
30
|
+ <li v-if="isShow('病情')">
|
31
|
31
|
<label>病情 </label>
|
32
|
32
|
<span class="content">{{sickCondition}} </span>
|
33
|
33
|
</li>
|
34
|
34
|
</ul>
|
|
35
|
+ <ul>
|
|
36
|
+ <li style="height: 0.6rem;" v-if="isShow('跌倒分险评估评分')">
|
|
37
|
+ <label>跌倒分险评估评分:</label>
|
|
38
|
+ <span class="content">{{this.record.score}}分</span>
|
|
39
|
+ </li>
|
35
|
40
|
|
|
41
|
+ </ul>
|
36
|
42
|
|
37
|
|
- <ul >
|
38
|
|
- <li v-if="isShow('风险程度')">
|
39
|
|
- <label>风险程度:</label>
|
40
|
|
- <span class="content">{{dangerLevel}}</span>
|
41
|
|
- </li>
|
42
|
|
- <li v-if="isShow('摄入量')">
|
|
43
|
+ <ul>
|
|
44
|
+ <li v-if="isShow('摄入量')">
|
43
|
45
|
<label>摄入量:</label>
|
44
|
46
|
<span class="content">{{intakes}}</span>
|
45
|
47
|
</li>
|
46
|
|
- </ul>
|
47
|
|
- <ul >
|
48
|
|
- <li v-if="isShow('营养状况')">
|
|
48
|
+
|
|
49
|
+ <li v-if="isShow('营养状况')">
|
49
|
50
|
<label>营养状况:</label>
|
50
|
51
|
<span class="content">{{nutritions}}</span>
|
51
|
52
|
</li>
|
52
|
|
- <li v-if="isShow('心理评估')">
|
|
53
|
+ </ul>
|
|
54
|
+ <ul>
|
|
55
|
+
|
|
56
|
+ <li v-if="isShow('风险程度')">
|
|
57
|
+ <label>风险程度:</label>
|
|
58
|
+ <span class="content">{{dangerLevel}}</span>
|
|
59
|
+ </li>
|
|
60
|
+
|
|
61
|
+ <li v-if="isShow('心理评估')">
|
53
|
62
|
<label> 心理评估</label>
|
54
|
63
|
<span class="content">{{psychologicalAssessment}}</span>
|
55
|
64
|
</li>
|
|
@@ -61,6 +70,10 @@
|
61
|
70
|
<span class="content">{{this.record.psychological_assessment_other}}</span>
|
62
|
71
|
</li>
|
63
|
72
|
</ul>
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
64
|
77
|
</div>
|
65
|
78
|
<!-- <div class="note">处方医生 : {{doctor}}</div> -->
|
66
|
79
|
<div class="middleLine"></div>
|
|
@@ -69,149 +82,149 @@
|
69
|
82
|
</template>
|
70
|
83
|
|
71
|
84
|
<script>
|
72
|
|
- import store from "@/store";
|
|
85
|
+ import store from '@/store'
|
73
|
86
|
|
74
|
87
|
export default {
|
75
|
|
- name: "AcceptsAssessment",
|
76
|
|
- data() {
|
77
|
|
- return {
|
78
|
|
- title: "接诊评估 ",
|
79
|
|
-
|
80
|
|
- ways: {
|
81
|
|
- "1": "步行",
|
82
|
|
- "2": "扶行",
|
83
|
|
- "3": "轮椅",
|
84
|
|
- "4": "平车",
|
85
|
|
- },
|
86
|
|
- conditions: {
|
87
|
|
- "1": "住院",
|
88
|
|
- "2": "门诊",
|
89
|
|
- "3": "手术期",
|
90
|
|
- },
|
91
|
|
- consciousnesses: {
|
92
|
|
- "1": "清醒",
|
93
|
|
- "2": "嗜睡",
|
94
|
|
- "3": "昏迷",
|
95
|
|
- },
|
96
|
|
- appetites: {
|
97
|
|
- "1": "正常",
|
98
|
|
- "2": "减退",
|
99
|
|
- "3": "恶心",
|
100
|
|
- "4": "呕吐",
|
101
|
|
- "5": "腹泻",
|
102
|
|
- },
|
103
|
|
- postures: {
|
104
|
|
- "1": "自动体位",
|
105
|
|
- "2": "平卧位",
|
106
|
|
- "3": "半卧位",
|
107
|
|
- "4": "端坐位",
|
108
|
|
- "5": "躁动不安",
|
109
|
|
- }, sick_condition: {
|
110
|
|
- "1": "一般",
|
111
|
|
- "2": "重",
|
112
|
|
- "3": "危",
|
113
|
|
- }, danger_level: {
|
114
|
|
- "1": "无",
|
115
|
|
- "2": "低风险",
|
116
|
|
- "3": "中度风险",
|
117
|
|
- "4": "高风险",
|
118
|
|
-
|
119
|
|
- }, intake: {
|
120
|
|
- "1": "正常",
|
121
|
|
- "2": "减少",
|
122
|
|
- },nutrition: {
|
123
|
|
- "1": "正常",
|
124
|
|
- "2": "营养不良",
|
125
|
|
- },psychological_assessment: {
|
126
|
|
- "1": "正常",
|
127
|
|
- "2": "异常",
|
128
|
|
- }
|
129
|
|
- };
|
130
|
|
- },
|
131
|
|
- props: {
|
132
|
|
- record: {
|
133
|
|
- type: Object
|
134
|
|
- }
|
135
|
|
- },
|
136
|
|
- computed: {
|
137
|
|
- way: function() {
|
138
|
|
- if (this.record.id == 0) {
|
139
|
|
- return ""
|
140
|
|
- } else {
|
141
|
|
- return this.ways[this.record.way] == undefined ? "" : (this.ways[this.record.way] + "")
|
142
|
|
- }
|
143
|
|
- },
|
144
|
|
- condition: function() {
|
145
|
|
- if (this.record.id == 0) {
|
146
|
|
- return ""
|
147
|
|
- } else {
|
148
|
|
- return this.conditions[this.record.condition] == undefined ? "" : this.conditions[this.record.condition] + ""
|
|
88
|
+ name: 'AcceptsAssessment',
|
|
89
|
+ data() {
|
|
90
|
+ return {
|
|
91
|
+ title: '接诊评估 ',
|
|
92
|
+
|
|
93
|
+ ways: {
|
|
94
|
+ '1': '步行',
|
|
95
|
+ '2': '扶行',
|
|
96
|
+ '3': '轮椅',
|
|
97
|
+ '4': '平车'
|
|
98
|
+ },
|
|
99
|
+ conditions: {
|
|
100
|
+ '1': '住院',
|
|
101
|
+ '2': '门诊',
|
|
102
|
+ '3': '手术期'
|
|
103
|
+ },
|
|
104
|
+ consciousnesses: {
|
|
105
|
+ '1': '清醒',
|
|
106
|
+ '2': '嗜睡',
|
|
107
|
+ '3': '昏迷'
|
|
108
|
+ },
|
|
109
|
+ appetites: {
|
|
110
|
+ '1': '正常',
|
|
111
|
+ '2': '减退',
|
|
112
|
+ '3': '恶心',
|
|
113
|
+ '4': '呕吐',
|
|
114
|
+ '5': '腹泻'
|
|
115
|
+ },
|
|
116
|
+ postures: {
|
|
117
|
+ '1': '自动体位',
|
|
118
|
+ '2': '平卧位',
|
|
119
|
+ '3': '半卧位',
|
|
120
|
+ '4': '端坐位',
|
|
121
|
+ '5': '躁动不安'
|
|
122
|
+ }, sick_condition: {
|
|
123
|
+ '1': '一般',
|
|
124
|
+ '2': '重',
|
|
125
|
+ '3': '危'
|
|
126
|
+ }, danger_level: {
|
|
127
|
+ '1': '无',
|
|
128
|
+ '2': '低风险',
|
|
129
|
+ '3': '中度风险',
|
|
130
|
+ '4': '高风险'
|
|
131
|
+
|
|
132
|
+ }, intake: {
|
|
133
|
+ '1': '正常',
|
|
134
|
+ '2': '减少'
|
|
135
|
+ }, nutrition: {
|
|
136
|
+ '1': '正常',
|
|
137
|
+ '2': '营养不良'
|
|
138
|
+ }, psychological_assessment: {
|
|
139
|
+ '1': '正常',
|
|
140
|
+ '2': '异常'
|
|
141
|
+ }
|
149
|
142
|
}
|
150
|
143
|
},
|
151
|
|
- consciousness: function() {
|
152
|
|
- if (this.record.id == 0) {
|
153
|
|
- return ""
|
154
|
|
- } else {
|
155
|
|
- return this.consciousnesses[this.record.consciousness] == undefined ? "" : this.consciousnesses[this.record.consciousness] + ""
|
|
144
|
+ props: {
|
|
145
|
+ record: {
|
|
146
|
+ type: Object
|
156
|
147
|
}
|
157
|
148
|
},
|
158
|
|
- appetite: function() {
|
159
|
|
- if (this.record.id == 0) {
|
160
|
|
- return ""
|
161
|
|
- } else {
|
162
|
|
- return this.appetites[this.record.appetite] == undefined ? "" : this.appetites[this.record.appetite] + ""
|
|
149
|
+ computed: {
|
|
150
|
+ way: function() {
|
|
151
|
+ if (this.record.id == 0) {
|
|
152
|
+ return ''
|
|
153
|
+ } else {
|
|
154
|
+ return this.ways[this.record.way] == undefined ? '' : (this.ways[this.record.way] + '')
|
|
155
|
+ }
|
|
156
|
+ },
|
|
157
|
+ condition: function() {
|
|
158
|
+ if (this.record.id == 0) {
|
|
159
|
+ return ''
|
|
160
|
+ } else {
|
|
161
|
+ return this.conditions[this.record.condition] == undefined ? '' : this.conditions[this.record.condition] + ''
|
|
162
|
+ }
|
|
163
|
+ },
|
|
164
|
+ consciousness: function() {
|
|
165
|
+ if (this.record.id == 0) {
|
|
166
|
+ return ''
|
|
167
|
+ } else {
|
|
168
|
+ return this.consciousnesses[this.record.consciousness] == undefined ? '' : this.consciousnesses[this.record.consciousness] + ''
|
|
169
|
+ }
|
|
170
|
+ },
|
|
171
|
+ appetite: function() {
|
|
172
|
+ if (this.record.id == 0) {
|
|
173
|
+ return ''
|
|
174
|
+ } else {
|
|
175
|
+ return this.appetites[this.record.appetite] == undefined ? '' : this.appetites[this.record.appetite] + ''
|
|
176
|
+ }
|
|
177
|
+ },
|
|
178
|
+ posture: function() {
|
|
179
|
+ if (this.record.id == 0) {
|
|
180
|
+ return ''
|
|
181
|
+ } else {
|
|
182
|
+ return this.postures[this.record.posture] == undefined ? '' : this.postures[this.record.posture] + ''
|
|
183
|
+ }
|
|
184
|
+ }, sickCondition: function() {
|
|
185
|
+ if (this.record == null || this.record.id == '') {
|
|
186
|
+ return ''
|
|
187
|
+ } else {
|
|
188
|
+ return this.sick_condition[this.record.sick_condition] == undefined ? '' : this.sick_condition[this.record.sick_condition] + ''
|
|
189
|
+ }
|
|
190
|
+ }, dangerLevel: function() {
|
|
191
|
+ if (this.record == null || this.record.id == '') {
|
|
192
|
+ return ''
|
|
193
|
+ } else {
|
|
194
|
+ return this.danger_level[this.record.danger_level] == undefined ? '' : this.danger_level[this.record.danger_level] + ''
|
|
195
|
+ }
|
|
196
|
+ }, intakes: function() {
|
|
197
|
+ if (this.record == null || this.record.id == '') {
|
|
198
|
+ return ''
|
|
199
|
+ } else {
|
|
200
|
+ return this.intake[this.record.intake] == undefined ? '' : this.intake[this.record.intake] + ''
|
|
201
|
+ }
|
|
202
|
+ }, nutritions: function() {
|
|
203
|
+ if (this.record == null || this.record.id == '') {
|
|
204
|
+ return ''
|
|
205
|
+ } else {
|
|
206
|
+ return this.nutrition[this.record.nutrition] == undefined ? '' : this.nutrition[this.record.nutrition] + ''
|
|
207
|
+ }
|
|
208
|
+ }, psychologicalAssessment: function() {
|
|
209
|
+ if (this.record == null || this.record.id == '') {
|
|
210
|
+ return ''
|
|
211
|
+ } else {
|
|
212
|
+ return this.psychological_assessment[this.record.psychological_assessment] == undefined ? '' : this.psychological_assessment[this.record.psychological_assessment] + ''
|
|
213
|
+ }
|
163
|
214
|
}
|
164
|
215
|
},
|
165
|
|
- posture: function() {
|
166
|
|
- if (this.record.id == 0) {
|
167
|
|
- return ""
|
168
|
|
- } else {
|
169
|
|
- return this.postures[this.record.posture] == undefined ? "" : this.postures[this.record.posture] + ""
|
170
|
|
- }
|
171
|
|
- },sickCondition: function() {
|
172
|
|
- if (this.record == null || this.record.id == "") {
|
173
|
|
- return ""
|
174
|
|
- } else {
|
175
|
|
- return this.sick_condition[this.record.sick_condition] == undefined ? "" : this.sick_condition[this.record.sick_condition] + ""
|
176
|
|
- }
|
177
|
|
- },dangerLevel: function() {
|
178
|
|
- if (this.record == null || this.record.id == "") {
|
179
|
|
- return ""
|
180
|
|
- } else {
|
181
|
|
- return this.danger_level[this.record.danger_level] == undefined ? "" : this.danger_level[this.record.danger_level] + ""
|
182
|
|
- }
|
183
|
|
- },intakes: function() {
|
184
|
|
- if (this.record == null || this.record.id == "") {
|
185
|
|
- return ""
|
186
|
|
- } else {
|
187
|
|
- return this.intake[this.record.intake] == undefined ? "" : this.intake[this.record.intake] + ""
|
188
|
|
- }
|
189
|
|
- },nutritions: function() {
|
190
|
|
- if (this.record == null || this.record.id == "") {
|
191
|
|
- return ""
|
192
|
|
- } else {
|
193
|
|
- return this.nutrition[this.record.nutrition] == undefined ? "" : this.nutrition[this.record.nutrition] + ""
|
194
|
|
- }
|
195
|
|
- },psychologicalAssessment: function() {
|
196
|
|
- if (this.record == null || this.record.id == "") {
|
197
|
|
- return ""
|
198
|
|
- } else {
|
199
|
|
- return this.psychological_assessment[this.record.psychological_assessment] == undefined ? "" : this.psychological_assessment[this.record.psychological_assessment] + ""
|
200
|
|
- }
|
201
|
|
- }
|
202
|
|
- },
|
203
|
|
- methods: {
|
204
|
|
- isShow(name){
|
205
|
|
- var filedList = store.getters.xt_user.fileds
|
206
|
|
- for (let i = 0; i < filedList.length; i++){
|
207
|
|
- if(filedList[i].module == 2 &&filedList[i].filed_name_cn == name &&filedList[i].is_show == 1){
|
208
|
|
- return true
|
|
216
|
+ methods: {
|
|
217
|
+ isShow(name) {
|
|
218
|
+ var filedList = store.getters.xt_user.fileds
|
|
219
|
+ for (let i = 0; i < filedList.length; i++) {
|
|
220
|
+ if (filedList[i].module == 2 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
|
|
221
|
+ return true
|
|
222
|
+ }
|
209
|
223
|
}
|
|
224
|
+ return false
|
210
|
225
|
}
|
211
|
|
- return false
|
212
|
|
- },
|
|
226
|
+ }
|
213
|
227
|
}
|
214
|
|
-};
|
215
|
228
|
</script>
|
216
|
229
|
|
217
|
230
|
<style rel="stylesheet/scss" lang="scss" scoped>
|