XMLWAN 3 lat temu
rodzic
commit
6b060272b8

+ 2 - 1
src/xt_pages/data/prescription.vue Wyświetl plik

1167
     this.body_fluid_option = this.$store.getters.body_fluid;
1167
     this.body_fluid_option = this.$store.getters.body_fluid;
1168
     this.special_medicine_option = this.$store.getters.special_medicine;
1168
     this.special_medicine_option = this.$store.getters.special_medicine;
1169
     this.displace_liqui_part_option = this.$store.getters.displace_liqui;
1169
     this.displace_liqui_part_option = this.$store.getters.displace_liqui;
1170
-    this.blood_access_option = this.$store.getters.blood_access;
1170
+    this.blood_access_option = this.$store.getters.vascular_access_desc;
1171
+    console.log("列表33333333血管通路",this.blood_access_option)
1171
     this.addPlan.mode = 1;
1172
     this.addPlan.mode = 1;
1172
     this.dialyzerPerfusionApparatus = getDataConfig(
1173
     this.dialyzerPerfusionApparatus = getDataConfig(
1173
       'hemodialysis',
1174
       'hemodialysis',

+ 19 - 83
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Wyświetl plik

984
                           <td width="50">跨膜压<br />(mmHg)</td>
984
                           <td width="50">跨膜压<br />(mmHg)</td>
985
                           <td width="60" v-if="org_id != 9836">透析液温度(°C)</td>
985
                           <td width="60" v-if="org_id != 9836">透析液温度(°C)</td>
986
                           <td width="60" v-if="org_id == 9836">体温(°C)</td>
986
                           <td width="60" v-if="org_id == 9836">体温(°C)</td>
987
-                          <td width="60">透析液温度(°C)</td>
988
                           <td width="50">电导度<br />(ms/cm)</td>
987
                           <td width="50">电导度<br />(ms/cm)</td>
989
                           <td width="50">超滤量<br />(ml)</td>
988
                           <td width="50">超滤量<br />(ml)</td>
990
-                          <td
991
-                            v-if="
992
-                              record.prescription.mode_id == 2 ||
993
-                                record.prescription.mode_id == 5 ||
994
-                                record.prescription.mode_id == 12
995
-                            "
996
-                            width="50"
997
-                          >
998
-                            置换量<br />(ml)
989
+                          <td v-if="record.prescription.mode_id == 2 || record.prescription.mode_id == 5 || record.prescription.mode_id == 12"
990
+                            width="50">置换量<br />(ml)
999
                           </td>
991
                           </td>
1000
                           <td width="200">病情变化及处理</td>
992
                           <td width="200">病情变化及处理</td>
1001
                         </tr>
993
                         </tr>
1003
                           v-for="(monitor_record, j) in record.monitor_records"
995
                           v-for="(monitor_record, j) in record.monitor_records"
1004
                           :key="j"
996
                           :key="j"
1005
                         >
997
                         >
998
+                          <td>{{ getTime(monitor_record.operate_time, "{h}:{i}")}}</td>
1006
                           <td>
999
                           <td>
1007
-                            {{
1008
-                              getTime(monitor_record.operate_time, "{h}:{i}")
1009
-                            }}
1000
+                            {{monitor_record.systolic_blood_pressure? monitor_record.systolic_blood_pressure + "/": ""}}{{
1001
+                              monitor_record.diastolic_blood_pressure? monitor_record.diastolic_blood_pressure: ""}}
1010
                           </td>
1002
                           </td>
1011
                           <td>
1003
                           <td>
1012
-                            {{
1013
-                              monitor_record.systolic_blood_pressure
1014
-                                ? monitor_record.systolic_blood_pressure + "/"
1015
-                                : ""
1016
-                            }}{{
1017
-                              monitor_record.diastolic_blood_pressure
1018
-                                ? monitor_record.diastolic_blood_pressure
1019
-                                : ""
1020
-                            }}
1004
+                            {{ monitor_record.pulse_frequency? monitor_record.pulse_frequency: ""}}
1021
                           </td>
1005
                           </td>
1022
                           <td>
1006
                           <td>
1023
-                            {{
1024
-                              monitor_record.pulse_frequency
1025
-                                ? monitor_record.pulse_frequency
1026
-                                : ""
1027
-                            }}
1007
+                            {{monitor_record.breathing_rate? monitor_record.breathing_rate: ""}}
1028
                           </td>
1008
                           </td>
1029
                           <td>
1009
                           <td>
1030
-                            {{
1031
-                              monitor_record.breathing_rate
1032
-                                ? monitor_record.breathing_rate
1033
-                                : ""
1034
-                            }}
1010
+                            {{monitor_record.blood_flow_volume? monitor_record.blood_flow_volume: ""}}
1035
                           </td>
1011
                           </td>
1036
                           <td>
1012
                           <td>
1037
-                            {{
1038
-                              monitor_record.blood_flow_volume
1039
-                                ? monitor_record.blood_flow_volume
1040
-                                : ""
1041
-                            }}
1013
+                            {{monitor_record.venous_pressure? monitor_record.venous_pressure: ""}}
1042
                           </td>
1014
                           </td>
1043
                           <td>
1015
                           <td>
1044
-                            {{
1045
-                              monitor_record.venous_pressure
1046
-                                ? monitor_record.venous_pressure
1047
-                                : ""
1048
-                            }}
1049
-                          </td>
1050
-                          <td>
1051
-                            {{
1052
-                              monitor_record.transmembrane_pressure
1053
-                                ? monitor_record.transmembrane_pressure
1054
-                                : ""
1016
+                            {{monitor_record.transmembrane_pressure? monitor_record.transmembrane_pressure: ""
1055
                             }}
1017
                             }}
1056
                           </td>
1018
                           </td>
1057
                           <td v-if="org_id != 9836">
1019
                           <td v-if="org_id != 9836">
1058
-                            {{
1059
-                              monitor_record.dialysate_temperature
1060
-                                ? monitor_record.dialysate_temperature
1061
-                                : ""
1062
-                            }}
1020
+                            {{monitor_record.dialysate_temperature? monitor_record.dialysate_temperature: ""}}
1063
                           </td>
1021
                           </td>
1064
                           <td v-if="org_id == 9836">
1022
                           <td v-if="org_id == 9836">
1065
-                            {{
1066
-                              monitor_record.temperature
1067
-                                ? monitor_record.temperature
1068
-                                : ""
1069
-                            }}
1023
+                            {{monitor_record.temperature? monitor_record.temperature: ""}}
1070
                           </td>
1024
                           </td>
1071
                           <td>
1025
                           <td>
1072
-                            {{
1073
-                              monitor_record.sodium_concentration
1074
-                                ? monitor_record.sodium_concentration
1075
-                                : ""
1076
-                            }}
1026
+                            {{monitor_record.sodium_concentration? monitor_record.sodium_concentration: ""}}
1077
                           </td>
1027
                           </td>
1078
                           <td>
1028
                           <td>
1079
                             {{
1029
                             {{
1080
-                              monitor_record.ultrafiltration_volume
1081
-                                ? monitor_record.ultrafiltration_volume
1082
-                                : 0
1083
-                            }}
1030
+                              monitor_record.ultrafiltration_volume? monitor_record.ultrafiltration_volume: ""}}
1084
                           </td>
1031
                           </td>
1085
-                          <td
1086
-                            v-if="
1087
-                              record.prescription.mode_id == 2 ||
1088
-                                record.prescription.mode_id == 5 ||
1089
-                                (record.prescription.mode_id == 12 &&
1090
-                                  monitor_record.operate_time >
1091
-                                    record.dialysis_order.end_time)
1092
-                            "
1093
-                            style="width:50px"
1094
-                          >
1032
+                          <td v-if=" record.prescription.mode_id == 2 || record.prescription.mode_id == 5 ||(record.prescription.mode_id == 12 &&monitor_record.operate_time >record.dialysis_order.end_time) " style="width:50px">
1095
                             {{
1033
                             {{
1096
                               monitor_record.displacement_quantity
1034
                               monitor_record.displacement_quantity
1097
                                 ? monitor_record.displacement_quantity
1035
                                 ? monitor_record.displacement_quantity
1131
                           <td></td>
1069
                           <td></td>
1132
                           <td></td>
1070
                           <td></td>
1133
                           <td></td>
1071
                           <td></td>
1072
+                          
1134
                           <td style="line-height:16px;padding:0px;">
1073
                           <td style="line-height:16px;padding:0px;">
1135
                             <div
1074
                             <div
1136
                               style="height:40px;line-height:20px; overflow:hidden;"
1075
                               style="height:40px;line-height:20px; overflow:hidden;"
1193
                           >
1132
                           >
1194
                             <span v-if="advice[0].parent_id > 0">---></span>
1133
                             <span v-if="advice[0].parent_id > 0">---></span>
1195
                             <span>{{ advice[0].advice_name }}</span>
1134
                             <span>{{ advice[0].advice_name }}</span>
1196
-                            <span v-if="advice[0].advice_desc != ''"
1197
-                              >({{ advice[0].advice_desc
1198
-                              }}{{ advice[0].drug_spec_unit }})</span
1199
-                            >
1135
+                            <span v-if=" advice[advice_index] && advice[0].advice_desc != ''">({{ advice[0].advice_desc}}{{ advice[0].drug_spec_unit }})</span>
1200
                             <span v-if="advice[0].prescribing_number"
1136
                             <span v-if="advice[0].prescribing_number"
1201
                               >&nbsp;&nbsp; {{ advice[0].prescribing_number
1137
                               >&nbsp;&nbsp; {{ advice[0].prescribing_number
1202
                               }}{{ advice[0].prescribing_number_unit }}</span
1138
                               }}{{ advice[0].prescribing_number_unit }}</span
2133
             var delghTwo = 0;
2069
             var delghTwo = 0;
2134
             if (
2070
             if (
2135
               this.records[recordIndex].advices &&
2071
               this.records[recordIndex].advices &&
2136
-              this.records[recordIndex].advices.length < 14
2072
+              this.records[recordIndex].advices.length < 7
2137
             ) {
2073
             ) {
2138
-              delghTwo = 14 - this.records[recordIndex].advices.length;
2074
+              delghTwo = 7 - this.records[recordIndex].advices.length;
2139
             } else {
2075
             } else {
2140
               delghTwo = 0;
2076
               delghTwo = 0;
2141
             }
2077
             }

+ 9 - 0
src/xt_pages/dialysis/details/assessmentBefore.vue Wyświetl plik

333
           <span class="content">{{this.record.thromubus_v}}</span>
333
           <span class="content">{{this.record.thromubus_v}}</span>
334
           <span class="unit"></span>
334
           <span class="unit"></span>
335
         </li>
335
         </li>
336
+
337
+
338
+         <li v-if="isShow('预增脱水量')">
339
+          <label>预增脱水量(L): </label>
340
+          <span class="content">{{this.record.dehydration}}</span>
341
+          <span class="unit"></span>
342
+        </li>
343
+
344
+       
336
       </ul>
345
       </ul>
337
     </div>
346
     </div>
338
     <div class="note">
347
     <div class="note">

+ 9 - 2
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Wyświetl plik

541
               <el-input v-model="assessmentBeforeDislysis.edema" @focus="showInnerDialog('16')"></el-input>
541
               <el-input v-model="assessmentBeforeDislysis.edema" @focus="showInnerDialog('16')"></el-input>
542
             </el-form-item>
542
             </el-form-item>
543
           </el-col>
543
           </el-col>
544
+
545
+         <el-col :span="8">
546
+            <el-form-item label="预增脱水量(L):" v-if="isShow('预增脱水量')">
547
+             <el-input v-model="assessmentBeforeDislysis.dehydration"></el-input>
548
+            </el-form-item>
549
+          </el-col>
544
           
550
           
545
 
551
 
546
          
552
          
705
           thromubus_type:"",
711
           thromubus_type:"",
706
           thrombus_av:"",
712
           thrombus_av:"",
707
           thromubus_a:"",
713
           thromubus_a:"",
708
-          thromubus_v:""
709
-
714
+          thromubus_v:"",
715
+          dehydration:""
710
         },
716
         },
711
 
717
 
712
         InnerDialogProps: {
718
         InnerDialogProps: {
1045
             this.InnerDialogProps.isShowTextArea = false
1051
             this.InnerDialogProps.isShowTextArea = false
1046
 
1052
 
1047
             break
1053
             break
1054
+         
1048
         }
1055
         }
1049
       },
1056
       },
1050
       innerDialogComfirm: function(val) {
1057
       innerDialogComfirm: function(val) {

+ 11 - 11
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Wyświetl plik

553
                         {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
553
                         {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
554
                       </td>
554
                       </td>
555
                       <td v-if="(dialysisOrder && monitor.operate_time <= dialysisOrder.end_time) && ( dialysisOrder && monitor.operate_time >= dialysisOrder.start_time)">
555
                       <td v-if="(dialysisOrder && monitor.operate_time <= dialysisOrder.end_time) && ( dialysisOrder && monitor.operate_time >= dialysisOrder.start_time)">
556
-                        {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : 0 }}
556
+                        {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
557
                       </td>
557
                       </td>
558
                       <td v-if="(prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12) && ((dialysisOrder && monitor.operate_time <= dialysisOrder.end_time) && (dialysisOrder && monitor.operate_time >= dialysisOrder.start_time))" style="width:50px">
558
                       <td v-if="(prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12) && ((dialysisOrder && monitor.operate_time <= dialysisOrder.end_time) && (dialysisOrder && monitor.operate_time >= dialysisOrder.start_time))" style="width:50px">
559
                         {{ monitor.displacement_quantity ? monitor.displacement_quantity : 0 }}
559
                         {{ monitor.displacement_quantity ? monitor.displacement_quantity : 0 }}
643
                       <!-- <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td> -->
643
                       <!-- <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td> -->
644
                       <td height="32px">
644
                       <td height="32px">
645
                         <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{ getAdminUser(advice.advice_doctor) }}</span>
645
                         <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{ getAdminUser(advice.advice_doctor) }}</span>
646
-                        <img style="height:20px;" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else />
646
+                        <img style="height:20px" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else />
647
                       </td>
647
                       </td>
648
                       <!-- <td height="35px">
648
                       <!-- <td height="35px">
649
                     <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
649
                     <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
651
                   </td> -->
651
                   </td> -->
652
                       <td height="32px">
652
                       <td height="32px">
653
                         <span v-if="setAdminUserES(advice.execution_staff) == ''">{{ getAdminUser(advice.execution_staff) }}</span>
653
                         <span v-if="setAdminUserES(advice.execution_staff) == ''">{{ getAdminUser(advice.execution_staff) }}</span>
654
-                        <img style="height:20px;" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else />
654
+                        <img style="height:20px" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else />
655
                       </td>
655
                       </td>
656
                       <td height="32px">
656
                       <td height="32px">
657
                         <span v-if="advice.execution_time">{{ getTime(advice.execution_time, "{h}:{i}") }}</span>
657
                         <span v-if="advice.execution_time">{{ getTime(advice.execution_time, "{h}:{i}") }}</span>
973
                     <div class="under_line" style="width: 80px;text-align: center">
973
                     <div class="under_line" style="width: 80px;text-align: center">
974
                       <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) == ''">
974
                       <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) == ''">
975
                         {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) }}</span>
