seimin 3 years ago
parent
commit
65c1048b8d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/workList.vue

+ 2 - 2
src/views/workList.vue

@@ -129,10 +129,10 @@ export default {
129
       var arr = [];
129
       var arr = [];
130
       if (this.searchType2 === "1") {
130
       if (this.searchType2 === "1") {
131
         //迟到
131
         //迟到
132
-        arr = this.itemsSave.filter(v => v. === '正常'? == "迟到");
132
+        arr = this.itemsSave.filter(v => v.extra2 == "迟到");
133
       } else if (this.searchType2 === "2") {
133
       } else if (this.searchType2 === "2") {
134
         //早退
134
         //早退
135
-        arr = this.itemsSave.filter(v => v. === '正常'? == "早退");
135
+        arr = this.itemsSave.filter(v => v.extra2 == "早退");
136
       } else if (this.searchType2 === "0") {
136
       } else if (this.searchType2 === "0") {
137
         //全部
137
         //全部
138
         arr = JSON.parse(JSON.stringify(this.itemsSave));
138
         arr = JSON.parse(JSON.stringify(this.itemsSave));