Browse Source

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

陈少旭 6 months ago
parent
commit
b2aef61ecc

+ 13 - 0
src/router/modules/dialysis.js View File

1106
         noCache: true
1106
         noCache: true
1107
       }
1107
       }
1108
     },
1108
     },
1109
+    {//80
1110
+      path: '/dialysis/print/batch/eighty',
1111
+      component: () =>
1112
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_eighty'),
1113
+      hidden: true,
1114
+      is_menu: false,
1115
+      name: 'batch_print_order_eighty',
1116
+      meta: {
1117
+        title: '批量打印',
1118
+        noCache: true
1119
+      }
1120
+    },
1121
+    
1109
     {
1122
     {
1110
       path: '/dialysis/flow',
1123
       path: '/dialysis/flow',
1111
       component: () => import('@/xt_pages/dialysis/dialysisFlow'),
1124
       component: () => import('@/xt_pages/dialysis/dialysisFlow'),

File diff suppressed because it is too large
+ 2450 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue


+ 18 - 6
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

1208
                               : "/"
1208
                               : "/"
1209
                           }}
1209
                           }}
1210
                         </div>
1210
                         </div>
1211
-                        <span v-if="org_id!=10598"> ml</span>
1212
-                        <span v-if="org_id==10598"> L</span>
1211
+                        <span v-if="org_id!=10598 && org_id!=10471"> ml</span>
1212
+                        <span v-if="org_id==10598 || org_id ==10471"> L</span>
1213
                       </div>
1213
                       </div>
1214
                       <div class="inline_block" style="flex: 1">
1214
                       <div class="inline_block" style="flex: 1">
1215
                         干体重:
1215
                         干体重:
1406
                         <span v-if="record.prescription.anticoagulant == 15"
1406
                         <span v-if="record.prescription.anticoagulant == 15"
1407
                           >mg</span
1407
                           >mg</span
1408
                         >
1408
                         >
1409
+                        <span v-if="record.prescription.anticoagulant == 14"
1410
+                          >iu</span
1411
+                        >
1409
                         <span v-if="record.prescription.anticoagulant == 16"
1412
                         <span v-if="record.prescription.anticoagulant == 16"
1410
                           >mg</span
1413
                           >mg</span
1411
                         >
1414
                         >
1412
                         <span v-if="record.prescription.anticoagulant == 17"
1415
                         <span v-if="record.prescription.anticoagulant == 17"
1413
-                          >mg</span
1416
+                          >iu</span
1414
                         >
1417
                         >
1415
                       </div>
1418
                       </div>
1416
                       <div class="inline_block" style="margin-left: 20px">
1419
                       <div class="inline_block" style="margin-left: 20px">
1473
                         <span v-if="record.prescription.anticoagulant == 1"
1476
                         <span v-if="record.prescription.anticoagulant == 1"
1474
                           >mg/h</span
1477
                           >mg/h</span
1475
                         >
1478
                         >
1479
+                        <span v-if="record.prescription.anticoagulant == 14"
1480
+                          >iu/h</span
1481
+                        >
1476
                         <span v-if="record.prescription.anticoagulant == 15"
1482
                         <span v-if="record.prescription.anticoagulant == 15"
1477
                           >mg/h</span
1483
                           >mg/h</span
1478
                         >
1484
                         >
1480
                           >mg/h</span
1486
                           >mg/h</span
1481
                         >
1487
                         >
1482
                         <span v-if="record.prescription.anticoagulant == 17"
1488
                         <span v-if="record.prescription.anticoagulant == 17"
1483
-                          >mg/h</span
1489
+                          >iu/h</span
1484
                         >
1490
                         >
1485
                       </div>
1491
                       </div>
1486
                       <div class="inline_block" style="margin-left: 20px">
1492
                       <div class="inline_block" style="margin-left: 20px">
1523
                         <span v-if="record.prescription.anticoagulant == 1"
1529
                         <span v-if="record.prescription.anticoagulant == 1"
1524
                           >mg</span
1530
                           >mg</span
1525
                         >
1531
                         >
1532
+                        <span v-if="record.prescription.anticoagulant == 14"
1533
+                          >iu</span
1534
+                        >
1526
                         <span v-if="record.prescription.anticoagulant == 15"
1535
                         <span v-if="record.prescription.anticoagulant == 15"
1527
                           >mg</span
1536
                           >mg</span
1528
                         >
1537
                         >
1530
                           >mg</span
1539
                           >mg</span
1531
                         >
1540
                         >
1532
                         <span v-if="record.prescription.anticoagulant == 17"
1541
                         <span v-if="record.prescription.anticoagulant == 17"
1533
-                          >mg</span
1542
+                          >iu</span
1534
                         >
1543
                         >
1535
                       </div>
1544
                       </div>
1536
                       <div class="inline_block" style="margin-left: 20px">
1545
                       <div class="inline_block" style="margin-left: 20px">
1728
                           </td>
1737
                           </td>
1729
                           <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
1738
                           <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
1730
                           <td width="50" v-if=" org_id ==0 || org_id ==10489">超滤率<br />(ml/h)</td>
1739
                           <td width="50" v-if=" org_id ==0 || org_id ==10489">超滤率<br />(ml/h)</td>
1731
-                          <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id!=10600 && org_id!=10683">超滤量<br />(ml)</td>
1740
+                          <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id!=10600 && org_id!=10683">超滤量<br />
1741
+                            <span v-if="org_id!=10471"> (ml)</span>
1742
+                            <span v-if="org_id==10471">L</span>
1743
+                          </td>
1732
                           <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0">超滤率<br />(ml/h)</td>
1744
                           <td width="50" v-if="org_id == 10600 || org_id ==10683 || org_id ==0">超滤率<br />(ml/h)</td>
1733
                           <td width="50" v-if="org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1745
                           <td width="50" v-if="org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1734
                           <td
1746
                           <td

+ 34 - 4
src/xt_pages/dialysis/bloodPresssWatch.vue View File

