Browse Source

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

陈少旭 1 year ago
parent
commit
27994fb2b5

+ 15 - 12
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

87
                 {{ record.device_zone.name}}
87
                 {{ record.device_zone.name}}
88
               </div>
88
               </div>
89
             </div>
89
             </div>
90
-            <div class="inline_block" v-if="org_id!=10510 && org_id!=10460">
90
+            <div class="inline_block" v-if="org_id!=10510 && org_id!=10460 && org_id!=10624">
91
               床号:
91
               床号:
92
               <div class="under_line" style="width: 50px; text-align: center">
92
               <div class="under_line" style="width: 50px; text-align: center">
93
                 {{ record.device_number.number }}
93
                 {{ record.device_number.number }}
99
                 {{ record.patient.dialysis_no }}
99
                 {{ record.patient.dialysis_no }}
100
               </div>
100
               </div>
101
             </div>
101
             </div>
102
-            <div class="inline_block" style="margin-left: 5px" v-if="org_id!=10460">
102
+            <div class="inline_block" style="margin-left: 5px" v-if="org_id!=10460 && org_id!=10624">
103
               住院号/门诊号:
103
               住院号/门诊号:
104
               <div
104
               <div
105
                 class="under_line"
105
                 class="under_line"
129
                 {{ item.name }}
129
                 {{ item.name }}
130
               </div>
130
               </div>
131
             </div>
131
             </div>
132
-            <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10460">
132
+            <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10460 && org_id!=10624">
133
               诊断:
133
               诊断:
134
               <div
134
               <div
135
                 class="under_line"
135
                 class="under_line"
928
                       style="padding: 2px 0; line-height: 23px; display: flex"
928
                       style="padding: 2px 0; line-height: 23px; display: flex"
929
                     >
929
                     >
930
                       <div class="inline_block" style="flex: 1"
930
                       <div class="inline_block" style="flex: 1"
931
-                        v-if="org_id!=10440 && org_id!=0  && org_id!=10469 && org_id!=10490 && org_id!=10478 && org_id!=10495 && org_id!=10510 && org_id!=10460 && org_id!=10585 && org_id!=10567">
931
+                        v-if="org_id!=10440 && org_id!=0  && org_id!=10469 && org_id!=10490 && org_id!=10478 && org_id!=10495 && org_id!=10510 && org_id!=10460 && org_id!=10585 && org_id!=10567 && org_id!=10624">
932
                         上次透后体重:
932
                         上次透后体重:
933
                         <div
933
                         <div
934
                           class="under_line"
934
                           class="under_line"
954
                       </div>
954
                       </div>
955
 
955
 
956
                       <div class="inline_block" style="flex: 1"
956
                       <div class="inline_block" style="flex: 1"
957
-                        v-if="(org_id==10440 ||  org_id ==0 || org_id==10469 || org_id==10490 || org_id==10478  || org_id==10495 || org_id == 10460)&& org_id!=10510">
957
+                        v-if="(org_id==10440 ||  org_id ==0 || org_id==10469 || org_id==10490 || org_id==10478  || org_id==10495 || org_id == 10460 || org_id ==10624)&& org_id!=10510">
958
                         上次透后体重:
958
                         上次透后体重:
959
                         <div
959
                         <div
960
                           class="under_line"
960
                           class="under_line"
1013
                               : "/"
1013
                               : "/"
1014
                           }}
1014
                           }}
1015
                         </div>
1015
                         </div>
1016
-                         <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id==10460">ml</span> 
1017
-                         <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469  && org_id!=10471 && org_id!=10460">L</span>
1016
+                         <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id==10460 || org_id ==10624">ml</span> 
1017
+                         <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469  && org_id!=10471 && org_id!=10460 && org_id!=10624">L</span>
1018
                       </div>
1018
                       </div>
1019
 
1019
 
1020
                       <div class="inline_block" style="flex: 1" v-if="org_id == 10469">
1020
                       <div class="inline_block" style="flex: 1" v-if="org_id == 10469">
1445
                               org_id == 9538 ||
1445
                               org_id == 9538 ||
1446
                               org_id == 9675 ||
1446
                               org_id == 9675 ||
1447
                               org_id == 9671 ||
1447
                               org_id == 9671 ||
1448
-                              org_id ==10600
1448
+                              org_id ==10600 ||
1449
+                              org_id ==10629
1449
                             "
1450
                             "
1450
                           >
1451
                           >
1451
                             KT/V
1452
                             KT/V
1676
                               org_id == 9538 ||
1677
                               org_id == 9538 ||
1677
                               org_id == 9675 ||
1678
                               org_id == 9675 ||
1678
                               org_id == 9671 ||
1679
                               org_id == 9671 ||
1679
-                              org_id == 10600
1680
+                              org_id == 10600 ||
1681
+                              org_id ==10629
1680
                             "
1682
                             "
1681
                           >
1683
                           >
1682
                             {{ monitor_record.ktv }}
1684
                             {{ monitor_record.ktv }}
2401
                   {{ "/" }}
2403
                   {{ "/" }}
2402
                 </div>
2404
                 </div>
2403
               </div>
2405
               </div>
2404
-              <div class="inline_block" v-if="org_id!=10460">
2406
+              <div class="inline_block" v-if="org_id!=10460 && org_id!=10624">
2405
                 床号:
2407
                 床号:
2406
                 <div class="under_line" style="width: 50px; text-align: center">
2408
                 <div class="under_line" style="width: 50px; text-align: center">
2407
                   {{ "/" }}
2409
                   {{ "/" }}
2413
                   {{ record.patient.dialysis_no }}
2415
                   {{ record.patient.dialysis_no }}
2414
                 </div>
2416
                 </div>
2415
               </div>
2417
               </div>
2416
-              <div class="inline_block" style="margin-left: 5px" v-if="org_id!=10460">
2418
+              <div class="inline_block" style="margin-left: 5px" v-if="org_id!=10460 && org_id!=10624">
2417
                 住院号/门诊号:
2419
                 住院号/门诊号:
2418
                 <div
2420
                 <div
2419
                   class="under_line"
2421
                   class="under_line"
2445
                   {{ item.name }}
2447
                   {{ item.name }}
2446
                 </div>
2448
                 </div>
2447
               </div>
2449
               </div>
2448
-              <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10460">
2450
+              <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10460 && org_id!=10624">
2449
                 诊断:
2451
                 诊断:
2450
                 <div
2452
                 <div
2451
                   class="under_line"
2453
                   class="under_line"
3401
 import { getDataConfig } from "@/utils/data";
3403
 import { getDataConfig } from "@/utils/data";
3402
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
3404
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
3403
 import print from "print-js";
3405
 import print from "print-js";
