diff --git a/src/api/system/apiSecret.js b/src/api/system/apiSecret.js index 01822b6f..b94959e2 100644 --- a/src/api/system/apiSecret.js +++ b/src/api/system/apiSecret.js @@ -3,7 +3,7 @@ import request from '@/utils/request' // 查询api密钥列表 export function listSecret(query) { return request({ - url: '/system/secret/list', + url: '/iot/secret/list', method: 'get', params: query }) @@ -12,7 +12,7 @@ export function listSecret(query) { // 查询api密钥详细 export function getSecret(recordId) { return request({ - url: '/system/secret/' + recordId, + url: '/iot/secret/' + recordId, method: 'get' }) } @@ -20,7 +20,7 @@ export function getSecret(recordId) { // 新增api密钥 export function addSecret(data) { return request({ - url: '/system/secret', + url: '/iot/secret', method: 'post', data: data }) @@ -29,7 +29,7 @@ export function addSecret(data) { // 修改api密钥 export function updateSecret(data) { return request({ - url: '/system/secret', + url: '/iot/secret', method: 'put', data: data }) @@ -38,7 +38,7 @@ export function updateSecret(data) { // 删除api密钥 export function delSecret(recordId) { return request({ - url: '/system/secret/' + recordId, + url: '/iot/secret/' + recordId, method: 'delete' }) } @@ -46,7 +46,7 @@ export function delSecret(recordId) { // 导出api密钥 export function exportSecret(query) { return request({ - url: '/system/secret/export', + url: '/iot/secret/export', method: 'get', params: query }) diff --git a/src/views/iot/project/profileV2/EObjectInfo.vue b/src/views/iot/project/profileV2/EObjectInfo.vue index 5ac88eee..2ca2aa50 100644 --- a/src/views/iot/project/profileV2/EObjectInfo.vue +++ b/src/views/iot/project/profileV2/EObjectInfo.vue @@ -90,92 +90,6 @@ -
-
-
- 电价合同 - {{ contrctInfo.contractName }} -
-
-
- -
-
-
-
合同ID
-
- {{ contrctInfo.contractId }} - 复制 -
-
-
-
合同类型
-
- {{ contrctInfo.contractTypeName }} -
-
-
-
合同状态
-
- {{ - contrctInfo.status === "0" ? "启用" : "禁用" - }} -
-
-
- -
-
-
合同规则
-
-
-
{{ item.ruleName }}
-
- 时间: -
- {{ item.minTime }} - ~ - {{ item.maxTime }} -
-
-
-
- 最小值: - {{ item.minVal }} -
-
- 最大值: - {{ item.maxVal }} -
-
-
- 单价: - {{ item.unitPrice }} -
-
-
-
-
-