Commit 4c48e9f4 authored by 王晓倩's avatar 王晓倩

上报数据统计页面修改,地图中心点修改

parent d9a69c99
...@@ -203,7 +203,8 @@ class gaodeMap { ...@@ -203,7 +203,8 @@ class gaodeMap {
let defaultCenter = []; let defaultCenter = [];
defaultCenter.push(result.districtList[0].center.lng); defaultCenter.push(result.districtList[0].center.lng);
defaultCenter.push(result.districtList[0].center.lat); defaultCenter.push(result.districtList[0].center.lat);
map.setCenter(defaultCenter); // map.setCenter(defaultCenter);
map.setCenter([124.762977, 45.127297]);
let bounds = result.districtList[0].boundaries; let bounds = result.districtList[0].boundaries;
for (let i = 0; i < bounds.length; i += 1) { for (let i = 0; i < bounds.length; i += 1) {
new AMap.Polyline({ new AMap.Polyline({
......
...@@ -64,8 +64,8 @@ ...@@ -64,8 +64,8 @@
</el-row> </el-row>
<el-table v-loading="loading" :data="deviceList"> <el-table v-loading="loading" :data="deviceList">
<el-table-column label="设备名称" align="center" prop="deviceNum" /> <el-table-column label="设备名称" align="center" prop="deviceName" />
<el-table-column label="设备编号" align="center" prop="deviceName" /> <el-table-column label="设备编号" align="center" prop="deviceNum" />
<el-table-column label="设备上报开始时间" align="center" prop="startTime" /> <el-table-column label="设备上报开始时间" align="center" prop="startTime" />
<el-table-column label="设备上报结束时间" align="center" prop="endTime" /> <el-table-column label="设备上报结束时间" align="center" prop="endTime" />
<el-table-column label="标况累计流量(m³)" align="center" prop="standardConditionAccumulation" /> <el-table-column label="标况累计流量(m³)" align="center" prop="standardConditionAccumulation" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment