소스 검색

提工时成功统计bug

Lijy 8 달 전
부모
커밋
8d49e5f742
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      fhKeeper/formulahousekeeper/timesheet/src/views/project/cost.vue

+ 3 - 0
fhKeeper/formulahousekeeper/timesheet/src/views/project/cost.vue

@@ -147,6 +147,9 @@ export default {
     methods: {
         filterPersonnel(id, name) {
             this.pageIndex = 1
+            if(!id) {
+                this.filterConditionSwitching()
+            }
             if (this.chartUserId) {
                 let arrList = JSON.parse(JSON.stringify(this.personnelAllPlly))
                 const arr = arrList.list.filter(item => item.name == name)