diff --git a/src/components/TableModule/index.jsx b/src/components/TableModule/index.jsx
index 55bc1a6..3a3f045 100644
--- a/src/components/TableModule/index.jsx
+++ b/src/components/TableModule/index.jsx
@@ -745,5 +745,114 @@ const TableModule = forwardRef((props, ref) => {
);
});
+function InputSelectGroup(params) {
+ const {
+ onChange = () => { },
+ getValue = () => { },
+ pageName = "",
+ } = params;
+ const [searchForm] = Form.useForm();
+ const [sessionTabList, setSessionTabList] = useSessionStorageState(pageName, {
+ value: ''
+ })
+ const [timeType, setTimeType] = useState(1);
+ const [deftime, setDeftime] = useState([])
+ const [timeGroup, setTimeGroup] = useState({
+ start_time: moment().subtract(1, "day").format(),
+ end_time: moment().format(),
+ });
+ console.log();
+ useEffect(() => {
+ if (deftime.startDateTime) {
+ setTimeGroup({
+ start_time: moment(deftime.startDateTime),
+ end_time: moment(deftime.endDateTime)
+ })
+ console.log(timeGroup);
+ setSessionTabList({
+ ...sessionTabList, start_time: moment(deftime.startDateTime),
+ end_time: moment(deftime.endDateTime)
+ })
+ } else {
+ // searchForm.setFieldsValue({
+ // start_time: moment().subtract(1, "month"),
+ // end_time: moment()
+ // })
+ }
+ }, [deftime])
+ useEffect(() => {
+ onChange(timeGroup, timeType);
+ }, [timeGroup, timeType]);
+ return (
+ <>
+