Browse Source

12月30 打印单

yq1 1 week ago
parent
commit
61fea54e8c

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

1288
                               <td width="50">
1288
                               <td width="50">
1289
                                 <div class="under-line">
1289
                                 <div class="under-line">
1290
                                   &nbsp;{{
1290
                                   &nbsp;{{
1291
-                                    record.assessment_before_dislysis
1292
-                                      .weight_before
1293
-                                      ? record.assessment_before_dislysis
1294
-                                          .weight_before
1295
-                                      : ""
1291
+                                    record.lastafterweight.weight_after ? record.lastafterweight.weight_after : ""
1296
                                   }}
1292
                                   }}
1297
                                 </div>
1293
                                 </div>
1298
                               </td>
1294
                               </td>
1316
                               <td width="50">
1312
                               <td width="50">
1317
                                 <div class="under-line">
1313
                                 <div class="under-line">
1318
                                   &nbsp;{{
1314
                                   &nbsp;{{
1319
-                                    record.assessment_before_dislysis
1320
-                                      .weight_before
1321
-                                      ? record.assessment_before_dislysis
1322
-                                          .weight_before
1323
-                                      : ""
1315
+                                   record.assessment_after_dislysis.weight_after ? record.assessment_after_dislysis.weight_after : ""
1324
                                   }}
1316
                                   }}
1325
                                 </div>
1317
                                 </div>
1326
                               </td>
1318
                               </td>

+ 4 - 6
src/xt_pages/dialysis/signPrint.vue View File

20
                             <div>药名:{{ it.advice_name }} 
20
                             <div>药名:{{ it.advice_name }} 
21
                             <span v-if="it.prescribing_number>0 && org_id !=0 && org_id!=10440">
21
                             <span v-if="it.prescribing_number>0 && org_id !=0 && org_id!=10440">
22
                                 {{it.prescribing_number}}{{ it.prescribing_number_unit }}
22
                                 {{it.prescribing_number}}{{ it.prescribing_number_unit }}
23
-                            
24
-                            
25
                             </span> 
23
                             </span> 
26
                             </div>  
24
                             </div>  
27
                             <div v-if="org_id == 10138 || org_id == 10278">
25
                             <div v-if="org_id == 10138 || org_id == 10278">
32
                                 规格:{{it.advice_desc }} {{ it.drug_spec_unit }}
30
                                 规格:{{it.advice_desc }} {{ it.drug_spec_unit }}
33
                             </div> 
31
                             </div> 
34
                             <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571 || org_id ==10223 || org_id ==10617 || org_id ==10598) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
32
                             <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571 || org_id ==10223 || org_id ==10617 || org_id ==10598) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
35
-                            <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{it.execution_frequency}}</div>  
36
-                            <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  
33
+                            <div v-if="org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{it.execution_frequency}} &nbsp;&nbsp;<span v-if="org_id ==10740">{{it.delivery_way}}</span></div>  
34
+                            <div v-if="org_id!=10278 && org_id !=10740">给药途径:{{it.delivery_way}}</div>  
37
                             <div v-if="org_id == 0 || org_id==10223">
35
                             <div v-if="org_id == 0 || org_id==10223">
38
                                 <span>执行者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
36
                                 <span>执行者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
39
                                 <span>核对者:</span>
37
                                 <span>核对者:</span>
53
                             
51
                             
54
                             </div>  
52
                             </div>  
55
                             <div v-if=" org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571 || org_id ==10223 || org_id ==10617 || org_id ==10598">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
53
                             <div v-if=" org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571 || org_id ==10223 || org_id ==10617 || org_id ==10598">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
56
-                            <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{its.execution_frequency}}</div>  
57
-                            <div>给药途径:{{its.delivery_way}}</div>  
54
+                            <div v-if="org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{its.execution_frequency}} &nbsp;&nbsp;<span v-if="org_id ==10740">{{its.delivery_way}}</span></div>  
55
+                            <div v-if="org_id !=10740">给药途径:{{its.delivery_way}}</div>  
58
                             <div v-if="org_id == 0 || org_id==10223">
56
                             <div v-if="org_id == 0 || org_id==10223">
59
                                 <span>执行者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
57
                                 <span>执行者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
60
                                 <span>核对者:</span>
