diff --git a/src/api/substation/subsInfo.js b/src/api/substation/subsInfo.js new file mode 100644 index 0000000..28d09af --- /dev/null +++ b/src/api/substation/subsInfo.js @@ -0,0 +1,79 @@ +import request from '@/utils/request' + +// 获取变电站结构列表 +export function querySubsStructureListApi(query) { + return request({ + url: '/base/screen/subsInfo/list', + method: 'get', + params: query + }) + } + +// 新增结构数据 +export function addSubs(data) { + return request({ + url: '/base/screen/subsInfo/addSubs', + method: 'post', + data: data + }) +} + +// 编辑结构数据 +export function editSubs(data) { + return request({ + url: '/base/screen/subsInfo/editSubs', + method: 'post', + data: data + }) +} + +// 删除结构数据 +export function deleteSubs(data) { + return request({ + url: '/base/screen/subsInfo/deleteById', + method: 'post', + data: data + }) +} + +// 获取变电站管网结构列表 +export function querySubsPipeListApi(query) { + return request({ + url: '/base/screen/subsInfo/pipeList', + method: 'get', + params: query + }) +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/substation/subsPipeDetect.vue b/src/components/substation/subsPipeDetect.vue new file mode 100644 index 0000000..5014897 --- /dev/null +++ b/src/components/substation/subsPipeDetect.vue @@ -0,0 +1,355 @@ + + + + + diff --git a/src/components/substation/subsStructureDetect.vue b/src/components/substation/subsStructureDetect.vue new file mode 100644 index 0000000..c4441b6 --- /dev/null +++ b/src/components/substation/subsStructureDetect.vue @@ -0,0 +1,585 @@ + + + + + diff --git a/src/views/Substation/index.vue b/src/views/Substation/index.vue index e97ce0d..4576903 100644 --- a/src/views/Substation/index.vue +++ b/src/views/Substation/index.vue @@ -98,20 +98,28 @@ v-if="currentLefIndex === 4" :send-msg="sendMsg" > - + + @@ -135,6 +143,8 @@ import DeformDetect from '../../components/substation/deformDetect.vue' import GllDetect from '../../components/substation/gllDetect.vue' import PowerWorkDetect from '../../components/substation/powerWorkDetect.vue' import RestrictedSpaceDetect from '../../components/substation/restrictedSpaceDetect.vue' +import SubsStructureDetect from '../../components/substation/subsStructureDetect.vue' +import SubsPipeDetect from '../../components/substation/subsPipeDetect.vue' export default { components: { GlobalBar, @@ -147,7 +157,9 @@ export default { DeformDetect, GllDetect, PowerWorkDetect, - RestrictedSpaceDetect + RestrictedSpaceDetect, + SubsStructureDetect, + SubsPipeDetect }, name: 'Substation', data() { @@ -170,10 +182,12 @@ export default { { title: '环境检测类', id: 2 }, { title: '组塔检测类', id: 3 }, { title: '基坑检测类', id: 4 }, - { title: '形变监测类', id: 5 }, - { title: 'GLL通管监测类', id: 6 }, - { title: '受限空间视频预警', id: 7 }, - { title: '近电作业检测', id: 8 }, + { title: '变电站结构', id: 5 }, + { title: '变电站管网结构', id: 6 }, + { title: '形变监测类', id: 7 }, + { title: 'GLL通管监测类', id: 8 }, + { title: '受限空间视频预警', id: 9 }, + { title: '近电作业检测', id: 10 }, ], sendMsg: undefined, sendGeo: undefined