ソースを参照

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

yq1 1 週間 前
コミット
10574badae

+ 22 - 1
src/pages/main/dialog/ComputerDialog.vue ファイルの表示

@@ -71,7 +71,7 @@
71 71
             </van-radio-group>
72 72
           </van-collapse-item>
73 73
           <van-collapse-item
74
-            v-if="isShowFiled('上机护士')"
74
+            v-if="isShowFiled('上机护士') && org_id!=10721"
75 75
             title="上机护士"
76 76
             name="3"
77 77
           >
@@ -90,6 +90,27 @@
90 90
               >
91 91
             </van-radio-group>
92 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 114
           <van-collapse-item
94 115
             v-if="isShowFiled('穿刺者')"
95 116
             title="穿刺者"

+ 23 - 1
src/pages/main/newActionBar/computer.vue ファイルの表示

@@ -74,7 +74,7 @@
74 74
         </van-collapse-item>
75 75
 
76 76
         <van-collapse-item
77
-          v-if="isShowFiled('上机护士')"
77
+          v-if="isShowFiled('上机护士') && org_id!=10721"
78 78
           title="上机护士"
79 79
           name="3"
80 80
         >
@@ -95,6 +95,28 @@
95 95
           </van-radio-group>
96 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 120
         <van-collapse-item v-if="isShowFiled('穿刺者')" title="穿刺者" name="4">
99 121
           <template slot="title">
100 122
               <div><span v-if="isShow_title('穿刺者')" class="warn_tip">*</span>穿刺者</div>

+ 47 - 5
src/pages/main/template/DialysisPrintOrdereightyone.vue ファイルの表示

@@ -258,8 +258,8 @@
258 258
                       style="width: 70px; text-align: center"
259 259
                     >
260 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 265
                       </span>
@@ -358,7 +358,8 @@
358 358
                   <div class="inline_block" style="flex: 1">
359 359
                     上次透后体重:
360 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 363
                     </div>
363 364
                     kg
364 365
                   </div>
@@ -381,7 +382,8 @@
381 382
                     体重增加:
382 383
                     <div class="under_line" style="width: 70px; text-align: center">
383 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 387
                       </span>
386 388
                     </div>
387 389
                     kg
@@ -985,9 +987,12 @@
985 987
             <td>
986 988
               <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
987 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 993
                   <div  class="under_line"
990 994
                     style="width: 90px; text-align: center"
995
+                    v-if="predialysis.internal_fistula!=''"
991 996
                   >
992 997
                     <span
993 998
                       style="height: 30px; display: inline-block"
@@ -1021,6 +1026,43 @@
1021 1026
                       v-else
1022 1027
                     />
1023 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 1066
                 </div>
1025 1067
                 <div class="inline_block" style="flex: 1">
1026 1068
                   治疗护士:

+ 11 - 2
src/pages/main/today/dialysisComputer.vue ファイルの表示

@@ -11,11 +11,16 @@
11 11
           <label>上机床位 :</label>
12 12
           <span class="content">{{ device_number }}</span>
13 13
         </li>
14
-        <li v-if="isShow('上机护士')">
14
+        <li v-if="isShow('上机护士') && org_id!=10721">
15 15
           <label>上机护士 :</label>
16 16
           <span class="content">{{ nurse }}</span>
17 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 24
         <li v-if="isShow('穿刺者')">
20 25
           <label>穿刺者 :</label>
21 26
           <span class="content">{{ puncture_nurse }}</span>
@@ -125,7 +130,8 @@ export default {
125 130
   name: 'DialysisComputer',
126 131
   data () {
127 132
     return {
128
-      title: '透析上机 '
133
+      title: '透析上机 ',
134
+      org_id:0,
129 135
     }
130 136
   },
131 137
   props: {
@@ -256,6 +262,9 @@ export default {
256 262
       }
257 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 270
 </script>