975
                         {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) }}</span>
976
-                      <img style="height:20px;" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse)" alt="" srcset="" v-else />
976
+                      <img style="height:23px;" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse)" alt="" srcset="" v-else />
977
                     </div>
977
                     </div>
978
                   </div>
978
                   </div>
979
                   <div class="inline_block" style="flex:1;">
979
                   <div class="inline_block" style="flex:1;">
981
                     <div class="under_line" style="width: 80px;text-align: center">
981
                     <div class="under_line" style="width: 80px;text-align: center">
982
                       <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.start_nurse) == ''">
982
                       <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.start_nurse) == ''">
983
                         {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.start_nurse) }}</span>
983
                         {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.start_nurse) }}</span>
984
-                      <img style="height:20px;" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.start_nurse)" alt="" srcset="" v-else />
984
+                      <img style="height:23px;" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.start_nurse)" alt="" srcset="" v-else />
985
                     </div>
985
                     </div>
986
                   </div>
986
                   </div>
987
                   <div class="inline_block" style="flex:1;">
987
                   <div class="inline_block" style="flex:1;">
990
                       <span v-if="setAdminUserES(check == null ? 0 : check.creater) == ''">
990
                       <span v-if="setAdminUserES(check == null ? 0 : check.creater) == ''">
991
                         {{ getAdminUser(check == null ? 0 : check.creater) }}
