物联组态 对接数据
This commit is contained in:
@@ -5,7 +5,7 @@ export function listCenter(query) {
|
|||||||
return request({
|
return request({
|
||||||
url: '/scada/picture/list',
|
url: '/scada/picture/list',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -13,7 +13,7 @@ export function listCenter(query) {
|
|||||||
export function getCenter(id) {
|
export function getCenter(id) {
|
||||||
return request({
|
return request({
|
||||||
url: '/scada/picture/' + id,
|
url: '/scada/picture/' + id,
|
||||||
method: 'get'
|
method: 'get',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ export function addCenter(data) {
|
|||||||
return request({
|
return request({
|
||||||
url: '/scada/picture',
|
url: '/scada/picture',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: data
|
data: data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -31,7 +31,7 @@ export function updateCenter(data) {
|
|||||||
return request({
|
return request({
|
||||||
url: '/scada/picture',
|
url: '/scada/picture',
|
||||||
method: 'put',
|
method: 'put',
|
||||||
data: data
|
data: data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -39,6 +39,33 @@ export function updateCenter(data) {
|
|||||||
export function delCenter(id) {
|
export function delCenter(id) {
|
||||||
return request({
|
return request({
|
||||||
url: '/scada/picture/' + id,
|
url: '/scada/picture/' + id,
|
||||||
method: 'delete'
|
method: 'delete',
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询维修完成情况数据
|
||||||
|
export function getMaintenanceData(query) {
|
||||||
|
return request({
|
||||||
|
url: '/iot/configuration/repairList',
|
||||||
|
method: 'get',
|
||||||
|
params: query,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询保养统计数据
|
||||||
|
export function getMaintenanceStats(query) {
|
||||||
|
return request({
|
||||||
|
url: '/iot/configuration/maintenanceList',
|
||||||
|
method: 'get',
|
||||||
|
params: query,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查询设备列表
|
||||||
|
export function getDeviceList(query) {
|
||||||
|
return request({
|
||||||
|
url: '/iot/configuration/deviceList',
|
||||||
|
method: 'get',
|
||||||
|
params: query,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user