3406
+import org from "../../../router/modules/org";
3404
 export default {
3407
 export default {
3405
   name: "BatchPrintOrderSix",
3408
   name: "BatchPrintOrderSix",
3406
   components: {
3409
   components: {

+ 28 - 11
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue View File

155
         </el-table-column>
155
         </el-table-column>
156
          <el-table-column align="center" label="目标脱水量"  v-if="dialysisSett.ultrafiltration_volume==1">
156
          <el-table-column align="center" label="目标脱水量"  v-if="dialysisSett.ultrafiltration_volume==1">
157
            <template slot-scope="scope">
157
            <template slot-scope="scope">
158
-             <span v-if="scope.row.dialysis_solution.target_ultrafiltration>0">{{scope.row.dialysis_solution.target_ultrafiltration}}</span>
158
+             <span v-if="scope.row.dialysis_prescription.target_ultrafiltration==0">{{scope.row.dialysis_solution.target_ultrafiltration}}</span>
159
+
160
+             <span v-if="scope.row.dialysis_prescription.target_ultrafiltration>0">{{scope.row.dialysis_prescription.target_ultrafiltration}}</span>
159
            </template>
161
            </template>
160
         </el-table-column>
162
         </el-table-column>
161
         <el-table-column align="center" label="抗凝剂(首剂)(维持)(总量)"  v-if="dialysisSett.anticoagulant==1">
163
         <el-table-column align="center" label="抗凝剂(首剂)(维持)(总量)"  v-if="dialysisSett.anticoagulant==1">
162
            <template slot-scope="scope">
164
            <template slot-scope="scope">
163
-             <span>{{getAnticoagualnt(scope.row.dialysis_solution.anticoagulant)}}</span>
164
-             <span v-if="scope.row.dialysis_solution.anticoagulant_shouji > 0">({{scope.row.dialysis_solution.anticoagulant_shouji}})</span>
165
-             <span v-if="scope.row.dialysis_solution.anticoagulant_weichi > 0">({{scope.row.dialysis_solution.anticoagulant_weichi}})</span>
166
-             <span v-if="scope.row.dialysis_solution.anticoagulant_zongliang > 0">({{scope.row.dialysis_solution.anticoagulant_zongliang}})</span>
165
+             <span v-if="scope.row.dialysis_prescription.anticoagulant==''">{{getAnticoagualnt(scope.row.dialysis_solution.anticoagulant)}}</span>
166
+             <span v-if="scope.row.dialysis_prescription.anticoagulant!=''">{{getAnticoagualnt(scope.row.dialysis_prescription.anticoagulant)}}</span>
167
+
168
+             <span v-if="scope.row.dialysis_prescription.anticoagulant_shouji == 0">({{scope.row.dialysis_solution.anticoagulant_shouji}})</span>
169
+             <span v-if="scope.row.dialysis_prescription.anticoagulant_shouji > 0">({{scope.row.dialysis_prescription.anticoagulant_shouji}})</span>
170
+
171
+             <span v-if="scope.row.dialysis_prescription.anticoagulant_weichi == 0">({{scope.row.dialysis_solution.anticoagulant_weichi}})</span>
172
+             <span v-if="scope.row.dialysis_prescription.anticoagulant_weichi > 0">({{scope.row.dialysis_prescription.anticoagulant_weichi}})</span>
173
+
174
+             <span v-if="scope.row.dialysis_prescription.anticoagulant_zongliang == 0">({{scope.row.dialysis_solution.anticoagulant_zongliang}})</span>
175
+             
176
+             <span v-if="scope.row.dialysis_prescription.anticoagulant_zongliang > 0">({{scope.row.dialysis_prescription.anticoagulant_zongliang}})</span>
167
            </template>
177
            </template>
168
         </el-table-column>
178
         </el-table-column>
169
 
179
 
170
         <el-table-column align="center" label="透析时长" v-if="dialysisSett.dialysis_time ==1">
180
         <el-table-column align="center" label="透析时长" v-if="dialysisSett.dialysis_time ==1">
171
            <template slot-scope="scope">
181
            <template slot-scope="scope">
172
-             <span v-if="scope.row.dialysis_solution.dialysis_duration_hour >0">{{scope.row.dialysis_solution.dialysis_duration_hour}}时</span>
173
-             <span v-if="scope.row.dialysis_solution.dialysis_duration_minute >0">{{scope.row.dialysis_solution.dialysis_duration_minute}}分</span>
182
+             <span v-if="scope.row.dialysis_prescription.dialysis_duration_hour  == 0">{{scope.row.dialysis_solution.dialysis_duration_hour}}时</span>
183
+             <span v-if="scope.row.dialysis_prescription.dialysis_duration_hour  > 0">{{scope.row.dialysis_prescription.dialysis_duration_hour}}时</span>
184
+
185
+             <span v-if="scope.row.dialysis_prescription.dialysis_duration_minute ==0">{{scope.row.dialysis_solution.dialysis_duration_minute}}分</span>
186
+             <span v-if="scope.row.dialysis_prescription.dialysis_duration_minute >0">{{scope.row.dialysis_prescription.dialysis_duration_minute}}分</span>
174
            </template>
187
            </template>
175
         </el-table-column>
188
         </el-table-column>
176
 
189
 
188
 
201
 
189
         <el-table-column align="center" label="透析器"  v-if="dialysisSett.dialysis_dialyszers == 1">
202
         <el-table-column align="center" label="透析器"  v-if="dialysisSett.dialysis_dialyszers == 1">
190
            <template slot-scope="scope">
203
            <template slot-scope="scope">
191
-             <span>{{scope.row.dialysis_solution.dialysis_dialyszers}}</span>
204
+             <span v-if="scope.row.dialysis_prescription.dialysis_dialyszers==''">{{scope.row.dialysis_solution.dialysis_dialyszers}}</span>
205
+             <span v-if="scope.row.dialysis_prescription.dialysis_dialyszers!=''">{{scope.row.dialysis_prescription.dialysis_dialyszers}}</span>
192
            </template>
206
            </template>
193
         </el-table-column>
207
         </el-table-column>
194
 
208
 
195
          <el-table-column align="center" label="灌流器"  v-if="dialysisSett.dialysis_irrigation ==1">
209
          <el-table-column align="center" label="灌流器"  v-if="dialysisSett.dialysis_irrigation ==1">
196
            <template slot-scope="scope">
210
            <template slot-scope="scope">
197
-             <span>{{scope.row.dialysis_solution.dialysis_irrigation}}</span>
211
+             <span v-if="scope.row.dialysis_prescription.dialysis_irrigation==''">{{scope.row.dialysis_solution.dialysis_irrigation}}</span>
212
+             <span v-if="scope.row.dialysis_prescription.dialysis_irrigation!=''">{{scope.row.dialysis_prescription.dialysis_irrigation}}</span>
198
            </template>
213
            </template>
199
         </el-table-column>
214
         </el-table-column>
200
 
215
 
201
         <el-table-column align="center" label="滤过器"  v-if="dialysisSett.dialysis_irrigation ==1">
216
         <el-table-column align="center" label="滤过器"  v-if="dialysisSett.dialysis_irrigation ==1">
202
            <template slot-scope="scope">
217
            <template slot-scope="scope">
203
-             <span>{{scope.row.dialysis_solution.dialysis_strainer}}</span>
218
+             <span v-if="scope.row.dialysis_prescription.dialysis_strainer!=''">{{scope.row.dialysis_prescription.dialysis_strainer}}</span>
219
+             <span v-if="scope.row.dialysis_prescription.dialysis_strainer==''">{{scope.row.dialysis_solution.dialysis_strainer}}</span>
204
            </template>
220
            </template>
205
         </el-table-column>
221
         </el-table-column>
206
         
222
         
246
 
262
 
247
         <el-table-column align="center" label="血管通路" v-if="dialysisSett.blood_access==1">
263
         <el-table-column align="center" label="血管通路" v-if="dialysisSett.blood_access==1">
248
            <template slot-scope="scope">
264
            <template slot-scope="scope">
249
-             <span>{{getBloodAccessOption(scope.row.dialysis_solution.blood_access)}}</span>
265
+             <span v-if="scope.row.dialysis_prescription.blood_access==''">{{getBloodAccessOption(scope.row.dialysis_solution.blood_access)}}</span>
266
+             <span v-if="scope.row.dialysis_prescription.blood_access!=''">{{getBloodAccessOption(scope.row.dialysis_prescription.blood_access)}}</span>
250
            </template>
267
            </template>
251
         </el-table-column>
268
         </el-table-column>
252
 
269
 

+ 11 - 8
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

266
                 org_id == 10599 ||
266
                 org_id == 10599 ||
267
                 org_id == 10597 ||
267
                 org_id == 10597 ||
268
                 org_id == 10599 || 
268
                 org_id == 10599 || 
269
-                org_id == 10612) &&
269
+                org_id == 10612 ||
270
+                org_id ==10580) &&
270
                 org_id!=10387
271
                 org_id!=10387
271
             "
272
             "
272
           >
273
           >
337
               && org_id!=10432 && org_id!=10445
338
               && org_id!=10432 && org_id!=10445
338
               && org_id!=10410 && org_id!=10495 &&
339
               && org_id!=10410 && org_id!=10495 &&
339
                org_id!=10485 && org_id!=10395 && org_id!=10375
340
                org_id!=10485 && org_id!=10395 && org_id!=10375
340
-               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612)
341
+               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10580)
341
               || org_id == 10387
342
               || org_id == 10387
342
             "
343
             "
343
           >
344
           >
393
                 org_id == 10410 ||
394
                 org_id == 10410 ||
394
                 org_id == 10495  ||
395
                 org_id == 10495  ||
395
                 org_id == 10395
396
                 org_id == 10395
