소스 검색

航站视图-排序修改

zhongxiaoyu 2 년 전
부모
커밋
4d90652d06
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/newQuery/components/table.vue

+ 2 - 2
src/views/newQuery/components/table.vue

@@ -442,7 +442,7 @@ export default {
             this.leaveCount++
           }
         })
-        this.tableData = _.orderBy(cData, ['canceled', 'scheduleTakeOffTime', 'normalState'], ['desc', 'asc', 'desc']);
+        this.tableData = _.orderBy(cData, ['canceled', 'hasTakenOff', 'scheduleTakeOffTime'], ['desc', 'asc', 'asc']);
       }
       if (this.$route.path == '/newArrival') {
         this.arriveCount = 0
@@ -456,7 +456,7 @@ export default {
             this.arriveCount++
           }
         })
-        this.tableData = _.orderBy(cData, ['canceled', 'actualLandInTime', 'normalState'], ['desc', 'asc', 'desc'])
+        this.tableData = _.orderBy(cData, ['canceled', 'hasLanded', 'actualLandInTime'], ['desc', 'asc', 'asc'])
       }
       if (this.$route.path.startsWith('/newTransfer')) {
         this.leaveCount = 0