991
                         {{ getAdminUser(check == null ? 0 : check.creater) }}
992
                       </span>
992
                       </span>
993
-                      <img style="height:20px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt="" srcset="" v-else />
993
+                      <img style="height:23px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt="" srcset="" v-else />
994
                     </div>
994
                     </div>
995
                     <div class="under_line" style="width: 80px;text-align: center" v-if="dialysisOrder != null && dialysisOrder.start_nurse == check.modifier">
995
                     <div class="under_line" style="width: 80px;text-align: center" v-if="dialysisOrder != null && dialysisOrder.start_nurse == check.modifier">
996
                       <span v-if="setAdminUserES(check == null ? 0 : check.creater) == ''">
996
                       <span v-if="setAdminUserES(check == null ? 0 : check.creater) == ''">
997
                         {{ getAdminUser(check == null ? 0 : check.creater) }}
997
                         {{ getAdminUser(check == null ? 0 : check.creater) }}
998
                       </span>
998
                       </span>
999
-                      <img style="height:20px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt="" srcset="" v-else />
999
+                      <img style="height:23px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt="" srcset="" v-else />
1000
                     </div>
1000
                     </div>
1001
                     <div class="under_line" style="width: 80px;text-align: center" v-if="dialysisOrder != null && dialysisOrder.start_nurse == check.creater">
