Browse Source

Merge remote-tracking branch 'origin/20230223_pad_vue_new_branch' into 20230223_pad_vue_new_branch

yq1 2 weeks ago
parent
commit
10574badae

+ 22 - 1
src/pages/main/dialog/ComputerDialog.vue View File

71
             </van-radio-group>
71
             </van-radio-group>
72
           </van-collapse-item>
72
           </van-collapse-item>
73
           <van-collapse-item
73
           <van-collapse-item
74
-            v-if="isShowFiled('上机护士')"
74
+            v-if="isShowFiled('上机护士') && org_id!=10721"
75
             title="上机护士"
75
             title="上机护士"
76
             name="3"
76
             name="3"
77
           >
77
           >
90
               >
90
               >
91
             </van-radio-group>
91
             </van-radio-group>
92
           </van-collapse-item>
92
           </van-collapse-item>
93
+
94
+          <van-collapse-item
95
+            v-if="isShowFiled('上机护士') && org_id == 10721"
96
+            title="治疗护士"
97
+            name="3"
98
+          >
99
+            <template #value>
100
+              <div v-if="admin_map[nurse_id]">
101
+                {{ admin_map[nurse_id].name }}
102
+              </div>
103
+            </template>
104
+            <van-radio-group v-model="nurse_id">
105
+              <van-radio
106
+                :name="item.id"
107
+                v-for="(item, index) in admins"
108
+                :key="index"
109
+                v-if="item.status == 1"
110
+                >{{ item.name }}</van-radio
111
+              >
112
+            </van-radio-group>
113
+          </van-collapse-item>
93
           <van-collapse-item
114
           <van-collapse-item
94
             v-if="isShowFiled('穿刺者')"
115
             v-if="isShowFiled('穿刺者')"
95
             title="穿刺者"
116
             title="穿刺者"

+ 23 - 1
src/pages/main/newActionBar/computer.vue View File

74
         </van-collapse-item>
74
         </van-collapse-item>
75
 
75
 
76
         <van-collapse-item
76
         <van-collapse-item
77
-          v-if="isShowFiled('上机护士')"
77
+          v-if="isShowFiled('上机护士') && org_id!=10721"
78
           title="上机护士"
78
           title="上机护士"
79
           name="3"
79
           name="3"
80
         >
80
         >
95
           </van-radio-group>
95
           </van-radio-group>
96
         </van-collapse-item>
96
         </van-collapse-item>
97
 
97
 
98
+        <van-collapse-item
99
+          v-if="isShowFiled('上机护士')  && org_id==10721"
100
+          title="治疗护士"
101
+          name="3"
102
+        >
103
+        <template slot="title">
104
+              <div><span v-if="isShow_title('上机护士')" class="warn_tip">*</span>治疗护士</div>
105
+          </template>
106
+          <template #value>
107
+            <div v-if="admin_map[start_nurse]">{{ admin_map[start_nurse].name }}</div>
108
+          </template>
109
+          <van-radio-group v-model="start_nurse">
110
+            <van-radio
111
+              :name="item.id"
112
+              v-for="(item, index) in admins"
113
+              :key="index"
114
+              v-if="item.status == 1"
115
+              >{{ item.name }}</van-radio
116
+            >
117
+          </van-radio-group>
118
+        </van-collapse-item>
119
+
98
         <van-collapse-item v-if="isShowFiled('穿刺者')" title="穿刺者" name="4">
120
         <van-collapse-item v-if="isShowFiled('穿刺者')" title="穿刺者" name="4">
99
           <template slot="title">
121
           <template slot="title">
100
               <div><span v-if="isShow_title('穿刺者')" class="warn_tip">*</span>穿刺者</div>
122
               <div><span v-if="isShow_title('穿刺者')" class="warn_tip">*</span>穿刺者</div>

+ 47 - 5
src/pages/main/template/DialysisPrintOrdereightyone.vue View File

258
                       style="width: 70px; text-align: center"
258
                       style="width: 70px; text-align: center"
259
                     >
259
                     >
260
                       <span> {{
260
                       <span> {{
261
-                        prescription.displace_liqui_value
262
-                          ? prescription.displace_liqui_value
261
+                        prescription.replacement_total
262
+                          ? prescription.replacement_total
263
                           : "/"
263
                           : "/"
264
                       }}
264
                       }}
265
                       </span>
265
                       </span>
358
                   <div class="inline_block" style="flex: 1">
358
                   <div class="inline_block" style="flex: 1">
359
                     上次透后体重:
359
                     上次透后体重:
360
                     <div class="under_line" style="width: 50px; text-align: center">
360
                     <div class="under_line" style="width: 50px; text-align: center">
361
-                      {{lastWeight.weight_after?lastWeight.weight_after:"未称重"}}
361
+                      <span v-if="lastWeight!=null && lastWeight.weight_after>0">{{lastWeight.weight_after?lastWeight.weight_after:"未称重"}}</span> 
362
+                      <span v-if=" lastWeight!=null &&lastWeight.weight_after<=0">{{afterdialysis.last_after_weight?afterdialysis.last_after_weight:"未称重"}}</span> 
362
                     </div>
