Commit fe790a8b authored by 王晓倩's avatar 王晓倩

台账详情小地图调整

parent 04e58e9c
...@@ -287,8 +287,8 @@ ...@@ -287,8 +287,8 @@
</el-col> </el-col>
<el-col :span="9"> <el-col :span="9">
<div id="marbox" style="width: 100%;height: 390px;margin-top: -25px; border: 1px solid rgb(218, 213, 213);margin-bottom: 10px;"> <div style="width: 100%;height: 390px;margin-top: -25px; border: 1px solid rgb(218, 213, 213);margin-bottom: 10px;">
<div style="width: 100%;height: 100%" id="detailContainer"></div> <div style="width: 100%;height: 100%" id="hiddenContainer"></div>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
...@@ -558,7 +558,7 @@ export default { ...@@ -558,7 +558,7 @@ export default {
this.title2 = "隐患整治台账详情"; this.title2 = "隐患整治台账详情";
this.$nextTick(() => { this.$nextTick(() => {
this.map = new EditorMap("detailContainer", {}, this); this.map = new EditorMap("hiddenContainer", {}, this);
this.map.addDevice({ path: this.devicePos }); this.map.addDevice({ path: this.devicePos });
this.map.nowMouseTarget = null; this.map.nowMouseTarget = null;
this.map.mousetoolClose(false); this.map.mousetoolClose(false);
......
...@@ -302,8 +302,8 @@ ...@@ -302,8 +302,8 @@
</el-col> </el-col>
<el-col :span="9"> <el-col :span="9">
<div id="marbox" style="width: 100%;height: 390px;margin-top: -25px; border: 1px solid rgb(218, 213, 213);margin-bottom: 10px;"> <div style="width: 100%;height: 390px;margin-top: -25px; border: 1px solid rgb(218, 213, 213);margin-bottom: 10px;">
<div style="width: 100%;height: 100%" id="detailContainer"></div> <div style="width: 100%;height: 100%" id="troubleContainer"></div>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
...@@ -572,7 +572,7 @@ export default { ...@@ -572,7 +572,7 @@ export default {
this.title2 = "燃气事故台账详情"; this.title2 = "燃气事故台账详情";
this.$nextTick(() => { this.$nextTick(() => {
this.map = new EditorMap("detailContainer", {}, this); this.map = new EditorMap("troubleContainer", {}, this);
this.map.addDevice({ path: this.devicePos }); this.map.addDevice({ path: this.devicePos });
this.map.nowMouseTarget = null; this.map.nowMouseTarget = null;
this.map.mousetoolClose(false); this.map.mousetoolClose(false);
......
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