Browse Source

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

陈少旭 7 months ago
parent
commit
291c183df3

+ 1 - 8
src/router/index_路由未分离前.js View File

638
         name: 'Inspection',
638
         name: 'Inspection',
639
         meta: { title: 'inspection', noCache: true }
639
         meta: { title: 'inspection', noCache: true }
640
       },
640
       },
641
-      {
642
-        path: '/patients/newinspection',
643
-        component: () => import('@/xt_pages/user/newInspection'),
644
-        hidden: true,
645
-        is_menu: false,
646
-        name: 'newInspection',
647
-        meta: { title: 'newInspection', noCache: true }
648
-      },
641
+      
649
       {
642
       {
650
         path: '/',
643
         path: '/',
651
         component: () => import('@/xt_pages/user/courseOfDisease'),
644
         component: () => import('@/xt_pages/user/courseOfDisease'),

+ 8 - 0
src/router/modules/patient.js View File

139
       noCache: true
139
       noCache: true
140
     }
140
     }
141
   },
141
   },
142
+  {
143
+    path: '/patients/newInspection',
144
+    component: () => import('@/xt_pages/user/lapsoInspection'),
145
+    hidden: true,
146
+    is_menu: false,
147
+    name: 'newInspection',
148
+    meta: { title: 'newInspection', noCache: true }
149
+  },
142
   {
150
   {
143
     path: '/patients/patients/:id/inspectionInfectious',
151
     path: '/patients/patients/:id/inspectionInfectious',
144
     component: () => import('@/xt_pages/user/inspectionInfectious'),
152
     component: () => import('@/xt_pages/user/inspectionInfectious'),

+ 55 - 6
src/xt_pages/dialysis/batch_print/batch_print_order_seventynine.vue View File

143
                     </td>
143
                     </td>
144
                   </tr>
144
                   </tr>
145
 
145
 
146
+                  <tr>
147
+                    <td colspan="3">
148
+                      <div style="display: flex;">
149
+                        <div style="flex: 1;">
150
+                          上次透后体重:{{ record.lastafterweight.weight_after ? 
151
+                          parseFloat( record.lastafterweight.weight_after).toFixed(1)
152
+                          : '未称重'}}kg
153
+                        </div>
154
+                        <div style="flex: 1;">
155
+                          本次透前体重:
156
+                          {{ record.assessment_before_dislysis.weight_before ? record.assessment_before_dislysis.weight_before : '0'  }}kg
157
+                        </div>
158
+                        <div style="flex: 1;">
159
+                          体重增加量:
160
+                          {{(record.assessment_before_dislysis.weight_before - record.lastafterweight.weight_after).toFixed(1) }}kg
161
+                        </div>
162
+                      </div>
163
+                    </td>
164
+                  </tr>
165
+
166
+                  <tr>
167
+                    <td colspan="3">
168
+                      <div style="display: flex;flex-wrap: wrap;">
169
+                        <div style="flex: 1;">
170
+                          干体重(DW):
171
+                          {{ record.assessment_before_dislysis.dry_weight ? record.assessment_before_dislysis.dry_weight : "0"}}kg
172
+                        </div>
173
+                        <div style="flex: 1;">
174
+                          本次透后体重:
175
+                          {{record.assessment_after_dislysis.weight_after ? record.assessment_after_dislysis.weight_after :'0' }}kg
176
+                        </div>
177
+                        <div style="flex: 1;">
178
+                          本次透析体重下降量:
179
+                          {{record.assessment_after_dislysis.weight_after == 0 || record.assessment_before_dislysis.weight_before == 0 ?
180
+                        0 : ( record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after ).toFixed(2)}}kg
181
+                        </div>
182
+                      </div>
183
+                    </td>
184
+                  </tr>
185
+
146
                   <tr>
186
                   <tr>
147
                     <td colspan="2">
187
                     <td colspan="2">
148
                       <div style="line-height:30px;">
188
                       <div style="line-height:30px;">
162
                     </td>
202
                     </td>
163
                   </tr>
203
                   </tr>
164
 
204
 
205
+                  <tr>
206
+                    <td colspan="3">
207
+                      <div>
208
+                        <span>透析液流量:{{ record.prescription.dialysate_flow ? record.prescription.dialysate_flow : "" }}</span>ml/h &nbsp;&nbsp;
209
+                        <span>血流量:{{ record.prescription.blood_flow_volume ? record.prescription.blood_flow_volume : "" }} </span>ml/min &nbsp;&nbsp;
210
+                      </div>
211
+                    </td>
212
+                  </tr>
213
+
165
                 </tbody>
214
                 </tbody>
166
               </table>
215
               </table>
167
 
216
 
289
                       <td style="width:10%;height:25px">
338
                       <td style="width:10%;height:25px">
290
                         <p style="height:30px;line-height:30px">核对</p>
339
                         <p style="height:30px;line-height:30px">核对</p>
291
                       </td>
340
                       </td>
292
-                      <td style="width:15%;height:27px">
341
+                      <!-- <td style="width:15%;height:27px">
293
                         <p style="height:30px;line-height:30px">上次透后体重</p>
342
                         <p style="height:30px;line-height:30px">上次透后体重</p>
294
                       </td>
343
                       </td>
295
                       <td style="width:10%;line-height:30px">
344
                       <td style="width:10%;line-height:30px">
299
                           ).toFixed(1)
348
                           ).toFixed(1)
300
                           : '未称重'
349
                           : '未称重'
301
                           }}kg
350
                           }}kg
