yq1 1 year ago
parent
commit
aa26fa163a

+ 38 - 22
src/xt_pages/dialysis/batch_print/batch_print_order_seventy.vue View File

271
                                   .blood_access_part_id
271
                                   .blood_access_part_id
272
                               : 0
272
                               : 0
273
                           }}
273
                           }}
274
-                          {{
275
-                            record.assessment_before_dislysis &&
276
-                            record.assessment_before_dislysis
277
-                              .blood_access_part_opera_name
278
-                              ? record.assessment_before_dislysis
279
-                                  .blood_access_part_opera_name
280
-                              : ""
281
-                          }}
274
+                          {{QueryPartById(record.assessment_before_dislysis.blood_access_part_opera_id) }}
282
                         </div>
275
                         </div>
283
                       </div>                    
276
                       </div>                    
284
                     </div>
277
                     </div>
291
                         内瘘:
284
                         内瘘:
292
                         <div
285
                         <div
293
                           class="under_line"
286
                           class="under_line"
294
-                          style="width: 120px; text-align: center"
287
+                          style="width: 200px; text-align: center"
295
                         >
288
                         >
296
                           {{
289
                           {{
297
                             record.assessment_before_dislysis &&
290
                             record.assessment_before_dislysis &&
310
                         导管:
303
                         导管:
311
                         <div
304
                         <div
312
                           class="under_line"
305
                           class="under_line"
313
-                          style="width: 120px; text-align: center"
306
+                          style="width: 200px; text-align: center"
314
                         >
307
                         >
315
                           {{
308
                           {{
316
                             record.assessment_before_dislysis &&
309
                             record.assessment_before_dislysis &&
320
                           }}
313
                           }}
321
                         </div>
314
                         </div>
322
                       </div>
315
                       </div>
316
+
317
+                      
318
+                    </div>
319
+                    <!-- 穿刺 -->
320
+                    <div class="row"
321
+                      style="padding: 2px 0; line-height: 23px; display: flex"
322
+                    >
323
                       <div
323
                       <div
324
                         class="inline_block"
324
                         class="inline_block"
325
                         style=" flex: 1"
325
                         style=" flex: 1"
413
                       </div>
413
                       </div>
414
                       </div>
414
                       </div>
415
                     </div>
415
                     </div>
416
+
416
                     <div
417
                     <div
417
                       class="row"
418
                       class="row"
418
                       style="padding: 2px 0; line-height: 23px; display: flex"
419
                       style="padding: 2px 0; line-height: 23px; display: flex"
751
                       style="padding: 2px 0; line-height: 23px; display: flex"
752
                       style="padding: 2px 0; line-height: 23px; display: flex"
752
                     > 
753
                     > 
753
 
754
 
754
-                      <div class="inline_block" style="flex: 1">
755
+                      <div class="inline_block" style="flex:1">
755
                         透前症状:
756
                         透前症状:
756
                         <div
757
                         <div
757
                           class="under_line"
758
                           class="under_line"
768
                         </div>
769
                         </div>
769
                       </div>
770
                       </div>
770
 
771
 
771
-                      <div class="inline_block" style="flex: 1">
772
+                      <div class="inline_block" style="flex:1.4">
772
                         透析(滤)器:
773
                         透析(滤)器:
773
                         <div
774
                         <div
774
                           class="under_line"
775
                           class="under_line"
788
                           }}
789
                           }}
789
                         </div>
790
                         </div>
790
                       </div>
791
                       </div>
791
-                      <div class="inline_block" style="flex: 0.8">
792
+                      <div class="inline_block" style="flex:1">
792
                         灌流器:
793
                         灌流器:
793
                         <div
794
                         <div
794
                           class="under_line"
795
                           class="under_line"
803
                         </div>
804
                         </div>
804
                       </div>
805
                       </div>
805
 
806
 
806
-                      <div class="inline_block" style="flex: 0.7">
807
+                      <div class="inline_block" style="flex: 1">
807
                         透析机号:
808
                         透析机号:
808
                         <div
809
                         <div
809
                           class="under_line"
810
                           class="under_line"
820
                         </div>
821
                         </div>
821
                       </div>
822
                       </div>
822
 
823
 
823
-                      <div class="inline_block" style="flex: 1">
824
+                      <!-- <div class="inline_block" style="flex: 1">
824
                         透析机型:
825
                         透析机型:
825
                         <div
826
                         <div
826
                           class="under_line"
827
                           class="under_line"
831
                               record.assessment_before_dislysis.machine_type : '' 
832
                               record.assessment_before_dislysis.machine_type : '' 
832
                           }}
833
                           }}
833
                         </div>
834
                         </div>
834
-                      </div>
835
+                      </div> -->
835
                      
836
                      
836
                     </div>
837
                     </div>
837
 
838
 
2547
     //   this.replacementWays = this.$store.getters.replacement_ways;
2548
     //   this.replacementWays = this.$store.getters.replacement_ways;
2548
     //   this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
2549
     //   this.perfusionApparatus = this.$store.getters.perfusion_apparatus;
2549
     this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
2550
     this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
2550
-    // for(let i = 0 ; i < this.records.length ; i++){
2551
-    //   console.log(i,'jhk')
2552
-    //   this.blood_access_part_opera_name = this.bloodAccessParOperaName(
2553
-    //   i.assessment_before_dislysis.blood_access_part_opera_id
2554
-    // );
2555
-    // }
2551
+    for(let i = 0 ; i < this.records.length ; i++){
2552
+      console.log(i,'jhk')
2553
+      this.blood_access_part_opera_name = this.bloodAccessParOperaName(
2554
+      i.assessment_before_dislysis.blood_access_part_opera_id
2555
+    );
2556
+    }
2556
     console.log(this.bloodAccessParOpera, "this.bloodAccessParOpera");
2557
     console.log(this.bloodAccessParOpera, "this.bloodAccessParOpera");
2557
 
2558
 
2558
     for (var key in bloodAccessParOpera) {
2559
     for (var key in bloodAccessParOpera) {
2970
       }
2971
       }
2971
       return "";
2972
       return "";
2972
     },
2973
     },
2974
+    
2973
     // 函数说明:因为一次透析记录有些记录不一定是必须填的,比如 record.receive_assessment 可能为 null,所以要取 record.receive_assessment.way 前需要判断 record.receive_assessment 是否为 null,所以这个方法用来简化模板渲染的代码
2975
     // 函数说明:因为一次透析记录有些记录不一定是必须填的,比如 record.receive_assessment 可能为 null,所以要取 record.receive_assessment.way 前需要判断 record.receive_assessment 是否为 null,所以这个方法用来简化模板渲染的代码
2974
     // 参数说明:比如判断 record.receive_assessment.way 是不是为1,参数为 (record.receive_assessment, way, 1)
2976
     // 参数说明:比如判断 record.receive_assessment.way 是不是为1,参数为 (record.receive_assessment, way, 1)
2975
     isCheckBoxChecked: function (record, key, target_value) {
2977
     isCheckBoxChecked: function (record, key, target_value) {
3023
     getNumber: function (record) {
3025
     getNumber: function (record) {
3024
       console.log(record);
3026
       console.log(record);
3025
     },
3027
     },
3028
+    QueryPartById: function (val) {
3029
+        let vascular_access_part_name = "/";
3030
+        const vascular_access = getDataConfig(
3031
+          "hemodialysis",
3032
+          "vascular_access_desc"
3033
+        );
3034
+
3035
+        for (let i = 0; i < vascular_access.length; i++) {
3036
+          if (vascular_access[i].id == val) {
3037
+            vascular_access_part_name = vascular_access[i].name;
3038
+          }
3039
+        }
3040
+        return vascular_access_part_name;
3041
+      },
3026
   },
3042
   },
3027
 };
3043
 };
3028
 </script>
3044
 </script>

+ 114 - 19
src/xt_pages/dialysis/template/DialysisPrintOrderSeventy.vue View File

256
                     style="padding: 2px 0; line-height: 23px; display: flex"
256
                     style="padding: 2px 0; line-height: 23px; display: flex"
257
                   >
257
                   >
258
 
258
 
