XMLWAN 3 years ago
parent
commit
6135ab9fb5
1 changed files with 6 additions and 5 deletions
  1. 6 5
      src/xt_pages/workforce/appointment.vue

+ 6 - 5
src/xt_pages/workforce/appointment.vue View File

2772
                 let weekOfday = parseInt(moment().format('d')) 
2772
                 let weekOfday = parseInt(moment().format('d')) 
2773
                 start_time =  this.getTimestamp(moment().subtract(weekOfday + 6, 'days').format('YYYY-MM-DD')) -28800
2773
                 start_time =  this.getTimestamp(moment().subtract(weekOfday + 6, 'days').format('YYYY-MM-DD')) -28800
2774
                 end_time =  this.getTimestamp(moment().subtract(weekOfday, 'days').format('YYYY-MM-DD')) -28800
2774
                 end_time =  this.getTimestamp(moment().subtract(weekOfday, 'days').format('YYYY-MM-DD')) -28800
2775
-                // console.log("start",start_time)
2776
-                // console.log("end",end_time)
2775
+                console.log("start",start_time)
2776
+                console.log("end",end_time)
2777
              }
2777
              }
2778
             
2778
             
2779
             //本周
2779
             //本周
2780
              if(this.form.lastweek == "2"){
2780
              if(this.form.lastweek == "2"){
2781
                 start_time = this.getTimestamp(this.weekDayArr[0])
2781
                 start_time = this.getTimestamp(this.weekDayArr[0])
2782
                 end_time = this.getTimestamp(this.weekDayArr[6])
2782
                 end_time = this.getTimestamp(this.weekDayArr[6])
2783
-                // console.log("start",start_time)
2784
-                // console.log("end",end_time)
2783
+                console.log("start",start_time)
2784
+                console.log("end",end_time)
2785
              }
2785
              }
2786
 
2786
 
2787
             var label = ""
2787
             var label = ""
2801
               copy_endtime:copy_endtime,
2801
               copy_endtime:copy_endtime,
2802
             }
2802
             }
2803
          
2803
          
2804
-         
2804
+           console.log("param22222",params)
2805
+           
2805
            this.$refs[formName].validate(valid=>{
2806
            this.$refs[formName].validate(valid=>{
2806
               if(valid){
2807
               if(valid){
2807
                 copyPatientSchedule(params).then(response=>{
2808
                 copyPatientSchedule(params).then(response=>{