396
-                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612)
397
+                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id ==10580)
397
                 && org_id!=10387
398
                 && org_id!=10387
398
             "
399
             "
399
           >
400
           >
446
               org_id!=10432 &&
447
               org_id!=10432 &&
447
               org_id!=10445 &&
448
               org_id!=10445 &&
448
               org_id!=10410 && org_id!=10495
449
               org_id!=10410 && org_id!=10495
449
-              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 ) ||
450
+              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 && org_id!=10580) ||
450
               org_id == 10387
451
               org_id == 10387
451
             "
452
             "
452
           >
453
           >
1177
                 org_id== 10432 ||
1178
                 org_id== 10432 ||
1178
                 org_id== 10445 ||
1179
                 org_id== 10445 ||
1179
                 org_id== 10410 ||
1180
                 org_id== 10410 ||
1180
-                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612) &&
1181
+                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612 || org_id ==10580) &&
1181
                 org_id!=10387
1182
                 org_id!=10387
1182
             "
1183
             "
1183
           >
1184
           >
1225
               org_id!=10445 &&
1226
               org_id!=10445 &&
1226
               org_id!=10410 &&
1227
               org_id!=10410 &&
1227
               org_id!=10485 &&
1228
               org_id!=10485 &&
1228
-              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612)
1229
+              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612 && org_id!=10580)
1229
               || org_id == 10387
1230
               || org_id == 10387
1230
             "
1231
             "
1231
           >
1232
           >
1289
                 org_id == 10551 ||
1290
                 org_id == 10551 ||
1290
                 org_id == 10597||
1291
                 org_id == 10597||
1291
                 org_id == 10599 ||
1292
                 org_id == 10599 ||
1292
-                org_id ==10612)
1293
+                org_id ==10612 || 
1294
+                org_id==10580)
1293
                 && org_id!=10387
1295
                 && org_id!=10387
1294
             "
1296
             "
1295
           >
1297
           >
1353
               org_id!=10551 &&
1355
               org_id!=10551 &&
1354
               org_id!=10597 &&
1356
               org_id!=10597 &&
1355
               org_id!=10599 &&
1357
               org_id!=10599 &&
1356
-              org_id!=10612
1358
+              org_id!=10612 &&
1359
+              org_id!=10580
1357
               )
1360
               )
1358
               || org_id == 10387
1361
               || org_id == 10387
1359
             "
1362
             "

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

15
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
16
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
17
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
18
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612) &&this.$store.getters.xt_user.template_info.org_id!=10387 " width="76px" > 超滤量(ml)</th>
19
-          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612) || this.$store.getters.xt_user.template_info.org_id == 10387"  width="76px"> 超滤量(L) </th>
20
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
21
-          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
18
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10580) &&this.$store.getters.xt_user.template_info.org_id!=10387 " width="76px" > 超滤量(ml)</th>
19
+          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10580) || this.$store.getters.xt_user.template_info.org_id == 10387"  width="76px"> 超滤量(L) </th>
20
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10580) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
21
+          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10580 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
22
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
23
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
23
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
24
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10410) && org_id!=10558" width="92px" > 置换率(ml/min) </th>
24
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10410) && org_id!=10558" width="92px" > 置换率(ml/min) </th>

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

33
                             
33
                             
34
                             </div>  
34
                             </div>  
35
                             <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10223) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
35
                             <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10223) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
36
-                            <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138">执行频率:{{it.execution_frequency}}</div>  
36
+                            <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{it.execution_frequency}}</div>  
37
                             <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  
37
                             <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  
38
                             <div v-if="org_id == 0 || org_id==10223">
38
                             <div v-if="org_id == 0 || org_id==10223">
39
                                 <span>配药者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
39
                                 <span>配药者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

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

67
           <div class="inline_block">
67
           <div class="inline_block">
68
             病区:
68
             病区:
69
             <div class="under_line" style="width: 50px; text-align: center">
69
             <div class="under_line" style="width: 50px; text-align: center">
70
-              <span v-if="org_id == 10121||org_id == 10138||org_id == 10414 ||org_id == 10447 || org_id == 0 || org_id ==10460 || org_id ==10567">{{
70
+              <!-- <span v-if="org_id == 10121||org_id == 10138||org_id == 10414 ||org_id == 10447  || org_id ==10460 || org_id ==10567">{{
71
                 patientInfo.DialysisSchedule.device_zone.name
71
                 patientInfo.DialysisSchedule.device_zone.name
72
                   ? patientInfo.DialysisSchedule.device_zone.name
72
                   ? patientInfo.DialysisSchedule.device_zone.name
73
                   : ""
73
                   : ""
74
               }}</span>
74
               }}</span>
75
-              <span v-else>{{ "/" }}</span>
75
+              <span v-else>{{ "/" }}</span> -->
76
             </div>
76
             </div>
77
           </div>
77
           </div>
78
           <div class="inline_block" >
78
           <div class="inline_block" >
79
             床号:
79
             床号:
80
             <div class="under_line" style="width: 50px; text-align: center">
80
             <div class="under_line" style="width: 50px; text-align: center">
81
-              <span v-if="org_id == 10121||org_id == 10414 || org_id == 10447 || org_id == 9675 || org_id == 0 || org_id ==10460 || org_id ==10515 || org_id == 10567">{{
81
+              <!-- <span v-if="org_id == 10121||org_id == 10414 || org_id == 10447 || org_id == 9675 || org_id == 0 || org_id ==10460 || org_id ==10515 || org_id == 10567">{{
82
                 dialysisOrder &&
82
                 dialysisOrder &&
83
                 dialysisOrder.DeviceNumber &&
83
                 dialysisOrder.DeviceNumber &&
84
                 dialysisOrder.DeviceNumber.number.length > 0
84
                 dialysisOrder.DeviceNumber.number.length > 0
85
                   ? dialysisOrder.DeviceNumber.number
85
                   ? dialysisOrder.DeviceNumber.number
86
                   : patientInfo.DialysisSchedule.device_number.number
86
                   : patientInfo.DialysisSchedule.device_number.number
87
               }}</span>
87
               }}</span>
88
-              <span v-else>{{ "/" }}</span>
88
+              <span v-else>{{ "/" }}</span> -->
89
             </div>
89
             </div>
90
           </div>
90
           </div>
91
           <div class="inline_block">
91
           <div class="inline_block">
1087
                   <div style="width: 100%;text-align: center;">
1087
                   <div style="width: 100%;text-align: center;">
1088
                     <div style="border-bottom: 1px solid black;">治疗记录</div>
1088
                     <div style="border-bottom: 1px solid black;">治疗记录</div>
1089
                     <div style="display: flex;">
1089
                     <div style="display: flex;">
1090
-                      <div style="flex: 0.8;border-right: 1px solid black;">时间</div>
1090
+                      <div style="flex: 0.8;border-right: 1px solid black;"><span>时间</span></div>
1091
                       <div style="flex: 0.8;border-right: 1px solid black;">血压<br/>(mmHg)</div>
1091
                       <div style="flex: 0.8;border-right: 1px solid black;">血压<br/>(mmHg)</div>
1092
                       <div style="flex: 0.9;border-right: 1px solid black;">脉搏<br/>(次/分)</div>
1092
                       <div style="flex: 0.9;border-right: 1px solid black;">脉搏<br/>(次/分)</div>
1093
                       <div style="flex: 0.9;border-right: 1px solid black;">血流量<br />(ml/min)</div>
1093
                       <div style="flex: 0.9;border-right: 1px solid black;">血流量<br />(ml/min)</div>
1096
                       <div style="flex: 0.9;border-right: 1px solid black;">钠浓度<br/>(mmol/L)</div>
1096
                       <div style="flex: 0.9;border-right: 1px solid black;">钠浓度<br/>(mmol/L)</div>
1097
                       <div style="flex: 0.9;border-right: 1px solid black;">超滤量<br/>(ml)</div>
1097
                       <div style="flex: 0.9;border-right: 1px solid black;">超滤量<br/>(ml)</div>
1098
                       <div style="flex: 1;border-right: 1px solid black;" v-if="prescription.mode_id == 2">置换液速度<br/>(ml/h)</div>
1098
                       <div style="flex: 1;border-right: 1px solid black;" v-if="prescription.mode_id == 2">置换液速度<br/>(ml/h)</div>
