Просмотр исходного кода

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

yq1 10 месяцев назад
Родитель
Сommit
deef8058f0

+ 2 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue Просмотреть файл

@@ -170,13 +170,13 @@
170 170
         </li> -->
171 171
 
172 172
 
173
-        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597 && this.$store.getters.xt_user.template_info.org_id != 10571  && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598">
173
+        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597 && this.$store.getters.xt_user.template_info.org_id != 10571  && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679">
174 174
           <label>处方脱水量 : </label>
175 175
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
176 176
           <span class="unit">{{ prescription_water != "0" ? "ml" : "" }}</span>
177 177
         </li>
178 178
 
179
-        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 ||  this.$store.getters.xt_user.template_info.org_id == 10571 || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10598 ">
179
+        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 ||  this.$store.getters.xt_user.template_info.org_id == 10571 || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10598 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10679">
180 180
           <label>处方脱水量 : </label>
181 181
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
182 182
           <span class="unit">{{ prescription_water != "0" ? "L" : "" }}</span>

+ 1 - 1
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue Просмотреть файл

@@ -1749,7 +1749,7 @@ export default {
1749 1749
           }
1750 1750
       }
1751 1751
 
1752
-      if(this.$store.getters.xt_user.org.id == 10579  || this.$store.getters.xt_user.org.id == 10585 || this.$store.getters.xt_user.org.id == 10587 || this.$store.getters.xt_user.org.id == 10597 || this.$store.getters.xt_user.org.id == 10551){
1752
+      if(this.$store.getters.xt_user.org.id == 10579  || this.$store.getters.xt_user.org.id == 10585 || this.$store.getters.xt_user.org.id == 10587 || this.$store.getters.xt_user.org.id == 10597 || this.$store.getters.xt_user.org.id == 10551 || this.$store.getters.xt_user.org.id == 10679){
1753 1753
         var date = new Date()
1754 1754
           var year = date.getFullYear()
1755 1755
           var month = date.getMonth() + 1

+ 2 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Просмотреть файл

@@ -143,7 +143,7 @@
143 143
                     </el-col>
144 144
 
145 145
                     <el-col :span="8"
146
-                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597&& this.$store.getters.xt_user.template_info.org_id != 10571 && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598">
146
+                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597&& this.$store.getters.xt_user.template_info.org_id != 10571 && this.$store.getters.xt_user.template_info.org_id != 10612 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679">
147 147
                         <el-form-item label="处方脱水量(ml):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
148 148
                             <el-input
149 149
                                     type="number"
@@ -153,7 +153,7 @@
153 153
                     </el-col>
154 154
 
155 155
                     <el-col :span="8"
156
-                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id ==10571 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10598">
156
+                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id ==10571 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10598 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10677 || this.$store.getters.xt_user.template_info.org_id==10679">
157 157
                         <el-form-item label="处方脱水量(L):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
158 158
                             <el-input
159 159
                                     type="number"

+ 13 - 10
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Просмотреть файл

@@ -268,7 +268,7 @@
268 268
                 org_id == 10599 || 
269 269
                 org_id == 10612 ||
270 270
                 org_id == 10617 ||
271
-                org_id ==10580 || org_id ==10629) &&
271
+                org_id ==10580 || org_id ==10629 || org_id==10677) &&
272 272
                 org_id!=10387
273 273
             "
274 274
           >
@@ -339,7 +339,7 @@
339 339
               && org_id!=10432 && org_id!=10445
340 340
               && org_id!=10410 && org_id!=10495 &&
341 341
                org_id!=10485 && org_id!=10395 && org_id!=10375
342
-               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629)
342
+               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677)
343 343
               || org_id == 10387
344 344
             "
345 345
           >
@@ -395,7 +395,7 @@
395 395
                 org_id == 10410 ||
396 396
                 org_id == 10495  ||
397 397
                 org_id == 10395
398
-                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id==10617 || org_id ==10580 || org_id ==10629)
398
+                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id==10617 || org_id ==10580 || org_id ==10629 || org_id ==10677)
399 399
                 && org_id!=10387
400 400
             "
401 401
           >
@@ -448,7 +448,7 @@
448 448
               org_id!=10432 &&
449 449
               org_id!=10445 &&
