Commit b644004a authored by zhanglw's avatar zhanglw

视频回放

parent 7dc02d56
...@@ -2994,7 +2994,36 @@ var HttpReq = function(){ ...@@ -2994,7 +2994,36 @@ var HttpReq = function(){
responseType: 'blob' responseType: 'blob'
}) })
}, },
propleGetPerequipmentVisitout: function(param){
return request({
url: '/tab/perequipment/visitout',
method: 'get',
params:param,
responseType: 'blob'
})
},
propleGetHisout: function(param){
return request({
url: '/tab/perhis/hisout',
method: 'get',
params:param,
responseType: 'blob'
})
},
propleGetHisphoto: function(param){
return request({
url: '/tab/perhis/hisphoto',
method: 'get',
params:param,
})
},
propleGetHisvideo: function(param){
return request({
url: '/tab/perhis/hisvideo',
method: 'get',
params:param,
})
},
}, },
......
...@@ -208,10 +208,10 @@ export default { ...@@ -208,10 +208,10 @@ export default {
if(param.timeList && param.timeList.length){ if(param.timeList && param.timeList.length){
param.daterange=param.timeList.join(','); param.daterange=param.timeList.join(',');
} }
HttpReq.truckDispatching.propleGetPerequipmentOut(param).then((res) => { HttpReq.truckDispatching.propleGetPerequipmentVisitout(param).then((res) => {
loading.close(); loading.close();
let d = new Date(); let d = new Date();
this.download(res, `人员设备定位_${d.getFullYear()}${('0'+(d.getMonth()+1)).substr(-2)}${('0'+(d.getDate())).substr(-2)}`, 'xlsx') this.download(res, `来访人员设备_${d.getFullYear()}${('0'+(d.getMonth()+1)).substr(-2)}${('0'+(d.getDate())).substr(-2)}`, 'xlsx')
}) })
}, },
cancelForm() { cancelForm() {
......
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