矿产内容
parent
1be57b5b26
commit
b977861d47
|
|
@ -0,0 +1,11 @@
|
|||
import { defHttp } from '@/utils/http/axios';
|
||||
import { tubanListParams } from './model/index';
|
||||
|
||||
enum Api {
|
||||
// 获取待办任务统计数据
|
||||
LoadCaseInfoMineralsTuBanList = '/api/DroneCaseInfoMinerals/LoadCaseInfoMineralsTuBanList',
|
||||
}
|
||||
|
||||
export function getLoadCaseInfoMineralsTuBanList(params?: tubanListParams) {
|
||||
return defHttp.get({ url: Api.LoadCaseInfoMineralsTuBanList, params });
|
||||
}
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
export interface tubanListParams {
|
||||
page?: number;
|
||||
limit?: number;
|
||||
syear_base?: number;
|
||||
type_base?: string;
|
||||
tubanlaiyuan?: string;
|
||||
startTime?: string;
|
||||
endTime?: string;
|
||||
weifatype_jgfill?: number;
|
||||
wefatype_kcfill?: number;
|
||||
zhongdianflag_base?: number;
|
||||
countyid?: string;
|
||||
streetid?: string;
|
||||
tubannum_base?: string;
|
||||
hefapanding_fill?: number;
|
||||
status_base?: number;
|
||||
tubanArea1?: string;
|
||||
tubanArea2?: string;
|
||||
kuangzhong_kcfill?: string;
|
||||
}
|
||||
|
|
@ -92,6 +92,7 @@
|
|||
import { dataProcessingCount } from '@/views/demo/tiankongdi/util';
|
||||
import { BasicForm, useForm } from '@/components/Form';
|
||||
import { PageWrapper } from '@/components/Page';
|
||||
import { getLoadCaseInfoMineralsTuBanList } from '@/api/minerals/index';
|
||||
|
||||
const { VITE_GLOB_API_URL } = getAppEnvConfig();
|
||||
|
||||
|
|
@ -137,7 +138,7 @@
|
|||
});
|
||||
const [registerTable, { setTableData, reload, clearSelectedRowKeys, setPagination, setLoading }] =
|
||||
useTable({
|
||||
title: '图斑汇总',
|
||||
title: '图斑列表',
|
||||
dataSource: tableData.value,
|
||||
columns,
|
||||
rowKey: 'id',
|
||||
|
|
@ -225,7 +226,7 @@
|
|||
}
|
||||
function getTableData(querys) {
|
||||
setLoading(true);
|
||||
LoadCaseInfoWpxfTuBanList(querys).then((res) => {
|
||||
getLoadCaseInfoMineralsTuBanList(querys).then((res) => {
|
||||
tableData.value = res.items;
|
||||
tablePaginationRight.value.total = res.total;
|
||||
setTableData(tableData.value);
|
||||
|
|
|
|||
Loading…
Reference in New Issue