519
           type="primary"
519
           type="primary"
520
           >批量打印</el-button>
520
           >批量打印</el-button>
521
       </template>
521
       </template>
522
+      <!-- this.org_id == 10206 || this.org_id ==0 || this.org_id==9671 -->
523
+      <!-- <template v-if="this.template_id == 80">
524
+        <el-button
525
+          size="small"
526
+          icon="el-icon-printer"
527
+          :disabled="selecting_schs.length == 0"
528
+          @click="batchPrintAction"
529
+          type="primary"
530
+          >批量打印80</el-button>
531
+      </template> -->
532
+      <template v-if="(this.org_id == 10206 || this.org_id ==0)&& this.template_id == 80">
533
+        <el-button
534
+          size="small"
535
+          icon="el-icon-printer"
536
+          :disabled="selecting_schs.length == 0"
537
+          @click="batchPrintAction"
538
+          type="primary"
539
+          >批量打印</el-button>
540
+      </template>
541
+
522
     </div>
542
     </div>
523
     <div class="app-container">
543
     <div class="app-container">
524
       <!-- <div class="filter-container">
544
       <!-- <div class="filter-container">
1892
     // this.template_id = this.$store.getters.xt_user.template_info.template_id;
1912
     // this.template_id = this.$store.getters.xt_user.template_info.template_id;
1893
   },
1913
   },
1894
   methods: {
1914
   methods: {
1895
-   
1915
+
1896
     printOrder(){
1916
     printOrder(){
1897
       this.$router.push({ path: "/dialysis/dialysisRecordPrint",query:{page:this.listQuery.page,limit:this.listQuery.limit,schedul_type:this.listQuery.schedul_type,partition_type:this.listQuery.partition_type,schedul_time:this.listQuery.schedul_time,keywords:this.listQuery.keywords,start_time:this.listQuery.start_time,end_time:this.listQuery.end_time}} );
1917
       this.$router.push({ path: "/dialysis/dialysisRecordPrint",query:{page:this.listQuery.page,limit:this.listQuery.limit,schedul_type:this.listQuery.schedul_type,partition_type:this.listQuery.partition_type,schedul_time:this.listQuery.schedul_time,keywords:this.listQuery.keywords,start_time:this.listQuery.start_time,end_time:this.listQuery.end_time}} );
1898
     },
1918
     },
1902
           this.$message.error(response.data.msg);
1922
           this.$message.error(response.data.msg);
1903
           return false;
1923
           return false;
1904
         } else {
1924
         } else {
1905
-          var template = response.data.data.template;
1906
-          this.template_id = template.template_id;
1907
-          console.log("templage-i233232323232322323233232323223",this.template_id)
1925
+          if(this.org_id == 10206 || this.org_id ==0){
1926
+            this.template_id = 80
1927
+            console.log("templage-i233232323232322323233232323223",this.template_id)
1928
+          }else{
1929
+            var template = response.data.data.template;
1930
+            this.template_id = template.template_id;
1931
+            
1932
+          }
1933
+          
1908
         }
1934
         }
1909
       });
1935
       });
1910
     },
1936
     },
2701
         this.$router.push({ path: "/dialysis/print/batch/fortyThree" });
2727
         this.$router.push({ path: "/dialysis/print/batch/fortyThree" });
2702
       } else if (this.template_id == 48) {
2728
       } else if (this.template_id == 48) {
2703
         this.$router.push({ path: "/dialysis/print/batch/fortyeight" });
2729
         this.$router.push({ path: "/dialysis/print/batch/fortyeight" });
2730
+        // this.$router.push({ path: "/dialysis/print/batch/eight" });
2704
       }else if (this.template_id == 51) {
2731
       }else if (this.template_id == 51) {
2705
         this.$router.push({ path: "/dialysis/print/batch/fiftyOne" });
2732
         this.$router.push({ path: "/dialysis/print/batch/fiftyOne" });
2706
       }else if (this.template_id == 53) {
2733
       }else if (this.template_id == 53) {
2741
         this.$router.push({ path: "/dialysis/print/batch/seventyeight" });
2768
         this.$router.push({ path: "/dialysis/print/batch/seventyeight" });
2742
       }else if (this.template_id == 79) {
2769
       }else if (this.template_id == 79) {
2743
         this.$router.push({ path: "/dialysis/print/batch/seventynine" });
2770
         this.$router.push({ path: "/dialysis/print/batch/seventynine" });
2771
+      }else if ((this.org_id == 10206 || this.org_id ==0)&& this.template_id == 80) {
2772
+        //  this.template_id == 80
2773
+        this.$router.push({ path: "/dialysis/print/batch/eighty" });
2744
       }
2774
       }
2745
     },
2775
     },
2746
     batchPrintActionOne: function() {
2776
     batchPrintActionOne: function() {

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

20
           <th v-if="isShow('血流量1')" width="92px">血流量(ml/min)</th>
20
           <th v-if="isShow('血流量1')" width="92px">血流量(ml/min)</th>
21
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
21
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
22
           <th v-if="isShow('跨膜压1')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
22
           <th v-if="isShow('跨膜压1')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
23
-          <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 == 10667 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635  || this.$store.getters.xt_user.template_info.org_id == 10702) &&this.$store.getters.xt_user.template_info.org_id!=10387 " width="76px" > 超滤量(ml)</th>
24
-          <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!=10667 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702) || this.$store.getters.xt_user.template_info.org_id == 10387"  width="76px"> 超滤量(L) </th>
23
+          <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 == 10667 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635  || this.$store.getters.xt_user.template_info.org_id == 10702) &&this.$store.getters.xt_user.template_info.org_id!=10387 &&this.$store.getters.xt_user.template_info.org_id!=10471 " width="76px" > 超滤量(ml)</th>
24
+          <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!=10667 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702) || this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10471"  width="76px"> 超滤量(L) </th>
25
           <th v-if=" isShow('超滤量1')"  width="76px"> 超滤量(ml) </th>