1099
-                      <div style="flex: 1.2;border-right: 1px solid black;" v-if="prescription.anticoagulant_name == 7 && 
1100
-                        prescription.anticoagulant_name != ''">肝素剩余量度(ml)
1099
+                      <div style="flex: 1.2;border-right: 1px solid black;" v-if="prescription.anticoagulant_name=='低分子肝素钠'">肝素剩余量度(ml)
1101
                       </div>
1100
                       </div>
1102
                       <div style="flex: 2;">病情变化及处理</div>
1101
                       <div style="flex: 2;">病情变化及处理</div>
1103
                     </div>
1102
                     </div>
1151
                     <div style="flex: 1;border-right: 1px solid black;" v-if="prescription.mode_id == 2">
1150
                     <div style="flex: 1;border-right: 1px solid black;" v-if="prescription.mode_id == 2">
1152
                       {{ monitor.replacement_speed ? monitor.replacement_speed : "" }}
1151
                       {{ monitor.replacement_speed ? monitor.replacement_speed : "" }}
1153
                     </div>
1152
                     </div>
1154
-                    <div style="flex: 1.2;border-right: 1px solid black;" v-if="prescription.anticoagulant == 7 && prescription.anticoagulant_name != ''">
1153
+                    <div style="flex: 1.2;border-right: 1px solid black;" v-if="prescription.anticoagulant_name=='低分子肝素钠'">
1155
 
1154
 
1156
                     </div>
1155
                     </div>
1156
+                    <!-- v-if="prescription.anticoagulant == 7 && prescription.anticoagulant_name != ''" -->
1157
                     <div style="flex: 2;">
1157
                     <div style="flex: 2;">
1158
                       <div style="min-height: 35px;
1158
                       <div style="min-height: 35px;
1159
                           line-height: 35px; overflow: hidden; "
1159
                           line-height: 35px; overflow: hidden; "

+ 38 - 24
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

79
               <check-box :checked="receiverTreatmentAccess.condition == 1"></check-box>
79
               <check-box :checked="receiverTreatmentAccess.condition == 1"></check-box>
80
             </div>
80
             </div>
81
           </div>
81
           </div>
82
-          <div class="inline_block">
82
+          <div class="inline_block" v-if="org_id!=10624">
83
             病区:
83
             病区:
84
             <div class="under_line" style="width: 50px; text-align: center">
84
             <div class="under_line" style="width: 50px; text-align: center">
