GaoYuPeng 3 years ago
parent
commit
d37baea7b7

+ 1 - 1
shanXiPlatform/src/views/facilitiesEquipment/facilitiesManagement/newFacilities/index.vue

@@ -17,7 +17,7 @@
17
       </el-table-column>
17
       </el-table-column>
18
       <el-table-column prop="checkTime" label="最近记录时间" align="center">
18
       <el-table-column prop="checkTime" label="最近记录时间" align="center">
19
         <template slot-scope="scope">
19
         <template slot-scope="scope">
20
-         <span>{{ scope.row.checkTime.slice(0,16) }}</span>
20
+         <span>{{ scope.row.checkTime == null?scope.row.checkTime:scope.row.checkTime.slice(0,16) }}</span>
21
         </template>
21
         </template>
22
       </el-table-column>
22
       </el-table-column>
23
       <el-table-column prop="checkState" label="状态" align="center">
23
       <el-table-column prop="checkState" label="状态" align="center">