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 @@