信息展示获取全部

This commit is contained in:
XaoLi717 2024-12-25 19:12:05 +08:00
parent 41041b9ebb
commit c177b1dcc4
2 changed files with 4 additions and 4 deletions

View File

@ -124,7 +124,7 @@ function formatDate2(dat: number|Date) {
/** 获取数据 我默认设置获取50条数据 不够可以调整 */ /** 获取数据 我默认设置获取50条数据 不够可以调整 */
const handleQuery = () => { const handleQuery = () => {
queryParamsHygl.pageNo = 1 queryParamsHygl.pageNo = 1
queryParamsHygl.createTime = [formatDate(startDate2,false),formatDate(endDate2,true)]// // queryParamsHygl.createTime = [formatDate(startDate2,false),formatDate(endDate2,true)]//
getList() // getList() //
} }
@ -132,7 +132,7 @@ const listHygl = ref<HyglVO[]>([]) // 列表的数据
// //
const queryParamsHygl = reactive({ const queryParamsHygl = reactive({
pageNo: 1, pageNo: 1,
pageSize: 50, pageSize: 1,
title: undefined, title: undefined,
userName: undefined, userName: undefined,
userId: undefined, userId: undefined,

View File

@ -69,7 +69,7 @@ const listRcgl = ref<RcglVO[]>([]) // 列表的数据
const holidays2 = reactive({}); const holidays2 = reactive({});
const queryParamsRcgl = reactive({ const queryParamsRcgl = reactive({
pageNo: 1, pageNo: 1,
pageSize: 50, pageSize: 1,
id: undefined, id: undefined,
title: undefined, title: undefined,
location: undefined, location: undefined,
@ -116,7 +116,7 @@ startDate2.setDate(endDate2.getDate() - 14); // 设置14天前的日期
/** 获取数据 */ /** 获取数据 */
const handleQuery = () => { const handleQuery = () => {
queryParamsRcgl.pageNo = 1 queryParamsRcgl.pageNo = 1
queryParamsRcgl.createTime = [formatDate(startDate2,false),formatDate(endDate2,true)]// // queryParamsRcgl.createTime = [formatDate(startDate2,false),formatDate(endDate2,true)]//
getList() // getList() //
} }