Pārlūkot izejas kodu

更新 航次列表航次状态字段

wzh 3 gadi atpakaļ
vecāks
revīzija
1884916302
1 mainītis faili ar 12 papildinājumiem un 2 dzēšanām
  1. 12 2
      src/views/voyage/voyageList.vue

+ 12 - 2
src/views/voyage/voyageList.vue

@@ -171,15 +171,25 @@
       <el-table-column
       <el-table-column
         prop="setSailTime"
         prop="setSailTime"
         label="开航时间"
         label="开航时间"
-        min-width="180"
+        min-width="100"
         align="center"
         align="center"
       ></el-table-column>
       ></el-table-column>
       <el-table-column
       <el-table-column
         prop="expectedArrivalTime"
         prop="expectedArrivalTime"
         label="预计到港时间"
         label="预计到港时间"
-        min-width="180"
+        min-width="100"
         align="center"
         align="center"
       ></el-table-column>
       ></el-table-column>
+      <el-table-column
+        prop="abnormalStatus"
+        label="航次状态"
+        min-width="180"
+        align="center"
+      >
+        <template v-slot="scope">
+          {{ scope.row.abnormalStatus == 0 ? "正常" : "异常" }}
+        </template>
+      </el-table-column>
       <el-table-column
       <el-table-column
         prop="daysInPort"
         prop="daysInPort"
         label="在港天数"
         label="在港天数"