Merge branch 'dev-yjl' into 'shenzhen-dev'
修改人员定位系统页面-(点位配置、人员定位)平面图显示图标 See merge request !60
This commit is contained in:
commit
3df5e71c49
BIN
src/assets/images/deepFoundationPitManage/jz.png
Normal file
BIN
src/assets/images/deepFoundationPitManage/jz.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
BIN
src/assets/images/deepFoundationPitManage/ld.png
Normal file
BIN
src/assets/images/deepFoundationPitManage/ld.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
@ -138,8 +138,8 @@
|
|||||||
<img
|
<img
|
||||||
@mousedown.prevent="move(index,$event)"
|
@mousedown.prevent="move(index,$event)"
|
||||||
@mouseup="up(index,$event)"
|
@mouseup="up(index,$event)"
|
||||||
style="width: 70px; height:70px;"
|
style="width: 30px; height:30px;"
|
||||||
src="@/assets/images/deepFoundationPitManage/ljz.png"
|
src="@/assets/images/deepFoundationPitManage/ld.png"
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@ -154,8 +154,8 @@
|
|||||||
<img
|
<img
|
||||||
@mousedown.prevent="move(index,$event)"
|
@mousedown.prevent="move(index,$event)"
|
||||||
@mouseup="up(index,$event)"
|
@mouseup="up(index,$event)"
|
||||||
style="width: 70px; height:70px;"
|
style="width: 30px; height:30px;"
|
||||||
src="@/assets/images/deepFoundationPitManage/zc.png"
|
src="@/assets/images/deepFoundationPitManage/jz.png"
|
||||||
/>
|
/>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@ -20,9 +20,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div ref="mapbox">
|
<div ref="mapbox">
|
||||||
<vue-scroll style="height: 780px">
|
<vue-scroll style="height: 780px">
|
||||||
<div
|
<div class="img-box">
|
||||||
class="img-box"
|
|
||||||
>
|
|
||||||
<img
|
<img
|
||||||
ref="map"
|
ref="map"
|
||||||
v-if="mapUrl"
|
v-if="mapUrl"
|
||||||
@ -42,26 +40,36 @@
|
|||||||
'scale(' + 1 / imgZoom + ')' + ' ' + item.transform,
|
'scale(' + 1 / imgZoom + ')' + ' ' + item.transform,
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
|
<el-tooltip
|
||||||
<el-tooltip :content="item.name" effect="dark" placement="top" v-if="item.type == 1">
|
:content="item.name"
|
||||||
|
effect="dark"
|
||||||
|
placement="top"
|
||||||
|
v-if="item.type == 1"
|
||||||
|
>
|
||||||
<img
|
<img
|
||||||
@click="detailsBtn(item)"
|
@click="detailsBtn(item)"
|
||||||
style="width: 70px; height: 70px"
|
style="width: 30px; height: 30px"
|
||||||
src="@/assets/images/deepFoundationPitManage/ljz.png"
|
src="@/assets/images/deepFoundationPitManage/ld.png"
|
||||||
/>
|
/>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
|
||||||
<el-tooltip :content="item.name" effect="dark" placement="top" v-if="item.type != 1">
|
<el-tooltip
|
||||||
|
:content="item.name"
|
||||||
|
effect="dark"
|
||||||
|
placement="top"
|
||||||
|
v-if="item.type != 1"
|
||||||
|
>
|
||||||
<img
|
<img
|
||||||
@click="detailsBtn(item)"
|
@click="detailsBtn(item)"
|
||||||
style="width: 70px; height: 70px"
|
style="width: 30px; height: 30px"
|
||||||
src="@/assets/images/deepFoundationPitManage/zc.png"
|
src="@/assets/images/deepFoundationPitManage/jz.png"
|
||||||
/>
|
/>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</vue-scroll>
|
</vue-scroll>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 点位详情弹框 -->
|
<!-- 点位详情弹框 -->
|
||||||
@ -149,8 +157,8 @@ export default {
|
|||||||
if (item.id == val) {
|
if (item.id == val) {
|
||||||
this.mapUrl = item.imageUrl;
|
this.mapUrl = item.imageUrl;
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.getNaturalSize();
|
this.getNaturalSize();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
console.log("this.mapUrl", this.mapUrl);
|
console.log("this.mapUrl", this.mapUrl);
|
||||||
@ -191,7 +199,7 @@ export default {
|
|||||||
let _this = this;
|
let _this = this;
|
||||||
var img = new Image();
|
var img = new Image();
|
||||||
img.src = Domlement.src;
|
img.src = Domlement.src;
|
||||||
console.log("getNaturalSize 图片地址",img.src);
|
console.log("getNaturalSize 图片地址", img.src);
|
||||||
img.onload = function () {
|
img.onload = function () {
|
||||||
natureSize.width = img.width;
|
natureSize.width = img.width;
|
||||||
natureSize.height = img.height;
|
natureSize.height = img.height;
|
||||||
@ -233,7 +241,7 @@ export default {
|
|||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
console.log("点位信息", res);
|
console.log("点位信息", res);
|
||||||
if ((res.code = 200)) {
|
if ((res.code = 200)) {
|
||||||
this.PointSummary = []
|
this.PointSummary = [];
|
||||||
this.baseStationList = res.result.baseStationList;
|
this.baseStationList = res.result.baseStationList;
|
||||||
this.figureBuildingList = res.result.figureBuildingList;
|
this.figureBuildingList = res.result.figureBuildingList;
|
||||||
|
|
||||||
@ -242,15 +250,14 @@ export default {
|
|||||||
this.PointSummary.push(item);
|
this.PointSummary.push(item);
|
||||||
});
|
});
|
||||||
this.figureBuildingList.forEach((item) => {
|
this.figureBuildingList.forEach((item) => {
|
||||||
console.log("item hotspot--",item.hotspot);
|
console.log("item hotspot--", item.hotspot);
|
||||||
if(item.hotspot != null) {
|
if (item.hotspot != null) {
|
||||||
let hstspot = JSON.parse(item.hotspot)
|
let hstspot = JSON.parse(item.hotspot);
|
||||||
item.mapX = hstspot[0]
|
item.mapX = hstspot[0];
|
||||||
item.mapY = hstspot[1]
|
item.mapY = hstspot[1];
|
||||||
|
|
||||||
}
|
}
|
||||||
item.type = 1;
|
item.type = 1;
|
||||||
item.name = item.buildingName
|
item.name = item.buildingName;
|
||||||
this.PointSummary.push(item);
|
this.PointSummary.push(item);
|
||||||
});
|
});
|
||||||
this.pointList = this.PointSummary;
|
this.pointList = this.PointSummary;
|
||||||
@ -268,10 +275,9 @@ export default {
|
|||||||
type: val.type,
|
type: val.type,
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
console.log("查看点位信息详情 数据", res);
|
console.log("查看点位信息详情 数据", res);
|
||||||
this.tableData = res.result
|
this.tableData = res.result;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
@ -287,113 +293,122 @@ export default {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
height: 80%;
|
height: 80%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
// text-align: center;
|
// text-align: center;
|
||||||
.tag-box {
|
.tag-box {
|
||||||
// position: absolute;
|
// position: absolute;
|
||||||
// top: 0;
|
// top: 0;
|
||||||
// right: 0;
|
// right: 0;
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
margin-bottom: 6px;
|
margin-bottom: 6px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
.tag-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
align-items: center;
|
||||||
.tag-item {
|
margin-right: 76px;
|
||||||
display: flex;
|
span {
|
||||||
align-items: center;
|
display: inline-block;
|
||||||
margin-right: 76px;
|
width: 8px;
|
||||||
span {
|
height: 8px;
|
||||||
display: inline-block;
|
border-radius: 50%;
|
||||||
width: 8px;
|
margin-right: 6px;
|
||||||
height: 8px;
|
|
||||||
border-radius: 50%;
|
|
||||||
margin-right: 6px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.img-box {
|
}
|
||||||
// margin: 0 auto;
|
.img-box {
|
||||||
// height: 100%;
|
// margin: 0 auto;
|
||||||
// width: 100%;
|
// height: 100%;
|
||||||
// top: 50%;
|
// width: 100%;
|
||||||
transform: translateY(-50%);
|
// top: 50%;
|
||||||
transform-origin: left top;
|
transform: translateY(-50%);
|
||||||
position: relative;
|
transform-origin: left top;
|
||||||
img {
|
position: relative;
|
||||||
|
img {
|
||||||
|
position: absolute;
|
||||||
|
width: 96%;
|
||||||
|
height: 755px;
|
||||||
|
display: block;
|
||||||
|
margin: 0 0 0 28px;
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
.point-list {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
li {
|
||||||
|
display: inline-block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100% ;
|
|
||||||
height: 800px ;
|
|
||||||
display: block;
|
|
||||||
margin: 0 auto;
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
}
|
||||||
.point-list {
|
.point-dialog {
|
||||||
width: 100%;
|
background: rgba(#2a2e3f, 0.9);
|
||||||
height: 100%;
|
color: #fff;
|
||||||
|
width: 238px;
|
||||||
|
height: auto;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 0 16px;
|
||||||
|
padding-bottom: 18px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: -8px;
|
||||||
|
transform: translate(-50%, -100%);
|
||||||
|
font-size: 12px;
|
||||||
|
.el-icon-error {
|
||||||
|
position: absolute;
|
||||||
|
right: 12px;
|
||||||
|
top: 10px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.point-title {
|
||||||
|
// height: 40px;
|
||||||
|
line-height: 20px;
|
||||||
|
border-bottom: 1px solid rgba(254, 255, 255, 1);
|
||||||
|
margin-bottom: 13px;
|
||||||
|
font-size: 14px;
|
||||||
|
word-break: break-all;
|
||||||
|
padding: 10px 0;
|
||||||
|
}
|
||||||
|
.point-content {
|
||||||
|
font-size: 14px;
|
||||||
|
p {
|
||||||
|
line-height: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.point-title2 {
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
white-space: nowrap;
|
||||||
|
font-size: 16px;
|
||||||
|
padding: 10px 20px;
|
||||||
|
}
|
||||||
|
.right_detail {
|
||||||
|
left: 30px;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
transform: translate(0, 0);
|
||||||
li {
|
}
|
||||||
display: inline-block;
|
.right_title {
|
||||||
position: absolute;
|
left: 30px;
|
||||||
}
|
top: -8px;
|
||||||
.point-dialog {
|
transform: translate(0, 0);
|
||||||
background: rgba(#2a2e3f, 0.9);
|
|
||||||
color: #fff;
|
|
||||||
width: 238px;
|
|
||||||
height: auto;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 0 16px;
|
|
||||||
padding-bottom: 18px;
|
|
||||||
position: absolute;
|
|
||||||
left: 50%;
|
|
||||||
top: -8px;
|
|
||||||
transform: translate(-50%, -100%);
|
|
||||||
font-size: 12px;
|
|
||||||
.el-icon-error {
|
|
||||||
position: absolute;
|
|
||||||
right: 12px;
|
|
||||||
top: 10px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.point-title {
|
|
||||||
// height: 40px;
|
|
||||||
line-height: 20px;
|
|
||||||
border-bottom: 1px solid rgba(254, 255, 255, 1);
|
|
||||||
margin-bottom: 13px;
|
|
||||||
font-size: 14px;
|
|
||||||
word-break: break-all;
|
|
||||||
padding: 10px 0;
|
|
||||||
}
|
|
||||||
.point-content {
|
|
||||||
font-size: 14px;
|
|
||||||
p {
|
|
||||||
line-height: 24px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.point-title2 {
|
|
||||||
width: auto;
|
|
||||||
height: auto;
|
|
||||||
white-space: nowrap;
|
|
||||||
font-size: 16px;
|
|
||||||
padding: 10px 20px;
|
|
||||||
}
|
|
||||||
.right_detail {
|
|
||||||
left: 30px;
|
|
||||||
top: 0;
|
|
||||||
transform: translate(0, 0);
|
|
||||||
}
|
|
||||||
.right_title {
|
|
||||||
left: 30px;
|
|
||||||
top: -8px;
|
|
||||||
transform: translate(0, 0);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.el-select {
|
}
|
||||||
margin-right: 20px;
|
.el-select {
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
||||||
|
.noDataImgBox {
|
||||||
|
img {
|
||||||
|
width: 250px;
|
||||||
|
margin-bottom: 200px;
|
||||||
}
|
}
|
||||||
|
p {
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Loading…
x
Reference in New Issue
Block a user