302
-                      </td>
351
+                      </td> -->
303
                     </tr>
352
                     </tr>
304
 
353
 
305
                     <tr v-for="(advice, advice_index) in record.advices" :key="advice_index">
354
                     <tr v-for="(advice, advice_index) in record.advices" :key="advice_index">
336
                           style="height: 30px;"
385
                           style="height: 30px;"
337
                         />
386
                         />
338
                       </td>
387
                       </td>
339
-                      <td v-if="advice_index === 0">透前体重:</td>
388
+                      <!-- <td v-if="advice_index === 0">透前体重:</td>
340
                       <td v-if="advice_index === 0">{{ record.assessment_before_dislysis.weight_before ? record.assessment_before_dislysis.weight_before : '0' }}kg</td>
389
                       <td v-if="advice_index === 0">{{ record.assessment_before_dislysis.weight_before ? record.assessment_before_dislysis.weight_before : '0' }}kg</td>
341
                       <td v-if="advice_index === 1">体重增加量:</td>
390
                       <td v-if="advice_index === 1">体重增加量:</td>
342
                       <td v-if="advice_index === 1">{{(record.assessment_before_dislysis.weight_before - record.lastafterweight.weight_after).toFixed(1) }}kg</td>
391
                       <td v-if="advice_index === 1">{{(record.assessment_before_dislysis.weight_before - record.lastafterweight.weight_after).toFixed(1) }}kg</td>
343
                       <td v-if="advice_index === 2">干体重(DW):</td>
392
                       <td v-if="advice_index === 2">干体重(DW):</td>
344
-                      <td v-if="advice_index === 2">{{record.assessment_before_dislysis.dry_weight ? record.assessment_before_dislysis.dry_weight : "0"}}kg</td>
393
+                      <td v-if="advice_index === 2">{{record.assessment_before_dislysis.dry_weight ? record.assessment_before_dislysis.dry_weight : "0"}}kg</td> -->
345
                       <!-- <td v-if="advice_index === 3">较干体重增加量:</td>
394
                       <!-- <td v-if="advice_index === 3">较干体重增加量:</td>
346
                       <td v-if="advice_index === 3">
395
                       <td v-if="advice_index === 3">
