[fix 84002] 分页改为不分页列表查询

This commit is contained in:
danshihao
2024-04-26 15:02:43 +08:00
parent af1e1656b3
commit 38234ee386
2 changed files with 5 additions and 4 deletions
+3
View File
@@ -2,6 +2,8 @@ import { getAction, postAction } from '@api/manage'
// 设备分页列表
const getDevicePage = (params) => getAction('/device/page', params)
// 设备列表
const getDeviceList = (params) => getAction('/device/list', params)
// 添加设备
const addDevice = (params) => postAction('/device/add', params)
// 修改设备
@@ -34,6 +36,7 @@ const delUserInfo = (params) => postAction('/sys/user/delete', params)
const editUserInfo = (params) => postAction('/sys/user/edit', params)
export {
getDevicePage,
getDeviceList,
addDevice,
editDevice,
delDevice,
+2 -4
View File
@@ -172,7 +172,7 @@ import {
addWellhead,
delDevice,
editDevice,
getDevicePage,
getDeviceList,
getSysDeviceOverview,
getWellheadList
} from '@api/systemOverview'
@@ -286,9 +286,7 @@ export default {
// 加载设备列表
loadDeviceList () {
this.deviceData.loading = true
getDevicePage({
pageNo: 1,
pageSize: 10,
getDeviceList({
column: 'createTime',
order: 'desc'
}).then((res) => {