Commit d7d8abf1 by 张杰

Merge branch 'v1.7.0-zxw' into 'v1.7.0'

V1.7.0 zxw

See merge request !10
2 parents 373254fc 8492947a
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
} }
.map-controll.toleft{ .map-controll.toleft{
left: 150px; left: 150px;
right: calc(100% - 316px)
} }
.map-bottom-controll { .map-bottom-controll {
......
...@@ -245,8 +245,8 @@ ...@@ -245,8 +245,8 @@
if(data.length){ if(data.length){
data.forEach((item, idx)=>{ data.forEach((item, idx)=>{
item.idx = idx; item.idx = idx;
item.name = item.ownerName item.name = item.ownerName || '--'
item.standno = item.workOrderNo item.standno = item.workOrderNo || '--'
item.begintime = item.beginTime item.begintime = item.beginTime
item.endtime = item.endTime item.endtime = item.endTime
}); });
......
...@@ -148,8 +148,9 @@ ...@@ -148,8 +148,9 @@
let params = { let params = {
sn: this.sn, sn: this.sn,
timeRange: this.form.daterange, timeRange: this.form.daterange,
locationType: this.locationType === 'bsLocation' ? 2 : this.locationType === 'gpsLocation' ? 1 : '' locationType: this.locationType === 'bsLocation' ? 2 : this.locationType === 'gpsLocation' ? 1 : '',
// times: this.form.timerange, // times: this.form.timerange,
times: 4 // 无时间段选项 默认传全天(4)
} }
this.params = params this.params = params
GET_RESIDENT_LOCATION(params).then((res)=>{ GET_RESIDENT_LOCATION(params).then((res)=>{
...@@ -158,8 +159,8 @@ ...@@ -158,8 +159,8 @@
if(data.length){ if(data.length){
data.forEach((item, idx)=>{ data.forEach((item, idx)=>{
item.idx = idx; item.idx = idx;
item.name = item.ownerName item.name = item.ownerName || '--'
item.standNo = item.workOrderNo item.standNo = item.workOrderNo || '--'
}); });
this.resultList = data; this.resultList = data;
EventBus.$emit('uiMap.resident.draw', data); EventBus.$emit('uiMap.resident.draw', data);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!