diff --git a/src/components/pages/contract/Contract.vue b/src/components/pages/contract/Contract.vue index 773650a..f0774ba 100644 --- a/src/components/pages/contract/Contract.vue +++ b/src/components/pages/contract/Contract.vue @@ -28,6 +28,7 @@ const prcsList = ref() onMounted(() => { api.getPrcs(params.value).then((res: iPrcsPageable) => { + console.log(res) prcsList.value = res page.value = prcsList.value.totlaPages || 0 total.value = prcsList.value.totalElements || 0 @@ -51,12 +52,12 @@ const isSave = (prcs: iPrcs): boolean => { const now = new Date(nowDt).getTime() const sdt = new Date(prcs.regSdat).getTime() const edt = new Date(prcs.regEdat).getTime() - return (sdt <= now && edt >= now) + return (sdt <= now && edt >= now) } function onSearch(data: any) { - console.log(data) - // params.value = structuredClone(data) + // console.log(data) + params.value = structuredClone(data) } const onEstimateSave = () => { diff --git a/src/components/pages/contract/ContractList.vue b/src/components/pages/contract/ContractList.vue index fda3b14..bdb1cb9 100644 --- a/src/components/pages/contract/ContractList.vue +++ b/src/components/pages/contract/ContractList.vue @@ -6,7 +6,7 @@ export type MinimalTheme = 'darker' | 'light' const props = withDefaults( defineProps<{ - estimateList: iPrcsPageable + prcsList: iPrcsPageable total: number length: number page: number