[cs] WIP: 알림톡발송이력관리 페이지
This commit is contained in:
@@ -70,6 +70,7 @@ export const ENDPOINT = {
|
||||
NTFTALK_VAR: "/ntftalk-service/api/v1/ntftalk-var",
|
||||
NTFTALK_TEMP: "/ntftalk-service/api/v1/ntftalk-temp",
|
||||
NTFTALK_BIZTALK: "/ntftalk-service/api/v1/ntftalk-biztalk",
|
||||
MMT_LOG_HISTORY: "/ntftalk-service/api/v1/ata/mmt-log-history",
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -1,20 +1,24 @@
|
||||
import { InputDatePicker } from "@common/components";
|
||||
import { useEffect } from "react";
|
||||
|
||||
import { InputDatePicker } from "@common/components";
|
||||
|
||||
import { useAlertStore } from "../lib";
|
||||
|
||||
type DateRange = {
|
||||
from?: Date;
|
||||
to?: Date;
|
||||
from?: Date | null;
|
||||
to?: Date | null;
|
||||
};
|
||||
|
||||
type InputDateRangePickerProps = {
|
||||
dateRange: DateRange;
|
||||
setDateRange: (dateRange: DateRange) => void;
|
||||
disabled?: boolean;
|
||||
};
|
||||
|
||||
function InputDateRangePicker({
|
||||
dateRange,
|
||||
setDateRange,
|
||||
disabled,
|
||||
}: InputDateRangePickerProps) {
|
||||
const alert = useAlertStore((state) => state.setMessage);
|
||||
|
||||
@@ -32,6 +36,7 @@ function InputDateRangePicker({
|
||||
onChange={(date) => {
|
||||
setDateRange({ ...dateRange, from: date });
|
||||
}}
|
||||
disabled={disabled}
|
||||
/>
|
||||
~
|
||||
<InputDatePicker
|
||||
@@ -39,6 +44,7 @@ function InputDateRangePicker({
|
||||
onChange={(date) => {
|
||||
setDateRange({ ...dateRange, to: date });
|
||||
}}
|
||||
disabled={disabled}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user