25
           <th v-if=" isShow('超滤量1')"  width="76px"> 超滤量(ml) </th>
26
           <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 == 10667 || this.$store.getters.xt_user.template_info.org_id == 10693 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10702) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
26
           <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 == 10667 || this.$store.getters.xt_user.template_info.org_id == 10693 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10702) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
27
           <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!=10667 && this.$store.getters.xt_user.template_info.org_id!=10693 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
27
           <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!=10667 && this.$store.getters.xt_user.template_info.org_id!=10693 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>

+ 42 - 8
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

988
         >
988
         >
989
         </div>
989
         </div>
990
       </template>
990
       </template>
991
-      <template v-if="org_template_info.template_id == 80">
991
+      <template v-if="org_template_info.template_id == 80 && (org_id == 10206 || org_id == 0)">
992
         <div>
992
         <div>
993
           <el-button
993
           <el-button
994
           :loading="loading"
994
           :loading="loading"
1000
         >
1000
         >
1001
         </div>
1001
         </div>
1002
       </template>
1002
       </template>
1003
+
1004
+      <!-- <template v-if="org_id == 10206 || org_id ==0 || org_id==9671 ">
1005
+        <div>
1006
+          <el-button
1007
+          :loading="loading"
1008
+          size="small"
1009
+          icon="el-icon-printer"
1010
+          @click="printThisPage"
1011
+          type="primary"
1012
+          >打印</el-button
1013
+        >
1014
+        </div>
1015
+      </template> -->
1016
+      
1003
     </div>
1017
     </div>
1004
     <div class="app-container" style="min-height: 0">
1018
     <div class="app-container" style="min-height: 0">
1005
       <!--<div class="order-print-btn"-->
1019
       <!--<div class="order-print-btn"-->
1522
           </DialysisPrintOrderSeventynine>
1536
           </DialysisPrintOrderSeventynine>
1523
 
1537
 
1524
           <DialysisPrintOrdereighty v-bind:childResponse="childResponse"
1538
           <DialysisPrintOrdereighty v-bind:childResponse="childResponse"
1525
-            v-if="org_template_info.template_id == 80">
1539
+            v-if="org_template_info.template_id == 80 && (org_id == 10206 || org_id == 0)">
1526
           </DialysisPrintOrdereighty>
1540
           </DialysisPrintOrdereighty>
1541
+          <!-- <DialysisPrintOrdereighty v-bind:childResponse="childResponse"
1542
+            v-if="org_id == 10206 || org_id == 0 || org_id==9671">
1543
+          </DialysisPrintOrdereighty> -->
1527
         </div>
1544
         </div>
1528
       </el-container>
1545
       </el-container>
1529
     </div>
1546
     </div>
1835
       zone_options: [{ id: 0, text: "全部" }],
1852
       zone_options: [{ id: 0, text: "全部" }],
1836
       zoneVal: 0,
1853
       zoneVal: 0,
1837
       x_tdate:'',
1854
       x_tdate:'',
1855
+      org_id:'',
1838
     };
1856
     };
1839
   },
1857
   },
1840
   methods: {
1858
   methods: {
2417
           style: style4,
2435
           style: style4,
2418
           scanStyles: false,
2436
           scanStyles: false,
2419
         });
2437
         });
2420
-      }else if (this.org_template_info.template_id == 80) {
2438
+      }
2439
+      else if (this.org_template_info.template_id == 80 && (this.org_id == 10206 || this.org_id ==0)) {
2440
+        console.log('this.org_template_info.template_id == 80',this.org_template_info.template_id);
2421
         printJS({
2441
         printJS({
2422
           printable: "dialysis-print-box-1",
2442
           printable: "dialysis-print-box-1",
2423
           type: "html",
2443
           type: "html",
2425
           scanStyles: false,
2445
           scanStyles: false,
2426
         });
2446
         });
2427
       }
2447
       }
