From 4c5456bbcf9e8c02599602b83119bfe0d5c6491d Mon Sep 17 00:00:00 2001 From: xiaozhiyong Date: Mon, 25 May 2026 10:18:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/equipment/gateway.js | 9 ++ src/api/equipment/list.js | 12 ++- src/components/bottomInfo/bottomInfo.vue | 4 +- src/pathInfo.json | 3 +- src/view/about/index.vue | 73 ++++++-------- src/view/equipment/gateway/index.vue | 121 +++++++++++++++++++++++ src/view/equipment/list/index.vue | 109 +++++++++++++++----- 7 files changed, 258 insertions(+), 73 deletions(-) create mode 100644 src/api/equipment/gateway.js create mode 100644 src/view/equipment/gateway/index.vue diff --git a/src/api/equipment/gateway.js b/src/api/equipment/gateway.js new file mode 100644 index 0000000..72a6c35 --- /dev/null +++ b/src/api/equipment/gateway.js @@ -0,0 +1,9 @@ +import service from '@/utils/request' + +export const getDeviceGatewayListByPage = (data) => { + return service({ + url: '/device/getDeviceGatewayListByPage', + method: 'post', + data: data + }) +} diff --git a/src/api/equipment/list.js b/src/api/equipment/list.js index 74c374f..42da02c 100644 --- a/src/api/equipment/list.js +++ b/src/api/equipment/list.js @@ -1,8 +1,16 @@ import service from '@/utils/request' -export const resetPassword = (data) => { +export const getDeviceListByPage = (data) => { return service({ - url: '/user/resetPassword', + url: '/device/getDeviceListByPage', + method: 'post', + data: data + }) +} + +export const deviceOperation = (data) => { + return service({ + url: '/device/deviceOperation', method: 'post', data: data }) diff --git a/src/components/bottomInfo/bottomInfo.vue b/src/components/bottomInfo/bottomInfo.vue index 376de05..ecf525c 100644 --- a/src/components/bottomInfo/bottomInfo.vue +++ b/src/components/bottomInfo/bottomInfo.vue @@ -3,7 +3,7 @@ 未经授权的商用使用可能会被我们的资产搜索引擎爬取,并可能导致后续索赔。索赔金额将不低于高级授权费的十倍。请您遵守版权法律法规,尊重知识产权。 --> + + diff --git a/src/view/equipment/list/index.vue b/src/view/equipment/list/index.vue index ca4a2ba..df36db4 100644 --- a/src/view/equipment/list/index.vue +++ b/src/view/equipment/list/index.vue @@ -4,10 +4,10 @@ - + + + + + + + + + + + + + + + @@ -55,22 +71,13 @@