1001
                     <div class="under_line" style="width: 80px;text-align: center" v-if="dialysisOrder != null && dialysisOrder.start_nurse == check.creater">
1002
                       <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
1002
                       <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
1003
                         {{ getAdminUser(check == null ? 0 : check.modifier) }}
1003
                         {{ getAdminUser(check == null ? 0 : check.modifier) }}
1004
                       </span>
1004
                       </span>
1005
-                      <img style="height:20px;" :src="setAdminUserES(check == null ? 0 : check.modifier)" alt="" srcset="" v-else />
1005
+                      <img style="height:23px;" :src="setAdminUserES(check == null ? 0 : check.modifier)" alt="" srcset="" v-else />
1006
                     </div>
1006
                     </div>
1007
                     <div class="under_line" style="width: 80px;text-align: center" v-if="dialysisOrder != null && dialysisOrder.start_nurse != check.creater && dialysisOrder.start_nurse != check.modifier">
1007
                     <div class="under_line" style="width: 80px;text-align: center" v-if="dialysisOrder != null && dialysisOrder.start_nurse != check.creater && dialysisOrder.start_nurse != check.modifier">
1008
                       <span v-if="setAdminUserES(check == null ? 0 : check.creater) == ''">
1008
                       <span v-if="setAdminUserES(check == null ? 0 : check.creater) == ''">