347
                         {{(record.assessment_before_dislysis.weight_before - record.assessment_before_dislysis.dry_weight -
396
                         {{(record.assessment_before_dislysis.weight_before - record.assessment_before_dislysis.dry_weight -
349
                       </td>
398
                       </td>
350
                       <td v-if="advice_index === 4">净脱水量:</td>
399
                       <td v-if="advice_index === 4">净脱水量:</td>
351
                       <td v-if="advice_index === 4">{{record.assessment_after_dislysis.actual_ultrafiltration}}L</td> -->
400
                       <td v-if="advice_index === 4">{{record.assessment_after_dislysis.actual_ultrafiltration}}L</td> -->
352
-                      <td v-if="advice_index === 3">透后体重:</td>
401
+                      <!-- <td v-if="advice_index === 3">透后体重:</td>
353
                       <td v-if="advice_index === 3">{{record.assessment_after_dislysis.weight_after}}kg</td>
402
                       <td v-if="advice_index === 3">{{record.assessment_after_dislysis.weight_after}}kg</td>
354
                       <td v-if="advice_index === 4">本次透析体重下降量:</td>
403
                       <td v-if="advice_index === 4">本次透析体重下降量:</td>
355
                       <td v-if="advice_index === 4">
404
                       <td v-if="advice_index === 4">
356
                         {{record.assessment_after_dislysis.weight_after == 0 || record.assessment_before_dislysis.weight_before == 0 ?
405
                         {{record.assessment_after_dislysis.weight_after == 0 || record.assessment_before_dislysis.weight_before == 0 ?
357
                         0 : ( record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after ).toFixed(2)
406
                         0 : ( record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after ).toFixed(2)
358
-                      }}kg</td>
407
+                      }}kg</td> -->
359
                     </tr>
408
                     </tr>
360
                   </tbody>
409
                   </tbody>
361
                 </table>
410
                 </table>

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_seventytwo.vue View File

1189
                           <div style="flex: 0.9;border-right: 1px solid black;">跨膜压<br/>(mmHg)</div>
1189
                           <div style="flex: 0.9;border-right: 1px solid black;">跨膜压<br/>(mmHg)</div>
1190
                           <div style="flex: 0.9;border-right: 1px solid black;">钠浓度<br/>(mmol/L)</div>
1190
                           <div style="flex: 0.9;border-right: 1px solid black;">钠浓度<br/>(mmol/L)</div>
1191
                           <div style="flex: 0.9;border-right: 1px solid black;">超滤量<br/>(ml)</div>
1191
                           <div style="flex: 0.9;border-right: 1px solid black;">超滤量<br/>(ml)</div>
1192
-                          <div style="flex: 1;border-right: 1px solid black;" v-if="record.prescription.mode_id == 2">置换液速度<br/>(ml/h)</div>
1192
+                          <div style="flex: 1;border-right: 1px solid black;" v-if="record.prescription.mode_id == 2">置换液流量<br/>(ml/h)</div>
1193
                           <div style="flex: 1.2;border-right: 1px solid black;" v-if="record.prescription.anticoagulant == 7 && record.prescription.anticoagulant != ''">肝素剩余量度(ml)</div>
1193
                           <div style="flex: 1.2;border-right: 1px solid black;" v-if="record.prescription.anticoagulant == 7 && record.prescription.anticoagulant != ''">肝素剩余量度(ml)</div>
1194
                           <div style="flex: 2;">病情变化及处理</div>
1194
                           <div style="flex: 2;">病情变化及处理</div>
1195
                         </div>
1195
                         </div>
1224
                         {{ monitor_record.ultrafiltration_volume? monitor_record.ultrafiltration_volume: ""}}
1224
                         {{ monitor_record.ultrafiltration_volume? monitor_record.ultrafiltration_volume: ""}}
1225
                       </div>
1225
                       </div>
1226
                       <div style="flex: 1;border-right: 1px solid black;" v-if="record.prescription.mode_id == 2">
1226
                       <div style="flex: 1;border-right: 1px solid black;" v-if="record.prescription.mode_id == 2">
1227
-                        {{ monitor_record.replacement_speed ? monitor_record.replacement_speed : "" }}
1227
+                        {{ monitor_record.displacement_flow_quantity ? monitor_record.displacement_flow_quantity : "" }}
1228
                       </div>
1228
                       </div>
1229
                       <div style="flex: 1.2;border-right: 1px solid black;" v-if="record.prescription.anticoagulant == 7 && record.prescription.anticoagulant != ''">
1229
                       <div style="flex: 1.2;border-right: 1px solid black;" v-if="record.prescription.anticoagulant == 7 && record.prescription.anticoagulant != ''">
1230
 
1230
 

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_sixtyeight.vue View File

3048
             <div class="under_line" style="width: 120px;">
3048
             <div class="under_line" style="width: 120px;">
3049
               <img
3049
               <img
3050
                 v-if="record.dialysis_order.url!=''"
3050
                 v-if="record.dialysis_order.url!=''"
3051
-                style="height: 30px"
3051
+                style="height: 40px"
3052
                 :src="record.dialysis_order == null? 0: record.dialysis_order.url"
3052
                 :src="record.dialysis_order == null? 0: record.dialysis_order.url"
3053
                 alt=""
3053
                 alt=""
3054
                 srcset=""
3054
                 srcset=""

+ 1 - 1
src/xt_pages/dialysis/doctorAdviceStaticPrint.vue View File

29
                 <td width="100">药品名称</td>
29
                 <td width="100">药品名称</td>
30
                 <td width="100">规格</td>
30
                 <td width="100">规格</td>
31
                 <td width="100">数量</td>
31
                 <td width="100">数量</td>
32
-                <td width="100" v-if="org_id == 0 || org_id==10644">数量</td>
32
+                <td width="100" v-if="org_id == 0 || org_id==10644">厂家</td>
33
               </tr>
33
               </tr>
34
               </thead>
34
               </thead>
35
               <tbody>
35
               <tbody>

+ 4 - 9
src/xt_pages/dialysis/template/DialysisPrintOrderFiftySeven.vue View File

311
                         <div
311
                         <div
312
                           style="
312
                           style="
313
                             display: flex;
313
                             display: flex;
314
-                            min-width: 180px;
314
+                            min-width: 150px;
315
                             border-right: 1px solid;
315
                             border-right: 1px solid;
316
                           "
316
                           "
317
                         >
317
                         >
327
                             }}
327
                             }}
328
                           </span>
328
                           </span>
329
                         </div>
329
                         </div>
330
-                        <div
331
-                          style="
332
-                            display: flex;
333
-                            border-right: 1px solid;
334
-                            padding: 0 10px;
335
-                            min-width: 180px;
336
-                          "
330
+                        <div style=" display: flex; border-right: 1px solid;
331
+                            padding-left: 10px; min-width: 180px;white-space: normal;"
337
                         >
332
                         >
338
-                          透析(滤)器:{{
333
+                          透析(滤)器:{{
339
                             prescription.dialyzer_perfusion_apparatus
334
                             prescription.dialyzer_perfusion_apparatus
340
                               ? prescription.dialyzer_perfusion_apparatus
335
                               ? prescription.dialyzer_perfusion_apparatus
341
                               : ""
336
                               : ""

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyTwo.vue View File

1118
                       <div style="flex: 0.9;border-right: 1px solid black;">跨膜压<br/>(mmHg)</div>
1118
                       <div style="flex: 0.9;border-right: 1px solid black;">跨膜压<br/>(mmHg)</div>
1119
                       <div style="flex: 0.9;border-right: 1px solid black;">钠浓度<br/>(mmol/L)</div>
1119
                       <div style="flex: 0.9;border-right: 1px solid black;">钠浓度<br/>(mmol/L)</div>
1120
                       <div style="flex: 0.9;border-right: 1px solid black;">超滤量<br/>(ml)</div>
1120
                       <div style="flex: 0.9;border-right: 1px solid black;">超滤量<br/>(ml)</div>
1121
-                      <div style="flex: 1;border-right: 1px solid black;" v-if="prescription.mode_id == 2">置换液速度<br/>(ml/h)</div>
1121
+                      <div style="flex: 1;border-right: 1px solid black;" v-if="prescription.mode_id == 2">置换液流量<br/>(ml/h)</div>
1122
                       <div style="flex: 1.2;border-right: 1px solid black;" v-if="prescription.anticoagulant_name=='低分子肝素钠'">肝素剩余量度(ml)
1122
                       <div style="flex: 1.2;border-right: 1px solid black;" v-if="prescription.anticoagulant_name=='低分子肝素钠'">肝素剩余量度(ml)
1123
                       </div>
1123
                       </div>
1124
                       <div style="flex: 2;">病情变化及处理</div>
1124
                       <div style="flex: 2;">病情变化及处理</div>
1171
                       {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}
1171
                       {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}
1172
                     </div>
1172
                     </div>
1173
                     <div style="flex: 1;border-right: 1px solid black;" v-if="prescription.mode_id == 2">
1173
                     <div style="flex: 1;border-right: 1px solid black;" v-if="prescription.mode_id == 2">
1174
-                      {{ monitor.replacement_speed ? monitor.replacement_speed : "" }}
1174
+                      {{ monitor.displacement_flow_quantity ? monitor.displacement_flow_quantity : "" }}
1175
                     </div>
1175
                     </div>
1176
                     <div style="flex: 1.2;border-right: 1px solid black;" v-if="prescription.anticoagulant_name=='低分子肝素钠'">
1176
                     <div style="flex: 1.2;border-right: 1px solid black;" v-if="prescription.anticoagulant_name=='低分子肝素钠'">
1177
 
1177
 

+ 69 - 26
src/xt_pages/dialysis/template/DialysisPrintOrderSeventynine.vue View File

122
               </td>
122
               </td>
123
             </tr>
123
             </tr>
124
 
124
 
125
+            <tr>
126
+              <td colspan="3">
127
+                <div style="display: flex;flex-wrap: wrap;">
128
+                  <div style="flex: 1;">
129
+                    上次透后体重:{{ assessmentafter.weight_after ? assessmentafter.weight_after : "0" }}kg
130
+                  </div>
131
+                  <div style="flex: 1;">
132
+                    本次透前体重:{{ predialysis.weight_before ? predialysis.weight_before : '0' }}kg
133
+                  </div>
134
+                  <div style="flex: 1;">
135
+                    体重增加量:{{ (predialysis.weight_before - assessmentafter.weight_after).toFixed(1) }}kg
136
+                  </div>
137
+                 
138
+                </div>
139
+              </td>
140
+            </tr>
141
+            
142
+            <tr>
143
+              <td colspan="3">
144
+                <div style="display: flex;flex-wrap: wrap;">
145
+                  <div style="flex: 1;">
146
+                    干体重(DW):{{ predialysis.dry_weight ? predialysis.dry_weight :'0' }}kg
147
+                  </div>
148
+                  <div style="flex: 1;">
149
+                    本次透后体重:{{ afterdialysis.weight_after ? afterdialysis.weight_after :'0' }}kg
150
+                  </div>
151
+                  <div style="flex: 1;">
152
+                    本次透析体重下降量:
153
+                    {{  afterdialysis.weight_after == 0 || predialysis.weight_before == 0? '0.00'
154
+                      : (predialysis.weight_before - afterdialysis.weight_after).toFixed(2) }}kg
155
+                  </div>
156
+                </div>
157
+              </td>
158
+            </tr>
159
+
125
             <tr>
160
             <tr>
126
               <td colspan="2">
161
               <td colspan="2">
127
                 <div style="line-height:30px;">
162
                 <div style="line-height:30px;">
128
                  <span>目标脱水量: {{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "" }} </span>L &nbsp;&nbsp;
163
                  <span>目标脱水量: {{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "" }} </span>L &nbsp;&nbsp;
129
                  <span>处方脱水量: {{ prescription.prescription_water  ? prescription.prescription_water : "" }} </span>L &nbsp;&nbsp;
164
                  <span>处方脱水量: {{ prescription.prescription_water  ? prescription.prescription_water : "" }} </span>L &nbsp;&nbsp;
130
-                 <span>透析液流量: {{ prescription.dialysate_flow ? prescription.dialysate_flow : "" }} </span>ml/h
131
                 </div>
165
                 </div>
132
               </td>
166
               </td>
133
               <td >
167
               <td >
141
               </td>
175
               </td>
142
             </tr>
176
             </tr>
143
 
177
 
178
+            <tr>
179
+              <td colspan="3">
180
+                <div>
181
+                  <span>透析液流量: {{ prescription.dialysate_flow ? prescription.dialysate_flow : "" }} </span>ml/h &nbsp;&nbsp;
182
+                  <span>血流量:{{ prescription.blood_flow_volume ? prescription.blood_flow_volume : "" }} </span>ml/min &nbsp;&nbsp;
183
+                </div>
184
+              </td>
185
+            </tr>
186
+
144
           </tbody>
187
           </tbody>
145
         </table>
188
         </table>
146
         <table border="1" class="table-box" style="border-collapse: collapse;width: 99%;font-size: 16px;">
189
         <table border="1" class="table-box" style="border-collapse: collapse;width: 99%;font-size: 16px;">
239
               </td>
282
               </td>
240
               <td>
283
               <td>
241
                 <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">
284
                 <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">
242
-                  {{
243
-                  getAdminUser(monitor.monitoring_nurse)
244
-                  }}
285
+                  {{ getAdminUser(monitor.monitoring_nurse) }}
245
                 </span>
286
                 </span>
246
-                <span
247
-                  v-else
248
-                  style="display:flex;align-items:center;justify-content:space-around;height:36px;"
287
+                <span v-else
288
+                  style="display:flex;align-items:center;justify-content:space-around;height:30px;"
249
                 >
289
                 >
250
                   <img style="height:30px;" :src="setAdminUserES(monitor.monitoring_nurse)" alt srcset />
290
                   <img style="height:30px;" :src="setAdminUserES(monitor.monitoring_nurse)" alt srcset />
251
                 </span>
291
                 </span>
274
                 <td style="width:10%;height:25px">
314
                 <td style="width:10%;height:25px">
275
                   <p style="height:30px;line-height:30px">核对</p>
315
                   <p style="height:30px;line-height:30px">核对</p>
276
                 </td>
316
                 </td>
277
-                <td style="width:15%;height:27px">
278
-                  <p style="height:30px;line-height:30px">上次透后体重</p>
279
-                </td>
280
-                <td style="width:10%;line-height:30px">
281
-                  {{ assessmentafter.weight_after ? assessmentafter.weight_after : "0" }}kg
282
-                </td>
283
               </tr>
317
               </tr>
284
 
318
 
285
               <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
319
               <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
301
                   <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker) }}</span>
335
                   <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker) }}</span>
