[fix 84002] 分页改为不分页列表查询
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user