1009
                         {{ getAdminUser(check == null ? 0 : check.creater) }}
1009
                         {{ getAdminUser(check == null ? 0 : check.creater) }}
1010
                       </span>
1010
                       </span>
1011
-                      <img style="height:20px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt="" srcset="" v-else />
1011
+                      <img style="height:23px;" :src="setAdminUserES(check == null ? 0 : check.creater)" alt="" srcset="" v-else />
1012
                     </div>
1012
                     </div>
1013
                   </div>
1013
                   </div>
1014
                   <div class="inline_block" style="flex:1;">
1014
                   <div class="inline_block" style="flex:1;">
1017
                       <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) == ''">
1017
                       <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) == ''">
1018
                         {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) }}
1018
                         {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) }}
1019
                       </span>
1019
                       </span>
1020
-                      <img style="height:20px;" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse)" alt="" srcset="" v-else />
1020
+                      <img style="height:23px;" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse)" alt="" srcset="" v-else />
1021
                     </div>
1021
                     </div>
1022
                   </div>
1022
                   </div>
1023
                   <div class="inline_block" style="flex:1;">
1023
                   <div class="inline_block" style="flex:1;">
1026
                       <span v-if="setAdminUserES(prescription.creater) == ''">
1026
                       <span v-if="setAdminUserES(prescription.creater) == ''">
1027
                         {{ getAdminUser(prescription.creater) }}
1027
                         {{ getAdminUser(prescription.creater) }}
1028
                       </span>
1028
                       </span>
1029
-                      <img style="height:20px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else />
1029
+                      <img style="height:23px;" :src="setAdminUserES(prescription.creater)" alt="" srcset="" v-else />
1030
                     </div>
1030
                     </div>
1031
                   </div>
1031
                   </div>
1032
                 </div>
1032
                 </div>

+ 1 - 1
src/xt_pages/qcd/basicInformationAnalysis.vue Wyświetl plik

710
       //本月的结束时间
710
       //本月的结束时间
711
       var monthEndDate = new Date(nowYear, nowMonth+1, 0);
711
       var monthEndDate = new Date(nowYear, nowMonth+1, 0);
712
       var timeEnd=Date.parse(monthEndDate)/1000-1;//s
712
       var timeEnd=Date.parse(monthEndDate)/1000-1;//s
