Commit 9e76d7d1 authored by Administrator's avatar Administrator

Merge branch 'hotfix/map_list_location'

parents d3b75173 5a60a985
Pipeline #222 failed with stage
...@@ -55,12 +55,13 @@ ...@@ -55,12 +55,13 @@
<el-dialog <el-dialog
:title="dialogTitle" :title="dialogTitle"
:visible.sync="dialogTableVisible" :visible.sync="dialogTableVisible"
width="40%" width="35%"
:modal="false" :modal="false"
top="20vh"
custom-class="zero-dialog" custom-class="zero-dialog"
> >
<el-table :data="gridData" :show-header="false"> <el-table :data="gridData" :show-header="false">
<el-table-column property="title"></el-table-column> <el-table-column property="title" width="180px"></el-table-column>
<el-table-column property="content"></el-table-column> <el-table-column property="content"></el-table-column>
</el-table> </el-table>
</el-dialog> </el-dialog>
...@@ -313,8 +314,10 @@ export default { ...@@ -313,8 +314,10 @@ export default {
getUserDeviceInfo(id) { getUserDeviceInfo(id) {
deviceinfo(id) deviceinfo(id)
.then(res => { .then(res => {
this.dialogTableVisible = true;
const deviceInfo = res.data; const deviceInfo = res.data;
this.center = deviceInfo.devicecoord.replace(/\s*/g, '').split(',');
this.dialogTableVisible = true;
this.markersDeviceVisible = true;
this.gridData = [ this.gridData = [
{ {
title: '设备编号', title: '设备编号',
...@@ -512,4 +515,9 @@ export default { ...@@ -512,4 +515,9 @@ export default {
padding: 0px 10px 0px 10px; padding: 0px 10px 0px 10px;
background-color: #ffffff; background-color: #ffffff;
} }
.zero-dialog {
float: right;
right: 1px;
bottom: 1px;
}
</style> </style>
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