csx 6 anni fa
parent
commit
3b09d3fe71

+ 3 - 2
src/api/patient.js Vedi File

@@ -148,10 +148,11 @@ export function getCourseOfDiseaseRecords(patient_id, start_time_ymd, end_time_y
148 148
   })
149 149
 }
150 150
 
151
-export function createCourseOfDiseaseRecord(patient_id, content) {
151
+export function createCourseOfDiseaseRecord(patient_id, content, record_time) {
152 152
   var params = {
153 153
     patient_id: patient_id,
154
-    content: content
154
+    content: content,
155
+    record_time: record_time,
155 156
   }
156 157
   return request({
157 158
     url: '/api/patient/course/create',

+ 24 - 15
src/xt_pages/dialysis/batch_print/batch_print_order_other.vue Vedi File

@@ -36,7 +36,7 @@
36 36
             <div class="inline_block" style="margin-left: 25px;">
37 37
               住院号:
38 38
               <div class="under_line" style="width: 100px;">
39
-                {{record.patient.admission_number?record.patient.admission_number:''}}
39
+                {{record.patient.admission_number?record.patient.admission_number:'/'}}
40 40
               </div>
41 41
             </div>
42 42
           </div>
@@ -184,7 +184,7 @@
184 184
                       <div class="inline_block">
185 185
                         跌倒风险评估:
186 186
                         评分:
187
-                        <div class="under_line" style="width: 50px;"></div>
187
+                        <div class="under_line" style="width: 50px;">{{record.receive_assessment.score}}</div>
188 188
                         &emsp;风险程度:
189 189
                         <check-box text="无" :checked="isCheckBoxChecked(record.receive_assessment, 'danger_level', 1)"></check-box>
190 190
                         <check-box text="低风险" :checked="isCheckBoxChecked(record.receive_assessment, 'danger_level', 2)"></check-box>
@@ -247,19 +247,19 @@
247 247
                         </tr>
248 248
                         <!-- </thead>
249 249
                         <tbody> -->
250
-                        <tr v-if="(record.assessment_before_dislysis&&record.assessment_before_dislysis.systolic_blood_pressure != 0&&record.assessment_before_dislysis.diastolic_blood_pressure != 0)||(record.assessment_before_dislysis&&record.assessment_before_dislysis.remark.length > 0)">
250
+                        <tr v-if="(record.assessment_before_dislysis&&record.assessment_before_dislysis.systolic_blood_pressure != 0&&record.assessment_before_dislysis.diastolic_blood_pressure != 0)||(record.assessment_before_dislysis&&record.assessment_before_dislysis.remark.length > 0) ||(record.assessment_before_dislysis&&record.assessment_before_dislysis.pulse_frequency != 0) ||(record.assessment_before_dislysis&&record.assessment_before_dislysis.breathing_rate  != 0)">
251 251
                           <td>{{'透析前'}}</td>
252 252
                           <td>{{record.assessment_before_dislysis&&record.assessment_before_dislysis.systolic_blood_pressure?record.assessment_before_dislysis.systolic_blood_pressure:''}}/{{record.assessment_before_dislysis &&record.assessment_before_dislysis.diastolic_blood_pressure?record.assessment_before_dislysis.diastolic_blood_pressure:''}}</td>
253
-                          <td>{{''}}</td>
254
-                          <td>{{''}}</td>
253
+                          <td>{{record.assessment_before_dislysis&&record.assessment_before_dislysis.pulse_frequency?record.assessment_before_dislysis.pulse_frequency:''}}</td>
254
+                          <td>{{record.assessment_before_dislysis&&record.assessment_before_dislysis.breathing_rate?record.assessment_before_dislysis.breathing_rate:''}}</td>
255 255
                           <td>{{''}}/{{''}}</td>
256 256
                           <td>{{''}}</td>
257 257
                           <td>{{''}}</td>
258 258
                           <td>{{''}}</td>
259 259
                           <td style="line-height:16px;padding:0px;"><div style="height:48px;line-height:48px; overflow:hidden;"><span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;"> {{record.assessment_before_dislysis&&record.assessment_before_dislysis.remark.length>0?record.assessment_before_dislysis.remark:''}}</span></div></td>
260 260
                           <td>
261
-                            <span v-if="setAdminUserES(record.assessment_before_dislysis.creater) == ''">{{getAdminUser(record.assessment_before_dislysis.creater)}}</span>
262
-                            <img class="es-img" :src="setAdminUserES(record.assessment_before_dislysis.creater)"  alt="" srcset="" v-else>
261
+                            <span v-if="setAdminUserES(record.assessment_before_dislysis, 'creater') == ''">{{getAdminUser(record.assessment_before_dislysis,'creater')}}</span>
262
+                            <img class="es-img" :src="setAdminUserES(record.assessment_before_dislysis,'creater')"  alt="" srcset="" v-else>
263 263
                           </td>
264 264
                         </tr>
265 265
                         <tr v-for="(monitor_record, index) in record.monitor_records" :key="index">
@@ -269,7 +269,7 @@
269 269
                           <td>{{monitor_record.breathing_rate?monitor_record.breathing_rate:''}}</td>
270 270
                           <td>{{monitor_record.venous_pressure?monitor_record.venous_pressure:''}}/{{monitor_record.arterial_pressure?monitor_record.arterial_pressure:''}}</td>
271 271
                           <td>{{monitor_record.blood_flow_volume?monitor_record.blood_flow_volume:''}}</td>
272
-                          <td>{{monitor_record.ultrafiltration_volume?monitor_record.ultrafiltration_volume:''}}</td>
272
+                          <td>{{monitor_record.ultrafiltration_volume?monitor_record.ultrafiltration_volume:'/'}}</td>
273 273
                           <td>{{monitor_record.sodium_concentration?monitor_record.sodium_concentration:''}}</td>
274 274
                           <td style="line-height:16px;padding:0px;"> <div style="height:48px;line-height:48px; overflow:hidden;"><span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">{{monitor_record.symptom}}&nbsp;{{monitor_record.dispose}}&nbsp;{{monitor_record.result}}</span></div></td>
275 275
                           <td><span v-if="setAdminUserES(monitor_record, 'monitoring_nurse') == ''">{{getAdminUser(monitor_record, 'monitoring_nurse')}}</span><img class="es-img" :src="setAdminUserES(monitor_record, 'monitoring_nurse')" alt="" srcset=""  v-else style="height: 20px;"></td>
@@ -282,7 +282,7 @@
282 282
             </table>
283 283
           </div>
284 284
           <div v-if="record.monitor_records.length > 8 " :class="record.monitor_records.length > 8  ? 'margin-bottom-300': ''" style="text-align:center;margin-top:10px;">1</div>
285
-          
285
+
286 286
           <template v-if="record.monitor_records.length > 8 ">
287 287
             <div class="order-yy-name">{{orgname}}</div>
288 288
             <div class="order_title">血液净化专科护理记录单</div>
@@ -312,7 +312,7 @@
312 312
               <div class="inline_block" style="margin-left: 25px;">
313 313
                 住院号:
314 314
                 <div class="under_line" style="width: 100px;">
315
-                  {{record.patient.admission_number?record.patient.admission_number:''}}
315
+                  {{record.patient.admission_number?record.patient.admission_number:'/'}}
316 316
 
317 317
                 </div>
318 318
               </div>
@@ -352,7 +352,7 @@
352 352
                           <td>{{monitor_record.breathing_rate?monitor_record.breathing_rate:''}}</td>
353 353
                           <td>{{monitor_record.venous_pressure?monitor_record.venous_pressure:''}}/{{monitor_record.arterial_pressure?monitor_record.arterial_pressure:''}}</td>
354 354
                           <td>{{monitor_record.blood_flow_volume?monitor_record.blood_flow_volume:''}}</td>
355
-                          <td>{{monitor_record.ultrafiltration_volume?monitor_record.ultrafiltration_volume:''}}</td>
355
+                          <td>{{monitor_record.ultrafiltration_volume?monitor_record.ultrafiltration_volume:'/'}}</td>
356 356
                           <td>{{monitor_record.sodium_concentration?monitor_record.sodium_concentration:''}}</td>
357 357
                           <td style="line-height:16px;padding:0px;"> <div style="height:48px;line-height:48px; overflow:hidden;"><span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;"> {{monitor_record.symptom}}&nbsp;{{monitor_record.dispose}}&nbsp;{{monitor_record.result}}</span></div></td>
358 358
                           <td><span v-if="setAdminUserES(monitor_record, 'monitoring_nurse') == ''">{{getAdminUser(monitor_record, 'monitoring_nurse')}}</span><img class="es-img" :src="setAdminUserES(monitor_record, 'monitoring_nurse')" alt="" srcset=""  v-else style="height: 20px;"></td>
@@ -482,7 +482,7 @@
482 482
                       <div class="inline_block">
483 483
                         &emsp;核对时间:
484 484
                         <div class="under_line" style="width: 200px;">
485
-                          {{record.check&&record.check.modifier> 0?getTime(record.check.check_time,'{y}年{m}月{d}日 {h}时'):''}}
485
+                          {{record.check&&record.check.modifier> 0?getTime(record.check.check_time,'{y}年{m}月{d}日 {h}时{i}分'):''}}
486 486
                         </div>
487 487
                       </div>
488 488
                       <div class="inline_block" >
@@ -524,7 +524,7 @@
524 524
                       <div class="inline_block">
525 525
                         &emsp;时间:
526 526
                         <div class="under_line" style="width: 200px;">
527
-                          {{record.dialysis_order&&record.dialysis_order.end_time?getTime(record.dialysis_order.end_time,'{y}年{m}月{d}日 {h}时'):''}}
527
+                          {{record.dialysis_order&&record.dialysis_order.end_time?getTime(record.dialysis_order.end_time,'{y}年{m}月{d}日 {h}时{i}分'):''}}
528 528
                         </div>
529 529
                       </div>
530 530
                     </div>
@@ -569,7 +569,7 @@
569 569
             <div class="inline_block" style="margin-left:25px;">
570 570
               住院号:
571 571
               <div class="under_line" style="width: 120px;">
572
-                {{record.patient.admission_number?record.patient.admission_number:''}}
572
+                {{record.patient.admission_number?record.patient.admission_number:'/'}}
573 573
               </div>
574 574
             </div>
575 575
           </div>
@@ -849,7 +849,7 @@
849 849
               <div class="inline_block" style="margin-left:25px;">
850 850
                 住院号:
851 851
                 <div class="under_line" style="width: 120px;">
852
-                  {{record.patient.admission_number?record.patient.admission_number:''}}
852
+                  {{record.patient.admission_number?record.patient.admission_number:'/'}}
853 853
                 </div>
854 854
               </div>
855 855
             </div>
@@ -1313,15 +1313,24 @@
1313 1313
         }
1314 1314
       },
1315 1315
       setAdminUserES(key, id) {
1316
+
1317
+
1316 1318
         if (typeof (key) === 'undefined' || key == null || typeof (key[id]) === 'undefined') {
1319
+          console.log("11111"+id)
1320
+
1317 1321
           return ''
1318 1322
         }
1319 1323
         if (key[id] == 0) {
1324
+          console.log("2222"+id)
1325
+
1320 1326
           return ''
1321 1327
         }
1322 1328
         if (key[id] in this.operatorMaps) {
1329
+          console.log(this.operatorMaps[key[id]].es_url)
1323 1330
           return this.operatorMaps[key[id]].es_url
1324 1331
         } else {
1332
+          console.log("333333"+id)
1333
+
1325 1334
           return ''
1326 1335
         }
1327 1336
       },getFloat: function(x) {

+ 157 - 144
src/xt_pages/dialysis/details/acceptsAssessment.vue Vedi File

@@ -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>

+ 12 - 0
src/xt_pages/dialysis/details/assessmentBefore.vue Vedi File

@@ -64,6 +64,12 @@
64 64
           <span class="content" v-if="pulse_frequency!='0'">{{ pulse_frequency }}</span>
65 65
           <span class="unit" v-if="pulse_frequency!='0'">次/分</span>
66 66
         </li>
67
+
68
+        <li v-if="isShow('呼吸频率')">
69
+          <label>呼吸频率 : </label>
70
+          <span class="content" v-if="breathing_rate!='0'">{{ breathing_rate }}</span>
71
+          <span class="unit" v-if="breathing_rate!='0'">次/分</span>
72
+        </li>
67 73
         <li v-if="isShow('透析前症状')">
68 74
           <label>透析前症状 : </label>
69 75
           <span class="content">{{ symptom_before_dialysis }}</span>
@@ -194,6 +200,12 @@
194 200
       }
195 201
       return this.record.pulse_frequency
196 202
     },
203
+    breathing_rate: function() {
204
+      if (this.record.id == 0) {
205
+        return '-'
206
+      }
207
+      return this.record.breathing_rate
208
+    },
197 209
     symptom_before_dialysis: function() {
198 210
       if (this.record.id == 0) {
199 211
         return '-'

+ 8 - 0
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue Vedi File

@@ -44,6 +44,13 @@
44 44
         <el-radio v-model="receiveTreatmentAsses.sick_condition" label="3">危</el-radio>
45 45
       </el-form-item>
46 46
 
47
+
48
+      <el-form-item label-width="100dp" label="跌倒分险评估评分 : "
49
+                    v-if="isShow('跌倒分险评估评分')">
50
+        <el-input v-model="receiveTreatmentAsses.score" style="width: 100px"></el-input>
51
+      </el-form-item>
52
+
53
+
47 54
       <el-form-item label="风险程度: " v-if="isShow('风险程度')">
48 55
         <el-radio v-model="receiveTreatmentAsses.danger_level" label="1">无</el-radio>
49 56
         <el-radio v-model="receiveTreatmentAsses.danger_level" label="2">低风险</el-radio>
@@ -98,6 +105,7 @@
98 105
           nutrition: '1',
99 106
           psychological_assessment: '1',
100 107
           psychological_assessment_other: '',
108
+          score:'',
101 109
         },
102 110
       };
103 111
     },

