fix : 등록기간 검색 종료일 없애기

This commit is contained in:
Yesol Choi
2025-05-30 13:31:31 +09:00
parent 07ea52e7a2
commit 71a6890657

View File

@@ -40,17 +40,17 @@ const params = reactive({
async function getPriceListData(){ async function getPriceListData(){
const today = new Date() const today = new Date()
searchParamsList.regSdt = new Date().setDate(today.getDate() - 30) searchParamsList.regSdt = new Date().setDate(today.getDate() - 30)
searchParamsList.regEdt = new Date().setDate(today.getDate())
const priceBase = { const priceBase = {
params:{ params:{
regSdt: formatDatefromString(searchParamsList.regSdt), regSdt: formatDatefromString(searchParamsList.regSdt),
regEdt: formatDatefromString(searchParamsList.regEdt), regEdt: formatDatefromString(searchParamsList.regEdt),
page: 1, page: 1,
row: itemsPerPage row: itemsPerPage //todo 혹시 1페이지가 8개 보다 갯수가 적을수 있다. 30일 동안
} }
} }
const result = await getPriceList(priceBase) const result = await getPriceList(priceBase)
console.log("result.content",result.content)
params.priceData = result.content params.priceData = result.content
console.log("result",result) console.log("result",result)
//페이지 관련 값 설정 //페이지 관련 값 설정