363
                     </div>
363
                     kg
364
                     kg
364
                   </div>
365
                   </div>
381
                     体重增加:
382
                     体重增加:
382
                     <div class="under_line" style="width: 70px; text-align: center">
383
                     <div class="under_line" style="width: 70px; text-align: center">
383
                       <span>
384
                       <span>
384
-                        {{ (predialysis.weight_before - lastWeight.weight_after).toFixed(2)}}
385
+                        <span v-if="lastWeight.weight_after>0">{{ (predialysis.weight_before - predialysis.additional_weight - lastWeight.weight_after).toFixed(2)}}</span> 
386
+                        <span v-if="lastWeight.weight_after<=0">{{ (predialysis.weight_before - predialysis.additional_weight -afterdialysis.last_after_weight).toFixed(2)}}</span> 
385
                       </span>
387
                       </span>
386
                     </div>
388
                     </div>
387
                     kg
389
                     kg
985
             <td>
987
             <td>
986
               <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
988
               <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
987
                 <div class="inline_block" style="flex: 1">
989
                 <div class="inline_block" style="flex: 1">
988
-                  穿刺护士:
990
+                  上机护士:
991
+                  <!-- <span v-if="predialysis.internal_fistula!=''">111</span>
992
+                  <span v-if="predialysis.catheter!=''">222</span> -->
989
                   <div  class="under_line"
993
                   <div  class="under_line"
990
                     style="width: 90px; text-align: center"
994
                     style="width: 90px; text-align: center"
995
+                    v-if="predialysis.internal_fistula!=''"
991
                   >
996
                   >
992
                     <span
997
                     <span
993
                       style="height: 30px; display: inline-block"
998
                       style="height: 30px; display: inline-block"
1021
                       v-else
1026
                       v-else
1022
                     />
1027
                     />
1023
                   </div>
1028
                   </div>
1029
+
1030
+                  <div  class="under_line"
1031
+                    style="width: 90px; text-align: center"
1032
+                    v-if="predialysis.catheter!=''"
1033
+                    >
1034
+                    <span
1035
+                      style="height: 30px; display: inline-block"
1036
+                      v-if="
1037
+                        setAdminUserES(
1038
+                          dialysisOrder == null
1039
+                            ? 0
1040
+                            : dialysisOrder.change_nurse
1041
+                        ) == ''
1042
+                      "
1043
+                    >
1044
+                      {{
1045
+                        getAdminUser(
1046
+                          dialysisOrder == null
1047
+                            ? 0
1048
+                            : dialysisOrder.change_nurse
1049
+                        )
1050
+                      }}</span
1051
+                    >
1052
+                    <img
1053
+                      style="height: 30px"
1054
+                      :src="
1055
+                        setAdminUserES(
1056
+                          dialysisOrder == null
1057
+                            ? 0
1058
+                            : dialysisOrder.change_nurse
1059
+                        )
1060
+                      "
1061
+                      alt=""
1062
+                      srcset=""
1063
+                      v-else
1064
+                    />
1065
+                  </div>
1024
                 </div>
1066
                 </div>
1025
                 <div class="inline_block" style="flex: 1">
1067
                 <div class="inline_block" style="flex: 1">
1026
                   治疗护士:
1068
                   治疗护士:

+ 11 - 2
src/pages/main/today/dialysisComputer.vue View File

11
           <label>上机床位 :</label>
11
           <label>上机床位 :</label>
12
           <span class="content">{{ device_number }}</span>
12
           <span class="content">{{ device_number }}</span>
13
         </li>
13
         </li>
14
-        <li v-if="isShow('上机护士')">
14
+        <li v-if="isShow('上机护士') && org_id!=10721">
15
           <label>上机护士 :</label>
15
           <label>上机护士 :</label>
16
           <span class="content">{{ nurse }}</span>
16
           <span class="content">{{ nurse }}</span>
17
         </li>
17
         </li>
18
 
18
 
19
+        <li v-if="isShow('上机护士') && org_id==10721">
20
+          <label>治疗护士 :</label>
21
+          <span class="content">{{ nurse }}</span>
22
+        </li>
23
+
19
         <li v-if="isShow('穿刺者')">
24
         <li v-if="isShow('穿刺者')">
20
           <label>穿刺者 :</label>
25
           <label>穿刺者 :</label>
21
           <span class="content">{{ puncture_nurse }}</span>
26
           <span class="content">{{ puncture_nurse }}</span>
125
   name: 'DialysisComputer',
130
   name: 'DialysisComputer',
126
   data () {
131
   data () {
127
     return {
132
     return {
128
-      title: '透析上机 '
133
+      title: '透析上机 ',
134
+      org_id:0,
129
     }
135
     }
130
   },
136
   },
131
   props: {
137
   props: {
256
       }
262
       }
257
       return false
263
       return false
258
     }
264
     }
265
+  },
266
+  created(){
267
+    this.org_id = this.$store.getters.user.template_info.org_id;
259
   }
268
   }
260
 }
269
 }
261
 </script>
270
 </script>