Эх сурвалжийг харах

局方报文-表格格式修改

zhongxiaoyu 2 жил өмнө
parent
commit
50115a73b5

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

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