2448
+      // else if (this.org_id == 10206 || this.org_id ==0 || org_id==9671) {
2449
+      //   printJS({
2450
+      //     printable: "dialysis-print-box-1",
2451
+      //     type: "html",
2452
+      //     style: style2,
2453
+      //     scanStyles: false,
2454
+      //   });
2455
+      // }
2428
        else if (this.org_template_info.template_id == 199 ) {
2456
        else if (this.org_template_info.template_id == 199 ) {
2429
         printJS({
2457
         printJS({
2430
           printable: "dialysis-print-box-1",
2458
           printable: "dialysis-print-box-1",
2626
     },
2654
     },
2627
     getDialysisRecord() {
2655
     getDialysisRecord() {
2628
       this.loading = true;
2656
       this.loading = true;
2629
-
2630
       getDialysisRecord(this.queryParams).then((response) => {
2657
       getDialysisRecord(this.queryParams).then((response) => {
2631
         if (response.data.state == 1) {
2658
         if (response.data.state == 1) {
2632
           this.childResponse = response;
2659
           this.childResponse = response;
2634
           this.date = response.data.data.patientInfo.DialysisSchedule.schedule_date
2661
           this.date = response.data.data.patientInfo.DialysisSchedule.schedule_date
2635
           this.patient_id = response.data.data.patientInfo.DialysisSchedule.patient_id
2662
           this.patient_id = response.data.data.patientInfo.DialysisSchedule.patient_id
2636
           this.patient_name = response.data.data.patientInfo.name
2663
           this.patient_name = response.data.data.patientInfo.name
2637
-          console.log('kkkkkkk222222',this.org_template_info);
2664
+          
2665
+          // this.org_template_info.template_id= response.data.data.org_template_info.template_id
2638
           // console.log('this.org_template_info是数据',response.data.data.org_template_info.template_id);
2666
           // console.log('this.org_template_info是数据',response.data.data.org_template_info.template_id);
2639
-          this.org_template_info = response.data.data.org_template_info;
2640
-           this.org_template_info.template_id= response.data.data.org_template_info.template_id
2667
+          if(this.org_id !=10206 &&this.org_id !=0){
2668
+            this.org_template_info.template_id= response.data.data.org_template_info.template_id
2669
+            this.org_template_info = response.data.data.org_template_info;
2670
+          }else{
2671
+            this.org_template_info = response.data.data.org_template_info;
2672
+            this.org_template_info.template_id= 80
2673
+          }
2674
+          console.log('kkkkkkk222222',this.org_template_info);
2641
           this.loading = false;
2675
           this.loading = false;
2642
           //   this.adminUser = response.data.data.users
2676
           //   this.adminUser = response.data.data.users
2643
           //   this.users = response.data.data.users
2677
           //   this.users = response.data.data.users
3294
     },
3328
     },
3295
   },
3329
   },
3296
   created() {
3330
   created() {
3331
+    this.org_id = this.$store.getters.xt_user.org.id
3297
     // console.log("this.$store.getters.xt_user.org.id",this.$store.getters.xt_user.org.id)
3332
     // console.log("this.$store.getters.xt_user.org.id",this.$store.getters.xt_user.org.id)
3298
     var schedule_type_selected = this.$store.getters.schedule_type_selected;
3333
     var schedule_type_selected = this.$store.getters.schedule_type_selected;
3299
     var zone_selected = this.$store.getters.zone_selected;
3334
     var zone_selected = this.$store.getters.zone_selected;
3357
       this.queryParams.xtdate = xtdate;
3392
       this.queryParams.xtdate = xtdate;
3358
       this.queryParams.xtno = xtno;
3393
       this.queryParams.xtno = xtno;
3359
       this.queryParams.patient_id = patient_id
3394
       this.queryParams.patient_id = patient_id
3360
-      // console.log('wwwwww121212',this.org_template_info.template_id);
3361
       this.getDialysisRecord();
3395
       this.getDialysisRecord();
3362
     } else {
3396
     } else {
3363
       this.$message.error("参数不齐");
3397
       this.$message.error("参数不齐");

+ 35 - 7
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

1444
                       <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg</span>
1444
                       <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg</span>
1445
                       <span v-if="org_id==9538&& prescription.anticoagulant == 2">u</span>
1445
                       <span v-if="org_id==9538&& prescription.anticoagulant == 2">u</span>
1446
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1446
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1447
-                      <span v-if="prescription.anticoagulant == 14">mg</span>
1447
+                      <span v-if="prescription.anticoagulant == 14">
1448
+                       <span v-if="org_id!=10644">mg</span> 
1449
+                       <span v-if="org_id==10644">iu</span> 
1450
+                      </span>
1451
+                      <span v-if="prescription.anticoagulant == 17">iu</span>
1448
                     </span>
1452
                     </span>
1449
 
1453
 
1450
                     <span v-if="org_id==9675 || org_id==10447 || org_id==9829 || org_id==10440 || org_id==10469 || org_id == 10471 || org_id == 10460">
1454
                     <span v-if="org_id==9675 || org_id==10447 || org_id==9829 || org_id==10440 || org_id==10469 || org_id == 10471 || org_id == 10460">
1459
                      <span v-if="prescription.anticoagulant == 10">iu</span>
1463
                      <span v-if="prescription.anticoagulant == 10">iu</span>
1460
                      <span v-if="prescription.anticoagulant == 11">iu</span>
1464
                      <span v-if="prescription.anticoagulant == 11">iu</span>
1461
                      <span v-if="prescription.anticoagulant == 13">iu</span>
1465
                      <span v-if="prescription.anticoagulant == 13">iu</span>
1462
-                     <span v-if="prescription.anticoagulant == 14">mg</span>
1466
+                     <span v-if="prescription.anticoagulant == 14">
1467
+                      <span v-if="org_id!=10644">mg</span> 
1468
+                      <span v-if="org_id==10644">iu</span> 
1469
+                     </span>
1470
+                     <span v-if="prescription.anticoagulant == 17">iu</span>
1463
 
1471
 
1464
                     </span>
1472
                     </span>
1465
                     </div>
1473
                     </div>
1501
                         <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg/h</span>
1509
                         <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg/h</span>
1502
                         <span v-if="org_id==9538&& prescription.anticoagulant == 2">u</span>
1510
                         <span v-if="org_id==9538&& prescription.anticoagulant == 2">u</span>
1503
                           <span v-if="prescription.anticoagulant == 1">mg/h</span>
1511
                           <span v-if="prescription.anticoagulant == 1">mg/h</span>
1504
-                          <span v-if="prescription.anticoagulant == 14">mg/h</span>
1512
+                          <span v-if="prescription.anticoagulant == 14">
1513
+                            <span v-if="org_id!=10644">mg/h</span> 
1514
+                            <span v-if="org_id==10644">iu/h</span> 
1515
+                          </span>
1516
+                          <span v-if="prescription.anticoagulant == 17">iu/h</span>
1505
                       </span>
1517
                       </span>
1506
                       <span v-if="org_id==9675 || org_id==10447 || org_id== 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10460">
1518
                       <span v-if="org_id==9675 || org_id==10447 || org_id== 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10460">
1507
                         <span v-if="prescription.anticoagulant == 2">mg/h</span>
1519
                         <span v-if="prescription.anticoagulant == 2">mg/h</span>
1515
                           <span v-if="prescription.anticoagulant == 10">iu/h</span>
1527
                           <span v-if="prescription.anticoagulant == 10">iu/h</span>
1516
                           <span v-if="prescription.anticoagulant == 11">iu/h</span>
1528
                           <span v-if="prescription.anticoagulant == 11">iu/h</span>
1517
                           <span v-if="prescription.anticoagulant == 13">iu/h</span>
1529
                           <span v-if="prescription.anticoagulant == 13">iu/h</span>
1518
-                          <span v-if="prescription.anticoagulant == 14">mg/h</span>
1530
+                          <span v-if="prescription.anticoagulant == 14">
1531
+                            <span v-if="org_id!=10644">mg/h</span> 
1532
+                            <span v-if="org_id==10644">iu/h</span> 
1533
+                          </span>
1534
+                          <span v-if="prescription.anticoagulant == 17">iu/h</span>
1519
                       </span>
1535
                       </span>
1520
                     </div>
1536
                     </div>
1521
                     <div
1537
                     <div
1584
                       <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg</span>
1600
                       <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg</span>
1585
                       <span v-if="org_id==9538&& prescription.anticoagulant == 2">u</span>
1601
                       <span v-if="org_id==9538&& prescription.anticoagulant == 2">u</span>
1586
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1602
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1587
-                      <span v-if="prescription.anticoagulant == 14">mg</span>
1603
+                      <span v-if="prescription.anticoagulant == 14">
1604
+                        <span v-if="org_id!=10644">mg</span> 
1605
+                        <span v-if="org_id==10644">iu</span> 
1606
+                      </span>
1607
+                      <span v-if="prescription.anticoagulant == 17">iu</span>
1588
                      </span>
1608
                      </span>
1589
                     <span v-if="org_id==9675 || org_id==10447 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471|| org_id == 10460">
1609
                     <span v-if="org_id==9675 || org_id==10447 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471|| org_id == 10460">
1590
                        <span v-if="prescription.anticoagulant == 2">mg</span>
1610
                        <span v-if="prescription.anticoagulant == 2">mg</span>
1598
                        <span v-if="prescription.anticoagulant == 10">iu</span>
1618
                        <span v-if="prescription.anticoagulant == 10">iu</span>
1599
                       <span v-if="prescription.anticoagulant == 11">iu</span>
1619
                       <span v-if="prescription.anticoagulant == 11">iu</span>
1600
                       <span v-if="prescription.anticoagulant == 13">iu</span>
1620
                       <span v-if="prescription.anticoagulant == 13">iu</span>
1601
-                      <span v-if="prescription.anticoagulant == 14">mg/h</span>
1621
+                      <span v-if="prescription.anticoagulant == 14">
1622
+                        <span v-if="org_id!=10644">mg</span> 
1623
+                        <span v-if="org_id==10644">iu</span> 
1624
+                      </span>
1625
+                      <span v-if="prescription.anticoagulant == 17">iu</span>
1602
                     </span>
1626
                     </span>
1603
                     </div>
1627
                     </div>
1604
                     <div class="inline_block" style="margin-left: 20px" v-if="org_id!=9675 && org_id!=10447">
1628
                     <div class="inline_block" style="margin-left: 20px" v-if="org_id!=9675 && org_id!=10447">
1822
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1846
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1823
                         <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
1847
                         <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
1824
                         <td width="50" v-if="org_id ==10489">超滤率<br/>(ml/h)</td>
1848
                         <td width="50" v-if="org_id ==10489">超滤率<br/>(ml/h)</td>
1825
-                        <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 10600&& org_id != 10683">超滤量<br />(ml)</td>
1849
+                        <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 10600&& org_id != 10683">
1850
+                          超滤量<br />
1851
+                         <span v-if="org_id == 10471">L</span>
1852
+                         <span v-if="org_id != 10471"> (ml)</span>
1853
+                        </td>
1826
                         <td width="50" v-if="org_id == 10600 || org_id ==10598 || org_id ==10683">超滤率<br/>(ml/h)</td>
1854
                         <td width="50" v-if="org_id == 10600 || org_id ==10598 || org_id ==10683">超滤率<br/>(ml/h)</td>
1827
                         <td width="50" v-if="org_id ==3877 || org_id == 10449 ">累计超滤量<br />(ml)</td>
1855
                         <td width="50" v-if="org_id ==3877 || org_id == 10449 ">累计超滤量<br />(ml)</td>
1828
                         <td v-if="(prescription.mode_id == 2 ||prescription.mode_id == 5 ||prescription.mode_id == 12) &&org_id!=10478 && org_id!=0 && org_id!=10206" width="50">
1856
                         <td v-if="(prescription.mode_id == 2 ||prescription.mode_id == 5 ||prescription.mode_id == 12) &&org_id!=10478 && org_id!=0 && org_id!=10206" width="50">

+ 119 - 105
src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue View File

135
                       <div class="under_line" style="width: 60%; text-align: center">
135
                       <div class="under_line" style="width: 60%; text-align: center">
136
                         {{predialysis.machine_type ? predialysis.machine_type : ""}}
136
                         {{predialysis.machine_type ? predialysis.machine_type : ""}}
137
                       </div>
137
                       </div>
138
-                      
139
-                      <!-- 透前症状:
140
-                      <div
141
-                        class="under_line"
142
-                        style="width: 150px; text-align: center"
143
-                      >
144
-                        {{
145
-                          predialysis.symptom_before_dialysis
146
-                            ? predialysis.symptom_before_dialysis
147
-                            : "/"
148
-                        }}
149
-                      </div> -->
150
                     </div>
138
                     </div>
151
                     <div class="inline_block" style="flex: 1">
139
                     <div class="inline_block" style="flex: 1">
152
                       透析机号:
140
                       透析机号:
302
                         style="width: 70px; text-align: center"
290
                         style="width: 70px; text-align: center"
303
                       >
291
                       >
304
                         <span> {{
292
                         <span> {{
305
-                          prescription.displace_liqui_value
306
-                            ? prescription.displace_liqui_value
293
+                          prescription.replacement_total
294
+                            ? prescription.replacement_total
307
                             : "/"
295
                             : "/"
308
                         }}
296
                         }}
309
                         </span>
297
                         </span>
438
                       <div class="under_line"
426
                       <div class="under_line"
439
                         style="width: 150px; text-align: center"
427
                         style="width: 150px; text-align: center"
440
                       >
428
                       >
441
-                       {{
442
-                          prescription.anticoagulant_name
443
-                            ? prescription.anticoagulant_name
444
-                            : "/"
445
-                        }}
446
-                        
429
+                        <span v-if="prescription.anticoagulant_name== '低分子肝素钙'">低分子量肝素钙</span>
430
+                        <span v-if="prescription.anticoagulant_name!= '低分子肝素钙'">{{prescription.anticoagulant_name}}</span>
447
                       </div>
431
                       </div>
448
                     </div>
432
                     </div>
449
                     <div class="inline_block" style="flex: 1;"
433
                     <div class="inline_block" style="flex: 1;"
459
                             : "/"
443
                             : "/"
460
                         }}
444
                         }}
461
                       </div>
445
                       </div>
462
-                      {{ getshouji(prescription.anticoagulant) }}
446
+                      <span v-if="prescription.anticoagulant!=''">
447
+                        {{ getshouji(prescription.anticoagulant) }}
448
+                      </span>
449
+                      
463
                     </div>
450
                     </div>
464
                     <div class="inline_block" style="flex: 1;">
451
                     <div class="inline_block" style="flex: 1;">
465
                       追加:
452
                       追加:
472
                             : "0"
459
                             : "0"
473
                         }}
460
                         }}
474
                       </div>
461
                       </div>
475
-                      {{ getweichi(prescription.anticoagulant) }}
462
+                      <span v-if="prescription.anticoagulant!=''">
463
+                        {{ getweichi(prescription.anticoagulant) }}
464
+                      </span>
465
+                      
476
                     </div>
466
                     </div>
477
                     <div class="inline_block" style="flex: 1;"
467
                     <div class="inline_block" style="flex: 1;"
478
                       v-if="prescription.anticoagulant == 5"
468
                       v-if="prescription.anticoagulant == 5"
518
                             : "/"
508
                             : "/"
519
                         }}