85
-              <span v-if="org_id == 10121||org_id == 10138||org_id == 10414 ||org_id == 10447 || org_id == 0 || org_id ==10460 || org_id ==10567">{{
85
+              <span v-if="org_id == 10121||org_id == 10138||org_id == 10414 ||org_id == 10447  || org_id ==10567">{{
86
                 patientInfo.DialysisSchedule.device_zone.name
86
                 patientInfo.DialysisSchedule.device_zone.name
87
                   ? patientInfo.DialysisSchedule.device_zone.name
87
                   ? patientInfo.DialysisSchedule.device_zone.name
88
                   : ""
88
                   : ""
90
               <span v-else>{{ "/" }}</span>
90
               <span v-else>{{ "/" }}</span>
91
             </div>
91
             </div>
92
           </div>
92
           </div>
93
-          <div class="inline_block" v-if="org_id!=10460">
93
+          <div class="inline_block" v-if="org_id!=10460&&org_id!=10624">
94
             床号:
94
             床号:
95
             <div class="under_line" style="width: 50px; text-align: center">
95
             <div class="under_line" style="width: 50px; text-align: center">
96
-              <span v-if="org_id == 10121||org_id == 10414 || org_id == 10447 || org_id == 9675 || org_id == 0 || org_id ==10460 || org_id ==10515 || org_id == 10567">{{
96
+              <span v-if="org_id == 10121||org_id == 10414 || org_id == 10447 || org_id == 9675 || org_id ==10515 || org_id == 10567">{{
97
                 dialysisOrder &&
97
                 dialysisOrder &&
98
                 dialysisOrder.DeviceNumber &&
98
                 dialysisOrder.DeviceNumber &&
99
                 dialysisOrder.DeviceNumber.number.length > 0
99
                 dialysisOrder.DeviceNumber.number.length > 0
109
               {{ patientInfo.dialysis_no }}
109
               {{ patientInfo.dialysis_no }}
110
             </div>
110
             </div>
111
           </div>
111
           </div>
112
-          <div class="inline_block" style="margin-left: 5px;" v-if="org_id!=9675 && org_id!=10447&&org_id!=10460">
112
+          <div class="inline_block" style="margin-left: 5px;" v-if="org_id!=9675 && org_id!=10447&&org_id!=10460&&org_id!=10624">
113
             住院号/门诊号:
113
             住院号/门诊号:
114
             <div class="under_line" style="width: 70px;text-align: left" v-if="receiverTreatmentAccess.admission_number">
114
             <div class="under_line" style="width: 70px;text-align: left" v-if="receiverTreatmentAccess.admission_number">
115
               {{ receiverTreatmentAccess.admission_number }}
115
               {{ receiverTreatmentAccess.admission_number }}
136
            
136
            
137
           </div>
137
           </div>
138
 
138
 
139
-          <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10460">
139
+          <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10460&&org_id!=10624">
140
             诊断:
140
             诊断:
141
             <div
141
             <div
142
               class="under_line"
142
               class="under_line"
203
                         }}
203
                         }}
204
                       </div>
204
                       </div>
205
                     </div>
205
                     </div>
206
-                    <div class="inline_block" style="flex: 1">
206
+                    <div class="inline_block" style="flex: 1" v-if="org_id!=10624">
207
                       透前症状:
207
                       透前症状:
208
                       <div
208
                       <div
209
                         class="under_line"
209
                         class="under_line"
896
                         class="under_line"
896
                         class="under_line"
897
                         style="width: 30px; text-align: center"
897
                         style="width: 30px; text-align: center"
898
                       >
898
                       >
899
-                        {{
899
+                        <span v-if="org_id!=10624">{{
900
                           prescription.dialysis_duration_minute
900
                           prescription.dialysis_duration_minute
901
                             ? prescription.dialysis_duration_minute
901
                             ? prescription.dialysis_duration_minute
902
                             : "/"
902
                             : "/"
903
                         }}
903
                         }}
904
+                        </span> 
905
+
906
+                        <span v-if="org_id ==10624">{{
907
+                          prescription.dialysis_duration_minute
908
+                            ? prescription.dialysis_duration_minute
909
+                            : "0"
910
+                        }}
911
+                        </span> 
904
                       </div>
912
                       </div>
905
                       min
913
                       min
906
                     </div>
914
                     </div>
1576
                           置换量<br />(ml)
1584
                           置换量<br />(ml)
1577
                         </td>
1585
                         </td>
1578
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">滤前压(mmHg)</td>
1586
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">滤前压(mmHg)</td>
1579
-                        <td width="50" v-if="org_id == 9538 || org_id ==10600">KT/V</td>
1587
+                        <td width="50" v-if="org_id == 9538 || org_id ==10600 || org_id ==10629">KT/V</td>
1580
                         <td width="50" v-if="org_id == 9919">在线尿素监测</td>
1588
                         <td width="50" v-if="org_id == 9919">在线尿素监测</td>
1581
                         <td width="50" v-if="org_id == 9671">在线尿素监测</td>
1589
                         <td width="50" v-if="org_id == 9671">在线尿素监测</td>
1582
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id== 9671">血容量<br />(L)</td>
1590
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id== 9671">血容量<br />(L)</td>
1683
                           {{ monitor.replacement_rate? monitor.replacement_rate: ""}}
1691
                           {{ monitor.replacement_rate? monitor.replacement_rate: ""}}
1684
                         </td>
1692
                         </td>
1685
                         <td v-if="org_id!=10600">
1693
                         <td v-if="org_id!=10600">
1686
-                          <span v-if="org_id!=9671 && org_id!=10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1687
-                          <span v-if="org_id==9671 || org_id==10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1694
+                          <span v-if="org_id!=9671 && org_id!=10440 && org_id!=10617"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1695
+                          <span v-if="org_id==9671 || org_id==10440 || org_id ==10617">
1696
+                              <span v-if="org_id ==10617 && monindex == 0">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
1697
+                              <span v-if="org_id ==10617 && monindex == monitors.length-1">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
1698
+                              <span v-if="org_id ==10617 && (monindex != monitors.length-1 || monindex != 0)">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>    
1699
+                              <span v-if="org_id !=10617">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span> 
1700
+                           </span>
1688
                         </td>
1701
                         </td>
1689
                         <td width="50" v-if="org_id == 10600 || org_id == 10598"><br/> {{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: "0"}}</td>
1702
                         <td width="50" v-if="org_id == 10600 || org_id == 10598"><br/> {{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: "0"}}</td>
1690
                         <td
1703
                         <td
1705
                           </span>
1718
                           </span>
1706
                         </td>
1719
                         </td>
1707
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">{{ monitor.filter_pressure?monitor.filter_pressure:""}}</td>
1720
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">{{ monitor.filter_pressure?monitor.filter_pressure:""}}</td>
1708
-                        <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671 || org_id ==10600">
1721
+                        <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671 || org_id ==10600 || org_id ==10629">
1709
                           {{ monitor.ktv?monitor.ktv:"" }}
1722
                           {{ monitor.ktv?monitor.ktv:"" }}
1710
                         </td>
1723
                         </td>
1711
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id == 9671">
1724
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id == 9671">
2358
               <check-box :checked="receiverTreatmentAccess.condition == 1"></check-box>
2371
               <check-box :checked="receiverTreatmentAccess.condition == 1"></check-box>
2359
             </div>
2372
             </div>
2360
           </div>
2373
           </div>
2361
-            <div class="inline_block" v-if="org_id!=10510">
2374
+            <div class="inline_block" v-if="org_id!=10510 && org_id!=10624">
2362
               病区:
2375
               病区:
2363
               <div class="under_line" style="width: 50px; text-align: center">
2376
               <div class="under_line" style="width: 50px; text-align: center">
2364
               <span v-if="org_id == 10121||org_id == 10138 || org_id == 9675 || org_id == 10447 || org_id == 0 || org_id ==10460">{{
2377
               <span v-if="org_id == 10121||org_id == 10138 || org_id == 9675 || org_id == 10447 || org_id == 0 || org_id ==10460">{{
2369
               <span v-else>{{ "/" }}</span>
2382
               <span v-else>{{ "/" }}</span>
2370
             </div>
2383
             </div>
2371
             </div>
2384
             </div>
2372
-            <div class="inline_block" v-if="org_id!=10510 && org_id!=10460" >
2385
+            <div class="inline_block" v-if="org_id!=10510 && org_id!=10460 && org_id!=10624" >
2373
               床号:
2386
               床号:
2374
               <div class="under_line" style="width: 50px; text-align: center">
2387
               <div class="under_line" style="width: 50px; text-align: center">
2375
               <span v-if="org_id == 10121 || org_id == 9675 || org_id == 10447 || org_id == 0 ||org_id == 10460">{{
2388
               <span v-if="org_id == 10121 || org_id == 9675 || org_id == 10447 || org_id == 0 ||org_id == 10460">{{
2389
               </div>
2402
               </div>
2390
             </div>
2403
             </div>
2391
             <div class="inline_block" style="margin-left: 5px"
2404
             <div class="inline_block" style="margin-left: 5px"
2392
-            v-if="org_id!=9675 && org_id!=10447 && org_id!=10460">
2405
+            v-if="org_id!=9675 && org_id!=10447 && org_id!=10460&&org_id!=10624">
2393
             住院号/门诊号:
2406
             住院号/门诊号:
2394
             <div
2407
             <div
2395
               class="under_line"
2408
               class="under_line"
2811
                       style="flex: 1"
2824
                       style="flex: 1"
2812
                       v-if="org_id != 10223 && org_id!=10375 && org_id!=10598"
2825
                       v-if="org_id != 10223 && org_id!=10375 && org_id!=10598"
2813
                     >
2826
                     >
2814
-                       <span v-if="org_id!=10460 ">
2815
-                          透析中入量(L):
2816
-                        </span>
2817
-                        <span v-if="org_id==10460">
2818
-                          透析中入量(ml):
2819
-                        </span>
2827
+
2820
                       <div
2828
                       <div
2821
                         class="under_line"
2829
                         class="under_line"
2822
                         style="width: 70px; text-align: center"
2830
                         style="width: 70px; text-align: center"
2827
                             : "/"
2835
                             : "/"
2828
                         }}
2836
                         }}
2829
                       </div>
2837
                       </div>
2838
+                      <span v-if="org_id!=10460">
2839
+                          透析中入量(L):
2840
+                        </span>
2841
+                        <span v-if="org_id==10460">
2842
+                          透析中入量(ml):
2843
+                        </span>
2830
                       {{ getUnit(afterdialysis.dialysis_intakes_unit) }}
2844
                       {{ getUnit(afterdialysis.dialysis_intakes_unit) }}
2831
                     </div>
2845
                     </div>
2832
 
2846
 
2842
                             : "/"
2856
                             : "/"
2843
                         }}
2857
                         }}
2844
                       </div>
2858
                       </div>
2845
-                      <span v-if="org_id!=9675&&org_id!=10447"> ml</span>
2846
-                      <span v-if="org_id ==9675||org_id==10447">L</span>
2859
+                      <span v-if="org_id!=9675&&org_id!=10447 &&org_id!=10624"> ml</span>
2860
+                      <span v-if="org_id ==9675||org_id==10447 || org_id==10624">L</span>
2847
                     </div>
2861
                     </div>
2848
                   </div>
2862
                   </div>
2849
                   <div
2863
                   <div
3011
                     </div>
3025
                     </div>
3012
                   </div>
3026
                   </div>
3013
                   <div
3027
                   <div
3014
-                    v-if="org_id!=10460"
3028
+                    v-if="org_id!=10460 &&org_id!=10624"
3015
                     class="row"
3029
                     class="row"
3016
                     style="padding: 2px 0; line-height: 23px; display: flex"
3030
                     style="padding: 2px 0; line-height: 23px; display: flex"
3017
                   >
3031
                   >

+ 42 - 18
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

277
                                   <el-input style="width:50%;" @input="searchAction"
277
                                   <el-input style="width:50%;" @input="searchAction"
278
                                             @keyup.enter.native='searchAction'
278
                                             @keyup.enter.native='searchAction'
279
                                             v-model.trim="search_keyword"
279
                                             v-model.trim="search_keyword"
280
-                                            placeholder="请输入药品名字"></el-input>
280
+                                            placeholder="请输入药品名字" :clearable="true"></el-input>
281
                                   <el-select style="margin-left:5px;width:50%;" v-model="value" placeholder=""
281
                                   <el-select style="margin-left:5px;width:50%;" v-model="value" placeholder=""
282
                                              @change="changeKind">
282
                                              @change="changeKind">
283
                                       <el-option
283
                                       <el-option
393
                                   <el-input style="width:50%;" @input="searchProjectAction"
393
                                   <el-input style="width:50%;" @input="searchProjectAction"
394
                                             @keyup.enter.native='searchProjectAction'
394
                                             @keyup.enter.native='searchProjectAction'
395
                                             v-model.trim="search_project_keyword"
395
                                             v-model.trim="search_project_keyword"
396
-                                            placeholder="请输入项目名称"></el-input>
396
+                                            placeholder="请输入项目名称" :clearable="true"></el-input>
397
 
397
 
398
                                   <el-select style="float: right;width: 49%;" v-model="value" placeholder=""
398
                                   <el-select style="float: right;width: 49%;" v-model="value" placeholder=""
399
                                              @change="changeClass">
399
                                              @change="changeClass">
1752
       }
1752
       }
1753
       this.$refs.additionalCharges.hide()
1753
       this.$refs.additionalCharges.hide()
1754
 
1754
 
1755
-    }, searchProjectAction() {
1755
+    }, 
1756
+    // 项目
1757
+    searchProjectAction() {
1756
       console.log('~~~~',this.search_project_keyword)
1758
       console.log('~~~~',this.search_project_keyword)
1757
-      console.log('5555',this.tabProject)
1758
-      console.log('6666',this.allProject)
1759
-      // console.log('4444',this.tabProject[1].first_letter.indexOf(this.search_project_keyword) != -1)
1759
+      const tabProjects = this.allProject
1760
+      console.log('4444',tabProjects)
1760
       if (this.search_project_keyword.length == 0) {
1761
       if (this.search_project_keyword.length == 0) {
1761
         this.tabProject = this.allProject
1762
         this.tabProject = this.allProject
1762
       } else {
1763
       } else {
1763
         let arr = []
1764
         let arr = []
1764
-        for (let i = 0; i < this.tabProject.length; i++) {
1765
+
1766
+        for (let i = 0; i < tabProjects.length; i++) {
1765
             // console.log('4444',this.tabProject[i].first_letter.indexOf(this.search_project_keyword) != -1)
1767
             // console.log('4444',this.tabProject[i].first_letter.indexOf(this.search_project_keyword) != -1)
1766
-            if (this.tabProject[i].project_name.indexOf(this.search_project_keyword) != -1 ||
1767
-            this.tabProject[i].first_letter.indexOf(this.search_project_keyword) !=-1) {
1768
-              arr = arr.concat(this.tabProject[i])
1768
+            if (tabProjects[i].project_name.indexOf(this.search_project_keyword) != -1 ||
1769
+                tabProjects[i].first_letter.indexOf(this.search_project_keyword) !=-1) {
1770
+              arr = arr.concat(tabProjects[i])
1769
             }
1771
             }
1770
 
1772
 
1771
         }
1773
         }
1774
+
1775
+        // for (let i = 0; i < this.tabProject.length; i++) {
1776
+        //     // console.log('4444',this.tabProject[i].first_letter.indexOf(this.search_project_keyword) != -1)
1777
+        //     if (this.tabProject[i].project_name.indexOf(this.search_project_keyword) != -1 ||
1778
+        //     this.tabProject[i].first_letter.indexOf(this.search_project_keyword) !=-1) {
1779
+        //       arr = arr.concat(this.tabProject[i])
1780
+        //     }
1781
+
1782
+        // }
1772
         this.tabProject = arr
1783
         this.tabProject = arr
1773
         console.log('kkkk',this.tabProject);
1784
         console.log('kkkk',this.tabProject);
1774
       }
1785
       }
1788
       }
1799
       }
