|
@@ -2798,10 +2798,10 @@ export default {
|
2798
|
2798
|
this.partition_id = val
|
2799
|
2799
|
this.getWeekPanels()
|
2800
|
2800
|
|
2801
|
|
- this.getSchedules()
|
|
2801
|
+ // this.getSchedules()
|
2802
|
2802
|
// this.getWeekPanels()
|
2803
|
2803
|
|
2804
|
|
- this.getSchedules()
|
|
2804
|
+
|
2805
|
2805
|
},
|
2806
|
2806
|
changeSchedule_type(val) {
|
2807
|
2807
|
this.$emit('event2', val)
|
|
@@ -2809,7 +2809,7 @@ export default {
|
2809
|
2809
|
|
2810
|
2810
|
this.getSchedules()
|
2811
|
2811
|
|
2812
|
|
- this.getSchedules()
|
|
2812
|
+
|
2813
|
2813
|
},
|
2814
|
2814
|
changeWeekDay(val) {
|
2815
|
2815
|
this.$emit('event3', val)
|
|
@@ -2879,7 +2879,8 @@ export default {
|
2879
|
2879
|
var day=(date.getDate())<10 ? "0"+(date.getDate()):(date.getDate())
|
2880
|
2880
|
this.end_time = date.getFullYear() + "-" + month + "-" + day;
|
2881
|
2881
|
console.log('1234566',this.lastweek.start_day,this.lastweek.end_day);
|
2882
|
|
- this.getSchedules()
|
|
2882
|
+ this.getAllZones()
|
|
2883
|
+ // this.getSchedules()
|
2883
|
2884
|
},
|
2884
|
2885
|
getSchedules(){
|
2885
|
2886
|
|
|
@@ -2898,13 +2899,11 @@ export default {
|
2898
|
2899
|
end_time:this.end_time + ' 23:59:59',
|
2899
|
2900
|
// start_time: this.lastweek.start_day + " 00:00:00",
|
2900
|
2901
|
// end_time: this.lastweek.end_day + ' 23:59:59',
|
2901
|
|
- start_time: this.start_time + " 00:00:00",
|
2902
|
|
- end_time:this.end_time + ' 23:59:59',
|
2903
|
2902
|
weekTime: this.theType,
|
2904
|
2903
|
patitionid: str,
|
2905
|
2904
|
schedule_type: this.schedule_type,
|
2906
|
2905
|
}
|
2907
|
|
-
|
|
2906
|
+ console.log("str--------",str)
|
2908
|
2907
|
getSchedulesOne(params).then(response => {
|
2909
|
2908
|
console.log('getSchedulesOne',response.data.data);
|
2910
|
2909
|
if (response.data.state == 1) {
|
|
@@ -2965,7 +2964,7 @@ export default {
|
2965
|
2964
|
|
2966
|
2965
|
var that = this;
|
2967
|
2966
|
|
2968
|
|
- this.scheduleZone.forEach(function (zone, index) {
|
|
2967
|
+
|
2969
|
2968
|
|
2970
|
2969
|
|
2971
|
2970
|
this.scheduleZone.forEach(function (zone, index) {
|