509
                         }}
520
                       </div>
510
                       </div>
521
-                      {{ getzongliang(prescription.anticoagulant) }}
511
+                      <span v-if="prescription.anticoagulant!=''">
512
+                        {{ getzongliang(prescription.anticoagulant) }}
513
+                      </span>
514
+                      
522
                     </div>
515
                     </div>
523
                   </div>
516
                   </div>
524
 
517
 
678
                   </table>
671
                   </table>
679
                 </td>
672
                 </td>
680
               </tr>
673
               </tr>
681
-              <tr v-if="org_id!=10206">
674
+              <tr>
682
                 <td style="padding: 0; position: relative" colspan="2">
675
                 <td style="padding: 0; position: relative" colspan="2">
683
                   <table class="inside_table">
676
                   <table class="inside_table">
684
                     <tbody>
677
                     <tbody>
709
                         <td style="font-size: 16px" width="10%">时间</td>
702
                         <td style="font-size: 16px" width="10%">时间</td>
710
                       </tr>
703
                       </tr>
711
 
704
 
712
-                      <tr style="page-break-inside: avoid;"
713
-                        v-for="(advice, advice_index) in doctor_advices"
705
+                      <tr
706
+                        v-for="(advice, advice_index) in new_doctor_advice_list"
714
                         :key="advice_index"