+ 8 - 2
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Vedi File

@@ -109,6 +109,12 @@
109 109
           </el-form-item>
110 110
         </el-col>
111 111
 
112
+        <el-col :span="8">
113
+          <el-form-item label="呼吸频率(次/分):" v-if="isShow('呼吸频率')">
114
+            <el-input type="number" v-model="assessmentBeforeDislysis.breathing_rate"></el-input>
115
+          </el-form-item>
116
+        </el-col>
117
+
112 118
         <el-col :span="8">
113 119
 
114 120
           <el-form-item label="血管通路部位: " v-if="isShow('血管通路部位')">
@@ -186,7 +192,7 @@
186 192
             </el-select>
187 193
           </el-form-item>
188 194
         </el-col>
189
-<!-- 
195
+<!--
190 196
       </el-row>
191 197
 
192 198
       <el-row :gutter="20"> -->
@@ -390,7 +396,7 @@ export default {
390 396
           hemorrhage: '',
391 397
           hemorrhage_other: '',
392 398
           puncture_method:'',
393
-
399
+          breathing_rate:'',
394 400
           dialysis_count: '',
395 401
           emergency_treatment: '',
396 402
           emergency_treatment_other: '',

+ 3 - 3
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Vedi File

@@ -20,7 +20,7 @@
20 20
               {{scope.row.systolic_blood_pressure?scope.row.systolic_blood_pressure:''}}/{{scope.row.diastolic_blood_pressure?scope.row.diastolic_blood_pressure:''}}
21 21
             </template>
22 22
           </el-table-column>
23
-          <el-table-column prop="pulse_frequency" align="center" width="100" label="率(次/分)">
23
+          <el-table-column prop="pulse_frequency" align="center" width="100" label="率(次/分)">
24 24
             <template slot-scope="scope">
25 25
               {{scope.row.pulse_frequency?scope.row.pulse_frequency:''}}
26 26
             </template>
@@ -104,8 +104,8 @@
104 104
           <!-- </el-row>
105 105
 
106 106
           <el-row :gutter="20"> -->
107
-            <el-col :span="8"  v-if="isShow('率')">
108
-              <el-form-item label="率(次/分):" >
107
+            <el-col :span="8"  v-if="isShow('率')">
108
+              <el-form-item label="率(次/分):" >
109 109
                 <el-input v-model="form.pulse_frequency"></el-input>
110 110
               </el-form-item>
111 111
             </el-col>

+ 1 - 1
src/xt_pages/dialysis/details/dialysisComputer.vue Vedi File

@@ -68,7 +68,7 @@
68 68
       if (this.record == null || this.record.id == '') {
69 69
         return "-"
70 70
       }
71
-      return parseTime(this.record.start_time, "{y}年{m}月{d}日 {h}时");
71
+      return parseTime(this.record.start_time, "{y}年{m}月{d}日 {h}时{i}分");
72 72
 
73 73
 
74 74
     },