58
                                 <span>核对者:</span>

+ 24 - 7
src/xt_pages/medicalScheduling/index.vue View File

1021
                         }
1021
                         }
1022
                     })
1022
                     })
1023
                     newDoctor.sort(this.compare('sort'))
1023
                     newDoctor.sort(this.compare('sort'))
1024
-
1025
-
1026
                     let arr2 = []
1024
                     let arr2 = []
1027
 
1025
 
1028
                     arr2.push({class_name:oneStr,schedule_week:1})
1026
                     arr2.push({class_name:oneStr,schedule_week:1})
1040
                     arr2.push(obj)
1038
                     arr2.push(obj)
1041
 
1039
 
1042
                     let data = []
1040
                     let data = []
1043
-
1041
+                    let data2 = []
1044
                     data.push(...newNurse)
1042
                     data.push(...newNurse)
1045
                     data.push(...newDoctor)
1043
                     data.push(...newDoctor)
1046
                     data.push(obj)
1044
                     data.push(obj)
1047
                     console.log("data2o2oo2o2o2o22o",data)
1045
                     console.log("data2o2oo2o2o2o22o",data)
1048
-
1046
+                    // if(this.typeValue!=0){
1047
+                    //   console.log("医生",this.typeValue)
1048
+                    //   for(let i in data){
1049
+                    //     if(data[i].user_type == this.typeValue){
1050
+                    //       data2.push(data[i])
1051
+                    //     }
1052
+                    //   }
1053
+                    //   data2.push(obj)
1054
+                    //   this.tableData = data2
1055
+                    // }else{
1056
+                    //   console.log("护士",this.typeValue)
1057
+                    //   data.push(obj)
1058
+                    //   this.tableData = data
1059
+                    // }
1060
+                    
1061
+                    
1049
                     // this.tableData = this.distinct(data)
1062
                     // this.tableData = this.distinct(data)
1050
                     this.tableData = data
1063
                     this.tableData = data
1051
-
1064
+                   
1052
 
1065
 
1053
                 }
1066
                 }
1054
             })
1067
             })
2018
             }
2031
             }
2019
         },
2032
         },
2020
         tableCellStyle (row, rowIndex, column) {
2033
         tableCellStyle (row, rowIndex, column) {
2034
+          // console.log('3333',row);
2035
+          
2021
             var week = (row.column.label).split('');
2036
             var week = (row.column.label).split('');
2022
             var weeks = 0
2037
             var weeks = 0
2023
             if (week.length == 13) {
2038
             if (week.length == 13) {
2026
             if (week.length == 14) {
2041
             if (week.length == 14) {
2027
                 weeks = week[4]+week[5]+week[6]+week[7]+week[8]+week[9]+week[10]+week[11]+week[12]
2042
                 weeks = week[4]+week[5]+week[6]+week[7]+week[8]+week[9]+week[10]+week[11]+week[12]
2028
             }
2043
             }
2044
+            if (week.length == 15) {
2045
+                weeks = week[4]+week[5]+week[6]+week[7]+week[8]+week[9]+week[10]+week[11]+week[12]+week[13]
2046
+            }
2029
             var weekdate =  this.getTimestamp(weeks)
2047
             var weekdate =  this.getTimestamp(weeks)
2030
             if(weekdate  < this.timeNow){
2048
             if(weekdate  < this.timeNow){
2031
             return 'background-color:#e5e5e5;'
2049
             return 'background-color:#e5e5e5;'
2072
 
2090
 
2073
        },
2091
        },
2074
 
2092
 
2075
-     getTimestamp(time) { //把时间日期转成时间戳
2093
+      getTimestamp(time) { //把时间日期转成时间戳
2076
           return (new Date(time)).getTime() / 1000
2094
           return (new Date(time)).getTime() / 1000
2077
        },
2095
        },
2078
        exportList(){
2096
        exportList(){
2130
          })
2148
          })
2131
        },
2149
        },
2132
 
2150
 
2133
-
2134
        hoverMouse(row,column, cell, event){
2151
        hoverMouse(row,column, cell, event){
2135
         this.name=row.user_name
2152
         this.name=row.user_name
2136
         this.column_lie= column.label.split('\n')[0]
2153
         this.column_lie= column.label.split('\n')[0]