707
                         :key="advice_index"
715
                       >
708
                       >
716
                         <td height="32px">
709
                         <td height="32px">
717
                           <span v-if="advice.start_time">
710
                           <span v-if="advice.start_time">
718
                             {{ getTime(advice.start_time, "{h}:{i}") }}
711
                             {{ getTime(advice.start_time, "{h}:{i}") }}
719
                           </span>
712
                           </span>
720
-                          <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
713
+
721
                         </td>
714
                         </td>
722
-                        <td
723
-                          height="32px"
724
-                          colspan="2"
725
-                          class="advice-name"
726
-                          style="padding-left: 7px"
715
+                        <td height="32px" colspan="2"
716
+                          class="advice-name" style="padding-left: 7px"
727
                         >
717
                         >
728
-                          <span v-if="advice.parent_id > 0">---></span>
729
-                          <span>{{ advice.advice_name }}</span>
730
-                          <span v-if="advice && advice.advice_desc"
731
-                            >({{ advice.advice_desc
732
-                            }}{{ advice.drug_spec_unit }})</span
733
-                          >
734
-                          <span v-if="advice.prescribing_number"
735
-                            >&nbsp;&nbsp; {{ advice.prescribing_number
736
-                            }}{{ advice.prescribing_number_unit }}</span
737
-                          >
738
-                          <span v-if="advice.single_dose != 0"
739
-                            >{{ advice.single_dose
740
-                            }}{{ advice.single_dose_unit }}</span
741
-                          >
742
-                          <span v-if="advice.parent_id == 0">{{
743
-                            advice.delivery_way
744
-                          }}</span>
745
-                          <span v-if="advice.parent_id == 0">{{
746
-                            advice.execution_frequency
747
-                          }}</span>
748
-                          <span
749
-                            v-if="
750
-                              advice.parent_id == 0 && advice.remark.length > 0
751
-                            "
752
-                            >({{ advice.remark }})</span
753
-                          >
718
+                         <span v-for="(it,i) in advice.child" :key="i">
719
+                           <span v-if="it && it.advice_name">{{ it.advice_name}}</span>
720
+                           <span v-if="it && it.advice_desc">({{ it.advice_desc}}{{ it.drug_spec_unit }})</span>
721
+                           <span v-if="it.prescribing_number">{{ it.prescribing_number}}{{ it.prescribing_number_unit }}</span>
722
+                           <span v-if="it.single_dose != 0">{{ it.single_dose}}{{ it.single_dose_unit }}</span>
723
+                           <span v-if="it && it.delivery_way">{{ it.delivery_way }}</span>
724
+                           <span v-if="it && it.execution_frequency">{{ it.execution_frequency }}</span>
725
+                           <span v-if="it&& it.remark">{{ it.remark }}</span>&nbsp;&nbsp;&nbsp;
726
+
727
+                         </span>
728
+
729
+
730
+
754
                         </td>
731
                         </td>
755
 
732
 
756
                         <td height="32px">
733
                         <td height="32px">
767
                               v-else
744
                               v-else
768
                             />
745
                             />
769
                           </span>