259
-                    <div class="inline_block" style="">
259
+                    <div class="inline_block" style="flex: 1;">
260
+                      内瘘:
261
+                      <div
262
+                        class="under_line"
263
+                        style="
264
+                          width: 200px;
265
+                          text-align: center;
266
+                          white-space: normal;
267
+                        "
268
+                      >
269
+                        {{
270
+                          predialysis.internal_fistula
271
+                            ? predialysis.internal_fistula
272
+                            : "/"
273
+                        }}
274
+                      </div>
275
+                    </div>
276
+
277
+                    <div
278
+                      class="inline_block"
279
+                      style=" flex: 1"
280
+                    >
281
+                      导管:
282
+                      <div
283
+                        class="under_line"
284
+                        style="width: 200px; text-align: center"
285
+                      >
286
+                        {{ predialysis.catheter ? predialysis.catheter : "/" }}
287
+                      </div>
288
+                    </div>
289
+                     <!-- <div
290
+                      class="inline_block"
291
+                      style=" flex: 0.9"
292
+
293
+                    >
294
+                      穿刺方式:
295
+                      <div
296
+                        class="under_line"
297
+                        style="width: 60px; text-align: center"
298
+                        v-if="predialysis.puncture_way == ''"
299
+                      >
300
+                         /
301
+                      </div>
302
+                      <div
303
+                        class="under_line"
304
+                        style="width: 60px; text-align: center"
305
+                        v-if="predialysis.puncture_way.indexOf('绳梯') > -1"
306
+                      >
307
+                        绳梯
308
+                      </div>
309
+                      <div
310
+                        class="under_line"
311
+                        style="width: 60px; text-align: center"
312
+                        v-if="predialysis.puncture_way.indexOf('扣眼') > -1"
313
+                      >
314
+                        扣眼
315
+                      </div>
316
+                      <div
317
+                        class="under_line"
318
+                        style="width: 60px; text-align: center"
319
+                        v-if="predialysis.puncture_way.indexOf('区域') > -1"
320
+                      >
321
+                        区域
322
+                      </div>
323
+                    </div>
324
+                     <div
325
+                      class="inline_block"
326
+                      style=" flex: 1"
327
+                    >
328
+                      穿刺针:
329
+                      <div
330
+                        class="under_line"
331
+                        style="width: 80px; text-align: center"
332
+                      >
333
+                      <span>
334
+                        {{
335
+                          predialysis.puncture_needle
336
+                            ? predialysis.puncture_needle
337
+                            : "/"
338
+                        }}
339
+                      </span>
340
+
341
+                      </div>
342
+                    </div>
343
+                    <div
344
+                      class="inline_block"
345
+                      style=" flex: 1"
346
+                    >
347
+                      穿刺方向:
348
+                      <div
349
+                        class="under_line"
350
+                        style="width: 100px; text-align: center"
351
+                      >
352
+                      <span>
353
+                        {{
354
+
355
+                        }}
356
+                      </span>
357
+
358
+                      </div>
359
+                    </div> -->
360
+                  </div>
361
+
362
+                  <div
363
+                    class="row"
364
+                    style="padding: 2px 0; line-height: 23px; display: flex"
365
+                  >
366
+
367
+                    <!-- <div class="inline_block" style="">
260
                       内瘘:
368
                       内瘘:
261
                       <div
369
                       <div
262
                         class="under_line"
370
                         class="under_line"
285
                       >
393
                       >
286
                         {{ predialysis.catheter ? predialysis.catheter : "/" }}
394
                         {{ predialysis.catheter ? predialysis.catheter : "/" }}
287
                       </div>
395
                       </div>
288
-                    </div>
396
+                    </div> -->
289
                      <div
397
                      <div
290
                       class="inline_block"
398
                       class="inline_block"
291
                       style=" flex: 1"
399
                       style=" flex: 1"
301
                       </div>
409
                       </div>
302
                       <div
410
                       <div
303
                         class="under_line"
411
                         class="under_line"
304
-                        style="width: 100px; text-align: center"
412
+                        style="width: 60px; text-align: center"
305
                         v-if="predialysis.puncture_way.indexOf('绳梯') > -1"
413
                         v-if="predialysis.puncture_way.indexOf('绳梯') > -1"
306
                       >
414
                       >
307
                         绳梯
415
                         绳梯
308
                       </div>
416
                       </div>
309
                       <div
417
                       <div
310
                         class="under_line"
418
                         class="under_line"
311
-                        style="width: 100px; text-align: center"
419
+                        style="width: 60px; text-align: center"
312
                         v-if="predialysis.puncture_way.indexOf('扣眼') > -1"
