diff --git a/riis-web/public/webconfig.js b/riis-web/public/webconfig.js index d230d93..d37d9fc 100644 --- a/riis-web/public/webconfig.js +++ b/riis-web/public/webconfig.js @@ -2,8 +2,9 @@ window.webConfig = { "webApiBaseUrl": "http://192.168.1.20:8090/", "wsApiBaseUrl": "ws://192.168.1.20:8090/", "webApiMonitorUrl": "http://192.168.1.20:18080", - "answeringUrl":"http://121.37.111.42:8080/ui/chat/a9d56e68484c5594", + "answeringUrl":"http://121.37.111.42:8080/ui/chat/e151e1600161c702", "pythonUrl":"http://121.37.111.42:8080/api", "application_id":"6b915c22-351c-11f0-8b7c-0242ac130003", + "imgUrl" :"http://192.168.1.20:8090/plan/", "webSystemTitle":"标题" } \ No newline at end of file diff --git a/riis-web/src/api/device/index.ts b/riis-web/src/api/device/index.ts index 31fea0f..b602095 100644 --- a/riis-web/src/api/device/index.ts +++ b/riis-web/src/api/device/index.ts @@ -190,4 +190,36 @@ export function getMessageCount(params: any) { method: 'get', params: params, }); +} +// 根据Id查询部件 +export function getComponentById(params: any) { + return request({ + url: '/basedata/substation-maindevice/getComponentById', + method: 'get', + params: params, + }); +} +// 根据Id查询主设备 +export function getMainDeviceById(params: any) { + return request({ + url: '/basedata/substation-maindevice/getMainDeviceById', + method: 'get', + params: params, + }); +} +// 根据Id查询巡视设备 +export function getPatroldeviceById(params: any) { + return request({ + url: '/basedata/substation-patroldevice/getPatroldeviceById', + method: 'get', + params: params, + }); +} +// 根据Id查询巡视点位 +export function getSubstationDeviceById(params: any) { + return request({ + url: '/basedata/substation-device/getSubstationDeviceById', + method: 'get', + params: params, + }); } \ No newline at end of file diff --git a/riis-web/src/api/pointSolution/index.ts b/riis-web/src/api/pointSolution/index.ts new file mode 100644 index 0000000..8334f35 --- /dev/null +++ b/riis-web/src/api/pointSolution/index.ts @@ -0,0 +1,100 @@ +import request from '@/utils/request'; + +//根据主设备类型获取主设备 +export function getMainDeviceByType(params: any) { + return request({ + url: '/basedata/substation-maindevice/getMainDeviceByType', + method: 'get', + params: params + }); +} +//查询算法布点 +export function getAlgorithmArrangePage(params: any) { + return request({ + url: '/algorithm/algorithm-arrange/getAlgorithmArrangePage', + method: 'get', + params: params + }); +} +//新增算法布点 +export function saveAlgorithmArrange(params: any) { + return request({ + url: '/algorithm/algorithm-arrange/saveAlgorithmArrange', + method: 'post', + data: params, + headers: { + 'Content-Type': 'multipart/form-data' + } + }); +} +//调用算法布点API +export function callAlgorithmArrange(params: any) { + return request({ + url: '/algorithm/algorithm-arrange/callAlgorithmArrange', + method: 'post', + params: params, + }); +} +//根据Id查询算法布点 +export function getArrangeDeviceById(params: any) { + return request({ + url: '/algorithm/algorithm-arrange-device/getArrangeDeviceById', + method: 'get', + params: params, + }); +} +//修改算法布点 +export function updateAlgorithmArrange(params: any) { + return request({ + url: '/algorithm/algorithm-arrange/updateAlgorithmArrange', + method: 'post', + data: params, + headers: { + 'Content-Type': 'multipart/form-data' + } + }); +} +//保存布点详情 +export function saveArrangeDevice(params: any) { + return request({ + url: '/algorithm/algorithm-arrange/saveArrangeDevice', + method: 'post', + data: params, + headers: { + 'Content-Type': 'multipart/form-data' + } + }); +} +//查询布点区域的设备数量 +export function getArrangeDeviceInfo(params: any) { + return request({ + url: '/algorithm/algorithm-arrange-device/getArrangeDeviceInfo', + method: 'get', + params: params, + }); +} +//创建布点报告 +export function createArrangeById(params: any) { + return request({ + url: '/algorithm/algorithm-arrange/createArrangeById', + method: 'post', + params: params, + }); +} +//下载布点报告 +export function downloadArrangeReport(params: any) { + return request({ + url: '/algorithm/algorithm-arrange/downloadArrangeReport', + method: 'get', + params: params, + responseType: 'arraybuffer', + }); +} +//删除布点报告 +export function deleteAlgorithmArrange(params: any) { + return request({ + url: '/algorithm/algorithm-arrange/deleteAlgorithmArrange', + method: 'post', + params: params, + }); +} \ No newline at end of file diff --git a/riis-web/src/api/question/index.ts b/riis-web/src/api/question/index.ts index 59c2283..df55263 100644 --- a/riis-web/src/api/question/index.ts +++ b/riis-web/src/api/question/index.ts @@ -39,4 +39,12 @@ export function callAlgorithmAnalyse(params:any){ method: 'post', params: params }); +} +//分页查询算法分析日志 +export function getAlgorithmLogsPage(params:any){ + return request({ + url: '/algorithm/algorithm-logs/getAlgorithmLogsPage' , + method: 'get', + params: params + }); } \ No newline at end of file diff --git a/riis-web/src/api/role/index.ts b/riis-web/src/api/role/index.ts index 6afa5ce..ae1bcf0 100644 --- a/riis-web/src/api/role/index.ts +++ b/riis-web/src/api/role/index.ts @@ -78,7 +78,7 @@ export function postOrgscope (queryParams:any){ //获取变电站下所有摄像头 export function getCamera (params:any){ return request({ - url:'/basedata/substation-patroldevice/getCameraAllList' , + url:'/basedata/substation-patroldevice/getCameraList' , method: 'get', params: params }); diff --git a/riis-web/src/assets/point/1.svg b/riis-web/src/assets/point/1.svg new file mode 100644 index 0000000..e6e2776 --- /dev/null +++ b/riis-web/src/assets/point/1.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/riis-web/src/assets/point/2.svg b/riis-web/src/assets/point/2.svg new file mode 100644 index 0000000..913791c --- /dev/null +++ b/riis-web/src/assets/point/2.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/riis-web/src/assets/point/3.svg b/riis-web/src/assets/point/3.svg new file mode 100644 index 0000000..587cd79 --- /dev/null +++ b/riis-web/src/assets/point/3.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/riis-web/src/assets/point/4.svg b/riis-web/src/assets/point/4.svg new file mode 100644 index 0000000..b7c05ed --- /dev/null +++ b/riis-web/src/assets/point/4.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/riis-web/src/assets/point/5.svg b/riis-web/src/assets/point/5.svg new file mode 100644 index 0000000..198010a --- /dev/null +++ b/riis-web/src/assets/point/5.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/riis-web/src/assets/point/6.svg b/riis-web/src/assets/point/6.svg new file mode 100644 index 0000000..178c031 --- /dev/null +++ b/riis-web/src/assets/point/6.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/riis-web/src/assets/point/7.svg b/riis-web/src/assets/point/7.svg new file mode 100644 index 0000000..95db249 --- /dev/null +++ b/riis-web/src/assets/point/7.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/riis-web/src/assets/point/bigbg.jpg b/riis-web/src/assets/point/bigbg.jpg new file mode 100644 index 0000000..052204e Binary files /dev/null and b/riis-web/src/assets/point/bigbg.jpg differ diff --git a/riis-web/src/assets/point/kan.svg b/riis-web/src/assets/point/kan.svg new file mode 100644 index 0000000..9191a96 --- /dev/null +++ b/riis-web/src/assets/point/kan.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/riis-web/src/assets/point/shan.svg b/riis-web/src/assets/point/shan.svg new file mode 100644 index 0000000..bf3830a --- /dev/null +++ b/riis-web/src/assets/point/shan.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/riis-web/src/assets/point/success.png b/riis-web/src/assets/point/success.png new file mode 100644 index 0000000..f86ad77 Binary files /dev/null and b/riis-web/src/assets/point/success.png differ diff --git a/riis-web/src/assets/point/weitu.svg b/riis-web/src/assets/point/weitu.svg new file mode 100644 index 0000000..0d55091 --- /dev/null +++ b/riis-web/src/assets/point/weitu.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/riis-web/src/assets/point/xiu.png b/riis-web/src/assets/point/xiu.png new file mode 100644 index 0000000..a1583d6 Binary files /dev/null and b/riis-web/src/assets/point/xiu.png differ diff --git a/riis-web/src/components/IntelligentPoint/index.vue b/riis-web/src/components/IntelligentPoint/index.vue new file mode 100644 index 0000000..25d9045 --- /dev/null +++ b/riis-web/src/components/IntelligentPoint/index.vue @@ -0,0 +1,466 @@ + + + + \ No newline at end of file diff --git a/riis-web/src/components/IntelligentPoint/point.vue b/riis-web/src/components/IntelligentPoint/point.vue new file mode 100644 index 0000000..4311379 --- /dev/null +++ b/riis-web/src/components/IntelligentPoint/point.vue @@ -0,0 +1,237 @@ + + + + + \ No newline at end of file diff --git a/riis-web/src/layout/components/Navbar.vue b/riis-web/src/layout/components/Navbar.vue index 9e9e560..8505855 100644 --- a/riis-web/src/layout/components/Navbar.vue +++ b/riis-web/src/layout/components/Navbar.vue @@ -3,8 +3,8 @@