1789
 
1800
 
1790
     },
1801
     },
1802
+    // 药品
1791
     searchAction() {
1803
     searchAction() {
1804
+      const drug2 =this.allDrugs
1805
+      console.log('this.allDrugs',drug2);
1792
       if (this.search_keyword.length == 0) {
1806
       if (this.search_keyword.length == 0) {
1793
         this.drugs = this.allDrugs
1807
         this.drugs = this.allDrugs
1794
       } else {
1808
       } else {
1809
+       
1795
         let arr = []
1810
         let arr = []
1796
-        for (let i = 0; i < this.drugs.length; i++) {
1797
-          if (this.drugs[i].drug_name.indexOf(this.search_keyword) != -1 ||
1798
-           this.drugs[i].wubi.indexOf(this.search_keyword) != -1 ||
1799
-           this.drugs[i].pinyin.indexOf(this.search_keyword) != -1 ||
1800
-           this.drugs[i].first_letter.indexOf(this.search_keyword) != -1
1811
+        for (let i = 0; i < drug2.length; i++) {
1812
+          if (drug2[i].drug_name.indexOf(this.search_keyword) != -1 ||
1813
+            drug2[i].wubi.indexOf(this.search_keyword) != -1 ||
1814
+            drug2[i].pinyin.indexOf(this.search_keyword) != -1 ||
1815
+            drug2[i].first_letter.indexOf(this.search_keyword) != -1
1801
            ) {
1816
            ) {
1802
-            arr = arr.concat(this.drugs[i])
1817
+            arr = arr.concat(drug2[i])
1803
           }
1818
           }
1804
         }
1819
         }
1820
+        // for (let i = 0; i < this.drugs.length; i++) {
1821
+        //   if (this.drugs[i].drug_name.indexOf(this.search_keyword) != -1 ||
1822
+        //    this.drugs[i].wubi.indexOf(this.search_keyword) != -1 ||
1823
+        //    this.drugs[i].pinyin.indexOf(this.search_keyword) != -1 ||
1824
+        //    this.drugs[i].first_letter.indexOf(this.search_keyword) != -1
1825
+        //    ) {
1826
+        //     arr = arr.concat(this.drugs[i])
1827
+        //   }
1828
+        // }
1805
         this.drugs = arr
1829
         this.drugs = arr
1806
-
1807
       }
1830
       }
1808
 
1831
 
1809
     },
1832
     },