746
                           </span>
747
+
770
                         </td>
748
                         </td>
771
-                     
749
+
772
                         <td height="32px">
750
                         <td height="32px">
773
                           <span v-if="advice!=null && advice.execution_staff>0">
751
                           <span v-if="advice!=null && advice.execution_staff>0">
774
                             <span
752
                             <span
784
                             />
762
                             />
785
                           </span>
763
                           </span>
786
                         </td>
764
                         </td>
787
-                       
788
                         <td height="32px">
765
                         <td height="32px">
789
-                          <span>
790
-                             {{
791
-                              getTime(advice.execution_time, "{h}:{i}")
792
-                             }}
766
+                          <span v-if="advice.execution_time">{{
767
+                            getTime(advice.execution_time, "{h}:{i}")
768
+                          }}</span>
769
+                        </td>
770
+                      </tr>
771
+
772
+                      <tr
773
+                        v-for="(advice, advice_index) in projectsOne"
774
+                        :key="advice_index"
775
+                      >
776
+                        <td height="32px;padding:1px 1px" width="10%">
777
+                          <span v-if="advice.start_time">
778
+                            {{ getTime(advice.start_time, "{h}:{i}") }}
793
                           </span>
779
                           </span>
794
-              
795
                         </td>
780
                         </td>
796
-                        
781
+                        <td colspan="2"
782
+                          class="advice-name"
783
+                          style="
784
+                            letter-spacing: 5px;
785
+                            text-align: center;
786
+                            font-weight: 520;
787
+                            font-size: 14px;
788
+                            padding: 0px 8px;
789
+                            line-height: 30px;
790
+                            width: 200px;
791
+                          "
792
+                        >
793
+                          <span v-if="advice.type == 2"> {{advice && advice.project? advice.project.project_name: ""}} {{ advice.count }} {{ advice.unit }}</span>
794
+                          <span v-if="advice.type == 3"> {{advice && advice.good_info? advice.good_info.good_name: ""}} {{ advice.count }} {{ advice.unit }}</span>
795
+                        </td>
796
+                      <td height="32px">
797
+                        <span
798
+                          v-if="setAdminUserES(advice.doctor) == ''"
799
+                          >{{ getAdminUser(advice.doctor) }}</span
800
+                        >
801
+                        <img
802
+                          style="height: 30px"
803
+                          :src="setAdminUserES(advice.doctor)"
804
+                          alt=""
805
+                          srcset=""
806
+                          v-else
807
+                        />
808
+                      </td>
809
+                      <td height="32px">
810
+                        <span
811
+                          v-if="
812
+                            setAdminUserES(advice.execution_staff) == ''
813
+                          "
814
+                          >{{
815
+                            getAdminUser(advice.execution_staff)
816
+                          }}</span
817
+                        >
818
+                        <img
819
+                          style="height: 30px"
820
+                          :src="setAdminUserES(advice.execution_staff)"
821
+                          alt=""
822
+                          srcset=""
823
+                          v-else
824
+                        />
825
+                      </td>
826
+                        <td height="32px">
827
+                          <span v-if="advice.execution_time">{{
828
+                            getTime(advice.execution_time, "{h}:{i}")
829
+                          }}</span>
830
+                        </td>
797
                       </tr>
831
                       </tr>
798
 
832
 
799
                     </tbody>
833
                     </tbody>
824
               </tr>
858
               </tr>
825
               <tr>
859
               <tr>
826
                 <td colspan="7">
860
                 <td colspan="7">
827
-                  <div
828
-                    class="row"
829
-                    style="padding: 2px 0; line-height: 23px; display: flex"
830
-                  >
861
+                  <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
831
                     <div class="inline_block" style="flex: 1">
862
                     <div class="inline_block" style="flex: 1">
832
                       T:
863
                       T:
833
                       <div
864
                       <div
926
                     </div>
957
                     </div>
927
                   </div>
958
                   </div>
928
 
959
 
929
-                  <div class="row"
930
-                    style="padding: 2px 0; line-height: 23px; display: flex"
931
-                  >
960
+                  <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
932
                     <div class="inline_block" style="flex: 2.5">
961
                     <div class="inline_block" style="flex: 2.5">
933
                       透析器凝血:
962
                       透析器凝血:
934
                       <div
963
                       <div
981
                         class="under_line"
1010
                         class="under_line"
982
                         style="width: 70px; text-align: center"
1011
                         style="width: 70px; text-align: center"
983
                       >
1012
                       >
984
-                      <span v-if="org_id!=9675&&org_id!=10447">
1013
+                      <span>
985
                         {{
1014
                         {{
986
                           afterdialysis.weight_after
1015
                           afterdialysis.weight_after
987
                             ? parseFloat(
1016
                             ? parseFloat(
991
                             : "/"
1020
                             : "/"
992
                         }}
1021
                         }}
993
                       </span>
1022
                       </span>
994
-                      <span v-if="org_id ==9675 || org_id==10447">
995
-                        {{
996
-                          afterdialysis.weight_after
997
-                            ? parseFloat(
998
-                                afterdialysis.weight_after -
999
-                                  afterdialysis.additional_weight
1000
-                              ).toFixed(1)
1001
-                            : "未称重"
1002
-                        }}
1003
-                      </span>
1004
-
1005
                       </div>
1023
                       </div>
1006
                       kg
1024
                       kg
1007
                     </div>
1025
                     </div>
1029
                     <div
1047
                     <div
1030
                       class="inline_block"
1048
                       class="inline_block"
1031
                       style="flex: 1"
1049
                       style="flex: 1"
1032
-                      v-if="org_id != 10223 && org_id!=10375 && org_id!=10598"
1033
                     >
1050
                     >
1034
-                      <span v-if="org_id!=10460">
1051
+                      <span>
1035
                           透析中入量(L):
1052
                           透析中入量(L):
1036
                        </span>
1053
                        </span>
1037
-                      <span v-if="org_id==10460">
1038
-                        透析中入量(ml):
1039
-                      </span>
1054
+                      
1040
                       <div
1055
                       <div
1041
                         class="under_line"
1056
                         class="under_line"
1042
                         style="width: 70px; text-align: center"
1057
                         style="width: 70px; text-align: center"
1067
                     </div>
1082
                     </div>
1068
                   </div>
1083
                   </div>
1069
 
1084
 
1070
-                  <div class="row"
1071
-                    style="padding: 2px 0; line-height: 23px; display: flex"
1072
-                  >
1085
+                  <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1073
                     <div class="inline_block"
1086
                     <div class="inline_block"
1074
                       style="flex: 1; display: inline-block"
1087
                       style="flex: 1; display: inline-block"
1075
                     >
1088
                     >
1091
                       </div>
1104
                       </div>
1092
                     </div>
1105
                     </div>
1093
                   </div>
1106
                   </div>
1094
-                  <div class="row"
1095
-                    style="padding: 2px 0; line-height: 23px; display: flex"
1096
-                  >
1107
+                  <div class="row" style="padding: 2px 0; line-height: 23px; display: flex">
1097
                     <div class="inline_block"
1108
                     <div class="inline_block"
1098
                       style="flex: 1; display: inline-block"
1109
                       style="flex: 1; display: inline-block"
1099
                     >
1110
                     >
1150
                             }}</span
