reedliuqing_i 5 жил өмнө
parent
commit
fac4d893a5

+ 4 - 5
src/views/workbench/team/index.vue

@@ -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
       }