420
                         v-if="predialysis.puncture_way.indexOf('扣眼') > -1"
313
                       >
421
                       >
314
                         扣眼
422
                         扣眼
315
                       </div>
423
                       </div>
316
                       <div
424
                       <div
317
                         class="under_line"
425
                         class="under_line"
318
-                        style="width: 100px; text-align: center"
426
+                        style="width: 60px; text-align: center"
319
                         v-if="predialysis.puncture_way.indexOf('区域') > -1"
427
                         v-if="predialysis.puncture_way.indexOf('区域') > -1"
320
                       >
428
                       >
321
                         区域
429
                         区域
748
                       </div>
856
                       </div>
749
                     </div>
857
                     </div>
750
 
858
 
751
-                    <div class="inline_block" style="flex: 1">
859
+                    <div class="inline_block" style="flex: 1.2">
752
                       透析(滤)器:
860
                       透析(滤)器:
753
                       <!--  透析(滤)器分开取值 -->
861
                       <!--  透析(滤)器分开取值 -->
754
                       <div
862
                       <div
798
 
906
 
799
                     </div>
907
                     </div>
800
 
908
 
801
-                    <div
802
-                      class="inline_block"
803
-                      style="flex: 1"
804
-                    >
805
-                      透析机型号:
806
-                      <div
807
-                        class="under_line"
808
-                        style="width: 100px; text-align: center"
809
-                      >
810
-                       {{predialysis.machine_type ? predialysis.machine_type : ""}}
811
-                      </div>
812
-
813
-                    </div>
814
                   </div>
909
                   </div>
815
 
910
 
816
                   <div
911
                   <div

+ 79 - 23
src/xt_pages/user/doctorAdvice.vue View File

2528
         }
2528
         }
2529
       });
2529
       });
2530
     },
2530
     },
