mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 03:12:27 +09:00
fix : 등록기간 검색 종료일 없애기
This commit is contained in:
@@ -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)
|
||||||
//페이지 관련 값 설정
|
//페이지 관련 값 설정
|
||||||
|
|||||||
Reference in New Issue
Block a user