Browse Source

航站视图样式修改

zhongxiaoyu 2 years ago
parent
commit
5dd271189b

+ 8 - 2
src/views/baggageManagement/components/departure/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: zk
  * @Date: 2022-01-17 10:39:22
- * @LastEditTime: 2022-05-30 18:31:10
+ * @LastEditTime: 2022-05-31 11:09:27
  * @LastEditors: your name
  * @Description: 离港01
 -->
@@ -417,9 +417,15 @@ export default {
       }
     },
     headerCellClass({ row, column }) {
+      const classes = []
       if (['riskWarning', 'departureAnomaly', 'midIn'].includes(column.property)) {
-        return 'bgl-huang'
+        classes.push('bgl-huang')
+      }
+      const rule = this.tableDataSortRules[column.property]
+      if (rule) {
+        classes.push(rule)
       }
+      return classes.join(' ')
     },
     // 获取表单下拉框数据
     // getFormData(params) {

+ 2 - 2
src/views/baggageManagement/components/flight/index.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2022-01-17 10:39:22
- * @LastEditTime: 2022-05-30 18:26:00
+ * @LastEditTime: 2022-05-31 11:11:10
  * @LastEditors: your name
  * @Description: 航班视图
 -->
@@ -629,7 +629,7 @@ export default {
     })
   },
   beforeDestroy() {
-    this.fullscreenLoading = false
+    this.loading?.close()
   },
   methods: {
     rowClass({ row, rowIndex }) {