|
@@ -198,6 +198,7 @@ export default {
|
198
|
198
|
scheduleZoneRow: [],
|
199
|
199
|
partitions: {},
|
200
|
200
|
theWeek: {
|
|
201
|
+ historyWeek: 0,
|
201
|
202
|
lastWeek: 0,
|
202
|
203
|
thisWeek: 0,
|
203
|
204
|
nextWeek: 0,
|
|
@@ -217,7 +218,7 @@ export default {
|
217
|
218
|
this.partition_id = this.$route.query.partition_id
|
218
|
219
|
var newList = []
|
219
|
220
|
var arr = this.$route.query.week_date
|
220
|
|
-
|
|
221
|
+ console.log('1234325431',this.$route.query);
|
221
|
222
|
if(arr!=""){
|
222
|
223
|
var newArr = arr.split(",")
|
223
|
224
|
|
|
@@ -294,6 +295,7 @@ export default {
|
294
|
295
|
}
|
295
|
296
|
var partitions = response.data.data.partitions
|
296
|
297
|
console.log("分区",partitions)
|
|
298
|
+ this.theWeek.historyWeek = this.theWeek.thisWeek - 2
|
297
|
299
|
this.theWeek.thisWeek = response.data.data.theWeek
|
298
|
300
|
this.theWeek.lastWeek = this.theWeek.thisWeek - 1
|
299
|
301
|
this.theWeek.nextWeek = this.theWeek.thisWeek + 1
|
|
@@ -473,6 +475,9 @@ export default {
|
473
|
475
|
},
|
474
|
476
|
getSchedules() {
|
475
|
477
|
var theType = 2;
|
|
478
|
+ if(this.$route.query.weekTime == "historyWeek"){
|
|
479
|
+ theType =0
|
|
480
|
+ }
|
476
|
481
|
if(this.$route.query.weekTime == "lastWeek"){
|
477
|
482
|
theType = 1
|
478
|
483
|
}
|
|
@@ -863,6 +868,9 @@ export default {
|
863
|
868
|
},
|
864
|
869
|
getPatientSheduleCount(){
|
865
|
870
|
var theType = 2;
|
|
871
|
+ if(this.$route.query.weekTime == "historyWeek"){
|
|
872
|
+ theType =0
|
|
873
|
+ }
|
866
|
874
|
if(this.$route.query.weekTime == "lastWeek"){
|
867
|
875
|
theType = 1
|
868
|
876
|
}
|
|
@@ -894,7 +902,7 @@ export default {
|
894
|
902
|
if(response.data.state == 1){
|
895
|
903
|
var list = response.data.data.list
|
896
|
904
|
console.log("list22222",list)
|
897
|
|
-
|
|
905
|
+ console.log('asdfgfffffff',response.data.data);
|
898
|
906
|
this.scheduleCountList = list
|
899
|
907
|
var total = response.data.data.total
|
900
|
908
|
console.log("totalw222",total)
|