302
                   <img style="height:40px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else />
336
                   <img style="height:40px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else />
303
                 </td>
337
                 </td>
304
-                <td v-if="advice_index === 0">透前体重:</td>
338
+                <!-- <td v-if="advice_index === 0">透前体重:</td>
305
                 <td v-if="advice_index === 0">{{ predialysis.weight_before }}kg</td>
339
                 <td v-if="advice_index === 0">{{ predialysis.weight_before }}kg</td>
306
                 <td v-if="advice_index === 1">体重增加量:</td>
340
                 <td v-if="advice_index === 1">体重增加量:</td>
307
                 <td v-if="advice_index === 1">{{ (predialysis.weight_before - assessmentafter.weight_after).toFixed(1) }}kg</td>
341
                 <td v-if="advice_index === 1">{{ (predialysis.weight_before - assessmentafter.weight_after).toFixed(1) }}kg</td>
308
                 <td v-if="advice_index === 2">干体重(DW):</td>
342
                 <td v-if="advice_index === 2">干体重(DW):</td>
309
-                <td v-if="advice_index === 2">{{ predialysis.dry_weight }}kg</td>
310
-                <!-- <td v-if="advice_index === 3">较干体重增加量:</td>
311
-                <td v-if="advice_index === 3">
312
-                  {{ afterdialysis.weight_after != 0 && predialysis.dry_weight !=0
313
-                    ? (afterdialysis.weight_after - predialysis.dry_weight).toFixed(2): 0 }}kg
314
-                </td>
315
-                <td v-if="advice_index === 4">净脱水量:</td>
316
-                <td v-if="advice_index === 4">{{ afterdialysis.actual_ultrafiltration }}L</td> -->
317
-                <td v-if="advice_index === 3">透后体重:</td>
343
+                <td v-if="advice_index === 2">{{ predialysis.dry_weight }}kg</td> -->
344
+                <!-- <td v-if="advice_index === 3">透后体重:</td>
318
                 <td v-if="advice_index === 3">{{ afterdialysis.weight_after }}kg</td>