3877
       getHisProject().then(response => {
3900
       getHisProject().then(response => {
3878
         if (response.data.state == 1) {
3901
         if (response.data.state == 1) {
3879
           var project = response.data.data.project
3902
           var project = response.data.data.project
3903
+          // this.tabProject = project
3904
+          console.log('zzzzzzzzzz',project);
3880
           for (let i = 0; i < project.length; i++) {
3905
           for (let i = 0; i < project.length; i++) {
3881
             let obj = {
3906
             let obj = {
3882
               id: project[i].id,
3907
               id: project[i].id,
3899
               bbx01:project[i].bbx01,
3924
               bbx01:project[i].bbx01,
3900
               zuobiao_stock_num:0,
3925
               zuobiao_stock_num:0,
3901
               number:""
3926
               number:""
3902
-
3903
             }
3927
             }
3904
             this.tabProject.push(obj)
3928
             this.tabProject.push(obj)
3905
           }
3929
           }

+ 31 - 1
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue View File

6
             <el-table-column align="center" prop="day" width="70" label="序号" fixed>
6
             <el-table-column align="center" prop="day" width="70" label="序号" fixed>
7
                 <template slot-scope="scope">
7
                 <template slot-scope="scope">
8
                     <div style="display:flex;align-items:center;">
8
                     <div style="display:flex;align-items:center;">
9
-                        <el-input :disabled="prescription.is_medicine_status" v-model="scope.row.groupno" placeholder=""></el-input>
9
+                        <el-input :disabled="prescription.is_medicine_status" v-model="scope.row.groupno" placeholder="" @input="getAllIndex(scope.row)"></el-input>
10
                     </div>
10
                     </div>
11
                 </template>
11
                 </template>
12
             </el-table-column>
12
             </el-table-column>
716
         }
716
         }
717
         return num
717
         return num
718
       },
718
       },
719
+      getAllIndex(val){
720
+        console.log("val",val)
721
+        console.log("prescription.advices",this.prescription.advices)
722
+        var obj = {id:0,day:"",delivery_way:"",execution_frequency:""}
723
+        if(this.prescription.advices!=null && this.prescription.advices.length>0){
724
+           for(let i=0;i<this.prescription.advices.length;i++){
725
+            console.log("this.prescription.advices[i].groupno",this.prescription.advices[i].groupno)
726
+            if(parseInt(val.groupno) == parseInt(this.prescription.advices[i].groupno) && parseInt(val.id)!= parseInt(this.prescription.advices[i].id)){
727
+              console.log("this.prescription.advices[i]",this.prescription.advices[i])
728
+               obj.id = val.id
729
+               obj.day = this.prescription.advices[i].day
730
+               obj.delivery_way = this.prescription.advices[i].delivery_way
731
+               obj.execution_frequency = this.prescription.advices[i].execution_frequency
732
+               console.log("-----------------",obj)
733
+             }
734
+           }
735
+        }
736
+        console.log("-----------------",obj)
737
+
738
+        if(this.prescription.advices!=null && this.prescription.advices.length>0){
739
+           for(let i=0;i<this.prescription.advices.length;i++){
740
+            if(obj.id == parseInt(val.id)){
741
+              this.prescription.advices[i].delivery_way = obj.delivery_way
742
+              this.prescription.advices[i].execution_frequency =obj.execution_frequency
743
+              this.prescription.advices[i].day = obj.day
744
+             }
745
+           }
746
+        }
747
+        console.log("hahhhahdhha",this.prescription.advices)
748
+      },
719
 
749
 
720
     }, mounted() {
750
     }, mounted() {
721
       this.getInitData()
751
       this.getInitData()

+ 12 - 4
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

6
     <div class="app-container" style="display:flex;flex: 1;padding: 10px 20px 0px 20px;">
6
     <div class="app-container" style="display:flex;flex: 1;padding: 10px 20px 0px 20px;">
7
       <div class="mainLeft">
7
       <div class="mainLeft">
8
 
8
 
9
-
10
         <el-date-picker
9
         <el-date-picker
11
           v-model="record_date"
10
           v-model="record_date"
12
           prefix-icon="el-icon-date"
11
           prefix-icon="el-icon-date"
313
           <checkPrint ref="checkPrint" v-if="selecting_schs3.length > 0" :paramsObj='paramsObj3'
312
           <checkPrint ref="checkPrint" v-if="selecting_schs3.length > 0" :paramsObj='paramsObj3'
314
                       :newHisPatient="hisPatientInfo"></checkPrint>
313
                       :newHisPatient="hisPatientInfo"></checkPrint>
315
         </div>
314
         </div>
316
-
315
+        <template>
316
+          <el-button
317
+            style="float:right;"
318
+            size="small"
319
+            icon="el-icon-printer"
320
+            @click="printThisPage"
321
+            type="primary"
322
+          >打印
323
+          </el-button
324
+          >
325
+        </template>
317
       </el-dialog>
326
       </el-dialog>
318
       <span slot="footer" class="dialog-footer">
327
       <span slot="footer" class="dialog-footer">
319
         <el-button @click="centerDialogVisible = false">取 消</el-button>
328
         <el-button @click="centerDialogVisible = false">取 消</el-button>
510
           </div>
519
           </div>
511
         </div>
520
         </div>
512
       </div>
521
       </div>
513
-
514
       <span slot="footer" class="dialog-footer">
522
       <span slot="footer" class="dialog-footer">
515
         <el-button @click="startVisibility = false">取 消</el-button>
523
         <el-button @click="startVisibility = false">取 消</el-button>
516
       </span>
524
       </span>
983
 
991
 
984
           //排班
992
           //排班
985
           for (let i = 0; i < response.data.data.list_two.length; i++) {
993
           for (let i = 0; i < response.data.data.list_two.length; i++) {
986
-            console.log('hahhahahahahahahah', response.data.data.list_two)
994
+            // console.log('hahhahahahahahahah', response.data.data.list_two)
987
             //未就诊
995
             //未就诊
988
             if (response.data.data.list_two[i].prescription.length == 0 && response.data.data.list_two[i].his_patient.id == 0) {
996
             if (response.data.data.list_two[i].prescription.length == 0 && response.data.data.list_two[i].his_patient.id == 0) {
989
               let obj = {
997
               let obj = {

+ 19 - 9
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue View File

613
 
613
 
614
           }
614
           }
615
 
615
 
616
+          console.log("数据wwwwwwwwwwwww",this.prescriptions[i].project)
617
+          
616
           for (let b = 0; b < this.prescriptions[i].project.length; b++) {
618
           for (let b = 0; b < this.prescriptions[i].project.length; b++) {
619
+            this.prescriptions[i].project[b].single_dose = this.prescriptions[i].project[b].single_dose.toString()
617
             this.prescriptions[i].project[b].price = this.prescriptions[i].project[b].price.toString()
620
             this.prescriptions[i].project[b].price = this.prescriptions[i].project[b].price.toString()
618
             this.prescriptions[i].project[b].total = this.prescriptions[i].project[b].total.toString()
621
             this.prescriptions[i].project[b].total = this.prescriptions[i].project[b].total.toString()
619
             this.prescriptions[i].project[b].delivery_way = this.prescriptions[i].project[b].delivery_way.toString()
622
             this.prescriptions[i].project[b].delivery_way = this.prescriptions[i].project[b].delivery_way.toString()
620
 
623
 
621
             this.prescriptions[i].project[b].day_count = parseInt(this.prescriptions[i].project[b].day_count)
624
             this.prescriptions[i].project[b].day_count = parseInt(this.prescriptions[i].project[b].day_count)
622
             this.prescriptions[i].project[b].frequency_type = parseInt(this.prescriptions[i].project[b].frequency_type)
625
             this.prescriptions[i].project[b].frequency_type = parseInt(this.prescriptions[i].project[b].frequency_type)
623
-            this.prescriptions[i].project[b].week_day = this.prescriptions[i].project[b].week_day.toString()
626
+            this.prescriptions[i].project[b].week_day = this.prescriptions[i].project[b].number_days.toString()
624
 
627
 
625
           }
628
           }
626
         }
629
         }
627
         let data = {
630
         let data = {
628
           'prescriptions': this.prescriptions
631
           'prescriptions': this.prescriptions
629
         }
632
         }
630
-
633
+        console.log("paramoowowowowoowowowowowowowow",data)
634
+       
631
         createdTemplate(params, data).then(response => {
635
         createdTemplate(params, data).then(response => {
632
           if (response.data.state == 1) {
636
           if (response.data.state == 1) {
633
             this.$message.success('保存成功')
637
             this.$message.success('保存成功')
1507
       },
1511
       },
1508
 
1512
 
1509
       comfirm() {
1513
       comfirm() {
1514
+        console.log("temlist",this.teamList)
1510
         // if (this.curPrescriptions.order_status == 2) {
1515
         // if (this.curPrescriptions.order_status == 2) {
1511
         //   this.$message.error('该处方已经结算,无法继续添加药品或者项目')
1516
         //   this.$message.error('该处方已经结算,无法继续添加药品或者项目')
1512
         //   this.teamList = []
1517
         //   this.teamList = []
1733
                   type: temp2[b].type,
1738
                   type: temp2[b].type,
1734
                   frequency_type: 1,
1739
                   frequency_type: 1,
1735
                   day_count: 0,
1740
                   day_count: 0,
1736
-                  week_day: ''
1741
+                  week_day:temp2[b].number_days
1737
                 }
1742
                 }
1738
                 if (temp2[b].type == 2) {
1743
                 if (temp2[b].type == 2) {
1739
                   obj['project'] = temp2[b].project
1744
                   obj['project'] = temp2[b].project
1784
           }
1789
           }
1785
         }
1790
         }
1786
         this.teamList = selection
1791
         this.teamList = selection
1787
-      }, getPrescriptionTemplateInfo() {
1792
+      }, 
1793
+      getPrescriptionTemplateInfo() {
1788
         let params = {
1794
         let params = {
1789
           id: this.$route.query.id
1795
           id: this.$route.query.id
1790
         }
1796
         }
1797
             if (response.data.data.template.id > 0) {
1803
             if (response.data.data.template.id > 0) {
1798
               this.tempForm.name = response.data.data.template.name
1804
               this.tempForm.name = response.data.data.template.name
1799
               this.tempForm.mode_id = response.data.data.template.mode
1805
               this.tempForm.mode_id = response.data.data.template.mode
1806
+              console.log("数据woowowowo",response.data.data.prescriptions)
1800
               for (let i = 0; i < response.data.data.prescriptions.length; i++) {
1807
               for (let i = 0; i < response.data.data.prescriptions.length; i++) {
1801
                 var prescription = response.data.data.prescriptions[i]
1808
                 var prescription = response.data.data.prescriptions[i]
1802
                 let tempAdvice = []
1809
                 let tempAdvice = []
1852
                         type: prescription.project[b].type,
1859
                         type: prescription.project[b].type,
1853
                         frequency_type: prescription.project[b].frequency_type,
1860
                         frequency_type: prescription.project[b].frequency_type,
1854
                         day_count: prescription.project[b].day_count,
1861
                         day_count: prescription.project[b].day_count,
1855
-                        week_day: prescription.project[b].week_day
1856
-
1862
+                        week_day: prescription.project[b].week_day,
1863
+                        number_days:prescription.project[b].week_day
1857
 
1864
 
1858
                       }
1865
                       }
1859
 
1866
 
1893
                           type: prescription.project[b].type,
1900
                           type: prescription.project[b].type,
1894
                           frequency_type: prescription.project[b].frequency_type,
1901
                           frequency_type: prescription.project[b].frequency_type,
1895
                           day_count: prescription.project[b].day_count,
1902
                           day_count: prescription.project[b].day_count,
1896
-                          week_day: prescription.project[b].week_day
1903
+                          week_day: prescription.project[b].week_day,
1904
+                          number_days:prescription.project[b].week_day
1897
 
1905
 
1898
                         }
1906
                         }
1899
 
1907
 
1930
                         type: prescription.project[b].type,
1938
                         type: prescription.project[b].type,
1931
                         frequency_type: prescription.project[b].frequency_type,
1939
                         frequency_type: prescription.project[b].frequency_type,
1932
                         day_count: prescription.project[b].day_count,
1940
                         day_count: prescription.project[b].day_count,
1933
-                        week_day: prescription.project[b].week_day
1941
+                        week_day: prescription.project[b].week_day,
1942
+                        number_days:prescription.project[b].week_day
1934
 
1943
 
1935
 
1944
 
1936
                       }
1945
                       }
1971
                           type: prescription.project[b].type,
1980
                           type: prescription.project[b].type,
1972
                           frequency_type: prescription.project[b].frequency_type,
1981
                           frequency_type: prescription.project[b].frequency_type,
1973
                           day_count: prescription.project[b].day_count,
1982
                           day_count: prescription.project[b].day_count,
1974
-                          week_day: prescription.project[b].week_day
1983
+                          week_day: prescription.project[b].week_day,
1984
+                          number_days:prescription.project[b].week_day
1975
 
1985
 
1976
                         }
1986
                         }
1977
 
1987
 

+ 10 - 13
src/xt_pages/outpatientDoctorStation/template/prinSeven.vue View File

136
                         &nbsp;&nbsp;<span>
136
                         &nbsp;&nbsp;<span>
137
                           {{ it.execution_frequency }}&nbsp;{{
137
                           {{ it.execution_frequency }}&nbsp;{{
138
                             it.delivery_way
138
                             it.delivery_way
139
-                          }}&nbsp;</span>&nbsp;&nbsp;<span>{{ it.advice_desc}}</span>
139
+                          }}&nbsp;共{{ it.day}}天</span>&nbsp;&nbsp;<span>{{ it.advice_desc}}</span>
140
                       </template>
140
                       </template>
141
                     </div>
141
                     </div>
142
 
142
 
195
                         &nbsp;&nbsp;<span>
195
                         &nbsp;&nbsp;<span>
196
                           {{ it.execution_frequency }}&nbsp;{{
196
                           {{ it.execution_frequency }}&nbsp;{{
197
                             it.delivery_way
197
                             it.delivery_way
198
-                          }}&nbsp;</span>&nbsp;&nbsp;<span>{{ it.advice_desc}}</span>
198
+                          }}&nbsp;共{{ it.day}}天</span><span>{{ it.advice_desc}} </span>
199
                       </template>
199
                       </template>
200
                     </div>
200
                     </div>
201
 
201
 
404
             <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
404
             <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
405
           </div> -->
405
           </div> -->
406
           <div  style="border-bottom: 2px solid #000; width: 100%;margin-right: 30px;padding: 0 10px;line-height: 24px;" >
406
           <div  style="border-bottom: 2px solid #000; width: 100%;margin-right: 30px;padding: 0 10px;line-height: 24px;" >
407
-            <p style="text-align: right;">医师:{{ item.creator ? item.creator : "" }}</p>
407
+            <p style="text-align: right;">医师:{{ item.doctor ? item.doctor : "" }}</p>
408
           </div>
408
           </div>
409
           <!-- <div style="display: flex;justify-content: space-around;border-bottom: 2px solid #000;">
409
           <!-- <div style="display: flex;justify-content: space-around;border-bottom: 2px solid #000;">
410
             <p style="width:300px;">大额处方患者意见:
410
             <p style="width:300px;">大额处方患者意见:
558
     },
558
     },
