浏览代码

提工时成功统计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)