[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 getDevicePage = (params) => getAction('/device/page', params)
// 设备列表
const getDeviceList = (params) => getAction('/device/list', params)
// 添加设备 // 添加设备
const addDevice = (params) => postAction('/device/add', 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) const editUserInfo = (params) => postAction('/sys/user/edit', params)
export { export {
getDevicePage, getDevicePage,
getDeviceList,
addDevice, addDevice,
editDevice, editDevice,
delDevice, delDevice,
+2 -4
View File
@@ -172,7 +172,7 @@ import {
addWellhead, addWellhead,
delDevice, delDevice,
editDevice, editDevice,
getDevicePage, getDeviceList,
getSysDeviceOverview, getSysDeviceOverview,
getWellheadList getWellheadList
} from '@api/systemOverview' } from '@api/systemOverview'
@@ -286,9 +286,7 @@ export default {
// 加载设备列表 // 加载设备列表
loadDeviceList () { loadDeviceList () {
this.deviceData.loading = true this.deviceData.loading = true
getDevicePage({ getDeviceList({
pageNo: 1,
pageSize: 10,
column: 'createTime', column: 'createTime',
order: 'desc' order: 'desc'
}).then((res) => { }).then((res) => {