345
                 <td v-if="advice_index === 3">{{ afterdialysis.weight_after }}kg</td>
319
                 <td v-if="advice_index === 4">本次透析体重下降量:</td>
346
                 <td v-if="advice_index === 4">本次透析体重下降量:</td>
320
                 <td v-if="advice_index === 4">
347
                 <td v-if="advice_index === 4">
321
                   {{  afterdialysis.weight_after == 0 || predialysis.weight_before == 0? '0.00'
348
                   {{  afterdialysis.weight_after == 0 || predialysis.weight_before == 0? '0.00'
322
-                      : (predialysis.weight_before - afterdialysis.weight_after).toFixed(2) }}kg</td>
349
+                      : (predialysis.weight_before - afterdialysis.weight_after).toFixed(2) }}kg</td> -->
323
               </tr>
350
               </tr>
324
             </tbody>
351
             </tbody>
325
           </table>
352
           </table>
970
           }
997
           }
971
 
998
 
972
           this.advices = response.data.data.advices;
999
           this.advices = response.data.data.advices;
1000
+
1001
+          
973
           this.monitors = response.data.data.monitors;
1002
           this.monitors = response.data.data.monitors;
974
           console.log("透析监测", this.monitors);
1003
           console.log("透析监测", this.monitors);
975
           this.summary = response.data.data.summary;
1004
           this.summary = response.data.data.summary;
1148
           console.log(this.advice_groups);
1177
           console.log(this.advice_groups);
1149
           
1178
           
1150
           var advices = response.data.data.advices;
1179
           var advices = response.data.data.advices;
1180
+         
1181
+          var newDocArr= []
1182
+          for(let i=0;i<advices.length;i++){
1183
+            console.log("hhahahahh",advices[i].advice_name.indexOf("0.9%氯化钠注射液"))
1184
+            console.log("jjjjjjjjj",advices[i].delivery_way.indexOf("管路预冲"))
1185
+           if(advices[i].advice_name.indexOf("0.9%氯化钠注射液") ==-1 && advices[i].delivery_way.indexOf("管路预冲")==-1){
1186
+              newDocArr.push(advices[i])
1187
+           }
1188
+          }
1189
+          console.log("newDocArr----------------------",newDocArr)
1190
+        
1151
           var doctorAdevieInfo = response.data.data.doctorAdevieInfo
1191
           var doctorAdevieInfo = response.data.data.doctorAdevieInfo
1152
-          var tableAdvice = advices.concat(doctorAdevieInfo);
1153
-          console.log('tableAdvice',tableAdvice);
1192
+        
1193
+         
1194
+       
1195
+          var tableAdvice = newDocArr.concat(doctorAdevieInfo);
1196
+        
1154
           console.log('response.data.data', response.data.data)
1197
           console.log('response.data.data', response.data.data)