+ 2 - 2
src/xt_pages/dialysis/details/dialysisMonitoring.vue Vedi File

@@ -6,7 +6,7 @@
6 6
       <tr>
7 7
         <th  v-if="isShow('监测时间')"  width="124px">时间</th>
8 8
         <th v-if="isShow('血压')" width="72px">血压(mmhg)</th>
9
-        <th v-if="isShow('心率')" width="80px">心率(次/分)</th>
9
+        <th v-if="isShow('脉率')" width="80px">脉率(次/分)</th>
10 10
         <th v-if="isShow('呼吸')" width="110px">呼吸(次/分)</th>
11 11
         <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
12 12
         <th width="76px">静脉压/动脉压(mmhg)</th>
@@ -23,7 +23,7 @@
23 23
       <tr v-for="(monitor, index) in monitores" :key="index">
24 24
         <td  v-if="isShow('监测时间')">{{ parseTime(monitor.operate_time, "{y}-{m}-{d} {h}:{i}") }}</td>
25 25
         <td v-if="isShow('血压')">{{ monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:'' }}/{{ monitor.diastolic_blood_pressure?monitor.diastolic_blood_pressure:'' }}</td>
26
-        <td v-if="isShow('率')">{{ monitor.pulse_frequency?monitor.pulse_frequency:'' }}</td>
26
+        <td v-if="isShow('率')">{{ monitor.pulse_frequency?monitor.pulse_frequency:'' }}</td>
27 27
         <td v-if="isShow('呼吸')">{{ monitor.breathing_rate?monitor.breathing_rate:'' }}</td>
