Przeglądaj źródła

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

陈少旭 1 tydzień temu
rodzic
commit
57a66f323d

+ 2 - 10
src/xt_pages/dialysis/batch_print/batch_print_order_twentySeven.vue Wyświetl plik

@@ -1288,11 +1288,7 @@
1288 1288
                               <td width="50">
1289 1289
                                 <div class="under-line">
1290 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 1293
                                 </div>
1298 1294
                               </td>
@@ -1316,11 +1312,7 @@
1316 1312
                               <td width="50">
1317 1313
                                 <div class="under-line">
1318 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 1317
                                 </div>
1326 1318
                               </td>

+ 4 - 6
src/xt_pages/dialysis/signPrint.vue Wyświetl plik

@@ -20,8 +20,6 @@
20 20
                             <div>药名:{{ it.advice_name }} 
21 21
                             <span v-if="it.prescribing_number>0 && org_id !=0 && org_id!=10440">
22 22
                                 {{it.prescribing_number}}{{ it.prescribing_number_unit }}
23
-                            
24
-                            
25 23
                             </span> 
26 24
                             </div>  
27 25
                             <div v-if="org_id == 10138 || org_id == 10278">
@@ -32,8 +30,8 @@
32 30
                                 规格:{{it.advice_desc }} {{ it.drug_spec_unit }}
33 31
                             </div> 
34 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 35
                             <div v-if="org_id == 0 || org_id==10223">
38 36
                                 <span>执行者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
39 37
                                 <span>核对者:</span>
@@ -53,8 +51,8 @@
53 51
                             
54 52
                             </div>  
55 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 56
                             <div v-if="org_id == 0 || org_id==10223">
59 57
                                 <span>执行者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
60 58
                                 <span>核对者:</span>

+ 24 - 7
src/xt_pages/medicalScheduling/index.vue Wyświetl plik

@@ -1021,8 +1021,6 @@ export default {
1021 1021
                         }
1022 1022
                     })
1023 1023
                     newDoctor.sort(this.compare('sort'))
1024
-
1025
-
1026 1024
                     let arr2 = []
1027 1025
 
1028 1026
                     arr2.push({class_name:oneStr,schedule_week:1})
@@ -1040,15 +1038,30 @@ export default {
1040 1038
                     arr2.push(obj)
1041 1039
 
1042 1040
                     let data = []
1043
-
1041
+                    let data2 = []
1044 1042
                     data.push(...newNurse)
1045 1043
                     data.push(...newDoctor)
1046 1044
                     data.push(obj)
1047 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 1062
                     // this.tableData = this.distinct(data)
1050 1063
                     this.tableData = data
1051
-
1064
+                   
1052 1065
 
1053 1066
                 }
1054 1067
             })
@@ -2018,6 +2031,8 @@ export default {
2018 2031
             }
2019 2032
         },
2020 2033
         tableCellStyle (row, rowIndex, column) {
2034
+          // console.log('3333',row);
2035
+          
2021 2036
             var week = (row.column.label).split('');
2022 2037
             var weeks = 0
2023 2038
             if (week.length == 13) {
@@ -2026,6 +2041,9 @@ export default {
2026 2041
             if (week.length == 14) {
2027 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 2047
             var weekdate =  this.getTimestamp(weeks)
2030 2048
             if(weekdate  < this.timeNow){
2031 2049
             return 'background-color:#e5e5e5;'
@@ -2072,7 +2090,7 @@ export default {
2072 2090
 
2073 2091
        },
2074 2092
 
2075
-     getTimestamp(time) { //把时间日期转成时间戳
2093
+      getTimestamp(time) { //把时间日期转成时间戳
2076 2094
           return (new Date(time)).getTime() / 1000
2077 2095
        },
2078 2096
        exportList(){
@@ -2130,7 +2148,6 @@ export default {
2130 2148
          })
2131 2149
        },
2132 2150
 
2133
-
2134 2151
        hoverMouse(row,column, cell, event){
2135 2152
         this.name=row.user_name
2136 2153
         this.column_lie= column.label.split('\n')[0]