1161
                             }}</span
1151
                           >
1162
                           >
1152
                           <img
1163
                           <img
1153
-                            style="height: 35px"
1164
+                            style="height: 30px"
1154
                             :src="
1165
                             :src="
1155
                               setAdminUserES(
1166
                               setAdminUserES(
1156
                                 dialysisOrder == null
1167
                                 dialysisOrder == null
1318
                     </div>
1329
                     </div>
1319
                     <div class="inline_block" style="flex: 1">
1330
                     <div class="inline_block" style="flex: 1">
1320
                        上机时间
1331
                        上机时间
1321
-                      <div
1322
-                        class="under_line"
1332
+                      <div class="under_line"
1323
                         style="width: 80px; text-align: center"
1333
                         style="width: 80px; text-align: center"
1324
                       >
1334
                       >
1325
                         <span style="height: 30px;display: inline-block;">
1335
                         <span style="height: 30px;display: inline-block;">
1326
                           
1336
                           
1327
                         </span>
1337
                         </span>
1328
-                        {{getTime(dialysisOrder.start_time, "{y}-{m}-{d} {h}:{i}") ? 
1329
-                        getTime(dialysisOrder.start_time, "{y}-{m}-{d} {h}:{i}") :''}}
1338
+                        <span v-if="dialysisOrder!=null">
1339
+                          {{getTime(dialysisOrder.start_time, "{y}-{m}-{d} {h}:{i}") ? 
1340
+                          getTime(dialysisOrder.start_time, "{y}-{m}-{d} {h}:{i}") :''}}
1341
+                        </span>
1342
+                        
1330
                       </div>
1343
                       </div>
1331
                     </div>
1344
                     </div>
1332
                     <div class="inline_block" style="flex: 1">
1345
                     <div class="inline_block" style="flex: 1">
1336
                       >
1349
                       >
1337
                         <span style="height: 30px; display: inline-block">
1350
                         <span style="height: 30px; display: inline-block">
1338
                         </span>
1351
                         </span>
1339
-                        {{ getTime(dialysisOrder.end_time, "{y}-{m}-{d} {h}:{i}") ? 
1352
+                        <span v-if="dialysisOrder!=null">
1353
+                          {{ getTime(dialysisOrder.end_time, "{y}-{m}-{d} {h}:{i}") ? 
1340
                           getTime(dialysisOrder.end_time, "{y}-{m}-{d} {h}:{i}") : "0" }}
1354
                           getTime(dialysisOrder.end_time, "{y}-{m}-{d} {h}:{i}") : "0" }}
1355
+                        </span>
1356
+                        
1341
 
1357
 
1342
                       </div>
1358
                       </div>
1343
                     </div>
1359
                     </div>
1541
                   >
1557
                   >
1542
                    <div v-if="org_id == 0 || org_id == 10440">
1558
                    <div v-if="org_id == 0 || org_id == 10440">
1543
 
1559
 
1544
-
1545
-
1546
                     <div class="inline_block" style="flex: 1">
1560
                     <div class="inline_block" style="flex: 1">
1547
                       上机护士:
1561
                       上机护士:
1548
                       <div
1562
                       <div
3161
         }
3175
         }
3162
 
3176
 
3163
         //针对内蒙古阿拉善
3177
         //针对内蒙古阿拉善
3164
-        if(this.org_id ==10206){
3178
+        if(this.org_id ==10206 || this.org_id ==0){
3165
 
3179
 
3166
           if(this.doctor_advices!=null && this.doctor_advices.length > 0){
3180
           if(this.doctor_advices!=null && this.doctor_advices.length > 0){
3167
 
3181
 

+ 2 - 0
src/xt_pages/stock/drugs/drugStockInOrderEdit.vue View File

771
           const params = {
771
           const params = {
772
             stockIn: this.recordInfo.recordData
772
             stockIn: this.recordInfo.recordData
773
           };
773
           };
774
+          console.log("params---------",params)
775
+         
774
           EditDrugWarehouse(
776
           EditDrugWarehouse(
775
             params,
777
             params,
776
             this.warehousing_time,
778
             this.warehousing_time,

+ 1 - 1
src/xt_pages/stock/stockOutOrderAdd.vue View File

966
         if(response.data.state == 1){
966
         if(response.data.state == 1){
967
           var list = response.data.data.list
967
           var list = response.data.data.list
968
           this.numberList = list
968
           this.numberList = list
969
-          var lastWarehouseInfoTwo = response.data.data.lastWarehouseInfoTwo
969
+          // var lastWarehouseInfoTwo = response.data.data.lastWarehouseInfoTwo
970
         }
970
         }
971
      })
971
      })
972
     },
972
     },