30 lines
609 B
JavaScript
30 lines
609 B
JavaScript
import {httppost2, httpget, httpget2,httpget3} from "../../../utils/request";
|
|
import {message} from 'antd';
|
|
import apiurl from '../../../service/apiurl';
|
|
|
|
|
|
//实时水情-河道水情列表
|
|
export async function getTableData() {
|
|
const params = {
|
|
"pageSo": {
|
|
"pageSize": 99999,
|
|
"pageNumber": 1
|
|
},
|
|
"orderField": "chtm",
|
|
"isAsc": false
|
|
}
|
|
const {data, code, msg} = await httppost2(apiurl.fxdd_xyt.hsyb.ybfagl.page,params) || {};
|
|
if (code !== 200) {
|
|
message.error(msg || '请求失败');
|
|
}
|
|
return data?.records||[];
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|