diff --git a/src/api/protection/index.js b/src/api/protection/index.js new file mode 100644 index 0000000..044ab8b --- /dev/null +++ b/src/api/protection/index.js @@ -0,0 +1,109 @@ +import request from '@/utils/request' + + +// 变电站管理-分页查询设备信息 +export function getSubstationListPageApi(data) { + return request({ + url: '/protection/protection_manage/substation/list', + method: 'get', + headers: { + //"merchant-id":"378915229716713472", + }, + params:data + }) +} +// 变电站管理-新增 +export function addSubstationApi(data) { + return request({ + url: '/protection/protection_manage/substation/add', + method: 'post', + headers: { + //"merchant-id":"378915229716713472", + }, + data: data + }) + } + +// 变电站管理-修改信息 +export function updateSubstationApi(data) { + return request({ + url: '/protection/protection_manage/substation/edit', + method: 'post', + headers: { + //"merchant-id":"378915229716713472", + }, + data: data + }) + }editProdectionApi + +// 变电站管理-删除信息 +export function deleteSubstationApi(data) { + return request({ + url: '/protection/protection_manage/substation/del', + method: 'post', + headers: { + //"merchant-id":"378915229716713472", + }, + data: data + }) +} + +// 定值单管理-分页查询设备信息 +export function getProtectionOrderListPageApi(data) { + return request({ + url: '/protection/protection_manage/protectionOrder/list', + method: 'get', + headers: { + //"merchant-id":"378915229716713472", + }, + params:data + }) +} + +// 保护定值单管理-新增/修改信息 +export function editProdectionApi(data) { + return request({ + url: '/protection/protection_manage/protectionOrder/edit', + method: 'post', + headers: { + //"merchant-id":"378915229716713472", + }, + data: data + }) + } + + // 保护定值单管理-删除信息 + export function deleteProtectionApi(data) { + return request({ + url: '/protection/protection_manage/protectionOrder/del', + method: 'post', + headers: { + //"merchant-id":"378915229716713472", + }, + data: data + }) + } + + export function getProdectionByIdApi(data) { + return request({ + url: '/protection/protection_manage/protectionOrder/listById', + method: 'get', + headers: { + //"merchant-id":"378915229716713472", + }, + params:data + }) + } + + + export function getProtectionAnalysisListPageApi(data) { + return request({ + url: '/protection/protection_manage/protectionAnalysis/list', + method: 'get', + headers: { + //"merchant-id":"378915229716713472", + }, + params:data + }) + } + diff --git a/src/views/protection/protectionCheck/index.vue b/src/views/protection/protectionCheck/index.vue new file mode 100644 index 0000000..2305e47 --- /dev/null +++ b/src/views/protection/protectionCheck/index.vue @@ -0,0 +1,360 @@ + + + + diff --git a/src/views/protection/protectionManage/index.vue b/src/views/protection/protectionManage/index.vue new file mode 100644 index 0000000..97dc2ba --- /dev/null +++ b/src/views/protection/protectionManage/index.vue @@ -0,0 +1,414 @@ + + + + diff --git a/src/views/protection/protectionResult/index.vue b/src/views/protection/protectionResult/index.vue new file mode 100644 index 0000000..d4eac25 --- /dev/null +++ b/src/views/protection/protectionResult/index.vue @@ -0,0 +1,401 @@ + + + + diff --git a/src/views/protection/transformation/index.vue b/src/views/protection/transformation/index.vue new file mode 100644 index 0000000..83c7faf --- /dev/null +++ b/src/views/protection/transformation/index.vue @@ -0,0 +1,394 @@ + + + + diff --git a/vue.config.js b/vue.config.js index 36aa36a..e7d7ecf 100644 --- a/vue.config.js +++ b/vue.config.js @@ -36,7 +36,7 @@ module.exports = { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { // target: `http://192.168.2.75:48380`,//旭 - target: `http://127.0.0.1:48380`,//测试 + target: `http://127.0.0.1:38380`,//测试 // target: `http://192.168.2.108:48380`,//测试 // target: `http://192.168.0.34:48380`,//测试 // target: `http://192.168.0.176:48380`,//