28 28
         <td v-if="isShow('血流量')">{{ monitor.blood_flow_volume?monitor.blood_flow_volume:'' }}</td>
29 29
         <td>{{ monitor.venous_pressure?monitor.venous_pressure:'' }} /{{ monitor.arterial_pressure?monitor.arterial_pressure:'' }} </td>

+ 1 - 1
src/xt_pages/dialysis/details/dialysisOff.vue Vedi File

@@ -60,7 +60,7 @@
60 60
       } else if (this.record.stage == 1) {
61 61
         return "-"
62 62
       } else {
63
-        return parseTime(this.record.end_time, "{y}年{m}月{d}日 {h}时");
63
+        return parseTime(this.record.end_time, "{y}年{m}月{d}日 {h}时{i}分");
64 64
 
65 65
       }
66 66
     },

+ 12 - 12
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue Vedi File

@@ -28,7 +28,7 @@
28 28
         <div class="inline_block" style="margin-left: 25px;">
29 29
           住院号:
30 30
           <div class="under_line" style="width: 100px;">
31
-            {{patientInfo.admission_number?patientInfo.admission_number:''}}
31
+            {{patientInfo.admission_number?patientInfo.admission_number:'/'}}
32 32
           </div>
33 33
         </div>
34 34
       </div>
