28169 vor 1 Woche
Ursprung
Commit
53239cc81b

+ 4 - 3
src/xt_pages/Pharmacy/drugCode.vue Datei anzeigen

@@ -106,11 +106,11 @@
106 106
       <el-pagination
107 107
         @size-change="handleSizeChange"
108 108
         @current-change="handleCurrentChange"
109
-        :page-size="5"
109
+        :page-size="10"
110 110
         :page-sizes="[10, 20, 50, 100,500,1000,2000]"
111 111
         background
112 112
         style="margin-top:20px;float: right"
113
-        :total="value"
113
+        :total="total"
114 114
       ></el-pagination>
115 115
 
116 116
 
@@ -148,7 +148,7 @@
148 148
   import { getDictionaryDataConfig } from "@/utils/data";
149 149
   import { uParseTime } from '@/utils/tools'
150 150
   import { changeDrugCode } from "@/api/pharmacy";
151
-  
151
+
152 152
   import axios from 'axios'
153 153
   const moment = require('moment')
154 154
   export default {
@@ -353,6 +353,7 @@
353 353
             this.$message.error(response.data.msg)
354 354
             return false
355 355
           } else {
356
+
356 357
              this.tableData = response.data.data.list
357 358
              this.total = response.data.data.total
358 359
              this.drugList = response.data.data.drug

+ 85 - 80
src/xt_pages/dialysis/batch_print/batch_print_order_twenty.vue Datei anzeigen

@@ -611,6 +611,85 @@
611 611
                     </tbody>
612 612
                 </table>
613 613
 
614
+                <table class="print-table" border="1">
615
+                    <tbody>
616
+                    <tr>
617
+                        <td :rowspan="record.monitor_records.length + 1" width="30px" class="title-box">
618
+                        透析中记录
619
+                        </td>
620
+
621
+                        <td width="100">时间</td>
622
+                        <td width="80">血压<br />mmHg</td>
623
+                        <td width="40">脉搏<br />次/分</td>
624
+                        <td width="40">呼吸<br />次/分</td>
625
+                        <td width="60">血流量<br />ml/min</td>
626
+                        <td width="60">超滤量<br />ml</td>
627
+                        <td width="60">静脉压<br />mmHg</td>
628
+                        <td width="60">跨膜压<br />mmHg</td>
629
+                        <td width="60">电导度<br />ms/cm</td>
630
+                        <td width="60">液温<br />℃</td>
631
+                        <!-- <td width="60">钠浓度<br/>mmol/L</td>
632
+                    <td width="80">透析液温度<br/>℃</td>
633
+                    <td width="60">置换率<br/>ml/min</td> -->
634
+
635
+                        <td width="">备 注</td>
636
+                        <td width="70">执行护士</td>
637
+                    </tr>
638
+
639
+                    <tr v-for="monitor in record.monitor_records" :key="monitor.id">
640
+                        <td>
641
+                        &nbsp;
642
+                        <!-- <template>
643
+                            <span v-if="monitor.monitoring_date">
644
+                                {{monitor.monitoring_date | parseTime('{y}-{m}-{d}')}}
645
+                            </span>
646
+                        </template>     -->
647
+                        {{ getTime(monitor.operate_time, "{h}:{i}") }}
648
+                        </td>
649
+                        <td>
650
+                        &nbsp;{{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/
651
+                        {{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }}
652
+                        </td>
653
+                        <td>
654
+                        &nbsp;{{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }}
655
+                        </td>
656
+                        <td>
657
+                        &nbsp;{{ monitor.breathing_rate ? monitor.breathing_rate : "" }}
658
+                        </td>
659
+                        <td>
660
+                        &nbsp;{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}
661
+                        </td>
662
+
663
+
664
+                        <td>
665
+                        &nbsp;{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
666
+                        </td>
667
+                        <td>
668
+                        &nbsp;{{ monitor.venous_pressure ? monitor.venous_pressure : "" }}
669
+                        </td>
670
+                        <td>
671
+                        &nbsp;{{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }}
672
+                        </td>
673
+                        <td>&nbsp;{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
674
+                        <td>&nbsp;{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}</td>
675
+                        <!-- <td>&nbsp;{{monitor.sodium_concentration}}</td>
676
+                    <td>&nbsp;{{monitor.dialysate_temperature}}</td>
677
+                    <td>&nbsp;{{monitor.replacement_rate}}</td> -->
678
+                        <td>
679
+                        &nbsp;{{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
680
+                        </td>
681
+                        <td>
682
+                        <span v-if="setAdminUserES(monitor, 'monitoring_nurse') == ''">
683
+                        {{ getAdminUser(monitor, 'monitoring_nurse') }}
684
+                        </span>
685
+                        <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
686
+                        <img style="height:30px;" :src="setAdminUserES(monitor, 'monitoring_nurse')" alt srcset />
687
+                        </span>
688
+                        </td>
689
+                    </tr>
690
+                    </tbody>
691
+                </table>
692
+
614 693
                 <table class="print-table" border="1">
615 694
                     <tr>
616 695
                     <td>时间</td>
@@ -702,84 +781,7 @@
702 781
                     </tr>
703 782
                 </table>
704 783
 
705
-                <table class="print-table" border="1">
706
-                    <tbody>
707
-                    <tr>
708
-                        <td :rowspan="record.monitor_records.length + 1" width="30px" class="title-box">
709
-                        透析中记录
710
-                        </td>
711
-
712
-                        <td width="100">时间</td>
713
-                        <td width="80">血压<br />mmHg</td>
714
-                        <td width="40">脉搏<br />次/分</td>
715
-                        <td width="40">呼吸<br />次/分</td>
716
-                        <td width="60">血流量<br />ml/min</td>
717
-                        <td width="60">超滤量<br />ml</td>
718
-                        <td width="60">静脉压<br />mmHg</td>
719
-                        <td width="60">跨膜压<br />mmHg</td>
720
-                        <td width="60">电导度<br />ms/cm</td>
721
-                        <td width="60">液温<br />℃</td>
722
-                        <!-- <td width="60">钠浓度<br/>mmol/L</td>
723
-                    <td width="80">透析液温度<br/>℃</td>
724
-                    <td width="60">置换率<br/>ml/min</td> -->
725
-
726
-                        <td width="">备 注</td>
727
-                        <td width="70">执行护士</td>
728
-                    </tr>
729
-
730
-                    <tr v-for="monitor in record.monitor_records" :key="monitor.id">
731
-                        <td>
732
-                        &nbsp;
733
-                        <!-- <template>
734
-                            <span v-if="monitor.monitoring_date">
735
-                                {{monitor.monitoring_date | parseTime('{y}-{m}-{d}')}}
736
-                            </span>
737
-                        </template>     -->
738
-                        {{ getTime(monitor.operate_time, "{h}:{i}") }}
739
-                        </td>
740
-                        <td>
741
-                        &nbsp;{{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/
742
-                        {{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }}
743
-                        </td>
744
-                        <td>
745
-                        &nbsp;{{ monitor.pulse_frequency ? monitor.pulse_frequency : "" }}
746
-                        </td>
747
-                        <td>
748
-                        &nbsp;{{ monitor.breathing_rate ? monitor.breathing_rate : "" }}
749
-                        </td>
750
-                        <td>
751
-                        &nbsp;{{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "" }}
752
-                        </td>
753
-
754
-
755
-                        <td>
756
-                        &nbsp;{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
757
-                        </td>
758
-                        <td>
759
-                        &nbsp;{{ monitor.venous_pressure ? monitor.venous_pressure : "" }}
760
-                        </td>
761
-                        <td>
762
-                        &nbsp;{{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }}
763
-                        </td>
764
-                        <td>&nbsp;{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
765
-                        <td>&nbsp;{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "" }}</td>
766
-                        <!-- <td>&nbsp;{{monitor.sodium_concentration}}</td>
767
-                    <td>&nbsp;{{monitor.dialysate_temperature}}</td>
768
-                    <td>&nbsp;{{monitor.replacement_rate}}</td> -->
769
-                        <td>
770
-                        &nbsp;{{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
771
-                        </td>
772
-                        <td>
773
-                        <span v-if="setAdminUserES(monitor, 'monitoring_nurse') == ''">
774
-                        {{ getAdminUser(monitor, 'monitoring_nurse') }}
775
-                        </span>
776
-                        <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
777
-                        <img style="height:30px;" :src="setAdminUserES(monitor, 'monitoring_nurse')" alt srcset />
778
-                        </span>
779
-                        </td>
780
-                    </tr>
781
-                    </tbody>
782
-                </table>
784
+            
783 785
 
784 786
                 <table class="print-table" border="1">
785 787
                     <tbody>
@@ -945,11 +947,14 @@
945 947
                                 <label-box :isChecked="record.assessment_after_dislysis.patient_gose == 3 ? true : false" showValue="住院"></label-box>
946 948
                                 </td>
947 949
                                 <td width="10">(</td>
948
-                                <td width="35">科室</td>
950
+                                <td width="35">医生签名</td>
949 951
                                 <td width="100">
950 952
                                 <div class="under-line">
951 953
                                     &nbsp;
952
-                                    <span v-if="record.assessment_after_dislysis.patient_gose == 3">{{ record.assessment_after_dislysis.inpatient_department }}</span>
954
+                                    <!-- <span v-if="record.assessment_after_dislysis.patient_gose == 3">{{ record.assessment_after_dislysis.inpatient_department }}</span> -->
955
+                                    <span v-if="setAdminUserES(record.prescription, 'creater') == ''">
956
+                                    {{ getAdminUser(record.prescription, 'creater') }}</span>
957
+                                    <img class="es-img" style="height:30px" :src="setAdminUserES(record.prescription, 'creater')" alt="" srcset="" v-else />
953 958
                                 </div>
954 959
                                 </td>
955 960
                                 <td width="70">护士签名:</td>

+ 18 - 1
src/xt_pages/user/coursePrint.vue Datei anzeigen

@@ -62,13 +62,20 @@
62 62
               </div>
63 63
             </div>
64 64
 
65
-            <div style="flex:1;text-align: center;" >
65
+            <div style="flex:1;text-align: center;" v-if="org_id!=10206 && org_id!=0">
66 66
               年龄:
67 67
               <div  style="text-align: left;display:inline-block;">
68 68
                 {{patient.age}}
69 69
               </div>
70 70
             </div>
71 71
 
72
+            <div style="flex:1;text-align: center;" v-if="org_id==10206 || org_id == 0">
73
+              出生日期:
74
+              <div  style="text-align: left;display:inline-block;">
75
+                 {{  getTime(patient.birthday, '{y}-{m}-{d}') }}
76
+              </div>
77
+            </div>
78
+
72 79
             <div style="flex:1.5;text-align: left;" >
73 80
               日期:
74 81
               <div style="text-align: left;display:inline-block;" >
@@ -182,6 +189,16 @@
182 189
       })
183 190
     },
184 191
     methods: {
192
+      getIdCard(idCard) {
193
+        
194
+        console.log("idCard-----------",idCard)
195
+        const year = idCard.substring(6, 10);
196
+        const month = idCard.substring(10, 12);
197
+        const day = idCard.substring(12, 14);
198
+      
199
+        return year - month - day 
200
+        
201
+      },
185 202
       printAction: function() {
186 203
         const style1 = '@media print{.print_page_main_content:background-color: white;}'
187 204
       // const style = '@media print {.printP div{margin-bottom:5px;} .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; }.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 20px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:1000px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'