瀏覽代碼

new project commit

csx 5 年之前
父節點
當前提交
0f11f903b2

+ 1 - 1
src/pages/main/Print.vue 查看文件

1102
                     </td>
1102
                     </td>
1103
                     <td width="20">L</td>
1103
                     <td width="20">L</td>
1104
                     <td></td>
1104
                     <td></td>
1105
-                    <td width="60">透后重</td>
1105
+                    <td width="60">透后重</td>
1106
                     <td width="50">
1106
                     <td width="50">
1107
                       <div class="under-line">&nbsp;{{afterdialysis.weight_after?afterdialysis.weight_after:''}}</div>
1107
                       <div class="under-line">&nbsp;{{afterdialysis.weight_after?afterdialysis.weight_after:''}}</div>
1108
                     </td>
1108
                     </td>

+ 2 - 2
src/pages/main/dialog/AssessmentDialog.vue 查看文件

8
       </div>
8
       </div>
9
 
9
 
10
       <div class="DialogContent" id="dialogTop">
10
       <div class="DialogContent" id="dialogTop">
11
-        <div class="item" v-if="isShow('透前重')">
12
-          <h2 class="name">透前重(kg)</h2>
11
+        <div class="item" v-if="isShow('透前重')">
12
+          <h2 class="name">透前重(kg)</h2>
13
           <div class="content">
13
           <div class="content">
14
             <input
14
             <input
15
               type="number"
15
               type="number"

+ 3 - 3
src/pages/main/dialog/ThorougDialog.vue 查看文件

28
           </div>
28
           </div>
29
         </div>
29
         </div>
30
 
30
 
31
-        <div class="item" v-if="isShow('透后重')">
32
-          <label class="name" for="sjcll">透后重(kg)</label>
31
+        <div class="item" v-if="isShow('透后重')">
32
+          <label class="name" for="sjcll">透后重(kg)</label>
33
           <div class="content">
33
           <div class="content">
34
             <input
34
             <input
35
               type="number"
35
               type="number"
1603
         this.formValue[key] = this.record[key]
1603
         this.formValue[key] = this.record[key]
1604
       }
1604
       }
1605
     }
1605
     }
1606
-    
1606
+
1607
     if ((this.record.id == undefined || this.record.id == '') && this.predialysis.id != undefined) {
1607
     if ((this.record.id == undefined || this.record.id == '') && this.predialysis.id != undefined) {
1608
       this.$set(this.formValue, 'additional_weight', this.predialysis['additional_weight'].toString())
1608
       this.$set(this.formValue, 'additional_weight', this.predialysis['additional_weight'].toString())
1609
     }
1609
     }

+ 8 - 8
src/pages/main/dialog/subMenu/MsgTip.vue 查看文件

19
         </div>
19
         </div>
20
       </div>
20
       </div>
21
       <div class="item" style="display:block;">
21
       <div class="item" style="display:block;">
22
-        <div class="name" style="width:100%;text-align:left;line-height:1.5rem;font-size:0.7rem;" for="txms">透前重(kg)<span style="text-align:right;float: right;color:#ec6618;">{{ getBeforeWeight(predialysis)}}</span></div>
22
+        <div class="name" style="width:100%;text-align:left;line-height:1.5rem;font-size:0.7rem;" for="txms">透前重(kg)<span style="text-align:right;float: right;color:#ec6618;">{{ getBeforeWeight(predialysis)}}</span></div>
23
         <div class="content" style="margin-top:5px;margin-left:0;">
23
         <div class="content" style="margin-top:5px;margin-left:0;">
24
-          <span class="text" style="text-align:left;display:block;height:0.4rem;" id="txms">透前重:<span style="color:#ec6618;display:inline-block;text-align:center;margin:0 2px;">{{ getBeforeWeight(predialysis)}}</span>kg=
24
+          <span class="text" style="text-align:left;display:block;height:0.4rem;" id="txms">透前重:<span style="color:#ec6618;display:inline-block;text-align:center;margin:0 2px;">{{ getBeforeWeight(predialysis)}}</span>kg=
25
           透前总重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{predialysis.weight_before}}</span>kg-
25
           透前总重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{predialysis.weight_before}}</span>kg-
26
           衣服重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{predialysis.additional_weight}}</span>kg
26
           衣服重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{predialysis.additional_weight}}</span>kg
27
            </span>
27
            </span>
46
         <div class="name" style="width:100%;text-align:left;line-height:1.5rem;font-size:0.7rem;" for="txms">体重增加(kg)<span style="text-align:right;float: right;color:#ec6618;">{{add_weight}}</span></div>
46
         <div class="name" style="width:100%;text-align:left;line-height:1.5rem;font-size:0.7rem;" for="txms">体重增加(kg)<span style="text-align:right;float: right;color:#ec6618;">{{add_weight}}</span></div>
47
         <div class="content" style="margin-top:5px;margin-left:0;">
47
         <div class="content" style="margin-top:5px;margin-left:0;">
48
           <span class="text" style="text-align:left;display:block;height:0.8rem;line-height:0.6rem;" id="txms">体重增加:<span style="color:#ec6618;display:inline-block;text-align:center;margin:0 2px;">{{add_weight}}</span>kg=
48
           <span class="text" style="text-align:left;display:block;height:0.8rem;line-height:0.6rem;" id="txms">体重增加:<span style="color:#ec6618;display:inline-block;text-align:center;margin:0 2px;">{{add_weight}}</span>kg=
49
-          透前重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{getBeforeWeight(predialysis)}}</span>kg -
50
-          上次透后重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{getLastAfterWeight(last_record)}}</span>kg
49
+          透前重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{getBeforeWeight(predialysis)}}</span>kg -
50
+          上次透后重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{getLastAfterWeight(last_record)}}</span>kg
51
           </span>
51
           </span>
52
         </div>
52
         </div>
53
         <br>
53
         <br>
59
         </div>
59
         </div>
60
       </div> -->
60
       </div> -->
61
       <div class="item" style="display:block;">
61
       <div class="item" style="display:block;">
62
-        <div class="name" style="width:100%;text-align:left;line-height:1.5rem;font-size:0.7rem;" for="txms">透后重(kg)<span style="text-align:right;float: right;color:#ec6618;">{{getAfterWeight(record)}}</span></div>
62
+        <div class="name" style="width:100%;text-align:left;line-height:1.5rem;font-size:0.7rem;" for="txms">透后重(kg)<span style="text-align:right;float: right;color:#ec6618;">{{getAfterWeight(record)}}</span></div>
63
         <div class="content" style="margin-top:5px;margin-left:0;">
63
         <div class="content" style="margin-top:5px;margin-left:0;">
64
-          <span class="text" style="text-align:left;display:block;height:0.4rem;" id="txms">透后重:<span style="color:#ec6618;display:inline-block;text-align:center;margin:0 2px;">{{getAfterWeight(record)}}</span>kg=
64
+          <span class="text" style="text-align:left;display:block;height:0.4rem;" id="txms">透后重:<span style="color:#ec6618;display:inline-block;text-align:center;margin:0 2px;">{{getAfterWeight(record)}}</span>kg=
65
           透后总重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{record.weight_after}}</span>kg-
65
           透后总重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{record.weight_after}}</span>kg-
66
           衣服重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{predialysis.additional_weight}}</span>kg
66
           衣服重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{predialysis.additional_weight}}</span>kg
67
            </span>
67
            </span>
81
         </div>
81
         </div>
82
       </div>
82
       </div>
83
       <div class="item" style="display:block;">
83
       <div class="item" style="display:block;">
84
-        <div class="name" style="width:100%;text-align:left;line-height:1.5rem;font-size:0.7rem;" for="txms">上次透后重(kg)<span style="text-align:right;float: right;color:#ec6618;">{{getLastAfterWeight(last_record)}}</span></div>
84
+        <div class="name" style="width:100%;text-align:left;line-height:1.5rem;font-size:0.7rem;" for="txms">上次透后重(kg)<span style="text-align:right;float: right;color:#ec6618;">{{getLastAfterWeight(last_record)}}</span></div>
85
         <div class="content" style="margin-top:5px;margin-left:0;">
85
         <div class="content" style="margin-top:5px;margin-left:0;">
86
-          <span class="text" style="text-align:left;display:block;height:0.4rem;" id="txms">上次透后重:<span style="color:#ec6618;display:inline-block;text-align:center;margin:0 2px;">{{getLastAfterWeight(last_record)}}</span>kg=
86
+          <span class="text" style="text-align:left;display:block;height:0.4rem;" id="txms">上次透后重:<span style="color:#ec6618;display:inline-block;text-align:center;margin:0 2px;">{{getLastAfterWeight(last_record)}}</span>kg=
87
           上次透后总重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{last_record.weight_after}}</span>kg-
87
           上次透后总重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{last_record.weight_after}}</span>kg-
88
           上次衣服重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{last_predialysis.additional_weight}}</span>kg
88
           上次衣服重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{last_predialysis.additional_weight}}</span>kg
89
            </span>
89
            </span>

+ 2 - 2
src/pages/main/dialysis/RecordTable.vue 查看文件

63
             <th width="110px">透析模式</th>
63
             <th width="110px">透析模式</th>
64
             <th width="92px">透析时长(h)</th>
64
             <th width="92px">透析时长(h)</th>
65
             <th width="76px">干体重(kg)</th>
65
             <th width="76px">干体重(kg)</th>
66
-            <th width="76px">透前重(kg)</th>
67
-            <th width="76px">透后重(kg)</th>
66
+            <th width="76px">透前重(kg)</th>
67
+            <th width="76px">透后重(kg)</th>
68
             <th width="92px">透前血压(mmHg)</th>
68
             <th width="92px">透前血压(mmHg)</th>
69
             <th width="92px">透后血压(mmHg)</th>
69
             <th width="92px">透后血压(mmHg)</th>
70
             <th width="92px">超滤总量(L)</th>
70
             <th width="92px">超滤总量(L)</th>

+ 1 - 1
src/pages/main/template/DialysisPrintOrderFive.vue 查看文件

