Commit b7d727f5 by jack

修复bug

1 parent e1463758
...@@ -55,10 +55,18 @@ ...@@ -55,10 +55,18 @@
<el-table-column label="车架号" prop="vin" show-overflow-tooltip> <el-table-column label="车架号" prop="vin" show-overflow-tooltip>
<template slot-scope="{row}">{{row.vin||'--'}}</template> <template slot-scope="{row}">{{row.vin||'--'}}</template>
</el-table-column> </el-table-column>
<el-table-column label="超速开始时间" prop="alarmTime" show-overflow-tooltip></el-table-column> <el-table-column label="超速开始时间" prop="beginTime" show-overflow-tooltip>
<el-table-column label="超速结束时间" prop="alarmTime" show-overflow-tooltip></el-table-column> <template slot-scope="{row}">{{row.beginTime||'--'}}</template>
<el-table-column label="超速时长" prop="duration" show-overflow-tooltip></el-table-column> </el-table-column>
<el-table-column label="平均车速" prop="fenceName" show-overflow-tooltip></el-table-column> <el-table-column label="超速结束时间" prop="endTime" show-overflow-tooltip>
<template slot-scope="{row}">{{row.endTime||'--'}}</template>
</el-table-column>
<el-table-column label="超速时长" prop="durationFormat" show-overflow-tooltip>
<template slot-scope="{row}">{{row.durationFormat||'--'}}</template>
</el-table-column>
<el-table-column label="平均车速" prop="averageSpeed" show-overflow-tooltip>
<template slot-scope="{row}">{{(row.averageSpeed||row.averageSpeed == 0)?row.averageSpeed + 'km/h':'--'}}</template>
</el-table-column>
</el-table> </el-table>
<div class="pagination_list"> <div class="pagination_list">
<el-pagination background layout="sizes, total,prev, pager, next, jumper" :total="pageTotal" :current-page.sync="currentPage" :page-size="pageSize" :page-sizes="pageSizes" @current-change="getList" @size-change="changePageSize" /> <el-pagination background layout="sizes, total,prev, pager, next, jumper" :total="pageTotal" :current-page.sync="currentPage" :page-size="pageSize" :page-sizes="pageSizes" @current-change="getList" @size-change="changePageSize" />
...@@ -75,7 +83,7 @@ import GlsxOrganization from "@/components/glsx-organization"; ...@@ -75,7 +83,7 @@ import GlsxOrganization from "@/components/glsx-organization";
import { import {
GET_FENCEALARM_LIST, GET_FENCEALARM_LIST,
GET_SPEEDING_EXPORT, GET_SPEEDING_EXPORT,
GET_SPEEDING_SEARCH GET_SPEEDING_SEARCH,
} from "@/services/alarmCenter"; } from "@/services/alarmCenter";
import { deepClone, showToast, downFileByPath } from "@/utils/util"; import { deepClone, showToast, downFileByPath } from "@/utils/util";
export default { export default {
...@@ -181,7 +189,6 @@ export default { ...@@ -181,7 +189,6 @@ export default {
downFileByPath(res.data); downFileByPath(res.data);
}); });
}, },
}, },
}; };
</script> </script>
......
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
</el-table-column> </el-table-column>
<el-table-column label="特殊状态" prop="specialState" show-overflow-tooltip></el-table-column> <el-table-column label="特殊状态" prop="specialState" show-overflow-tooltip></el-table-column>
<el-table-column label="是否结清" prop="settleFlag" show-overflow-tooltip> <el-table-column label="是否结清" prop="settleFlag" show-overflow-tooltip>
<template slot-scope="{row}">{{settleFlagList[row.settleFlag]||'--'}}</template> <template slot-scope="{row}">{{row.settleFlag||'--'}}</template>
</el-table-column> </el-table-column>
<el-table-column label="操作" prop="vehicleUsageStr" width="170"> <el-table-column label="操作" prop="vehicleUsageStr" width="170">
<template slot-scope="{row}"> <template slot-scope="{row}">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!