1155
           if (tableAdvice.length === 0) {
1198
           if (tableAdvice.length === 0) {
1156
             console.log('1111111',tableAdvice.length);
1199
             console.log('1111111',tableAdvice.length);

+ 13 - 14
src/xt_pages/dialysis/template/DialysisPrintOrderSeventysix.vue View File

71
                   ? patientInfo.DialysisSchedule.device_zone.name
71
                   ? patientInfo.DialysisSchedule.device_zone.name
72
                   : "/"
72
                   : "/"
73
               }}</span>
73
               }}</span>
74
-              
74
+
75
             </div>
75
             </div>
76
           </div>
76
           </div>
77
           <div class="inline_block" v-if="org_id!=10460">
77
           <div class="inline_block" v-if="org_id!=10460">
393
                         }}
393
                         }}
394
                       </div>
394
                       </div>
395
                     </div>
395
                     </div>
396
-                  
396
+
397
                   </div>
397
                   </div>
398
                   <div  class="row" style="padding: 2px 0; line-height: 23px; display: flex">
398
                   <div  class="row" style="padding: 2px 0; line-height: 23px; display: flex">
399
                     <div
399
                     <div
772
                             ? prescription.dialysis_dialyszers
772
                             ? prescription.dialysis_dialyszers
773
                             : ""
773
                             : ""
774
                         }} &nbsp;&nbsp;
774
                         }} &nbsp;&nbsp;
775
-                          {{prescription.dialysis_strainer ? prescription.dialysis_strainer :''}}
776
                         </span>
775
                         </span>
777
-
776
+                        {{prescription.dialysis_strainer ? prescription.dialysis_strainer :''}}
778
                         <!-- {{dialysisOrder.dialysis_dialyszers  }} -->
777
                         <!-- {{dialysisOrder.dialysis_dialyszers  }} -->
779
                       </div>
778
                       </div>
780
                       <!--  透析(滤)器合并取值 -->
779
                       <!--  透析(滤)器合并取值 -->
860
                         }}
859
                         }}
861
                        </span>
860
                        </span>
862
 
861
 
863
-                      
862
+
864
                       </div>
863
                       </div>
865
                       <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10460">ml</span>
864
                       <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10460">ml</span>
866
                       <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10460">L</span>
865
                       <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10460">L</span>
982
                      <span v-if="prescription.anticoagulant == 10">iu</span>
981
                      <span v-if="prescription.anticoagulant == 10">iu</span>
983
                      <span v-if="prescription.anticoagulant == 11">iu</span>
982
                      <span v-if="prescription.anticoagulant == 11">iu</span>
984
                      <span v-if="prescription.anticoagulant == 13">iu</span>
983
                      <span v-if="prescription.anticoagulant == 13">iu</span>
985
-                     
984
+
986
                     </span>
985
                     </span>
987
                     </div>
986
                     </div>
988
                     <div class="inline_block" style="margin-left: 20px" v-if="prescription.anticoagulant != 1">
987
                     <div class="inline_block" style="margin-left: 20px" v-if="prescription.anticoagulant != 1">
1010
                           <span v-if="prescription.anticoagulant == 10">iu/h</span>
1009
                           <span v-if="prescription.anticoagulant == 10">iu/h</span>
1011
                           <span v-if="prescription.anticoagulant == 11">iu/h</span>
1010
                           <span v-if="prescription.anticoagulant == 11">iu/h</span>
1012
                           <span v-if="prescription.anticoagulant == 13">iu/h</span>
1011
                           <span v-if="prescription.anticoagulant == 13">iu/h</span>
1013
-                          
1012
+
1014
                       </span>
1013
                       </span>
1015
                     </div>
1014
                     </div>
1016
                     <div
1015
                     <div
1077
                        <span v-if="prescription.anticoagulant == 10">iu</span>
1076
                        <span v-if="prescription.anticoagulant == 10">iu</span>
1078
                       <span v-if="prescription.anticoagulant == 11">iu</span>
1077
                       <span v-if="prescription.anticoagulant == 11">iu</span>
1079
                       <span v-if="prescription.anticoagulant == 13">iu</span>
1078
                       <span v-if="prescription.anticoagulant == 13">iu</span>
1080
-                      
1079
+
1081
                     </span>
1080
                     </span>
1082
                     </div>
1081
                     </div>
1083
 
1082
 
1198
                           </span>
1197
                           </span>
1199
                         </td>
1198
                         </td>
1200
                         <td>{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : '' }}</td>
1199
                         <td>{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : '' }}</td>
1201
-                        
1200
+
1202
                         <td style="line-height: 16px; padding: 0px">
1201
                         <td style="line-height: 16px; padding: 0px">
1203
                           <div
1202
                           <div
1204
                             style="
1203
                             style="
1265
                         <td style="font-size: 16px" colspan="2" width="45%">
1264
                         <td style="font-size: 16px" colspan="2" width="45%">
1266
                           医嘱内容
1265
                           医嘱内容
1267
                         </td>
1266
                         </td>
1268
-                        
1267
+
1269
                         <td style="font-size: 16px" width="10%">医生签名</td>
1268
                         <td style="font-size: 16px" width="10%">医生签名</td>
1270
-                      
1269
+
1271
                         <td style="font-size: 16px" width="10%">执行人签名</td>
1270
                         <td style="font-size: 16px" width="10%">执行人签名</td>
1272
                         <td style="font-size: 16px" width="10%">时间</td>
1271
                         <td style="font-size: 16px" width="10%">时间</td>
1273
 
1272
 
1429
                     ? patientInfo.DialysisSchedule.device_zone.name
