Explorar el Código

局方报文-表格格式修改

zhongxiaoyu hace 2 años
padre
commit
50115a73b5
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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') {