891
             </div>
891
             </div>
892
             <div class="row" style="padding: 2px 0;line-height:24px;">
892
             <div class="row" style="padding: 2px 0;line-height:24px;">
893
               <div class="inline_block">
893
               <div class="inline_block">
894
-                透前重:
894
+                透前重:
895
                 <div class="under_line" style="width: 70px;text-align: left" v-if="predialysis.weight_before">
895
                 <div class="under_line" style="width: 70px;text-align: left" v-if="predialysis.weight_before">
896
                   {{predialysis.weight_before}}
896
                   {{predialysis.weight_before}}
897
                 </div>
897
                 </div>

+ 1 - 1
src/pages/main/template/DialysisPrintOrderOne.vue 查看文件

616
                     </td>
616
                     </td>
617
                     <td width="20">L</td>
617
                     <td width="20">L</td>
618
                     <td></td>
618
                     <td></td>
619
-                    <td width="60">透后重</td>
619
+                    <td width="60">透后重</td>
620
                     <td width="50">
620
                     <td width="50">
621
                       <div class="under-line">&nbsp;{{afterdialysis.weight_after?afterdialysis.weight_after:''}}</div>
621
                       <div class="under-line">&nbsp;{{afterdialysis.weight_after?afterdialysis.weight_after:''}}</div>
622
                     </td>
622
                     </td>

+ 3 - 3
src/pages/main/template/DialysisPrintOrderSix.vue 查看文件

365
                     kg
365
                     kg
366
                   </div>
366
                   </div>
367
                   <div class="inline_block" style="flex:1;">
367
                   <div class="inline_block" style="flex:1;">
368
-                    透前重:
368
+                    透前重:
369
                     <div class="under_line" style="width: 70px;text-align: center">
369
                     <div class="under_line" style="width: 70px;text-align: center">
370
                       {{predialysis.weight_before?predialysis.weight_before:'/'}}
370
                       {{predialysis.weight_before?predialysis.weight_before:'/'}}
371
                     </div>
371
                     </div>
516
 
516
 
517
                     <tr v-for="(monitor, monindex) in monitors" :key="monindex">
517
                     <tr v-for="(monitor, monindex) in monitors" :key="monindex">
518
                       <td> {{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
518
                       <td> {{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
519
-                      <td> {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure + "/" : "" }}{{  monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }} </td> 
519
+                      <td> {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure + "/" : "" }}{{  monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }} </td>
520
                       <td> {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }} </td>
520
                       <td> {{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }} </td>
521
                       <td> {{ monitor.breathing_rate ? monitor.breathing_rate : "" }} </td>
521
                       <td> {{ monitor.breathing_rate ? monitor.breathing_rate : "" }} </td>
522
                       <td> {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }} </td>
522
                       <td> {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }} </td>
534
                           <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;">
534
                           <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;">