1428
                     ? patientInfo.DialysisSchedule.device_zone.name
1430
                     : "/"
1429
                     : "/"
1431
                 }}</span>
1430
                 }}</span>
1432
-                
1431
+
1433
               </div>
1432
               </div>
1434
             </div>
1433
             </div>
1435
             <div class="inline_block" >
1434
             <div class="inline_block" >
1520
                     医嘱内容
1519
                     医嘱内容
1521
                   </td>
1520
                   </td>
1522
                   <td style="font-size: 15px" width="10%">医生签名</td>
1521
                   <td style="font-size: 15px" width="10%">医生签名</td>
1523
-                 
1522
+
1524
                   <td style="font-size: 15px" width="10%">执行人签名</td>
1523
                   <td style="font-size: 15px" width="10%">执行人签名</td>
1525
                   <td style="font-size: 15px" width="10%">时间</td>
1524
                   <td style="font-size: 15px" width="10%">时间</td>
1526
                 </tr>
1525
                 </tr>
1583
                     />
1582
                     />
1584
                   </td>
1583
                   </td>
1585
 
1584
 
1586
-                  
1585
+
1587
                   <td height="32px">
1586
                   <td height="32px">
1588
                     <span
1587
                     <span
1589
                       v-if="setAdminUserES(advice.execution_staff) == ''"
1588
                       v-if="setAdminUserES(advice.execution_staff) == ''"

+ 21 - 26
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue View File

287
                     </div>
287
                     </div>
288
                   </div>
288
                   </div>
289
                   <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;">
289
                   <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;">
290
-                    <div
291
-                      class="inline_block"
292
-                      style="flex: 1"
293
-                    >
290
+                    <div class="inline_block" style="width: 19%;">
294
                       穿刺方式:
291
                       穿刺方式:
295
                       <div
292
                       <div
296
                         class="under_line"
293
                         class="under_line"
297
-                        style="width: 100px; text-align: center"
294
+                        style="width: 80px; text-align: center"
298
                         v-if="predialysis.puncture_way == ''"
295
                         v-if="predialysis.puncture_way == ''"
299
                       >
296
                       >
300
                         /
297
                         /
301
                       </div>
298
                       </div>
302
                       <div
299
                       <div
303
                         class="under_line"
300
                         class="under_line"
304
-                        style="width: 100px; text-align: center"
301
+                        style="width: 80px; text-align: center"
305
                         v-if="predialysis.puncture_way.indexOf('绳梯') > -1"
302
                         v-if="predialysis.puncture_way.indexOf('绳梯') > -1"
306
                       >
303
                       >
307
                         绳梯
304
                         绳梯
308
                       </div>
305
                       </div>
309
                       <div
306
                       <div
310
                         class="under_line"
307
                         class="under_line"
311
-                        style="width: 100px; text-align: center"
308
+                        style="width: 80px; text-align: center"
312
                         v-if="predialysis.puncture_way.indexOf('扣眼') > -1"
309
                         v-if="predialysis.puncture_way.indexOf('扣眼') > -1"
313
                       >
310
                       >
314
                         扣眼
311
                         扣眼
315
                       </div>
312
                       </div>
316
                       <div
313
                       <div
317
                         class="under_line"
314
                         class="under_line"
318
-                        style="width: 100px; text-align: center"
315
+                        style="width: 80px; text-align: center"
319
                         v-if="predialysis.puncture_way.indexOf('区域') > -1"
316
                         v-if="predialysis.puncture_way.indexOf('区域') > -1"
320
                       >
317
                       >
321
                         区域
318
                         区域
322
                       </div>
319
                       </div>
323
                     </div>
320
                     </div>
324
-                    <div
325
-                      class="inline_block"
326
-                      style="margin-left: 10px; flex: 1"
327
-                    >
321
+                    <div class="inline_block" style="width: 19%;">
328
                       穿刺针:
322
                       穿刺针:
329
                       <div
323
                       <div
330
                         class="under_line"
324
                         class="under_line"
331
-                        style="width: 100px; text-align: center"
325
+                        style="width: 80px; text-align: center"
332
                       >
326
                       >
333
                         {{
327
                         {{
334
                           predialysis.puncture_needle
328
                           predialysis.puncture_needle
337
                         }}
331
                         }}
338
                       </div>
332
                       </div>
339
                     </div>
333
                     </div>
340
-                    <div class="inline_block" style="margin-left: 1px; flex: 1">
334
+                    <div class="inline_block" style="width: 20%;">
341
                       透析时间:
335
                       透析时间:
342
                       <div
336
                       <div
343
                         class="under_line"
337
                         class="under_line"
362
                       </div>
356
                       </div>
363
                       min
357
                       min
364
                     </div>
358
                     </div>
365
-                    <div class="inline_block" style="flex: 1;margin-left: 10px;">
359
+                    <div class="inline_block" style="width: 15%;">
366
                       透析机号:
360
                       透析机号:
367
                       <div
361
                       <div
368
                         class="under_line"
362
                         class="under_line"
377
                         }}
371
                         }}
378
                       </div>
372
                       </div>
379
                     </div>
373
                     </div>
380
-                    <div
381
-                      class="inline_block"
382
-                      style="flex: 1"
383
-                    >
374
+                    <div class="inline_block" style="width: 25%;">
384
                       透析机型:
375
                       透析机型:
385
                       <div
376
                       <div
386
                         class="under_line"
377
                         class="under_line"
387
-                        style="width: 50px; text-align: center"
378
+                        style="width: 100px; text-align: center"
388
                       >
