|
@@ -151,7 +151,7 @@ export default {
|
|
|
endTime: moment(this.timeSelectVal[1]).format('YYYY.MM.DD')
|
|
|
},
|
|
|
peoples: [
|
|
|
- ...this.filtrate.checkedMembers
|
|
|
+ ...(this.filtrate.checkedMembers || [])
|
|
|
]
|
|
|
}
|
|
|
this.loading = true
|
|
@@ -177,6 +177,8 @@ export default {
|
|
|
this.radioChange()
|
|
|
},
|
|
|
queryTeamIdleList(data) {
|
|
|
+ // 如果数据为空不执行
|
|
|
+ if (JSON.stringify(data) === '{}') return
|
|
|
const today = new Date()
|
|
|
const colorlist = ['#A1DEFF', '#FAB5B5', '#BCED86', '#FFA87F', '#8E44AD', '#1EBC61', '#0287D0']
|
|
|
this.personal = false
|