2531
+    // 点击报存
2531
     submitNewAdvice(formName, action) {
2532
     submitNewAdvice(formName, action) {
2532
       console.log("kkkthis.adviceForm",this.adviceForm)
2533
       console.log("kkkthis.adviceForm",this.adviceForm)
2533
       this.$refs[formName].validate(valid => {
2534
       this.$refs[formName].validate(valid => {
3256
       this.dialogFormVisible = true;
3257
       this.dialogFormVisible = true;
3257
     },
3258
     },
3258
     changeAdviceName(key) {
3259
     changeAdviceName(key) {
3260
+      
3259
       if (key in this.adviceTemplateMaps) {
3261
       if (key in this.adviceTemplateMaps) {
3260
         this.adviceForm.advice_name = this.adviceTemplateMaps[key].advice_name;
3262
         this.adviceForm.advice_name = this.adviceTemplateMaps[key].advice_name;
3261
         this.adviceForm.advice_desc = this.adviceTemplateMaps[key].advice_desc;
3263
         this.adviceForm.advice_desc = this.adviceTemplateMaps[key].advice_desc;
3276
           key
3278
           key
3277
         ].execution_frequency;
3279
         ].execution_frequency;
3278
       }
3280
       }
3281
+      console.log('444444',this.adviceForm);
3279
     },
3282
     },
3280
     indexMethod(index) {
3283
     indexMethod(index) {
3281
       if (index === 0) {
3284
       if (index === 0) {
4661
        this.current_drug_name = name
4664
        this.current_drug_name = name
4662
        this.adviceForm.advice_desc = ''
4665
        this.adviceForm.advice_desc = ''
4663
       this.drugSpec = []
4666
       this.drugSpec = []
4667
+      console.log('7777777',name);
4664
       for (let i = 0; i < this.all_drug.length; i++) {
4668
       for (let i = 0; i < this.all_drug.length; i++) {
4669
+        // if(this.all_drug[i].drug_name.indexOf(name) != -1){
4670
+
4671
+        // }
4665
         if (this.all_drug[i].drug_name == name) {
4672
         if (this.all_drug[i].drug_name == name) {
4666
             this.drugSpec = this.all_drug[i].drug_specs
4673
             this.drugSpec = this.all_drug[i].drug_specs
4674
+            console.log('this.drugSpec',this.drugSpec);
4675
+            for(let i=0;i<this.drugSpec.length;i++){
4676
+                console.log('this.drugSpec.length',this.drugSpec[i].drug_name);
4677
+                if (this.drugSpec[i].drug_name == name) {
4678
+                  console.log('22222222',this.drugSpec[i])
4679
+                  this.adviceForm.advice_desc = this.drugSpec[i].drug_spec
4680
+                  this.adviceForm.prescribing_number = this.drugSpec[i].prescribing_number.toString()
4681
+                  this.adviceForm.single_dose = this.drugSpec[i].single_dose.toString()
4682
+                  this.adviceForm.delivery_way = this.drugSpec[i].delivery_way.toString()
4683
+                  this.adviceForm.execution_frequency = this.drugSpec[i].execution_frequency.toString()
4684
+                  this.drug_id = this.drugSpec[i].id
4685
+                  this.src_type = this.drugSpec[i].type
4686
+                  this.adviceForm.drug_id = this.drugSpec[i].id
4687
+                  this.adviceForm.way = this.drugSpec[i].type
4688
+                  this.adviceForm.single_dose_unit = this.drugSpec[i].min_unit
4689
+                  this.adviceForm.drug_spec_unit = this.drugSpec[i].min_unit
4690
+                  this.adviceForm.prescribing_number_unit = this.drugSpec[i].min_unit
4691
+                  if(this.drugSpec[i].drug_name_id){
4692
+                    this.adviceForm.drug_name_id = this.drugSpec[i].drug_name_id
4693
+                  }else{
4694
+                    this.adviceForm.drug_name_id = 0
4695
+                  }
4696
+                }
4697
+            }
4667
           }
4698
           }
4668
        }
4699
        }
4669
     },
4700
     },
4670
    changeDrugDescTwo(name){
4701
    changeDrugDescTwo(name){
4671
       this.current_drug_spec = name
4702
       this.current_drug_spec = name
4672
-        for (let i = 0; i < this.drugSpec.length; i++) {
4673
-          if (this.drugSpec[i].drug_spec == name) {
4674
-            this.adviceForm.advice_desc = this.drugSpec[i].drug_spec
4675
-            this.adviceForm.prescribing_number = this.drugSpec[i].prescribing_number.toString()
4676
-            this.adviceForm.single_dose = this.drugSpec[i].single_dose.toString()
4677
-            this.adviceForm.delivery_way = this.drugSpec[i].delivery_way.toString()
4678
-            this.adviceForm.execution_frequency = this.drugSpec[i].execution_frequency.toString()
4679
-            this.drug_id = this.drugSpec[i].id
4680
-            this.src_type = this.drugSpec[i].type
4681
-            this.adviceForm.drug_id = this.drugSpec[i].id
4682
-            this.adviceForm.way = this.drugSpec[i].type
4683
-            this.adviceForm.single_dose_unit = this.drugSpec[i].min_unit
4684
-            this.adviceForm.drug_spec_unit = this.drugSpec[i].min_unit
4685
-            this.adviceForm.prescribing_number_unit = this.drugSpec[i].min_unit
4686
-            if(this.drugSpec[i].drug_name_id){
4687
-               this.adviceForm.drug_name_id = this.drugSpec[i].drug_name_id
4688
-            }else{
4689
-              this.adviceForm.drug_name_id = 0
4690
-            }
4691
-          }
4692
-        }
4703
+        // for (let i = 0; i < this.drugSpec.length; i++) {
4704
+        //   if (this.drugSpec[i].drug_spec == name) {
4705
+        //     console.log('22222222',this.drugSpec[i])
4706
+        //     this.adviceForm.advice_desc = this.drugSpec[i].drug_spec
4707
+        //     this.adviceForm.prescribing_number = this.drugSpec[i].prescribing_number.toString()
4708
+        //     this.adviceForm.single_dose = this.drugSpec[i].single_dose.toString()
4709
+        //     this.adviceForm.delivery_way = this.drugSpec[i].delivery_way.toString()
4710
+        //     this.adviceForm.execution_frequency = this.drugSpec[i].execution_frequency.toString()
4711
+        //     this.drug_id = this.drugSpec[i].id
4712
+        //     this.src_type = this.drugSpec[i].type
4713
+        //     this.adviceForm.drug_id = this.drugSpec[i].id
4714
+        //     this.adviceForm.way = this.drugSpec[i].type
4715
+        //     this.adviceForm.single_dose_unit = this.drugSpec[i].min_unit
4716
+        //     this.adviceForm.drug_spec_unit = this.drugSpec[i].min_unit
4717
+        //     this.adviceForm.prescribing_number_unit = this.drugSpec[i].min_unit
4718
+        //     if(this.drugSpec[i].drug_name_id){
4719
+        //        this.adviceForm.drug_name_id = this.drugSpec[i].drug_name_id
4720
+        //     }else{
4721
+        //       this.adviceForm.drug_name_id = 0
4722
+        //     }
4723
+        //   }
4724
+        // }
4693
    },
4725
    },
4694
    changeDrugName(name){
4726
    changeDrugName(name){
4695
        this.current_drug_name = name
4727
        this.current_drug_name = name
4731
     },
4763
     },
4732
 
4764
 
4733
      querySearch(queryString, cb) {
4765
      querySearch(queryString, cb) {
4734
-        console.log('queryString',queryString)
4766
+        console.log('queryString1111',queryString)
4735
         var restaurants = this.all_drug;
4767
         var restaurants = this.all_drug;
4736
         restaurants.map(item => {
4768
         restaurants.map(item => {
4737
           item.value = item.drug_name
4769
           item.value = item.drug_name
4738
         })
4770
         })
4739
         var results = queryString ? restaurants.filter(this.createFilter(queryString)) : restaurants;
4771
         var results = queryString ? restaurants.filter(this.createFilter(queryString)) : restaurants;
4772
+      //  var results=arr
4740
         // 调用 callback 返回建议列表的数据
4773
         // 调用 callback 返回建议列表的数据
4741
         console.log('results',results)
4774
         console.log('results',results)
4742
         cb(results);
4775
         cb(results);
4744
 
4777
 
4745
      createFilter(queryString) {
4778
      createFilter(queryString) {
4746
         return (restaurant) => {
4779
         return (restaurant) => {
4747
-          return (restaurant.drug_name.toLowerCase().indexOf(queryString.toLowerCase()) === 0);
4780
+          // return (restaurant.drug_name.toLowerCase().indexOf(queryString.toLowerCase()) === 0);
4781
+          return (restaurant.drug_name.indexOf(queryString) != -1);
4748
         };
4782
         };
4749
      },
4783
      },
4750
 
4784
 
4784
         this.nameForm.drug_id = tmp.id
4818
         this.nameForm.drug_id = tmp.id
4785
         console.log("isiisisthis.adviceForm",this.adviceForm)
4819
         console.log("isiisisthis.adviceForm",this.adviceForm)
4786
         this.adviceForm.drug_id = tmp.id
4820
         this.adviceForm.drug_id = tmp.id
4821
+        for (let i = 0; i < this.drugSpec.length; i++) {
4822
+          if (this.drugSpec[i].drug_spec == tmp.drug_name) {
4823
+            console.log('22222222',this.drugSpec[i])
4824
+            this.adviceForm.advice_desc = this.drugSpec[i].drug_spec
4825
+            this.adviceForm.prescribing_number = this.drugSpec[i].prescribing_number.toString()
4826
+            this.adviceForm.single_dose = this.drugSpec[i].single_dose.toString()
4827
+            this.adviceForm.delivery_way = this.drugSpec[i].delivery_way.toString()
4828
+            this.adviceForm.execution_frequency = this.drugSpec[i].execution_frequency.toString()
4829
+            this.drug_id = this.drugSpec[i].id
4830
+            this.src_type = this.drugSpec[i].type
4831
+            this.adviceForm.drug_id = this.drugSpec[i].id
4832
+            this.adviceForm.way = this.drugSpec[i].type
4833
+            this.adviceForm.single_dose_unit = this.drugSpec[i].min_unit
4834
+            this.adviceForm.drug_spec_unit = this.drugSpec[i].min_unit
4835
+            this.adviceForm.prescribing_number_unit = this.drugSpec[i].min_unit
4836
+            if(this.drugSpec[i].drug_name_id){
4837
+               this.adviceForm.drug_name_id = this.drugSpec[i].drug_name_id
4838
+            }else{
4839
+              this.adviceForm.drug_name_id = 0
4840
+            }
4841
+          }
4842
+        }
4787
       },
4843
       },
4788
       getTime(val) {
4844
       getTime(val) {
4789
          if(val < 0){
4845
          if(val < 0){