713
-      // console.log("本月最后一天",timeEnd)
713
+      console.log("本月最后一天",timeEnd)
714
       //本月
714
       //本月
715
       if(state == 0){
715
       if(state == 0){
716
        //统计透析总量
716
        //统计透析总量

+ 12 - 2
src/xt_pages/stock/drugs/drugStockInOrderDetailPrint.vue Wyświetl plik

55
                   <span>{{(item.warehousing_count * item.price).toFixed(2)}}</span>
55
                   <span>{{(item.warehousing_count * item.price).toFixed(2)}}</span>
56
               </td>
56
               </td>
57
               <td style="line-height:18px">{{ item.number }}</td>
57
               <td style="line-height:18px">{{ item.number }}</td>
58
-              <td style="line-height:18px">{{ item.product_date | parseTime("{y}-{m}-{d}") }}</td>
59
-              <td style="line-height:18px">{{ item.expiry_date | parseTime("{y}-{m}-{d}") }}</td>
58
+              <td style="line-height:18px">{{ getTime(item.product_date)}}</td>
59
+              <td style="line-height:18px">{{ getTime(item.expiry_date)}}</td>
60
               <td style="line-height:18px">正常<br>入库</td>
60
               <td style="line-height:18px">正常<br>入库</td>
61
               <td style="line-height:18px">合格</td>
61
               <td style="line-height:18px">合格</td>
62
             </tr>
62
             </tr>
139
       }
139
       }
140
     },
140
     },
141
     methods: {
141
     methods: {
142
+       getTime(val) {
143
+         if(val < 0){
144
+           return ""
145
+         }
146
+         if(val == ""){
147
+          return ""
148
+         }else {
149
+          return uParseTime(val, '{y}-{m}-{d}')
150
+         }
151
+      },
142
       getDateOne(){
152
       getDateOne(){
143
         return "入库日期: "+this.start_time +"~"+this.end_time
153
         return "入库日期: "+this.start_time +"~"+this.end_time
144
       },
154
       },

+ 14 - 2
src/xt_pages/stock/stockInOrderDetailPrint.vue Wyświetl plik

48
                                     <td style="line-height:18px;">{{item.warehousing_count}}</td> 
48
                                     <td style="line-height:18px;">{{item.warehousing_count}}</td> 
49
                                     <td style="line-height:18px;">{{(item.warehousing_count*item.price).toFixed(2)}}</td>
49
                                     <td style="line-height:18px;">{{(item.warehousing_count*item.price).toFixed(2)}}</td>
50
                                     <td style="line-height:18px;">{{ item.number }}</td>
50
                                     <td style="line-height:18px;">{{ item.number }}</td>
51
-                                    <td style="line-height:18px;">{{ item.product_date | parseTime("{y}-{m}-{d}") }}</td>
52
-                                    <td style="line-height:18px;">{{ item.expiry_date | parseTime("{y}-{m}-{d}") }}</td>
51
+                                    <td style="line-height:18px;">{{ getTime(item.product_date) }}</td>
52
+                                    <td style="line-height:18px;">{{ getTime(item.expiry_date) }}</td>
53
                                     <td style="line-height:18px;">正常<br>入库</td>
53
                                     <td style="line-height:18px;">正常<br>入库</td>
54
                                     <td style="line-height:18px;">合格</td>
54
                                     <td style="line-height:18px;">合格</td>
55
                                 </tr>
55
                                 </tr>
84
 import { fetchAllAdminUsers } from "@/api/doctor";
84
 import { fetchAllAdminUsers } from "@/api/doctor";
85
 import print from 'print-js'
85
 import print from 'print-js'
86
 const moment = require('moment')
86
 const moment = require('moment')
87
+import { uParseTime } from '@/utils/tools'
87
 export default {
88
 export default {
88
     components:{
89
     components:{
89
         BreadCrumb
90
         BreadCrumb
138
           scanStyles: false
139
           scanStyles: false
139
           })
140
           })
140
       },
141
       },
142
+
143
+      getTime(val) {
144
+         if(val < 0){
145
+           return ""
146
+         }
147
+         if(val == ""){
148
+          return ""
149
+         }else {
150
+          return uParseTime(val, '{y}-{m}-{d}')
151
+         }
152
+      },
141
       
153
       
142
         GetConfigInfo: function() {
154
         GetConfigInfo: function() {
143
         GetAllConfig().then(response => {
155
         GetAllConfig().then(response => {