@@ -180,7 +180,7 @@
180 180
                 <div class="row" style="padding: 2px 0;line-height:19px;">
181 181
                   <div class="inline_block">
182 182
                     跌倒风险评估:&nbsp;评分:
183
-                    <div class="under_line" style="width: 50px;"> {{predialysis.score}}</div>
183
+                    <div class="under_line" style="width: 50px;"> {{receiverTreatmentAccess.score}}</div>分
184 184
                     &emsp;风险程度:
185 185
                     <check-box text="无" :checked="receiverTreatmentAccess.danger_level == 1?true:false"></check-box>
186 186
                     <check-box text="低风险" :checked="receiverTreatmentAccess.danger_level == 2?true:false"></check-box>
@@ -238,11 +238,11 @@
238 238
                       <td  width="100">护士签名</td>
239 239
                     </tr>
240 240
 
241
-                    <tr v-if="this.predialysis.systolic_blood_pressure != 0&&this.predialysis.diastolic_blood_pressure != 0||this.predialysis.remark.length > 0">
241
+                    <tr v-if="this.predialysis.systolic_blood_pressure != 0&&this.predialysis.diastolic_blood_pressure != 0||this.predialysis.remark.length > 0 || predialysis.pulse_frequency != 0 || predialysis.breathing_rate != 0">
242 242
                       <td>{{'透析前'}}</td>
