|
@@ -190,7 +190,7 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
getQueryTime () {
|
|
|
- const paramsDate = this.$route.query.start
|
|
|
+ const paramsDate = this.$route.query.end
|
|
|
if (paramsDate) {
|
|
|
const paramsData = {
|
|
|
year: dateFormatter(paramsDate * 1000, 'yyyy'),
|
|
@@ -234,7 +234,7 @@ export default {
|
|
|
queryData.start = this.getQueryTime.start
|
|
|
queryData.end = this.getQueryTime.end
|
|
|
this.weekList.forEach((v, index) => {
|
|
|
- if (String(v.startdate) === queryData.start) {
|
|
|
+ if (String(v.enddate) === queryData.end) {
|
|
|
this.isWeekIndex = index
|
|
|
}
|
|
|
})
|