Răsfoiți Sursa

局方报文-表格格式修改

zhongxiaoyu 2 ani în urmă
părinte
comite
50115a73b5
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      src/views/dataQuery/message/index.vue

+ 2 - 2
src/views/dataQuery/message/index.vue

@@ -272,7 +272,7 @@ const columns = [
   },
   {
     columnName: 'airportState',
-    columnLabel: '报文收发方状态',
+    columnLabel: '报文收发方',
   },
   {
     columnName: 'messageDetails',
@@ -305,7 +305,7 @@ const messageStateMap = {
 }
 const formatter: CommonTableFormatter = (row, column, cellValue, index) => {
   const value = String(cellValue ?? '').trim()
-  if (['fileName', 'messageName'].includes(column.property)) {
+  if (column.property === 'fileName') {
     return MESSAGE_TYPE[value] ?? value
   }
   if (column.property === 'execTime') {