243 243
                       <td>{{predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:''}}/{{predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:''}}</td>
244
-                      <td>{{''}}</td>
245
-                      <td>{{''}}</td>
244
+                      <td>{{predialysis.pulse_frequency?predialysis.pulse_frequency:''}}</td>
245
+                      <td>{{predialysis.breathing_rate?predialysis.breathing_rate:''}}</td>
246 246
                       <td>{{''}}/{{''}}</td>
247 247
                       <td>{{''}}</td>
248 248
                       <td>{{''}}</td>
@@ -262,7 +262,7 @@
262 262
                       <td>{{monitor.breathing_rate?monitor.breathing_rate:''}}</td>
263 263
                       <td>{{monitor.venous_pressure?monitor.venous_pressure:''}}/{{monitor.arterial_pressure?monitor.arterial_pressure:''}}</td>
264 264
                       <td>{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
265
-                      <td>{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:''}}</td>
265
+                      <td>{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:'/'}}</td>
266 266
                       <td>{{monitor.sodium_concentration?monitor.sodium_concentration:''}}</td>
267 267
                       <td style="line-height:16px;padding:0px;"><div style="height:48px;line-height:48px; overflow:hidden;"><span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">{{monitor.symptom}}  &nbsp;{{monitor.dispose}} &nbsp;{{monitor.result}} </span> </div></td>
268 268
                       <td>
@@ -306,7 +306,7 @@
306 306
           <div class="inline_block" style="margin-left: 25px;">
307 307
             住院号:
308 308
             <div class="under_line" style="width: 100px;">
309
-              {{patientInfo.admission_number?patientInfo.admission_number:''}}
309
+              {{patientInfo.admission_number?patientInfo.admission_number:'/'}}
310 310
             </div>
311 311
           </div>
312 312
         </div>
