You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
1.3 KiB
73 lines
1.3 KiB
import request from '@/utils/request'
|
|
|
|
export default {
|
|
|
|
list: function(data) {
|
|
return request({
|
|
url: '/store/list',
|
|
method: 'post',
|
|
data: data
|
|
});
|
|
},
|
|
|
|
// 左侧数据总览
|
|
getProjectDaily: function(data) {
|
|
return request({
|
|
url: '/datacenter/getProjectDaily',
|
|
method: 'post',
|
|
data: data
|
|
});
|
|
},
|
|
|
|
// 获取指定设备列表,
|
|
getOtherList: function(data) {
|
|
return request({
|
|
url: '/datacenter/getOtherList?type=1&ckId=1a10a17b-9c56-4ef9-8986-194a858e3832',
|
|
method: 'get'
|
|
});
|
|
},
|
|
|
|
// 获取摄像头状态数量 ,
|
|
getStatusCount: function(data) {
|
|
return request({
|
|
url: '/datacenter/getStatusCount?ckId=1a10a17b-9c56-4ef9-8986-194a858e3832',
|
|
method: 'get'
|
|
});
|
|
},
|
|
|
|
// 实时监控 ,
|
|
getVedioPcLiveById: function(data) {
|
|
return request({
|
|
url: '/datacenter/getVedioPcLiveById?id=' + data,
|
|
method: 'get'
|
|
});
|
|
},
|
|
|
|
|
|
// 回放监控 ,
|
|
getVedioPcRecById: function(data) {
|
|
return request({
|
|
url: '/datacenter/getVedioPcRecById?id=' + data,
|
|
method: 'get'
|
|
});
|
|
},
|
|
|
|
// 库存货值 ,
|
|
getInventory: function(data) {
|
|
return request({
|
|
url: '/datacenter/getInventory?orderDate=' + data,
|
|
method: 'get'
|
|
});
|
|
},
|
|
|
|
// 库存分析图 ,
|
|
getReportInventory: function(data) {
|
|
return request({
|
|
url: '/datacenter/getReportInventory',
|
|
method: 'post',
|
|
data: data
|
|
});
|
|
},
|
|
|
|
|
|
}
|