535
                             <template v-if=" monitor.operate_time == dialysisOrder.start_time " >【开始透析】</template > {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
535
                             <template v-if=" monitor.operate_time == dialysisOrder.start_time " >【开始透析】</template > {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
536
                           </span>
536
                           </span>
537
-                        </div> 
537
+                        </div>
538
                       </td>
538
                       </td>
539
                     </tr>
539
                     </tr>
540
                     <tr v-for="(monitor,monindex) in monitors2" :key="monindex">
540
                     <tr v-for="(monitor,monindex) in monitors2" :key="monindex">

+ 1 - 1
src/pages/main/template/DialysisPrintOrderTwo.vue 查看文件

815
               </div>
815
               </div>
816
               <div class="row" style="padding: 2px 0;line-height:24px;">
816
               <div class="row" style="padding: 2px 0;line-height:24px;">
817
                 <div class="inline_block">
817
                 <div class="inline_block">
818
-                  透前重:
818
+                  透前重:
819
                   <div class="under_line" style="width: 70px;text-align: left" v-if="predialysis.weight_before">
819
                   <div class="under_line" style="width: 70px;text-align: left" v-if="predialysis.weight_before">
820
                     {{predialysis.weight_before}}
820
                     {{predialysis.weight_before}}
821
                   </div>
821
                   </div>

+ 440 - 440
src/pages/main/today/assessmentAfter.vue 查看文件

24
           <span class="content" id="ssy">{{systolic_blood_pressure?systolic_blood_pressure:''}}</span>
24
           <span class="content" id="ssy">{{systolic_blood_pressure?systolic_blood_pressure:''}}</span>
25
           <span class="unit">{{systolic_blood_pressure?'mmHg':''}}</span>
25
           <span class="unit">{{systolic_blood_pressure?'mmHg':''}}</span>
26
         </li>
26
         </li>
27
-        <li v-if="isShow('透后重')">
28
-          <label for="thtz">透后重 : </label>
27
+        <li v-if="isShow('透后重')">
28
+          <label for="thtz">透后重 : </label>
29
           <span class="content" id="thtz">{{weight_after?weight_after:''}}</span>
29
           <span class="content" id="thtz">{{weight_after?weight_after:''}}</span>
30
           <span class="unit">{{weight_after?'kg':''}}</span>
30
           <span class="unit">{{weight_after?'kg':''}}</span>
31
         </li>
31
         </li>
192
 </template>
192
 </template>
193
 
193
 
194
 <script>
194
 <script>
195
-export default {
196
-  name: 'DialysisPrescription',
197
-  data () {
198
-    return {
199
-      title: '透后评估 ',
200
-      template_id: 0
201
-      // note: "无明显异常",
202
-      // doctor: "刘小军  医生",
203
-      // info1: [
204
-      //   { value: "1", label: "透后体重 : ", content: "55", unit: "kg" },
205
-      //   { value: "2", label: "收缩压 : ", content: "174", unit: "mmHg" },
206
-      //   { value: "3", label: "实际超滤量: ", content: "20", unit: "ml" },
207
-      //   { value: "4", label: "疑血 : ", content: "无震颤", unit: "" },
208
-      //   { value: "5", label: "", content: "", unit: "" }
209
-      // ],
210
-      // info2: [
211
-      //   { value: "1", label: "体重减少 : ", content: "3", unit: "kg" },
212
-      //   { value: "2", label: "舒张压 : ", content: "200", unit: "mmHg" },
213
-      //   { value: "3", label: "实际置换量 : ", content: "20", unit: "ml" },
214
-      //   { value: "3", label: "透后症状 : ", content: "无症状", unit: "" },
215
-      //   { value: "4", label: "导管 : ", content: "导管堵塞", unit: "" }
216
-      // ],
217
-      // info3: [
218
-      //   { value: "1", label: "体温 : ", content: "14", unit: "℃" },
219
-      //   { value: "2", label: "心率 : ", content: "2", unit: "次/分" },
220
-      //   { value: "3", label: "实际治疗时长 : ", content: "4时4分", unit: "" },
221
-      //   { value: "4", label: "透析中入量: ", content: "一般", unit: "" },
222
-      //   { value: "4", label: "并发症: ", content: "痔疮出血", unit: "" }
223
-      // ]
224
-    }
225
-  },
226
-  props: {
227
-    record: {
228
-      type: Object
229
-    },
230
-    predialysis: {
231
-      type: Object
232
-    }
233
-  },
234
-  created () {
235
-    this.template_id = this.$store.getters.user.template_info.template_id
236
-  },
237
-  computed: {
238
-    weight_after: function () {
239
-      if (this.record == null || this.record.id == '') {
240
-        return '-'
241
-      }
242
-      return this.record.weight_after
243
-    },
244
-    additional_weight: function () {
245
-      if (this.record == null || this.record.id == '') {
246
-        return '-'
247
-      }
248
-      return this.record.additional_weight
249
-    },
250
-    systolic_blood_pressure: function () {
251
-      if (this.record == null || this.record.id == '') {
252
-        return '-'
253
-      }
254
-      return this.record.systolic_blood_pressure
255
-    },
256
-    actual_ultrafiltration: function () {
257
-      if (this.record == null || this.record.id == '') {
258
-        return '-'
259
-      }
260
-      return this.record.actual_ultrafiltration
261
-    },
262
-    cruor: function () {
263
-      if (this.record == null || this.record.id == '') {
264
-        return '-'
265
-      }
266
-      return this.record.cruor
267
-    },
268
-    internal_fistula: function () {
269
-      if (this.record == null || this.record.id == '') {
270
-        return '-'
271
-      }
272
-      return this.record.internal_fistula
273
-    },
274
-    weight_loss: function () {
275
-      if (this.record == null || this.record.id == '') {
276
-        return '-'
277
-      }
278
-      return this.record.weight_loss
279
-    },
280
-    inpatient_department: function () {
281
-      if (this.record == null || this.record.id == '') {
282
-        return '-'
283
-      }
284
-      return this.record.inpatient_department
285
-    },
286
-    patient_gose: function () {
287
-      if (this.record == null || this.record.id == '') {
288
-        return 0
289
-      }
290
-      return this.record.patient_gose
291
-    },
292
-    diastolic_blood_pressure: function () {
293
-      if (this.record == null || this.record.id == '') {
294
-        return '-'
295
-      }
296
-      return this.record.diastolic_blood_pressure
297
-    },
298
-    actual_displacement: function () {
299
-      if (this.record == null || this.record.id == '') {
300
-        return '-'
301
-      }
302
-      return this.record.actual_displacement
303
-    },
304
-    symptom_after_dialysis: function () {
305
-      if (this.record == null || this.record.id == '') {
306
-        return '-'
307
-      }
308
-      return this.record.symptom_after_dialysis
309
-    },
310
-    blood_access_part: function () {
311
-      if (this.record == null || this.record.id == '') {
312
-        return '-'
313
-      }
314
-      let vascular_access = this.$store.getters.vascular_access
315
-      let valen = vascular_access.length
316
-      let name = '-'
317
-      for (let index = 0; index < valen; index++) {
318
-        if (vascular_access[index].id == this.record.blood_access_part_id) {
319
-          name = vascular_access[index].name
320
-          break
195
+  export default {
196
+    name: 'DialysisPrescription',
197
+    data () {
198
+      return {
199
+        title: '透后评估 ',
200
+        template_id: 0
201
+        // note: "无明显异常",
202
+        // doctor: "刘小军  医生",
203
+        // info1: [
204
+        //   { value: "1", label: "透后体重 : ", content: "55", unit: "kg" },
205
+        //   { value: "2", label: "收缩压 : ", content: "174", unit: "mmHg" },
206
+        //   { value: "3", label: "实际超滤量: ", content: "20", unit: "ml" },
207
+        //   { value: "4", label: "疑血 : ", content: "无震颤", unit: "" },
208
+        //   { value: "5", label: "", content: "", unit: "" }
209
+        // ],
210
+        // info2: [
211
+        //   { value: "1", label: "体重减少 : ", content: "3", unit: "kg" },
212
+        //   { value: "2", label: "舒张压 : ", content: "200", unit: "mmHg" },
213
+        //   { value: "3", label: "实际置换量 : ", content: "20", unit: "ml" },
214
+        //   { value: "3", label: "透后症状 : ", content: "无症状", unit: "" },
215
+        //   { value: "4", label: "导管 : ", content: "导管堵塞", unit: "" }
216
+        // ],
217
+        // info3: [
218
+        //   { value: "1", label: "体温 : ", content: "14", unit: "℃" },
219
+        //   { value: "2", label: "心率 : ", content: "2", unit: "次/分" },
220
+        //   { value: "3", label: "实际治疗时长 : ", content: "4时4分", unit: "" },
221
+        //   { value: "4", label: "透析中入量: ", content: "一般", unit: "" },
222
+        //   { value: "4", label: "并发症: ", content: "痔疮出血", unit: "" }
223
+        // ]
224
+      }
225
+    },
226
+    props: {
227
+      record: {
228
+        type: Object
229
+      },
230
+      predialysis: {
231
+        type: Object
232
+      }
233
+    },
234
+    created () {
235
+      this.template_id = this.$store.getters.user.template_info.template_id
236
+    },
237
+    computed: {
238
+      weight_after: function () {
239
+        if (this.record == null || this.record.id == '') {
240
+          return '-'
321
         }
241
         }
322
-      }
323
-      return name
324
-    },
325
-    puncture_point_oozing_blood_name: function () {
326
-      if (this.record == null || this.record.id == '') {
327
-        return '-'
328
-      }
329
-      switch (this.record.puncture_point_oozing_blood) {
330
-        case 1:
331
-          return '有'
332
-          break
333
-        case 2:
334
-          return '无'
335
-          break
336
-
337
-        default:
242
+        return this.record.weight_after
243
+      },
244
+      additional_weight: function () {
245
+        if (this.record == null || this.record.id == '') {
338
           return '-'
246
           return '-'
339
-          break
340
-      }
341
-    },
247
+        }
248
+        return this.record.additional_weight
249
+      },
250
+      systolic_blood_pressure: function () {
251
+        if (this.record == null || this.record.id == '') {
252
+          return '-'
253
+        }
254
+        return this.record.systolic_blood_pressure
255
+      },
256
+      actual_ultrafiltration: function () {
257
+        if (this.record == null || this.record.id == '') {
258
+          return '-'
259
+        }
260
+        return this.record.actual_ultrafiltration
261
+      },
262
+      cruor: function () {
263
+        if (this.record == null || this.record.id == '') {
264
+          return '-'
265
+        }
266
+        return this.record.cruor
267
+      },
268
+      internal_fistula: function () {
269
+        if (this.record == null || this.record.id == '') {
270
+          return '-'
271
+        }
272
+        return this.record.internal_fistula
273
+      },
274
+      weight_loss: function () {
275
+        if (this.record == null || this.record.id == '') {
276
+          return '-'
277
+        }
278
+        return this.record.weight_loss
279
+      },
280
+      inpatient_department: function () {
281
+        if (this.record == null || this.record.id == '') {
282
+          return '-'
283
+        }
284
+        return this.record.inpatient_department
285
+      },
286
+      patient_gose: function () {
287
+        if (this.record == null || this.record.id == '') {
288
+          return 0
289
+        }
290
+        return this.record.patient_gose
291
+      },
292
+      diastolic_blood_pressure: function () {
293
+        if (this.record == null || this.record.id == '') {
294
+          return '-'
295
+        }
296
+        return this.record.diastolic_blood_pressure
297
+      },
298
+      actual_displacement: function () {
299
+        if (this.record == null || this.record.id == '') {
300
+          return '-'
301
+        }
302
+        return this.record.actual_displacement
303
+      },
304
+      symptom_after_dialysis: function () {
305
+        if (this.record == null || this.record.id == '') {
306
+          return '-'
307
+        }
308
+        return this.record.symptom_after_dialysis
309
+      },
310
+      blood_access_part: function () {
311
+        if (this.record == null || this.record.id == '') {
312
+          return '-'
313
+        }
314
+        let vascular_access = this.$store.getters.vascular_access
315
+        let valen = vascular_access.length
316
+        let name = '-'
317
+        for (let index = 0; index < valen; index++) {
318
+          if (vascular_access[index].id == this.record.blood_access_part_id) {
319
+            name = vascular_access[index].name
320
+            break
321
+          }
322
+        }
323
+        return name
324
+      },
325
+      puncture_point_oozing_blood_name: function () {
326
+        if (this.record == null || this.record.id == '') {
327
+          return '-'
328
+        }
329
+        switch (this.record.puncture_point_oozing_blood) {
330
+          case 1:
331
+            return '有'
332
+            break
333
+          case 2:
334
+            return '无'
335
+            break
342
 
336
 
343
-    eat_name: function () {
344
-      if (this.record == null || this.record.id == '') {
345
-        return '-'
346
-      }
347
-      switch (this.record.is_eat) {
348
-        case 1:
349
-          return '有'
350
-          break
351
-        case 2:
352
-          return '无'
353
-          break
337
+          default:
338
+            return '-'
339
+            break
340
+        }
341
+      },
354
 
342
 
355
-        default:
343
+      eat_name: function () {
344
+        if (this.record == null || this.record.id == '') {
356
           return '-'
345
           return '-'
357
-          break
358
-      }
359
-    },
360
-    patient_gose_name: function () {
361
-      if (this.record == null || this.record.id == '') {
362
-        return '-'
363
-      }
364
-      switch (this.record.patient_gose) {
365
-        case 1:
366
-          return '离院'
367
-          break
368
-        case 2:
369
-          return '留观'
370
-          break
371
-        case 3:
372
-          return '住院'
373
-          break
346
+        }
347
+        switch (this.record.is_eat) {
348
+          case 1:
349
+            return '有'
350
+            break
351
+          case 2:
352
+            return '无'
353
+            break
374
 
354
 
375
-        default:
355
+          default:
356
+            return '-'
357
+            break
358
+        }
359
+      },
360
+      patient_gose_name: function () {
361
+        if (this.record == null || this.record.id == '') {
376
           return '-'
362
           return '-'
377
-          break
378
-      }
379
-    },
380
-    blood_access_opera: function () {
381
-      if (this.record == null || this.record.id == '') {
382
-        return '-'
383
-      }
384
-      let vascular_access = this.$store.getters.vascular_access_desc
385
-      let valen = vascular_access.length
386
-      let name = '-'
387
-      for (let index = 0; index < valen; index++) {
388
-        if (vascular_access[index].id == this.record.blood_access_part_opera_id) {
389
-          name = vascular_access[index].name
390
-          break
391
         }
363
         }
392
-      }
393
-      return name
394
-    },
395
-    catheter: function () {
396
-      if (this.record == null || this.record.id == '') {
397
-        return '-'
398
-      }
399
-      return this.record.catheter
400
-    },
401
-    puncture_point_haematoma_name: function () {
402
-      if (this.record == null || this.record.id == '') {
403
-        return '-'
404
-      }
405
-      switch (this.record.puncture_point_haematoma) {
406
-        case 1:
407
-          return '有'
408
-          break
409
-        case 2:
410
-          return '无'
411
-          break
412
-        default:
364
+        switch (this.record.patient_gose) {
365
+          case 1:
366
+            return '离院'
367
+            break
368
+          case 2:
369
+            return '留观'
370
+            break
371
+          case 3:
372
+            return '住院'
373
+            break
374
+
375
+          default:
376
+            return '-'
377
+            break
378
+        }
379
+      },
380
+      blood_access_opera: function () {
381
+        if (this.record == null || this.record.id == '') {
413
           return '-'
382
           return '-'
414
-          break
415
-      }
416
-    },
417
-    breathing_rate: function () {
418
-      if (this.record == null || this.record.id == '') {
419
-        return '-'
420
-      }
421
-      return this.record.breathing_rate
422
-    },
423
-    temperature: function () {
424
-      if (this.record == null || this.record.id == '') {
425
-        return '-'
426
-      }
427
-      return this.record.temperature
428
-    },
429
-    pulse_frequency: function () {
430
-      if (this.record == null || this.record.id == '') {
431
-        return '-'
432
-      }
433
-      return this.record.pulse_frequency
434
-    },
435
-    actual_treatment_hour: function () {
436
-      if (this.record == null || this.record.id == '') {
437
-        return '-'
438
-      }
439
-      return this.record.actual_treatment_hour
440
-    },
441
-    actual_treatment_minute: function () {
442
-      if (this.record == null || this.record.id == '') {
443
-        return '-'
444
-      }
445
-      return this.record.actual_treatment_minute
446
-    },
447
-    dialysis_intakes_feed: function () {
448
-      if (this.record == null || this.record.id == '') {
449
-        return '-'
450
-      }
451
-      return this.record.dialysis_intakes
452
-    },
453
-    observation_content_other: function () {
454
-      if (this.record == null || this.record.id == '') {
455
-        return '-'
456
-      }
457
-      return this.record.observation_content_other
458
-    },
459
-    observation_content: function () {
460
-      if (this.record == null || this.record.id == '') {
461
-        return '-'
462
-      }
463
-      return this.record.observation_content
464
-    },
465
-    complication: function () {
466
-      if (this.record == null || this.record.id == '') {
467
-        return '-'
468
-      }
469
-      return this.record.complication
470
-    },
471
-    internal_fistula_tremor_ac_name: function () {
472
-      if (this.record == null || this.record.id == '') {
473
-        return '-'
474
-      }
475
-      switch (this.record.internal_fistula_tremor_ac) {
476
-        case 1:
477
-          return '存在'
478
-          break
479
-        case 2:
480
-          return '减弱'
481
-          break
482
-        case 3:
483
-          return '无'
484
-          break
485
-        default:
383
+        }
384
+        let vascular_access = this.$store.getters.vascular_access_desc
385
+        let valen = vascular_access.length
386
+        let name = '-'
387
+        for (let index = 0; index < valen; index++) {
388
+          if (vascular_access[index].id == this.record.blood_access_part_opera_id) {
389
+            name = vascular_access[index].name
390
+            break
391
+          }
392
+        }
393
+        return name
394
+      },
395
+      catheter: function () {
396
+        if (this.record == null || this.record.id == '') {
486
           return '-'
397
           return '-'
487
-          break
488
-      }
489
-    },
490
-
491
-    remark: function () {
492
-      if (this.record == null || this.record.id == '') {
493
-        return ''
494
-      }
495
-      return this.record.remark
496
-    },
497
-    in_advance_minute: function () {
498
-      if (this.record == null || this.record.id == '') {
499
-        return ''
500
-      }
501
-      return this.record.in_advance_minute
502
-    },
503
-    in_advance_reason: function () {
504
-      if (this.record == null || this.record.id == '') {
505
-        return ''
506
-      }
507
-      return this.record.in_advance_reason + ',' + this.record.in_advance_reason_other
508
-    },
509
-    hemostasis_minute: function () {
510
-      if (this.record == null || this.record.id == '') {
511
-        return ''
512
-      }
398
+        }
399
+        return this.record.catheter
400
+      },
401
+      puncture_point_haematoma_name: function () {
402
+        if (this.record == null || this.record.id == '') {
403
+          return '-'
404
+        }
405
+        switch (this.record.puncture_point_haematoma) {
406
+          case 1:
407
+            return '有'
408
+            break
409
+          case 2:
410
+            return '无'
411
+            break
412
+          default:
413
+            return '-'
414
+            break
415
+        }
416
+      },
417
+      breathing_rate: function () {
418
+        if (this.record == null || this.record.id == '') {
419
+          return '-'
420
+        }
421
+        return this.record.breathing_rate
422
+      },
423
+      temperature: function () {
424
+        if (this.record == null || this.record.id == '') {
425
+          return '-'
426
+        }
427
+        return this.record.temperature
428
+      },
429
+      pulse_frequency: function () {
430
+        if (this.record == null || this.record.id == '') {
431
+          return '-'
432
+        }
433
+        return this.record.pulse_frequency
434
+      },
435
+      actual_treatment_hour: function () {
436
+        if (this.record == null || this.record.id == '') {
437
+          return '-'
438
+        }
439
+        return this.record.actual_treatment_hour
440
+      },
441
+      actual_treatment_minute: function () {
442
+        if (this.record == null || this.record.id == '') {
443
+          return '-'
444
+        }
445
+        return this.record.actual_treatment_minute
446
+      },
447
+      dialysis_intakes_feed: function () {
448
+        if (this.record == null || this.record.id == '') {
449
+          return '-'
450
+        }
451
+        return this.record.dialysis_intakes
452
+      },
453
+      observation_content_other: function () {
454
+        if (this.record == null || this.record.id == '') {
455
+          return '-'
456
+        }
457
+        return this.record.observation_content_other
458
+      },
459
+      observation_content: function () {
460
+        if (this.record == null || this.record.id == '') {
461
+          return '-'
462
+        }
463
+        return this.record.observation_content
464
+      },
465
+      complication: function () {
466
+        if (this.record == null || this.record.id == '') {
467
+          return '-'
468
+        }
469
+        return this.record.complication
470
+      },
471
+      internal_fistula_tremor_ac_name: function () {
472
+        if (this.record == null || this.record.id == '') {
473
+          return '-'
474
+        }
475
+        switch (this.record.internal_fistula_tremor_ac) {
476
+          case 1:
477
+            return '存在'
478
+            break
479
+          case 2:
480
+            return '减弱'
481
+            break
482
+          case 3:
483
+            return '无'
484
+            break
485
+          default:
486
+            return '-'
487
+            break
488
+        }
489
+      },
513
 
490
 
514
-      return this.record.hemostasis_minute
515
-    },
516
-    in_advance_reason_other: function () {
517
-      if (this.record == null || this.record.id == '') {
518
-        return ''
519
-      }
520
-      return this.record.in_advance_reason_other
521
-    }
522
-  },
523
-  methods: {
524
-    isShow (name) {
525
-      var filedList = this.$store.getters.user.fileds
491
+      remark: function () {
492
+        if (this.record == null || this.record.id == '') {
493
+          return ''
494
+        }
495
+        return this.record.remark
496
+      },
497
+      in_advance_minute: function () {
498
+        if (this.record == null || this.record.id == '') {
499
+          return ''
500
+        }
501
+        return this.record.in_advance_minute
502
+      },
503
+      in_advance_reason: function () {
504
+        if (this.record == null || this.record.id == '') {
505
+          return ''
506
+        }
507
+        return this.record.in_advance_reason + ',' + this.record.in_advance_reason_other
508
+      },
509
+      hemostasis_minute: function () {
510
+        if (this.record == null || this.record.id == '') {
511
+          return ''
512
+        }
526
 
513
 
527
-      for (let i = 0; i < filedList.length; i++) {
528
-        if (filedList[i].module == 5 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
529
-          return true
514
+        return this.record.hemostasis_minute
515
+      },
516
+      in_advance_reason_other: function () {
517
+        if (this.record == null || this.record.id == '') {
518
+          return ''
530
         }
519
         }
520
+        return this.record.in_advance_reason_other
531
       }
521
       }
532
-      return false
533
     },
522
     },
534
-    getOpera: function (id) {
535
-      var hemostasis_opera = this.$store.getters.hemostasis_opera
536
-      var hemostasisOperaName = ''
537
-      for (let i = 0; i < hemostasis_opera.length; i++) {
538
-        if (hemostasis_opera[i].id == id) {
539
-          hemostasisOperaName = hemostasis_opera[i].name
523
+    methods: {
524
+      isShow (name) {
525
+        var filedList = this.$store.getters.user.fileds
526
+
527
+        for (let i = 0; i < filedList.length; i++) {
528
+          if (filedList[i].module == 5 && filedList[i].filed_name_cn == name && filedList[i].is_show == 1) {
529
+            return true
530
+          }
540
         }
531
         }
541
-      }
542
-      return hemostasisOperaName
543
-    },
544
-    getTremorNoise: function (id) {
545
-      var tremor_noise = this.$store.getters.tremor_noise
546
-      var tremorNoiseName = ''
547
-      for (let i = 0; i < tremor_noise.length; i++) {
548
-        if (tremor_noise[i].id == id) {
549
-          tremorNoiseName = tremor_noise[i].name
532
+        return false
533
+      },
534
+      getOpera: function (id) {
535
+        var hemostasis_opera = this.$store.getters.hemostasis_opera
536
+        var hemostasisOperaName = ''
537
+        for (let i = 0; i < hemostasis_opera.length; i++) {
538
+          if (hemostasis_opera[i].id == id) {
539
+            hemostasisOperaName = hemostasis_opera[i].name
540
+          }
550
         }
541
         }
551
-      }
552
-      return tremorNoiseName
553
-    },
554
-    getDisequilibriumSyndrome: function (id) {
555
-      var disequilibrium_syndrome = this.$store.getters.disequilibrium_syndrome
556
-      var disequilibriumSyndromeName = ''
557
-      for (let i = 0; i < disequilibrium_syndrome.length; i++) {
558
-        if (disequilibrium_syndrome[i].id == id) {
559
-          disequilibriumSyndromeName = disequilibrium_syndrome[i].name
542
+        return hemostasisOperaName
543
+      },
544
+      getTremorNoise: function (id) {
545
+        var tremor_noise = this.$store.getters.tremor_noise
546
+        var tremorNoiseName = ''
547
+        for (let i = 0; i < tremor_noise.length; i++) {
548
+          if (tremor_noise[i].id == id) {
549
+            tremorNoiseName = tremor_noise[i].name
550
+          }
560
         }
551
         }
561
-      }
562
-      return disequilibriumSyndromeName
563
-    },
564
-    getDisequilibriumSyndromeOptionName: function (id) {
565
-      var disequilibrium_syndrome_option = this.$store.getters.disequilibrium_syndrome_option
566
-      var disequilibriumSyndromeOptionName = ''
567
-      for (let i = 0; i < disequilibrium_syndrome_option.length; i++) {
568
-        if (disequilibrium_syndrome_option[i].id == id) {
569
-          disequilibriumSyndromeOptionName = disequilibrium_syndrome_option[i].name
552
+        return tremorNoiseName
553
+      },
554
+      getDisequilibriumSyndrome: function (id) {
555
+        var disequilibrium_syndrome = this.$store.getters.disequilibrium_syndrome
556
+        var disequilibriumSyndromeName = ''
557
+        for (let i = 0; i < disequilibrium_syndrome.length; i++) {
558
+          if (disequilibrium_syndrome[i].id == id) {
559
+            disequilibriumSyndromeName = disequilibrium_syndrome[i].name
560
+          }
570
         }
561
         }
571
-      }
572
-      return disequilibriumSyndromeOptionName
573
-    },
574
-    getArterialTubeName: function (id) {
575
-      var arterial_tube = this.$store.getters.arterial_tube
576
-      var arterialTubeName = ''
577
-      for (let i = 0; i < arterial_tube.length; i++) {
578
-        if (arterial_tube[i].id == id) {
579
-          arterialTubeName = arterial_tube[i].name
562
+        return disequilibriumSyndromeName
563
+      },
564
+      getDisequilibriumSyndromeOptionName: function (id) {
565
+        var disequilibrium_syndrome_option = this.$store.getters.disequilibrium_syndrome_option
566
+        var disequilibriumSyndromeOptionName = ''
567
+        for (let i = 0; i < disequilibrium_syndrome_option.length; i++) {
568
+          if (disequilibrium_syndrome_option[i].id == id) {
569
+            disequilibriumSyndromeOptionName = disequilibrium_syndrome_option[i].name
570
+          }
580
         }
571
         }
581
-      }
582
-      return arterialTubeName
583
-    },
584
-    getIntravenousTubeName: function (id) {
585
-      var intravenous_tube = this.$store.getters.intravenous_tube
586
-      var intravenousTubeName = ''
587
-      for (let i = 0; i < intravenous_tube.length; i++) {
588
-        if (intravenous_tube[i].id == id) {
589
-          intravenousTubeName = intravenous_tube[i].name
572
+        return disequilibriumSyndromeOptionName
573
+      },
574
+      getArterialTubeName: function (id) {
575
+        var arterial_tube = this.$store.getters.arterial_tube
576
+        var arterialTubeName = ''
577
+        for (let i = 0; i < arterial_tube.length; i++) {
578
+          if (arterial_tube[i].id == id) {
579
+            arterialTubeName = arterial_tube[i].name
580
+          }
590
         }
581
         }
591
-      }
592
-      return intravenousTubeName
593
-    },
594
-    getDialyzer: function (id) {
595
-      var dialyzer = this.$store.getters.dialyzer
596
-      var dialyzerName = ''
597
-      for (let i = 0; i < dialyzer.length; i++) {
598
-        if (dialyzer[i].id == id) {
599
-          dialyzerName = dialyzer[i].name
582
+        return arterialTubeName
583
+      },
584
+      getIntravenousTubeName: function (id) {
585
+        var intravenous_tube = this.$store.getters.intravenous_tube
586
+        var intravenousTubeName = ''
587
+        for (let i = 0; i < intravenous_tube.length; i++) {
588
+          if (intravenous_tube[i].id == id) {
589
+            intravenousTubeName = intravenous_tube[i].name
590
+          }
591
+        }
592
+        return intravenousTubeName
593
+      },
594
+      getDialyzer: function (id) {
595
+        var dialyzer = this.$store.getters.dialyzer
596
+        var dialyzerName = ''
597
+        for (let i = 0; i < dialyzer.length; i++) {
598
+          if (dialyzer[i].id == id) {
599
+            dialyzerName = dialyzer[i].name
600
+          }
601
+        }
602
+        return dialyzerName
603
+      },
604
+      getUnit: function (val) {
605
+        switch (this.record.dialysis_intakes_unit) {
606
+          case 1:
607
+            return 'g'
608
+            break
609
+          case 2:
610
+            return 'ml'
611
+            break
612
+          default:
613
+            return '-'
614
+            break
600
         }
615
         }
601
       }
616
       }
602
-      return dialyzerName
603
-    },
604
-    getUnit: function (val) {
605
-      switch (this.record.dialysis_intakes_unit) {
606
-        case 1:
607
-          return 'g'
608
-          break
609
-        case 2:
610
-          return 'ml'
611
-          break
612
-        default:
613
-          return '-'
614
-          break
615
-      }
616
-    }
617
-    // setRecord(record) {
618
-    //   if (record == null) {
619
-    //     this.info1[0].content = ""
620
-    //     this.info1[1].content = ""
621
-    //     this.info1[2].content = ""
622
-    //     this.info1[3].content = ""
623
-    //     this.info1[4].content = ""
617
+      // setRecord(record) {
618
+      //   if (record == null) {
619
+      //     this.info1[0].content = ""
620
+      //     this.info1[1].content = ""
621
+      //     this.info1[2].content = ""
622
+      //     this.info1[3].content = ""
623
+      //     this.info1[4].content = ""
624
 
624
 
625
-    //     this.info2[0].content = ""
626
-    //     this.info2[1].content = ""
627
-    //     this.info2[2].content = ""
628
-    //     this.info2[3].content = ""
629
-    //     this.info2[4].content = ""
625
+      //     this.info2[0].content = ""
626
+      //     this.info2[1].content = ""
627
+      //     this.info2[2].content = ""
628
+      //     this.info2[3].content = ""
629
+      //     this.info2[4].content = ""
630
 
630
 
631
-    //     this.info3[0].content = ""
632
-    //     this.info3[1].content = ""
633
-    //     this.info3[2].content = ""
634
-    //     this.info3[3].content = ""
635
-    //     this.info3[4].content = ""
631
+      //     this.info3[0].content = ""
632
+      //     this.info3[1].content = ""
633
+      //     this.info3[2].content = ""
634
+      //     this.info3[3].content = ""
635
+      //     this.info3[4].content = ""
636
 
636
 
637
-    //     this.note = ""
637
+      //     this.note = ""
638
 
638
 
639
-    //   } else {
640
-    //     this.info1[0].content = record.weight_after
641
-    //     this.info1[1].content = record.systolic_blood_pressure
642
-    //     this.info1[2].content = record.actual_ultrafiltration
643
-    //     this.info1[3].content = record.cruor
644
-    //     // this.info1[4].content = record.systolic_blood_pressure
639
+      //   } else {
640
+      //     this.info1[0].content = record.weight_after
641
+      //     this.info1[1].content = record.systolic_blood_pressure
642
+      //     this.info1[2].content = record.actual_ultrafiltration
643
+      //     this.info1[3].content = record.cruor
644
+      //     // this.info1[4].content = record.systolic_blood_pressure
645
 
645
 
646
-    //     this.info2[0].content = record.weight_loss
647
-    //     this.info2[1].content = record.diastolic_blood_pressure
648
-    //     this.info2[2].content = record.actual_displacement
649
-    //     this.info2[3].content = record.symptom_after_dialysis
650
-    //     this.info2[4].content = record.catheter
646
+      //     this.info2[0].content = record.weight_loss
647
+      //     this.info2[1].content = record.diastolic_blood_pressure
648
+      //     this.info2[2].content = record.actual_displacement
649
+      //     this.info2[3].content = record.symptom_after_dialysis
650
+      //     this.info2[4].content = record.catheter
651
 
651
 
652
-    //     this.info3[0].content = record.temperature
653
-    //     this.info3[1].content = record.pulse_frequency
654
-    //     this.info3[2].content = record.actual_treatment_hour
655
-    //     this.info3[3].content = record.dialysis_intakes_feed
656
-    //     this.info3[4].content = record.complication
652
+      //     this.info3[0].content = record.temperature
653
+      //     this.info3[1].content = record.pulse_frequency
654
+      //     this.info3[2].content = record.actual_treatment_hour
655
+      //     this.info3[3].content = record.dialysis_intakes_feed
656
+      //     this.info3[4].content = record.complication
657
 
657
 
658
-    //     this.note = record.remark
659
-    //   }
660
-    // }
661
-  }
658
+      //     this.note = record.remark
659
+      //   }
660
+      // }
661
+    }
662
 
662
 
663
-}
663
+  }
664
 </script>
664
 </script>
665
 
665
 
666
 <style rel="stylesheet/scss" lang="scss" scoped>
666
 <style rel="stylesheet/scss" lang="scss" scoped>

+ 79 - 614
src/pages/main/today/assessmentBefore.vue 查看文件

7
     </h2>
7
     </h2>
8
     <div class="plate ">
8
     <div class="plate ">
9
       <ul>
9
       <ul>
10
-        <li v-if="isShow('透前体重')">
11
-          <label>透前体重 : </label>
12
-          <span class="content">{{ weight_before ? weight_before : "" }}</span>
13
-          <span class="unit">{{ weight_before ? "kg" : "" }}</span>
10
+        <li v-for="(item, index) in info1" :key="index" :value="item.value">
11
+          <label>{{ item.label }}</label>
12
+          <span class="content">{{ item.content }}</span>
13
+          <span class="unit">{{ item.unit }}</span>
14
         </li>
14
         </li>
15
-        <li v-if="this.$store.getters.user.template_info.template_id == 6">
16
-          <label>透前净体重 : </label>
17
-          <span class="content">{{ weight_before ? parseFloat(weight_before - additional_weight).toFixed(1) : "" }}</span>
18
-          <span class="unit">{{ weight_before ? "kg" : "" }}</span>
19
-        </li>
20
-        <li v-if="isShow('收缩压')">
21
-          <label>收缩压 : </label>
22
-          <span class="content">{{
23
-            systolic_blood_pressure ? systolic_blood_pressure : ""
24
-          }}</span>
25
-          <span class="unit">{{ systolic_blood_pressure ? "mmHg" : "" }}</span>
26
-        </li>
27
-
28
-        <li v-if="isShow('舒张压')">
29
-          <label>舒张压 : </label>
30
-          <span class="content">{{
31
-            diastolic_blood_pressure ? diastolic_blood_pressure : ""
32
-          }}</span>
33
-          <span class="unit">{{ diastolic_blood_pressure ? "mmHg" : "" }}</span>
34
-        </li>
35
-
36
-        <li v-if="isShow('前次透析后')">
37
-          <label>前次透析后: </label>
38
-          <span class="content">{{ last_post_dialysis }}</span>
39
-          <span class="unit"></span>
40
-        </li>
41
-        <li v-if="isShow('导管打折')">
42
-          <label>导管打折 : </label>
43
-          <span class="content" v-if="this.record.catheter_bend == 1">{{ '有' }}</span>
44
-          <span class="content" v-if="this.record.catheter_bend == 2">{{ '无' }}</span>
45
-
46
-          <span class="unit"></span>
47
-        </li>
48
-
49
-        <li v-if="isShow('导管')">
50
-          <label>导管 : </label>
51
-          <span class="content">{{ catheter }}</span>
52
-          <span class="unit"></span>
53
-        </li>
54
-        <li v-if="isShow('衣物重')">
55
-          <label>衣物重 : </label>
56
-          <span class="content">{{
57
-            additional_weight ? additional_weight : ""
58
-          }}</span>
59
-          <span class="unit">{{ additional_weight ? "kg" : "" }}</span>
60
-        </li>
61
-        <li v-if="isShow('干体重')">
62
-          <label>干体重 : </label>
63
-          <span class="content">{{ dry_weight ? dry_weight : "" }}</span>
64
-          <span class="unit">{{ dry_weight ? "kg" : "" }}</span>
65
-        </li>
66
-        <li v-if="isShow('透析期间')">
67
-          <label>透析期间 : </label>
68
-          <span class="content">{{ dialysis_interphase }}</span>
69
-          <span class="unit"></span>
70
-        </li>
71
-
72
-        <!-- </ul>
73
-      <ul> -->
74
-        <li v-if="isShow('体温')">
75
-          <label>体温 : </label>
76
-          <span class="content">{{ temperature ? temperature : "" }}</span>
77
-          <span class="unit">{{ temperature ? "℃" : "" }}</span>
78
-        </li>
79
-        <li v-if="isShow('脉搏')">
80
-          <label>脉搏 : </label>
81
-          <span class="content">{{
82
-            pulse_frequency ? pulse_frequency : ""
83
-          }}</span>
84
-          <span class="unit">{{ pulse_frequency ? "次/分" : "" }}</span>
85
-        </li>
86
-
87
-        <li v-if="isShow('呼吸频率')">
88
-          <label>呼吸频率 : </label>
89
-          <span class="content">{{
90
-            breathing_rate ? breathing_rate : ""
91
-          }}</span>
92
-          <span class="unit">{{ breathing_rate ? "次/分" : "" }}</span>
93
-        </li>
94
-        <li v-if="isShow('透析前症状')">
95
-          <label>透析前症状 : </label>
96
-          <span class="content">{{ symptom_before_dialysis }}</span>
97
-          <span class="unit"></span>
98
-        </li>
99
-        <li v-if="isShow('出血')">
100
-          <label>出血:</label>
101
-          <span class="content">{{
102
-            is_hemorrhage ? hemorrhage + ";" + hemorrhage_other : "无"
103
-          }}</span>
104
-          <span class="unit"> </span>
105
-        </li>
106
-
107
-        <li v-if="isShow('并发症')">
108
-          <label>并发症: </label>
109
-          <span class="content">{{ complication }}</span>
110
-          <span class="unit"></span>
111
-        </li>
112
-
113
-        <li v-if="isShow('内瘘')">
114
-          <label>内瘘: </label>
115
-          <span class="content">{{ internal_fistula }}</span>
116
-          <span class="unit"></span>
117
-        </li>
118
-
119
-
120
-
121
-        <!-- </ul>
122
-
123
-      <ul> -->
124
-
125
-        <li v-if="isShow('透析机型号')">
126
-          <label>透析机型号: </label>
127
-          <span class="content">{{ machine_type ? machine_type : "" }}</span>
128
-          <span class="unit"></span>
129
-        </li>
130
-
131
-        <li v-if="isShow('透析频次')">
132
-          <label>透析频次: </label>
133
-          <span class="content">{{
134
-            dialysis_count ? dialysis_count : ""
135
-          }}</span>
136
-          <span class="unit">{{ dialysis_count ? "次/周" : "" }}</span>
137
-        </li>
138
-        <li v-if="isShow('血管通路(内瘘)')">
139
-          <label>血管通路(内瘘) : </label>
140
-          <span class="content">{{ blood_access_internal_fistula }}</span>
141
-        </li>
142
-        <li v-if="isShow('血管杂音')">
143
-          <label>血管杂音 : </label>
144
-          <span class="content">{{
145
-            getBloodAccessNoise(this.record.blood_access_noise)
146
-          }}</span>
147
-        </li>
148
-
149
-        <li v-if="isShow('穿刺针')">
150
-          <label>穿刺针 : </label>
151
-          <span class="content">{{ this.record.puncture_needle }}</span>
152
-        </li>
153
-
154
-        <li v-if="isShow('穿刺方式')">
155
-          <label>穿刺方式 : </label>
156
-          <span class="content">{{ getWay(this.record.puncture_way) }}</span>
157
-        </li>
158
-        <li v-if="isShow('中心静脉置管')">
159
-          <label>中心静脉置管:</label>
160
-          <span class="content">{{
161
-            getVenousCatheterization(this.record.venous_catheterization)
162
-          }}</span>
163
-          <span class="unit"> </span>
164
-        </li>
165
-        <!--
166
       </ul>
15
       </ul>
167
-
168
-      <ul > -->
169
-        <li v-if="isShow('位置')">
170
-          <label>位置:</label>
171
-          <span class="content">{{
172
-            getVenousCatheterizationPart(
173
-              this.record.venous_catheterization_part
174
-            )
175
-          }}</span>
176
-          <span class="content">{{ venous_catheterization_part_other }}</span>
177
-        </li>
178
-
179
-        <li v-if="isShow('中心静脉导管')">
180
-          <label>中心静脉导管: </label>
181
-          <span class="content">{{ this.record.ductus_arantii }}</span>
182
-        </li>
183
-
184
-        <li v-if="isShow('其他中心静脉导管')">
185
-          <label>其他中心静脉导管:</label>
186
-          <span class="content">{{ ductus_arantii_other }}</span>
187
-          <span class="unit"> </span>
188
-        </li>
189
-
190
-        <li v-if="isShow('急诊')">
191
-          <label>急诊: </label>
192
-          <span class="content">{{
193
-            getEmergencyTreatment(this.record.emergency_treatment)
194
-          }}</span>
195
-          <span class="content">{{ emergency_treatment_other }}</span>
196
-        </li>
197
-
198
-        <li v-if="isShow('感染')">
199
-          <label>感染:</label>
200
-          <span class="content">{{
201
-            this.record.is_infect == 1 ? "无" : "有"
202
-          }}</span>
203
-          <span class="unit"> </span>
204
-        </li>
205
-
206
-        <li v-if="isShow('其他感染情况')">
207
-          <label>其他感染情况:</label>
208
-          <span class="content">{{ infect_other }}</span>
209
-          <span class="unit"> </span>
210
-        </li>
211
-
212
-        <li v-if="isShow('外露')">
213
-          <label>外露:</label>
214
-          <span class="content">{{
215
-            this.record.exposed ? this.record.exposed : ""
216
-          }}</span>
217
-          <span class="unit">cm</span>
218
-        </li>
219
-
220
-        <li v-if="isShow('皮肤')">
221
-          <label>皮肤:</label>
222
-          <span class="content">{{ getSkin(this.record.skin) }}</span>
223
-          <span class="unit"></span>
224
-        </li>
225
-
226
-        <li v-if="isShow('其他皮肤情况')">
227
-          <label>其他皮肤情况:</label>
228
-          <span class="content">{{ skin_other }}</span>
229
-          <span class="unit"> </span>
230
-        </li>
231
-
232
-        <li  v-if="isShow('血管通路部位')">
233
-          <label>血管通路部位:</label>
234
-          <span class="content">{{ getBloodAccessPart(this.record.blood_access_part_id) }}</span>
235
-          <span class="unit"> </span>
236
-        </li>
237
-
238
-        <li  v-if="isShow('血管通路操作')">
239
-          <label>血管通路操作:</label>
240
-          <span class="content">{{ getBloodAccessOpera(this.record.blood_access_part_opera_id) }}</span>
241
-          <span class="unit"> </span>
16
+      <ul>
17
+        <li v-for="(item, index) in info2" :key="index" :value="item.value">
18
+          <label>{{ item.label }}</label>
19
+          <span class="content">{{ item.content }}</span>
20
+          <span class="unit">{{ item.unit }}</span>
242
         </li>
21
         </li>
243
-
244
-        <li v-if="isShow('内瘘皮肤情况')">
245
-          <label>内瘘皮肤情况: </label>
246
-          <span class="content">{{ internal_fistula_skin }}</span>
247
-          <span class="unit"></span>
22
+      </ul>
23
+      <ul>
24
+        <li v-for="(item, index) in info3" :key="index" :value="item.value">
25
+          <label>{{ item.label }}</label>
26
+          <span class="content">{{ item.content }}</span>
27
+          <span class="unit">{{ item.unit }}</span>
248
         </li>
28
         </li>
249
-
250
       </ul>
29
       </ul>
251
     </div>
30
     </div>
252
     <div class="note">
31
     <div class="note">
253
-      备注 : <span>{{ remark }}</span>
32
+      备注 : <span>{{ note }}</span>
254
     </div>
33
     </div>
34
+    <!-- <div class="note">处方医生 : {{doctor}}</div> -->
255
   </div>
35
   </div>
256
 </template>
36
 </template>
257
 
37
 
258
 <script>
38
 <script>
259
-  import { getDataConfig } from "@/utils/data";
260
-
261
   export default {
39
   export default {
262
-  name: "assessmentBefore",
263
-
264
-  data() {
265
-    return {
266
-      title: "透前评估 ",
267
-      template_id: 0
268
-    };
269
-  },
270
-  props: {
271
-    record: {
272
-      type: Object
273
-    },
274
-    dry_weights: {
275
-      type: Object
276
-    }
277
-  },
278
-  created() {
279
-    this.template_id = this.$store.getters.user.template_info.template_id;
280
-  },
281
-  computed: {
282
-    internal_fistula_skin: function() {
283
-      if (this.record.id == 0) {
284
-        return '-'
285
-      }
286
-      return this.record.internal_fistula_skin
287
-    },
288
-
289
-    machine_type: function() {
290
-      if (this.record == null || this.record.id == "") {
291
-        return "";
292
-      }
293
-      return this.record.machine_type;
294
-    },
295
-    weight_before: function() {
296
-      if (this.record == null || this.record.id == "") {
297
-        return "-";
298
-      }
299
-      return this.record.weight_before;
300
-    },
301
-    additional_weight: function() {
302
-      if (this.record == null || this.record.id == "") {
303
-        return "-";
304
-      }
305
-      return this.record.additional_weight;
306
-    },
307
-    systolic_blood_pressure: function() {
308
-      if (this.record == null || this.record.id == "") {
309
-        return "-";
310
-      }
311
-      return this.record.systolic_blood_pressure;
312
-    },
313
-    last_post_dialysis: function() {
314
-      if (this.record == null || this.record.id == "") {
315
-        return "-";
316
-      }
317
-      return this.record.last_post_dialysis;
318
-    },
319
-
320
-    dry_weight: function() {
321
-      if (this.$store.getters.user.template_info.template_id == 6) {
322
-        if (this.dry_weights != null && this.dry_weights.id > 0) {
323
-          return this.dry_weights.dry_weight;
40
+    name: "DialysisPrescription",
41
+    data() {
42
+      return {
43
+        title: "透前评估 ",
44
+        note: "",
45
+        doctor: "刘小军  医生",
46
+        info1: [
47
+          { value: "1", label: "透前称重 : ", content: "0", unit: "kg" },
48
+          { value: "2", label: "收缩压 : ", content: "0", unit: "mmHg" },
49
+          { value: "3", label: "前次透析后: ", content: "0", unit: "" },
50
+          { value: "4", label: " ", content: " ", unit: "" }
51
+        ],
52
+        info2: [
53
+          { value: "1", label: "附加物重 : ", content: "0", unit: "kg" },
54
+          { value: "2", label: "舒张压 : ", content: "0", unit: "mmHg" },
55
+          { value: "3", label: "透析期间 : ", content: "", unit: "" },
56
+          { value: "4", label: "导管 : ", content: "", unit: "" }
57
+        ],
58
+        info3: [
59
+          { value: "1", label: "体温 : ", content: "0", unit: "℃" },
60
+          { value: "2", label: "心率 : ", content: "0", unit: "次/分" },
61
+          { value: "3", label: "透析前症状 : ", content: "", unit: "" },
62
+          { value: "4", label: "合并症: ", content: "", unit: "" }
63
+        ]
64
+      };
65
+    },
66
+    methods: {
67
+      setRecord(record) {
68
+        if (record == null) {
69
+          this.info1[0].content = "0";
70
+          this.info1[1].content = "0";
71
+          this.info1[2].content = "0";
72
+          // this.info1[3].content = ""
73
+
74
+          this.info2[0].content = "0";
75
+          this.info2[1].content = "0";
76
+          this.info2[2].content = "";
77
+          this.info2[3].content = "";
78
+
79
+          this.info3[0].content = "0";
80
+          this.info3[1].content = "0";
81
+          this.info3[2].content = "";
82
+          this.info3[3].content = "";
83
+
84
+          this.note = "";
324
         } else {
85
         } else {
325
-          if (this.record == null || this.record.id == "") {
326
-            return "-";
327
-          }
328
-          return this.record.dry_weight;
329
-        }
330
-      } else {
331
-        if (this.record == null || this.record.id == "") {
332
-          return "-";
333
-        }
334
-
335
-        return this.record.dry_weight;
336
-      }
337
-    },
338
-    diastolic_blood_pressure: function() {
339
-      if (this.record == null || this.record.id == "") {
340
-        return "-";
341
-      }
342
-      return this.record.diastolic_blood_pressure;
343
-    },
344
-    dialysis_interphase: function() {
345
-      if (this.record == null || this.record.id == "") {
346
-        return "-";
347
-      }
348
-      return this.record.dialysis_interphase;
349
-    },
350
-    catheter: function() {
351
-      if (this.record == null || this.record.id == "") {
352
-        return "-";
353
-      }
354
-      return this.record.catheter;
355
-    },
356
-
357
-    temperature: function() {
358
-      if (this.record == null || this.record.id == "") {
359
-        return "-";
360
-      }
361
-      return this.record.temperature;
362
-    },
363
-    pulse_frequency: function() {
364
-      if (this.record == null || this.record.id == "") {
365
-        return "-";
366
-      }
367
-      return this.record.pulse_frequency;
368
-    },
369
-    breathing_rate: function() {
370
-      if (this.record == null || this.record.id == "") {
371
-        return "-";
372
-      }
373
-      return this.record.breathing_rate;
374
-    },
375
-    symptom_before_dialysis: function() {
376
-      if (this.record == null || this.record.id == "") {
377
-        return "-";
378
-      }
379
-      return this.record.symptom_before_dialysis;
380
-    },
381
-    complication: function() {
382
-      if (this.record == null || this.record.id == "") {
383
-        return "-";
384
-      }
385
-      return this.record.complication;
386
-    },
387
-    internal_fistula: function() {
388
-      if (this.record == null || this.record.id == "") {
389
-        return "-";
390
-      }
391
-      return this.record.internal_fistula;
392
-    },
393
-    is_hemorrhage: function() {
394
-      if (this.record == null || this.record.id == "") {
395
-        return false;
396
-      }
397
-      return this.record.is_hemorrhage == 1;
398
-    },
399
-    hemorrhage: function() {
400
-      if (this.record == null || this.record.id == "") {
401
-        return "-";
402
-      }
403
-      return this.record.hemorrhage;
404
-    },
405
-    hemorrhage_other: function() {
406
-      if (this.record == null || this.record.id == "") {
407
-        return "-";
408
-      }
409
-      return this.record.hemorrhage_other;
410
-    },
411
-
412
-    remark: function() {
413
-      if (this.record == null || this.record.id == "") {
414
-        return "";
415
-      }
416
-      return this.record.remark;
417
-    },
418
-    dialysis_count: function() {
419
-      if (this.record == null || this.record.id == "") {
420
-        return "-";
421
-      }
422
-      return this.record.dialysis_count;
423
-    },
424
-    internal_fistula_other: function() {
425
-      if (this.record == null || this.record.id == "") {
426
-        return "-";
427
-      }
428
-      return this.record.internal_fistula_other;
429
-    },
430
-    venous_catheterization_part_other: function() {
431
-      if (this.record == null || this.record.id == "") {
432
-        return "-";
433
-      }
434
-      return this.record.venous_catheterization_part_other;
435
-    },
436
-    emergency_treatment_other: function() {
437
-      if (this.record == null || this.record.id == "") {
438
-        return "-";
439
-      }
440
-      return this.record.emergency_treatment_other;
441
-    },
442
-    blood_access_internal_fistula: function() {
443
-      var name1 = "";
444
-      var name2 = "";
445
-
446
-      if (this.record == null || this.record.id == "") {
447
-        return "-";
448
-      }
449
-      if (this.record.blood_access_internal_fistula == undefined) {
450
-        name1 = "";
451
-      } else {
452
-        name1 = this.record.blood_access_internal_fistula + ",";
453
-      }
454
-      if (this.record.internal_fistula_other == undefined) {
455
-        name2 = "";
456
-      } else {
457
-        name2 = this.record.internal_fistula_other;
458
-      }
459
-
460
-      return name1 + name2;
461
-    },
462
-    infect_other: function() {
463
-      if (this.record == null || this.record.id == "") {
464
-        return "-";
465
-      }
466
-      return this.record.infect_other;
467
-    },
468
-    skin_other: function() {
469
-      if (this.record == null || this.record.id == "") {
470
-        return "-";
471
-      }
472
-      return this.record.skin_other;
473
-    },
474
-    ductus_arantii_other: function() {
475
-      if (this.record == null || this.record.id == "") {
476
-        return "-";
477
-      }
478
-      return this.record.ductus_arantii_other;
479
-    }
480
-  },
481
-  methods: {
482
-    getBloodAccessPart: function(id) {
483
-      var BloodAccessPart = getDataConfig('hemodialysis', 'vascular_access')
484
-      var BloodAccessPartName = ''
485
-      for (let i = 0; i < BloodAccessPart.length; i++) {
486
-        if (BloodAccessPart[i].id == id) {
487
-          BloodAccessPartName = BloodAccessPart[i].name
488
-        }
489
-      }
490
-      return BloodAccessPartName
491
-    },
492
-    getBloodAccessOpera: function(id) {
493
-      var BloodAccessOpera =  getDataConfig('hemodialysis', 'vascular_access_desc')
494
-      var BloodAccessOperaName = ''
495
-      for (let i = 0; i < BloodAccessOpera.length; i++) {
496
-        if (BloodAccessOpera[i].id == id) {
497
-          BloodAccessOperaName = BloodAccessOpera[i].name
498
-        }
499
-      }
500
-      return BloodAccessOperaName
501
-    },
502
-    isShow(name) {
503
-      var filedList = this.$store.getters.user.fileds;
504
-
505
-      for (let i = 0; i < filedList.length; i++) {
506
-        if (
507
-          filedList[i].module == 3 &&
508
-          filedList[i].filed_name_cn == name &&
509
-          filedList[i].is_show == 1
510
-        ) {
511
-          return true;
512
-        }
513
-      }
514
-      return false;
515
-    },
516
-    getBloodAccessInternalFistula: function(id) {
517
-      var BloodAccessInternalFistulaOptions = this.$store.getters
518
-        .blood_access_internal_fistula;
519
-      var BloodAccessInternalFistulaName = "";
520
-      for (let i = 0; i < BloodAccessInternalFistulaOptions.length; i++) {
521
-        if (BloodAccessInternalFistulaOptions[i].id == id) {
522
-          BloodAccessInternalFistulaName =
523
-            BloodAccessInternalFistulaOptions[i].name;
86
+          this.info1[0].content = record.weight_before;
87
+          this.info1[1].content = record.systolic_blood_pressure;
88
+          this.info1[2].content = record.last_post_dialysis;
89
+          // this.info1[3].content = ""
90
+
91
+          this.info2[0].content = record.additional_weight;
92
+          this.info2[1].content = record.diastolic_blood_pressure;
93
+          this.info2[2].content = record.dialysis_interphase;
94
+          this.info2[3].content = record.catheter;
95
+
96
+          this.info3[0].content = record.temperature;
97
+          this.info3[1].content = record.breathing_rate;
98
+          this.info3[2].content = record.symptom_before_dialysis;
99
+          this.info3[3].content = record.complication;
100
+
101
+          this.note = record.remark;
524
         }
102
         }
525
       }
103
       }
526
-      return BloodAccessInternalFistulaName;
527
-    },
528
-    getBloodAccessNoise: function(id) {
529
-      var BloodAccessNoiseOptions = this.$store.getters.blood_access_noise;
530
-      var BloodAccessNoiseName = "";
531
-      for (let i = 0; i < BloodAccessNoiseOptions.length; i++) {
532
-        if (BloodAccessNoiseOptions[i].id == id) {
533
-          BloodAccessNoiseName = BloodAccessNoiseOptions[i].name;
534
-        }
535
-      }
536
-      return BloodAccessNoiseName;
537
-    },
538
-    getVenousCatheterization: function(id) {
539
-      var VenousCatheterizationOptions = this.$store.getters
540
-        .venous_catheterization;
541
-      var VenousCatheterizationName = "";
542
-      for (let i = 0; i < VenousCatheterizationOptions.length; i++) {
543
-        if (VenousCatheterizationOptions[i].id == id) {
544
-          VenousCatheterizationName = VenousCatheterizationOptions[i].name;
545
-        }
546
-      }
547
-      return VenousCatheterizationName;
548
-    },
549
-    getWay: function(id) {
550
-      var PunctureWayOptions = this.$store.getters.puncture_way;
551
-      var PunctureWayOptionsName = "";
552
-      for (let i = 0; i < PunctureWayOptions.length; i++) {
553
-        if (PunctureWayOptions[i].id == id) {
554
-          PunctureWayOptionsName = PunctureWayOptions[i].name;
555
-        }
556
-      }
557
-      return PunctureWayOptionsName;
558
-    },
559
-    getVenousCatheterizationPart: function(id) {
560
-      var venousCatheterizationPartOptions = this.$store.getters
561
-        .venous_catheterization_part;
562
-      var venousCatheterizationPartName = "";
563
-      for (let i = 0; i < venousCatheterizationPartOptions.length; i++) {
564
-        if (venousCatheterizationPartOptions[i].id == id) {
565
-          venousCatheterizationPartName =
566
-            venousCatheterizationPartOptions[i].name;
567
-        }
568
-      }
569
-      return venousCatheterizationPartName;
570
-    },
571
-    getDuctusArantii: function(id) {
572
-      var ductusArantiiOptions = this.$store.getters.ductus_arantii;
573
-      var ductusArantiiOptionsName = "";
574
-      for (let i = 0; i < ductusArantiiOptions.length; i++) {
575
-        if (ductusArantiiOptions[i].id == id) {
576
-          ductusArantiiOptionsName = ductusArantiiOptions[i].name;
577
-        }
578
-      }
579
-      return ductusArantiiOptionsName;
580
-    },
581
-    getEmergencyTreatment: function(id) {
582
-      var emergencyTreatmentOptions = this.$store.getters.emergency_treatment;
583
-      var emergencyTreatmentName = "";
584
-      for (let i = 0; i < emergencyTreatmentOptions.length; i++) {
585
-        if (emergencyTreatmentOptions[i].id == id) {
586
-          emergencyTreatmentName = emergencyTreatmentOptions[i].name;
587
-        }
588
-      }
589
-      return emergencyTreatmentName;
590
-    },
591
-    getSkin: function(id) {
592
-      var skinOptions = this.$store.getters.skin;
593
-      var skinName = "";
594
-      for (let i = 0; i < skinOptions.length; i++) {
595
-        if (skinOptions[i].id == id) {
596
-          skinName = skinOptions[i].name;
597
-        }
598
-      }
599
-      return skinName;
600
     }
104
     }
601
-    // setRecord(record) {
602
-    //   if (record == null) {
603
-    //     this.info1[0].content = "0"
604
-    //     this.info1[1].content = "0"
605
-    //     this.info1[2].content = "0"
606
-    //     // this.info1[3].content = ""
607
-
608
-    //     this.info2[0].content = "0"
609
-    //     this.info2[1].content = "0"
610
-    //     this.info2[2].content = ""
611
-    //     this.info2[3].content = ""
612
-
613
-    //     this.info3[0].content = "0"
614
-    //     this.info3[1].content = "0"
615
-    //     this.info3[2].content = ""
616
-    //     this.info3[3].content = ""
617
-
618
-    //     this.note = ""
619
-
620
-    //   } else {
621
-    //     this.info1[0].content = record.weight_before
622
-    //     this.info1[1].content = record.systolic_blood_pressure
623
-    //     this.info1[2].content = record.last_post_dialysis
624
-    //     // this.info1[3].content = ""
625
-
626
-    //     this.info2[0].content = record.additional_weight
627
-    //     this.info2[1].content = record.diastolic_blood_pressure
628
-    //     this.info2[2].content = record.dialysis_interphase
629
-    //     this.info2[3].content = record.catheter
630
-
631
-    //     this.info3[0].content = record.temperature
632
-    //     this.info3[1].content = record.breathing_rate
633
-    //     this.info3[2].content = record.symptom_before_dialysis
634
-    //     this.info3[3].content = record.complication
635
-
636
-    //     this.note = record.remark
637
-    //   }
638
-    // }
639
-  }
640
-};
105
+  };
641
 </script>
106
 </script>
642
 
107
 
643
 <style rel="stylesheet/scss" lang="scss" scoped></style>
108
 <style rel="stylesheet/scss" lang="scss" scoped></style>

+ 2 - 2
src/pages/main/today/pastData.vue 查看文件

36
       tableTit: [
36
       tableTit: [
37
         "日期",
37
         "日期",
38
         "透析模式",
38
         "透析模式",
39
-        "透前重(kg)",
40
-        "透后重(kg)",
39
+        "透前重(kg)",
40
+        "透后重(kg)",
41
         "设定脱水(L)",
41
         "设定脱水(L)",
42
         "实际脱水(L)"
42
         "实际脱水(L)"
43
       ],
43
       ],

+ 2 - 2
src/pages/waitingRoom/components/assessmentAfter.vue 查看文件

8
     <div class="plate ">
8
     <div class="plate ">
9
       <ul>
9
       <ul>
10
         <li>
10
         <li>
11
-          <label>透后重 : </label>
11
+          <label>透后重 : </label>
12
           <span class="content">{{ weight_after }}</span>
12
           <span class="content">{{ weight_after }}</span>
13
           <span class="unit">kg</span>
13
           <span class="unit">kg</span>
14
         </li>
14
         </li>
98
       note: "无明显异常",
98
       note: "无明显异常",
99
       doctor: "刘小军  医生",
99
       doctor: "刘小军  医生",
100
       info1: [
100
       info1: [
101
-        { value: "1", label: "透后重 : ", content: "55", unit: "kg" },
101
+        { value: "1", label: "透后重 : ", content: "55", unit: "kg" },
102
         { value: "2", label: "收缩压 : ", content: "174", unit: "mmHg" },
102
         { value: "2", label: "收缩压 : ", content: "174", unit: "mmHg" },
103
         { value: "3", label: "实际超滤量: ", content: "20", unit: "ml" },
103
         { value: "3", label: "实际超滤量: ", content: "20", unit: "ml" },
104
         { value: "4", label: "疑血 : ", content: "无震颤", unit: "" },
104
         { value: "4", label: "疑血 : ", content: "无震颤", unit: "" },

+ 1 - 1
src/pages/waitingRoom/components/assessmentBefore.vue 查看文件

44
       note: "",
44
       note: "",
45
       doctor: "刘小军  医生",
45
       doctor: "刘小军  医生",
46
       info1: [
46
       info1: [
47
-        { value: "1", label: "透前重 : ", content: "0", unit: "kg" },
47
+        { value: "1", label: "透前重 : ", content: "0", unit: "kg" },
48
         { value: "2", label: "收缩压 : ", content: "0", unit: "mmHg" },
48
         { value: "2", label: "收缩压 : ", content: "0", unit: "mmHg" },
49
         { value: "3", label: "前次透析后: ", content: "0", unit: "" },
49
         { value: "3", label: "前次透析后: ", content: "0", unit: "" },
50
         { value: "4", label: " ", content: " ", unit: "" }
50
         { value: "4", label: " ", content: " ", unit: "" }

+ 1 - 1
src/pages/waitingRoom/components/dialog/afterThoroughly.vue 查看文件

7
     </h2>
7
     </h2>
8
     <div class="content">
8
     <div class="content">
9
       <div class="cell">
9
       <div class="cell">
10
-        <label>透后重(kg)</label>
10
+        <label>透后重(kg)</label>
11
         <input
11
         <input
12
           type="text"
12
           type="text"
13
           class="inputBox"
13
           class="inputBox"

+ 1 - 1
src/pages/waitingRoom/components/dialog/preDialysis.vue 查看文件

7
     </h2>
7
     </h2>
8
     <div class="content">
8
     <div class="content">
9
       <div class="cell">
9
       <div class="cell">
10
-        <label>透前重(kg)</label>
10
+        <label>透前重(kg)</label>
11
         <input
11
         <input
12
           type="text"
12
           type="text"
13
           class="inputBox"
13
           class="inputBox"

+ 2 - 2
src/pages/waitingRoom/components/pastData.vue 查看文件

36
       tableTit: [
36
       tableTit: [
37
         "日期",
37
         "日期",
38
         "透析模式",
38
         "透析模式",
39
-        "透前重(kg)",
40
-        "透后重(kg)",
39
+        "透前重(kg)",
40
+        "透后重(kg)",
41
         "设定脱水(L)",
41
         "设定脱水(L)",
42
         "实际脱水(L)"
42
         "实际脱水(L)"
43
       ],
43
       ],