450 450
               org_id!=10410 && org_id!=10495
451
-              && 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!=10617 && org_id!=10580 && org_id!=10629) ||
451
+              && 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!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677) ||
452 452
               org_id == 10387
453 453
             "
454 454
           >
@@ -511,7 +511,8 @@
511 511
                 org_id ==10445 ||
512 512
                 org_id ==10410 ||
513 513
                 org_id == 10395||
514
-                org_id == 10617
514
+                org_id == 10617 ||
515
+                org_id ==10677
515 516
 
516 517
                )&& org_id!=10598 && org_id!=10414
517 518
             "
@@ -542,7 +543,7 @@
542 543
               org_id !=10445 &&
543 544
               org_id!=10395 &&
544 545
               org_id !=10410 &&
545
-              org_id!=10617)|| org_id==10598 || org_id ==10414
546
+              org_id!=10617 && org_id!=10677)|| org_id==10598 || org_id ==10414
546 547
             "
547 548
           >
548 549
             <template slot-scope="scope">
@@ -1311,7 +1312,7 @@
1311 1312
                 org_id == 10599 ||
1312 1313
                 org_id ==10612 || 
1313 1314
                 org_id ==10617 || 
1314
-                org_id==10580 || org_id ==10629)
1315
+                org_id==10580 || org_id ==10629 || org_id == 10677)
1315 1316
                 && org_id!=10387
1316 1317
             "
1317 1318
           >
@@ -1378,7 +1379,8 @@
1378 1379
               org_id!=10612 &&
1379 1380
               org_id!=10617 &&
1380 1381
               org_id!=10580 &&
1381
-              org_id!=10629
1382
+              org_id!=10629 &&
1383
+              org_id!=10677
1382 1384
               )
1383 1385
               || org_id == 10387
1384 1386
             "
@@ -1423,7 +1425,8 @@
1423 1425
               org_id!=10445 &&
1424 1426
               org_id!=10410 &&
1425 1427
               org_id!=10395 &&
1426
-              org_id!=10617)
1428
+              org_id!=10617 &&
1429
+              org_id!=10677)
1427 1430
               || org_id ==10558 || org_id==10598
1428 1431
             "
1429 1432
           >
@@ -1451,7 +1454,7 @@
1451 1454
                 org_id==10445 ||
1452 1455
                 org_id==10410 ||
1453 1456
                 org_id==10395 || 
1454
-                org_id==10617) && org_id !=10558 && org_id!=10598 && org_id!=10414
1457
+                org_id==10617 || org_id==10677) && org_id !=10558 && org_id!=10598 && org_id!=10414
1455 1458
             "
1456 1459
           >
1457 1460
             <el-form-item label="置换率(ml/min):" :prop="isName('置换率')"

+ 6 - 6
src/xt_pages/dialysis/details/dialysisMonitoring.vue Просмотреть файл

@@ -15,14 +15,14 @@
15 15
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
16 16
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
17 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 == 10617  || this.$store.getters.xt_user.template_info.org_id == 10580  || this.$store.getters.xt_user.template_info.org_id == 10629) &&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!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629) || 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 == 10617 || this.$store.getters.xt_user.template_info.org_id == 10580 || this.$store.getters.xt_user.template_info.org_id == 10629) && 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!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 ) || 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 == 10617  || this.$store.getters.xt_user.template_info.org_id == 10580  || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677) &&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!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679) || 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 == 10617 || this.$store.getters.xt_user.template_info.org_id == 10580 || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677) && 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!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
22 22
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
23 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 ==10617) && org_id!=10558 && org_id!=10598 && org_id!=10414" width="92px" > 置换率(ml/min) </th>
25
-          <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!=10617) || org_id == 10558 || org_id ==10598 || org_id ==10414" width="92px" > 置换率(L/h)  </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 ==10617 || org_id==10677) && org_id!=10558 && org_id!=10598 && org_id!=10414" width="92px" > 置换率(ml/min) </th>
25
+          <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!=10617  && org_id!=10677) || org_id == 10558 || org_id ==10598 || org_id ==10414" width="92px" > 置换率(L/h)  </th>
26 26
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
27 27
           <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191 && org_id!=10478 && org_id!=10346 && org_id!=10517) || org_id == 9779 || 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 || 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 ) && org_id!=10558 && org_id!=10598  && org_id!=10414" width="92px"  > 置换量(ml)  </th>
