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 @@
}
.map-controll.toleft{
left: 150px;
right: calc(100% - 316px)
}
.map-bottom-controll {
......
......@@ -245,8 +245,8 @@
if(data.length){
data.forEach((item, idx)=>{
item.idx = idx;
item.name = item.ownerName
item.standno = item.workOrderNo
item.name = item.ownerName || '--'
item.standno = item.workOrderNo || '--'
item.begintime = item.beginTime
item.endtime = item.endTime
});
......
......@@ -148,8 +148,9 @@
let params = {
sn: this.sn,
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: 4 // 无时间段选项 默认传全天(4)
}
this.params = params
GET_RESIDENT_LOCATION(params).then((res)=>{
......@@ -158,8 +159,8 @@
if(data.length){
data.forEach((item, idx)=>{
item.idx = idx;
item.name = item.ownerName
item.standNo = item.workOrderNo
item.name = item.ownerName || '--'
item.standNo = item.workOrderNo || '--'
});
this.resultList = 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!