Browse Source

风门故障统计分析,车辆损坏排查-更新

lxh 3 tháng trước cách đây
mục cha
commit
e74bc22f7d

+ 3 - 0
src/views/vent/monitorManager/gateMonitor/components/CarDamageTable.vue

@@ -22,6 +22,9 @@
       <a-table size="small" :dataSource="dataSource" :columns="carColumns" :pagination="pagination"
         :scroll="{ y: 200, }" @change="pageChange">
         <template #bodyCell="{ column, text }">
+            <template v-if="column.dataIndex=='carNo' || column.dataIndex=='distance' || column.dataIndex=='photo' || column.dataIndex=='captureTime'">
+            <div>{{ text  ? text : '-' }}</div>
+          </template>
           <template v-if="column.dataIndex == 'type'">
             <div>{{ text == '1' ? '风门损坏' : '正常开闭' }}</div>
           </template>

+ 3 - 0
src/views/vent/monitorManager/gateMonitor/components/WindDoorFaultTable.vue

@@ -3,6 +3,9 @@
     <a-table size="small" :dataSource="dataSource" :columns="faultColumns" :pagination="pagination"
       :scroll="{ y: 200, }" @change="pageChange">
       <template #bodyCell="{ column, text }">
+         <template v-if="column.dataIndex != 'status' &&  column.dataIndex!='strInstallPos' && column.dataIndex!='strName'">
+          <div>{{ text ? text : '-'   }}</div>
+        </template>
         <template v-if="column.dataIndex == 'status'">
           <div>{{ text == '1' ? '是' : '否' }}</div>
         </template>