基坑管理

dev
haha 2024-08-25 23:43:08 +08:00
parent 5f0b59fe0c
commit 4a5b608c34
1 changed files with 4 additions and 3 deletions

View File

@ -409,7 +409,7 @@ export default {
this.selDate = [dt1, dt2];
this.urlImgBgd = "url(images/data/excavation-01.jpg) 100% 100%";
this.forBitMappedImageData = JSON.parse(
'[{"sensorTypeName":"位移(WY)","pointName":"位移26","drawId":"7039969819126403072","sensorInfoId":"7042034685840703494","url":"","xpixels":1492.266916,"sortValue":1,"createData":"2023-03-20 20:06:19","top":86.56728596535274,"fileSize":"2276*1280","left":607.8571428571429,"ypixels":117.403425,"sensorType":"CollWeiyiPoint","statusTime":"2024-03-09 22:40:04","otherProjectId":"1634117283072266241","isBase":"0","sensorSmallType":"24","drawName":"御井路公租房.jpg","status":"0","state":true,"imgUrl":"images/place_chenjiang_green.png"},{"sensorTypeName":"沉降(CJ)","pointName":"沉降53","drawId":"7039969819126403072","sensorInfoId":"7039970088807718912","url":"","xpixels":423.054061,"sortValue":1,"createData":"2023-03-20 20:06:19","top":152.63871453678132,"fileSize":"2276*1280","left":211.42857142857142,"ypixels":336.059302,"sensorType":"CollWeiyiPoint","statusTime":"2024-03-09 22:40:04","otherProjectId":"1634117283072266241","isBase":"1","sensorSmallType":"80","drawName":"御井路公租房.jpg","status":"0","state":true,"imgUrl":"images/place_chenjiang_blue.png"},{"sensorTypeName":"倾斜(QX)","pointName":"倾斜44","drawId":"7039969819126403072","sensorInfoId":"7039970088841273344","url":"","xpixels":387.71104,"sortValue":1,"createData":"2023-03-13 11:22:53","top":112.99585739392417,"fileSize":"2276*1280","left":317.1428571428571,"ypixels":766.483595,"sensorType":"CollQingxiePoint","statusTime":"2024-03-09 22:40:04","otherProjectId":"1634117283072266241","isBase":"0","sensorSmallType":"33","drawName":"御井路公租房.jpg","status":"0","state":true,"imgUrl":"images/place_qingxie_green.png"}]'
);
@ -583,6 +583,7 @@ export default {
this.$api.pitmonit.monitDays(this.projectInfo.id),
this.$api.pitmonit.alarmList(this.projectInfo.id),
];
this.urlImgBgd = "url(/jhapi"+this.projectInfo.prjPlanUrl+")";
this.$api.http.all(ajaxs).then((res) => {
this.monTotal = res[0].data.dev || 0;
this.onlineDevTotal = res[0].data.data || 0;
@ -594,8 +595,8 @@ export default {
let pts = res[1].data.filter((d) => d.dataType == "horizontal").map(d=>{
d.isOnline=d.collectTime && spDate(d.collectTime) < 3;
d.pt=JSON.parse(d.remark||"{}");
d.top=d.pt.x||0;
d.left=d.pt.y||0;
d.top=d.pt.y||0;
d.left=d.pt.x||0;
return d;
});
this.pointElements=pts;