Преглед на файлове

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