@@ -344,7 +344,7 @@
344 344
                       <td>{{monitor.breathing_rate?monitor.breathing_rate:''}}</td>
345 345
                       <td>{{monitor.venous_pressure?monitor.venous_pressure:''}}/{{monitor.arterial_pressure?monitor.arterial_pressure:''}}</td>
346 346
                       <td>{{monitor.blood_flow_volume?monitor.blood_flow_volume:''}}</td>
347
-                      <td>{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:''}}</td>
347
+                      <td>{{monitor.ultrafiltration_volume?monitor.ultrafiltration_volume:'/'}}</td>
348 348
                       <td>{{monitor.sodium_concentration?monitor.sodium_concentration:''}}</td>
349 349
                       <td style="line-height:16px;"><div style="height:48px;line-height:48px; overflow:hidden;"><span style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">{{monitor.symptom}}  &nbsp;{{monitor.dispose}} &nbsp;{{monitor.result}}</span></div>  </td>
350 350
                       <td>
@@ -478,7 +478,7 @@
478 478
                     <div class="inline_block">
479 479
                       &emsp;核对时间:
480 480
                       <div class="under_line" style="width: 200px;">
481
-                        {{getTime(check.updated_time,'{y}年{m}月{d}日 {h}时')}}
481
+                        {{getTime(check.updated_time,'{y}年{m}月{d}日 {h}时{i}分')}}
482 482
                       </div>
483 483
                     </div>
484 484
                     <div class="inline_block" >
@@ -521,7 +521,7 @@
521 521
                   <div class="inline_block">
522 522
                     &emsp;时间:
523 523
                     <div class="under_line" style="width: 200px;" v-if="dialysisOrder != null">
524
-                      {{getTime(dialysisOrder.end_time,'{y}年{m}月{d}日 {h}时')}}
524
+                      {{getTime(dialysisOrder.end_time,'{y}年{m}月{d}日 {h}时{i}分')}}
525 525
                     </div>
526 526
                   </div>
527 527
                 </div>
@@ -565,7 +565,7 @@
565 565
           <div class="inline_block" style="margin-left:25px;">
566 566
             住院号:
567 567
             <div class="under_line" style="width: 120px;">
568
-              {{patientInfo.admission_number?patientInfo.admission_number:''}}
568
+              {{patientInfo.admission_number?patientInfo.admission_number:'/'}}
569 569
             </div>
570 570
           </div>
571 571
         </div>
@@ -855,7 +855,7 @@
855 855
             <div class="inline_block" style="margin-left:25px;">
856 856
               住院号:
857 857
               <div class="under_line" style="width: 120px;">
858
-                {{patientInfo.admission_number?patientInfo.admission_number:''}}
858
+                {{patientInfo.admission_number?patientInfo.admission_number:'/'}}
859 859
               </div>
860 860
             </div>
861 861
           </div>

+ 10 - 0
src/xt_pages/stock/Dialog/salesReturnDialog.vue Vedi File

@@ -56,6 +56,16 @@
56 56
             </template>
57 57
           </el-table-column>
58 58
 
59
+          <el-table-column
60
+            align="center"
61
+            label="单价"
62
+            property="buy_price"
63
+          >
64
+            <template slot-scope="scope">
65
+              <span>{{scope.row.buy_price}}</span>
66
+            </template>
67
+          </el-table-column>
68
+
59 69
         </el-table>
60 70
       </el-col>
61 71
     </el-row>

+ 2 - 0
src/xt_pages/stock/Dialog/stockOutDialog.vue Vedi File

@@ -49,6 +49,8 @@
49 49
         </el-form-item>
50 50
       </el-col>
51 51
 
52
+
53
+
52 54
       <el-col>
53 55
         <el-form-item label="备注 " prop="remark">
54 56
           <el-input type="textarea" :row="5" v-model="propForm.formValue.remark"