28 28
           <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id ==10346 || org_id ==10517) && org_id != 9779 && 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 && 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) || org_id == 10558 || org_id ==10598 || org_id ==10414" width="92px" > 置换量(L) </th>

+ 2 - 2
src/xt_pages/dialysis/details/index.vue Просмотреть файл

@@ -2521,7 +2521,7 @@ export default {
2521 2521
           newArr.sort(this.compare('created_time'))
2522 2522
         }
2523 2523
 
2524
-        if(this.org_id ==10579 || this.org_id == 0 || this.org_id ==10587 || this.org_id ==10571){
2524
+        if(this.org_id ==10579 || this.org_id == 0 || this.org_id ==10587 || this.org_id ==10571 || this.org_id ==10679){
2525 2525
           if(newArr!=null && newArr.length>0){
2526 2526
             for(let i=0;i<newArr.length;i++){
2527 2527
               newArr[i].sort =0
@@ -2700,7 +2700,7 @@ export default {
2700 2700
           newArr.sort(this.compare('created_time'))
2701 2701
         }
2702 2702
 
2703
-        if(this.org_id == 0 || this.org_id == 10579 || this.org_id ==10587){
2703
+        if(this.org_id == 0 || this.org_id == 10579 || this.org_id ==10587 || this.org_id == 10679){
2704 2704
           if(newArr!=null && newArr.length>0){
2705 2705
             for(let i=0;i<newArr.length;i++){
2706 2706
               newArr[i].sort =0

+ 2 - 2
src/xt_pages/role/admin.vue Просмотреть файл

@@ -227,12 +227,12 @@
227 227
           @click="toAutoDrug">自动生成</el-button> -->
228 228
 
229 229
 
230
-         <el-button
230
+         <!-- <el-button
231 231
           type="primary"
232 232
           size="small"
233 233
           icon="el-icon-circle-plus-outline"
234 234
           style="float:left"
235
-          @click="toAutoDiagnose">自动脚本</el-button>
235
+          @click="toAutoDiagnose">自动脚本</el-button> -->
236 236
 
237 237
         <!-- <el-button
238 238
           type="primary"

+ 115 - 2
src/xt_pages/user/dialysisRecord.vue Просмотреть файл

@@ -14,9 +14,19 @@
14 14
           @click="printThisInfo()"
15 15
           type="primary"
16 16
           icon="el-icon-printer"
17
-          >打印</el-button
17
+          >打印2</el-button
18 18
         >
19
-        <span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
19
+        
20
+        <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
21
+        <el-button
22
+          style="float:right;"
23
+          size="small"
24
+          @click="printThisInfoOne()"
25
+          type="primary"
26
+          icon="el-icon-printer"
27
+          >打印1</el-button
28
+        >
29
+        <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
20 30
         <el-button
21 31
           style="float:right;margin-right:20px"
22 32
           size="small"
@@ -414,6 +424,77 @@
414 424
         </div>
415 425
 
416 426
       </div>
427
+
428
+
429
+      <div style="display:none;">
430
+        <div id="printRecordOne" class="record-order">
431
+          <div class="rd-title">{{ orgname }}</div>
432
+          <div class="rd-name">
433
+            <span
434
+              >姓名:<span class="item-value">{{
435
+                currentPatient.name
436
+              }}</span></span
437
+            >
438
+            <span style="margin-left:10px;"
439
+              >透析号:<span class="item-value">{{
440
+                currentPatient.dialysis_no
441
+              }}</span></span
442
+            >
443
+            <span style="margin-left:10px;"
444
+              >性别:
445
+              <span class="item-value">
446
+                <span v-if="currentPatient.gender==1">男</span>
447
+                <span v-if="currentPatient.gender==2">女</span>
448
+              </span>
449
+             </span>
450
+
451
+            <span style="margin-left:10px;"
452
+              >年龄:<span class="item-value">{{
453
+                currentPatient.age
454
+              }}</span></span
455
+            >
456
+          </div>
457
+          <table
458
+            cellspacing="0"
459
+            cellpadding="0"
460
+            border="1"
461
+            class="el-table__body"
462
+            style="width: 100%;"
463
+          >
464
+            <thead>
465
+              <th>序号</th>
466
+              <th>透析日期</th>
467
+              <th>班次</th>
468
+              <th>分区机号</th>
469
+              <th>透析模式</th>
470
+              <th>透析用药</th>
471
+              <th>治疗护士</th>
472
+              <th>治疗医生</th>
473
+              <th>开始透析时间</th>
474
+              <th>结束透析时间</th>
475
+              <th>患者签名</th>
476
+            </thead>
477
+            <tbody>
478
+              <tr v-for="item,index in recordData" :key="item.id">
479
+                <td align="center">{{ index +1 }}</td>
480
+                <td align="center">{{ item.dialysis_date | parseTime("{y}-{m}-{d}") }}</td>
481
+                <td align="center">{{ scheduleType(item.schedule_type) }}</td>
482
+                <td align="center">{{ item.partition_name }}-{{ item.device.number }}</td>
483
+                <td align="center">{{ modeName(item.prescription.mode_id) }}</td>
484
+                <td align="center">{{ getAdviceStr(item.doctor_advice) }}</td>
485
+                <td align="center">{{ getNurseName(item.start_nurse) }}</td>
486
+                <td align="center">{{ getDoctorName(item.prescription.creater) }}</td>
487
+                <td align="center">{{ item.start_time | parseTime("{y}-{m}-{d} {h}:{i}")  }}</td>
488
+                <td align="center">{{ item.end_time | parseTime("{y}-{m}-{d} {h}:{i}")  }}</td>
489
+                <td align="center">
490
+                  <img :src="item.url" style="width: 50px;height:50px">
491
+                </td>
492
+              </tr>
493
+            </tbody>
494
+          </table>
495
+        </div>
496
+
497
+      </div>
417 498
     </div>
418 499
     <!-- 透析记录弹窗 -->
419 500
     <div>
@@ -679,6 +760,7 @@ export default {
679 760
       return "";
680 761
     },
681 762
     onTranPatient: function(tranPatient) {
763
+      
682 764
       this.currentPatient = tranPatient;
683 765
     },
684 766
     printThisInfo() {
@@ -693,6 +775,18 @@ export default {
693 775
         });
694 776
       }, 1);
695 777
     },
778
+    printThisInfoOne() {
779
+      const style =
780
+        "@media print { .record-order .rd-title{  text-align: center; font-weight: 600; font-size: 30px; line-height: 80px; margin-bottom: 20px; } .record-order .rd-type{ text-align: center;  margin-bottom: 20px; } .record-order .rd-name { align-items: center; justify-content: space-between; padding: 30px 2em; } .record-order .el-table__body{ border: 1px solid #333; } .record-order .el-table__body td{ border: 1px solid #333; } .record-order .item-value {  border-bottom: 1px solid #333; padding: 0 20px;} .record-order th, .record-order td {  padding: 5px 10px; }}";
781
+      setTimeout(() => {
782
+        printJS({
783
+          printable: "printRecordOne",
784
+          type: "html",
785
+          style: style,
786
+          scanStyles: false
787
+        });
788
+      }, 1);
789
+    },
696 790
     clickCurrent(val) {
697 791
 
698 792
       this.patient_id = val.patient_id
@@ -759,6 +853,25 @@ export default {
759 853
       return jsonData.map(v => filterVal.map(j => v[j]));
760 854
     },
761 855
 
856
+    getAdviceStr(arr){
857
+     
858
+      var advice_name_str = ""
859
+      var newArr = []
860
+      if(arr!=null && arr.length >0){
861
+        for(let i=0;i<arr.length;i++){
862
+           if(arr[i].advice_name.indexOf("促红")!=-1){
863
+              newArr.push(arr[i])
864
+           }
865
+        }
866
+      }
867
+      if(newArr!=null){
868
+        for(let i=0;i<newArr.length;i++){
869
+           advice_name_str += newArr[i].advice_name + "*"+ newArr[i].prescribing_number + newArr[i].prescribing_number_unit+ "  "
870
+        }
871
+      }
872
+      console.log("HHHHHHHHHHHHHHHHHHHHHHHHHHHHH",advice_name_str)
873
+      return advice_name_str
874
+    }
762 875
   },
763 876
   created() {
764 877
     const id = this.$route.params && this.$route.params.id;