|
@@ -261,16 +261,15 @@ export default {
|
|
|
radioChange(val) {
|
|
|
if (val === '忙碌') {
|
|
|
this.queryTeamWorkList()
|
|
|
- } else {
|
|
|
+ } else if (val === '空闲') {
|
|
|
this.queryTeamIdleList()
|
|
|
}
|
|
|
if (val === '今天') {
|
|
|
- // if (this.radio2TF) {
|
|
|
- // this.radio2 = ''
|
|
|
- // }
|
|
|
this.$refs.ganttHeader.recenterPosition()
|
|
|
- // this.radio2TF = !this.radio2TF
|
|
|
}
|
|
|
+ this.changeDateLength(val)
|
|
|
+ },
|
|
|
+ changeDateLength(val) {
|
|
|
if (val === '月') {
|
|
|
this.$refs.ganttHeader.scale = 24
|
|
|
}
|