379
                       >
389
                        {{predialysis.machine_type ? predialysis.machine_type : ""}}
380
                        {{predialysis.machine_type ? predialysis.machine_type : ""}}
390
                       </div>
381
                       </div>
830
                             : ""
821
                             : ""
831
                         }}
822
                         }}
832
                         </span>
823
                         </span>
833
-
834
-                        {{dialysisOrder.dialysis_dialyszers  }}
824
+                        <span v-if="dialysisOrder != null">
825
+                          {{dialysisOrder.dialysis_dialyszers  }}
826
+                        </span>
827
+                        
835
                       </div>
828
                       </div>
836
                       <!--  透析(滤)器合并取值 -->
829
                       <!--  透析(滤)器合并取值 -->
837
                        <div v-if="org_id==10414"
830
                        <div v-if="org_id==10414"
860
                             : "/"
853
                             : "/"
861
                         }}
854
                         }}
862
                          </span>
855
                          </span>
863
-                         {{dialysisOrder.dialysis_irrigation ? prescription.dialysis_irrigation : "/" }}
864
-
856
+                         <span v-if="dialysisOrder != null">
857
+                          {{dialysisOrder.dialysis_irrigation ? prescription.dialysis_irrigation : "/" }}
858
+                         </span>
859
+                         
865
                       </div>
860
                       </div>
866
                     </div>
861
                     </div>
867
 
862
 
2609
         </div>
2604
         </div>
2610
 
2605
 
2611
          <!-- 患者签名 -->
2606
          <!-- 患者签名 -->
2612
-         <div style="position: relative; left: 70%;top: 50px;width: 288px;">
2607
+         <div style="position: relative; left: 70%;top: 50px;">
2613
           患者签名:
2608
           患者签名:
2614
           <div class="under_line" style="width: 120px;">
2609
           <div class="under_line" style="width: 120px;">
2615
             <img
2610
             <img
2616
               v-if="dialysisOrder.url!=''"
2611
               v-if="dialysisOrder.url!=''"
2617
-              style="height: 30px"
2612
+              style="height: 40px"
2618
               :src="dialysisOrder == null? 0: dialysisOrder.url"
2613
               :src="dialysisOrder == null? 0: dialysisOrder.url"
2619
               alt=""
2614
               alt=""
2620
               srcset=""
2615
               srcset=""

+ 8 - 5
src/xt_pages/user/components/PatientSidebar.vue View File

180
               name: '1-10',
180
               name: '1-10',
181
               label: '出院小结'
181
               label: '出院小结'
182
             },
182
             },
183
-            // {
184
-            //   name: '1-12',
185
-            //   label: '转归记录'
186
-            // }
187
-
188
           ]
183
           ]
189
         },
184
         },
190
         {
185
         {
195
               name: '1-3',
190
               name: '1-3',
196
               label: '肾科检验'
191
               label: '肾科检验'
197
             },
192
             },
193
+            {
194
+              name: '4-12',
195
+              label: '新版肾科检验'
196
+            },
198
             {
197
             {
199
               name: '4-1',
198
               name: '4-1',
200
               label: '肾科检查'
199
               label: '肾科检查'
348
         this.$router.push({path:'/patients/inspection_check?id='+this.id})
347
         this.$router.push({path:'/patients/inspection_check?id='+this.id})
349
       } else if(name == '4-3'){
348
       } else if(name == '4-3'){
350
         this.$router.push({path:'/patients/ktv?id='+this.id})
349
         this.$router.push({path:'/patients/ktv?id='+this.id})
350
+      }else if(name == '4-12'){
351
+        this.$router.push({path:'/patients/newInspection?id='+this.id})
351
       }
352
       }
352
       else if (name == '5-1') {
353
       else if (name == '5-1') {
353
         this.$router.push({
354
         this.$router.push({
554
         this.$router.push({ path: '/patients/sickhistory?id=' + this.id })
555
         this.$router.push({ path: '/patients/sickhistory?id=' + this.id })
555
       }else if(patientKey == '7'){
556
       }else if(patientKey == '7'){
556
         this.$router.push({path:'/patient/patient/'+this.id+'/lapsoSummary'})
557
         this.$router.push({path:'/patient/patient/'+this.id+'/lapsoSummary'})
558
+      }else if(patientKey == '4-12'){
559
+        this.$router.push({path:'/patients/newInspection?id='+this.id})
557
       }
560
       }
558
 
561
 
559
      }else{
562
      }else{

+ 0 - 0
src/xt_pages/user/newInspection.vue View File


+ 13 - 13
src/xt_permission.js View File

12
 
12
 
13
 router.beforeEach((to, from, next) => {
13
 router.beforeEach((to, from, next) => {
14
   // 线上注释
14
   // 线上注释
15
-  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-  //   store.dispatch('VerifyConfigList', []).then(() => {
17
-  //     next()
18
-  //   })
19
-  // }
20
-  // if (store.getters.permission_routers === undefined) {
21
-  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-  //     next()
23
-  //   })
24
-  // } else {
25
-  //   next()
26
-  // }
27
-  // return
15
+  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+    store.dispatch('VerifyConfigList', []).then(() => {
17
+      next()
18
+    })
19
+  }
20
+  if (store.getters.permission_routers === undefined) {
21
+    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+      next()
23
+    })
24
+  } else {
25
+    next()
26
+  }
27
+  return
28
   // 线上注释
28
   // 线上注释
29
   NProgress.start()
29
   NProgress.start()
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))