Pārlūkot izejas kodu

国际出港航站视图-表头修改

zhongxiaoyu 2 gadi atpakaļ
vecāks
revīzija
220eb7adfe

+ 2 - 2
src/hooks/useTableFilterAndSort.ts

@@ -5,8 +5,8 @@ import { CommonData, CommonTableColumn } from '~/common'
 export function useTableFilterAndSort(
   tableColumns: Ref<CommonTableColumn[]>,
   tableData: Ref<CommonData[]>,
-  defaultFilterValueMap = {},
-  defaultSortRuleMap = {}
+  defaultFilterValueMap: { [x: string]: string[] } = {},
+  defaultSortRuleMap: { [x: string]: string } = {}
 ) {
   watch([tableColumns, tableData], ([columns, records]) => {
     const tempSets = {}

+ 10 - 10
src/views/realTime/components/AirportView/useAirportTable.ts

@@ -424,21 +424,21 @@ const columnGroupsMap: {
           columnName: 'planeDownTime',
           columnLabel: '机下交接\n时间',
         },
-        {
-          columnName: "concat(loadPlaneSureBoard,'/',loadPlaneSure)",
-          columnLabel: '装机单确认\n(板卡/件)',
-        },
+        // {
+        //   columnName: "concat(loadPlaneSureBoard,'/',loadPlaneSure)",
+        //   columnLabel: '装机\n(板卡/件)',
+        // },
         {
           columnName: 'loadPlaneSureTime',
-          columnLabel: '装机单确认\n时间',
-        },
-        {
-          columnName: 'loadPlane',
-          columnLabel: '装机\n(板卡/件)',
+          columnLabel: '装机时间',
         },
+        // {
+        //   columnName: 'loadPlane',
+        //   columnLabel: '关闭舱门\n(板卡/件)',
+        // },
         {
           columnName: 'loadPlaneTime',
-          columnLabel: '装机时间',
+          columnLabel: '关闭舱门\n时间',
         },
         {
           columnName: 'register',