+ 3 - 1
src/xt_pages/stock/stockOutOrderAdd.vue Vedi File

@@ -232,12 +232,13 @@
232 232
             if (i == 0) {
233 233
               this.recordInfo.recordData[this.currentIndex].good_type_id = val.goodTypeId
234 234
               this.recordInfo.recordData[this.currentIndex].good_id = val.selectedGoodInfo[i].id
235
+              this.recordInfo.recordData[this.currentIndex].price = val.selectedGoodInfo[i].buy_price.toString()
235 236
             } else {
236 237
               const tempForm = {}
237 238
               tempForm['good_type_id'] = val.goodTypeId
238 239
               tempForm['good_id'] = val.selectedGoodInfo[i].id
239 240
               tempForm['count'] = ''
240
-              tempForm['price'] = ''
241
+              tempForm['price'] = val.selectedGoodInfo[i].buy_price
241 242
               tempForm['remark'] = ''
242 243
               this.recordInfo.recordData.splice(this.currentIndex + 1, 0, tempForm)
243 244
             }
@@ -452,6 +453,7 @@
452 453
         }, [])
453 454
 
454 455
 
456
+
455 457
         // if (this.form.manufacturer == 0 && this.form.dealer == 0) {
456 458
         //   for (let i = 0; i < this.warehouseInfoList.length; i++) {
457 459
         //     this.propForm.goodType.push(this.warehouseInfoList[i].info.type)

+ 15 - 9
src/xt_pages/user/courseOfDisease.vue Vedi File

@@ -60,12 +60,19 @@
60 60
         <el-dialog title="新增病程记录" width="40%" top="5vh" :visible.sync="show_dialog">
61 61
             <div>
62 62
                 <div class="new_record_form">
63
-                    <diV>
64
-                        <span class="filter_title">日常病程:</span>
65
-                        <el-select v-model="select_template" placeholder="可选择病程模板"  @change="didSelectTemplate">
66
-                            <el-option v-for="(option, index) in templates" :key="index" :label="option.title" :value="option.content"></el-option>
67
-                        </el-select>
68
-                    </diV>
63
+                  <div class="cell clearfix">
64
+                    <label class="title"><span class="name">病程日期</span> : </label>
65
+                    <el-date-picker v-model="course_of_disease_time" prefix-icon="el-icon-date" :editable="false" style="width: 150px;"
66
+                                    type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
67
+                                    value-format="yyyy-MM-dd"></el-date-picker>
68
+
69
+                    <label class="title"><span class="name">日常病程</span> : </label>
70
+                    <el-select v-model="select_template" placeholder="可选择病程模板"  @change="didSelectTemplate" >
71
+                      <el-option v-for="(option, index) in templates" :key="index" :label="option.title" :value="option.content"></el-option>
72
+                    </el-select>
73
+                  </div>
74
+
75
+
69 76
                     <div class="textarea_panel">
70 77
                         <el-input v-model="new_content" type="textarea" rows="6" resize="none"></el-input>
71 78
                     </div>
@@ -103,11 +110,10 @@ export default {
103 110
             date: [],
104 111
             start_time: '',
105 112
             end_time: '',
106
-
113
+            course_of_disease_time:'',
107 114
             records: [],
108 115
             doctors: [],
109 116
             current_select_record: null,
110
-
111 117
             show_dialog: false,
112 118
             uploading_new_record: false,
113 119
             templates: this.$store.getters.configlist.course_disease,
@@ -203,7 +209,7 @@ export default {
203 209
                 return
204 210
             }
205 211
             this.uploading_new_record = true
206
-            createCourseOfDiseaseRecord(this.patient_id, this.new_content).then(rs => {
212
+            createCourseOfDiseaseRecord(this.patient_id, this.new_content,this.course_of_disease_time).then(rs => {
207 213
                 this.uploading_new_record = false
208 214
                 var resp = rs.data
209 215
                 if (resp.state == 1) {