|
|
|
@ -4,7 +4,7 @@ import request from "../request";
|
|
|
|
|
//获取线路树状结构
|
|
|
|
|
export function getdyTreeListJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getdyTreeList",
|
|
|
|
|
url: "/api/getdyTreeList",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -12,7 +12,7 @@ export function getdyTreeListJoggle(data) {
|
|
|
|
|
//获取图片接口
|
|
|
|
|
export function getTerminalPhotoListJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getTerminalPhotoList",
|
|
|
|
|
url: "/api/getTerminalPhotoList",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -21,7 +21,7 @@ export function getTerminalPhotoListJoggle(data) {
|
|
|
|
|
|
|
|
|
|
export function getChannelListJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getChannelByTermid",
|
|
|
|
|
url: "/api/getChannelByTermid",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -30,7 +30,7 @@ export function getChannelListJoggle(data) {
|
|
|
|
|
|
|
|
|
|
export function getChannelByTermidJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getChannelByTermid",
|
|
|
|
|
url: "/api/getChannelByTermid",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -40,7 +40,7 @@ export function getChannelByTermidJoggle(data) {
|
|
|
|
|
//获取图片轮巡接口
|
|
|
|
|
export function getPictureList(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getPhotoBanner",
|
|
|
|
|
url: "/api/getPhotoBanner",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -50,26 +50,25 @@ export function getPictureList(data) {
|
|
|
|
|
//获取电压-线路-杆塔等信息
|
|
|
|
|
export function getSearchInfo(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getLineAndGt",
|
|
|
|
|
url: "/api/getLineAndGt",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
//获取实时图片数据
|
|
|
|
|
export function getRealtimePhoto(data){
|
|
|
|
|
export function getRealtimePhoto(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getPhotoList",
|
|
|
|
|
url: "/api/getPhotoList",
|
|
|
|
|
method: "post",
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//杆塔信息
|
|
|
|
|
//1.获取杆塔列表
|
|
|
|
|
export function getTowerListApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getTowerList",
|
|
|
|
|
url: "/api/getTowerList",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -77,7 +76,7 @@ export function getTowerListApi(data) {
|
|
|
|
|
//2.获取线路编号列表
|
|
|
|
|
export function getLineListApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getLineList",
|
|
|
|
|
url: "/api/getLineList",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -85,7 +84,7 @@ export function getLineListApi(data) {
|
|
|
|
|
//3.新增杆塔信息
|
|
|
|
|
export function addTowerApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/addTower",
|
|
|
|
|
url: "/api/addTower",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -93,7 +92,7 @@ export function addTowerApi(data) {
|
|
|
|
|
//4.修改杆塔信息
|
|
|
|
|
export function updateTowerApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/updateTower",
|
|
|
|
|
url: "/api/updateTower",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -101,7 +100,7 @@ export function updateTowerApi(data) {
|
|
|
|
|
//5.删除杆塔信息
|
|
|
|
|
export function delTowerApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/deleteTower",
|
|
|
|
|
url: "/api/deleteTower",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -111,7 +110,7 @@ export function delTowerApi(data) {
|
|
|
|
|
//1.获取任务规则列表接口
|
|
|
|
|
export function getScheduleRulelListJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getScheduleRulelList",
|
|
|
|
|
url: "/api/getScheduleRulelList",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -119,7 +118,7 @@ export function getScheduleRulelListJoggle(data) {
|
|
|
|
|
//2.新增任务规则
|
|
|
|
|
export function addScheduleRulel(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/addSchelduleRuleList",
|
|
|
|
|
url: "/api/addSchelduleRuleList",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -127,7 +126,7 @@ export function addScheduleRulel(data) {
|
|
|
|
|
//3.删除任务规则
|
|
|
|
|
export function deleteScheduleRulel(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/deleteSchelduleRule",
|
|
|
|
|
url: "/api/deleteSchelduleRule",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -135,7 +134,7 @@ export function deleteScheduleRulel(data) {
|
|
|
|
|
//4.修改任务规则
|
|
|
|
|
export function updateScheduleRulel(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/updateSchelduleRule",
|
|
|
|
|
url: "/api/updateSchelduleRule",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -143,7 +142,7 @@ export function updateScheduleRulel(data) {
|
|
|
|
|
//5.获取所有通道
|
|
|
|
|
export function getScheduleRulelAccessList(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getChannelTreeList",
|
|
|
|
|
url: "/api/getChannelTreeList",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -151,7 +150,7 @@ export function getScheduleRulelAccessList(data) {
|
|
|
|
|
//6.设置时间表通道
|
|
|
|
|
export function setScheduleRulel(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/relateSchelduleRule",
|
|
|
|
|
url: "/api/relateSchelduleRule",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -159,7 +158,7 @@ export function setScheduleRulel(data) {
|
|
|
|
|
//7.查询设备时间表
|
|
|
|
|
export function getSchedulenr(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getChannelSchelduleRule",
|
|
|
|
|
url: "/api/getChannelSchelduleRule",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -169,7 +168,7 @@ export function getSchedulenr(data) {
|
|
|
|
|
//1.获取通道列表
|
|
|
|
|
export function getChannelListapi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getChannelList",
|
|
|
|
|
url: "/api/getChannelList",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -177,7 +176,7 @@ export function getChannelListapi(data) {
|
|
|
|
|
//2.新增通道
|
|
|
|
|
export function addChannelapi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/addChannelList",
|
|
|
|
|
url: "/api/addChannelList",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -185,7 +184,7 @@ export function addChannelapi(data) {
|
|
|
|
|
//3.删除通道
|
|
|
|
|
export function deleteChannelapi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/deleteChannelList",
|
|
|
|
|
url: "/api/deleteChannelList",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -193,7 +192,7 @@ export function deleteChannelapi(data) {
|
|
|
|
|
//4.修改通道
|
|
|
|
|
export function updateChannelapi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/updateChannelList",
|
|
|
|
|
url: "/api/updateChannelList",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -203,7 +202,7 @@ export function updateChannelapi(data) {
|
|
|
|
|
//获取电压等级列表
|
|
|
|
|
export function getdyListJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getdyList",
|
|
|
|
|
url: "/api/getdyList",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -211,7 +210,7 @@ export function getdyListJoggle(data) {
|
|
|
|
|
//1.线路列表信息
|
|
|
|
|
export function getLineListJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getLineList",
|
|
|
|
|
url: "/api/getLineList",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -219,7 +218,7 @@ export function getLineListJoggle(data) {
|
|
|
|
|
//2.添加单个或者多个线路信息
|
|
|
|
|
export function addLineJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/addLine",
|
|
|
|
|
url: "/api/addLine",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -227,7 +226,7 @@ export function addLineJoggle(data) {
|
|
|
|
|
//3.删除新路信息
|
|
|
|
|
export function deleteLineJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/deleteLine",
|
|
|
|
|
url: "/api/deleteLine",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -235,7 +234,7 @@ export function deleteLineJoggle(data) {
|
|
|
|
|
//4.修改信息
|
|
|
|
|
export function updateLineJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/updateLine",
|
|
|
|
|
url: "/api/updateLine",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -245,7 +244,7 @@ export function updateLineJoggle(data) {
|
|
|
|
|
//获取列表
|
|
|
|
|
export function getTerminalJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getTerminalList",
|
|
|
|
|
url: "/api/getTerminalList",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -254,7 +253,7 @@ export function getTerminalJoggle(data) {
|
|
|
|
|
|
|
|
|
|
export function addTerminalJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/addTerminal",
|
|
|
|
|
url: "/api/addTerminal",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -263,7 +262,7 @@ export function addTerminalJoggle(data) {
|
|
|
|
|
|
|
|
|
|
export function updateTerminalJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/updateTerminal",
|
|
|
|
|
url: "/api/updateTerminal",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -272,7 +271,7 @@ export function updateTerminalJoggle(data) {
|
|
|
|
|
|
|
|
|
|
export function deleteTerminalJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/deleteTerminal",
|
|
|
|
|
url: "/api/deleteTerminal",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -281,7 +280,7 @@ export function deleteTerminalJoggle(data) {
|
|
|
|
|
//图像采集装置设置 列表
|
|
|
|
|
export function getImageResolutionListJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getImageResolutionList",
|
|
|
|
|
url: "/api/getImageResolutionList",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -294,7 +293,7 @@ export function getImageResolutionListJoggle(data) {
|
|
|
|
|
// 获取GPS位置
|
|
|
|
|
export function getTermGPSJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getTermGPS",
|
|
|
|
|
url: "/api/getTermGPS",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -302,7 +301,7 @@ export function getTermGPSJoggle(data) {
|
|
|
|
|
//setTermGPS 开启关闭gps
|
|
|
|
|
export function setTermGPSJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/setTermGPS",
|
|
|
|
|
url: "/api/setTermGPS",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -311,7 +310,7 @@ export function setTermGPSJoggle(data) {
|
|
|
|
|
//手动拍照
|
|
|
|
|
export function getLatestPhotoJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getLatestPhoto",
|
|
|
|
|
url: "/api/getLatestPhoto",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -321,7 +320,7 @@ export function getLatestPhotoJoggle(data) {
|
|
|
|
|
|
|
|
|
|
export function getAllChannelListJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getAllChannelList",
|
|
|
|
|
url: "/api/getAllChannelList",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
@ -331,7 +330,7 @@ export function getAllChannelListJoggle(data) {
|
|
|
|
|
|
|
|
|
|
export function getAllTowerJoggle(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: "/test/getAllTower",
|
|
|
|
|
url: "/api/getAllTower",
|
|
|
|
|
method: "post",
|
|
|
|
|
data,
|
|
|
|
|
});
|
|
|
|
|