559
     getPrescriptionPrint() {
559
     getPrescriptionPrint() {
560
       var params = {
560
       var params = {
561
-        // patient_id:this.patient_id,
562
-        // record_date:this.record_date,
563
-        // prescription_id:this.prescription_id,
564
         patient_id: this.patient_id,
561
         patient_id: this.patient_id,
565
         record_date: this.record_date,
562
         record_date: this.record_date,
566
         prescription_id: this.prescription_id,
563
         prescription_id: this.prescription_id,
567
         ids: this.ids,
564
         ids: this.ids,
568
         p_type: 2,
565
         p_type: 2,
569
       };
566
       };
570
-      console.log("params", params);
571
       getPrescriptionPrint(params).then((response) => {
567
       getPrescriptionPrint(params).then((response) => {
572
         if (response.data.state == 1) {
568
         if (response.data.state == 1) {
573
           var advicePrint = response.data.data.advicePrint;
569
           var advicePrint = response.data.data.advicePrint;
574
           console.log("adviceprint9999", advicePrint);
570
           console.log("adviceprint9999", advicePrint);
571
+          console.log("response.data.data", response.data.data);
575
           this.advicePrint = advicePrint;
572
           this.advicePrint = advicePrint;
576
           this.prescriptions = advicePrint;
573
           this.prescriptions = advicePrint;
577
 
574
 
602
           }
599
           }
603
         }
600
         }
604
 
601
 
605
-          console.log('4444444',this.advicePrint);
602
+          // console.log('4444444',this.advicePrint);
606
         //  console.log('55555555',this.arr);
603
         //  console.log('55555555',this.arr);
607
 
604
 
608
-          console.log(this.doctorList_1, "医生列表");
605
+          // console.log(this.doctorList_1, "医生列表");
609
           if (this.doctorList_1.length > 0) {
606
           if (this.doctorList_1.length > 0) {
610
             var operatorsLen = this.doctorList_1.length;
607
             var operatorsLen = this.doctorList_1.length;
611
             for (var index = 0; index < operatorsLen; index++) {
608
             for (var index = 0; index < operatorsLen; index++) {
617
             }
614
             }
618
           }
615
           }
619
 
616
 
620
-          console.log("处方222222", this.prescriptions);
617
+          // console.log("处方222222", this.prescriptions);
621
           var hisPatient = response.data.data.hisPatient;
618
           var hisPatient = response.data.data.hisPatient;
622
-          console.log("hisPatient", hisPatient);
619
+          // console.log("hisPatient", hisPatient);
623
           this.hisPatient = hisPatient;
620
           this.hisPatient = hisPatient;
624
           var projectlist = response.data.data.projectlist;
621
           var projectlist = response.data.data.projectlist;
625
-          console.log("所有项目列表", projectlist);
622
+          // console.log("所有项目列表", projectlist);
626
           this.projectList = projectlist;
623
           this.projectList = projectlist;
627
         }
624
         }
628
       });
625
       });
658
       return name;
655
       return name;
659
     },
656
     },
660
     getTotalOne(id) {
657
     getTotalOne(id) {
661
-      console.log('999999999',this.prescriptions);
658
+      // console.log('999999999',this.prescriptions);
662
       var total = 0;
659
       var total = 0;
663
       var addtotal = 0;
660
       var addtotal = 0;
664
       var zimuyao = 0;
661
       var zimuyao = 0;

+ 3 - 2
src/xt_pages/user/components/PatientDetail.vue View File

1224
             <div class="print_footnote_panel">
1224
             <div class="print_footnote_panel">
1225
               <div class="proj">
1225
               <div class="proj">
1226
                 <span class="proj_title">日期:</span>
1226
                 <span class="proj_title">日期:</span>
1227
-                <!-- {{ getTime(patientPrint.created_time) }} -->
1228
-                <span v-if="org_id == 3907 || org_id == 9671|| org_id == 9675 || org_id == 10394">{{
1227
+               
1228
+                <span v-if="org_id == 3907 || org_id == 9671|| org_id == 9675 || org_id == 10394 || org_id ==10612 || org_id == 0">{{
1229
                   getTime(patientPrint.created_time)
1229
                   getTime(patientPrint.created_time)
1230
                 }}</span>
1230
                 }}</span>
1231
                 <span v-else>{{ printDate }}</span>
1231
                 <span v-else>{{ printDate }}</span>
1232
+              
1232
               </div>
1233
               </div>
1233
               <div class="proj">
1234
               <div class="proj">
1234
                  <span class="proj_title">医生签名:
1235
                  <span class="proj_title">医生签名: