| | |
| | | import Taro from '@tarojs/taro'; |
| | | import * as taskCheckReceiveServices from '@12333/services/apiV2/taskCheckReceive'; |
| | | import { useInfiniteLoading } from '@12333/hooks'; |
| | | import { TaskCheckHistoryCard } from '@12333/components'; |
| | | import { TaskCheckHistoryCard, ChunkTitle } from '@12333/components'; |
| | | import { EnumTaskUserSubmitCheckHistoryType, WeekCN } from '@12333/constants'; |
| | | import { Message, setOSSLink } from '@12333/utils'; |
| | | import dayjs from 'dayjs'; |
| | |
| | | |
| | | const router = Taro.useRouter(); |
| | | const id = router.params?.id ?? ''; |
| | | const taskInfoUserId = router.params?.taskInfoUserId ?? ''; |
| | | const date = router.params?.date ?? ''; |
| | | |
| | | const title = `${dayjs(date).format('YYYY年MM月DD日')} 星期${WeekCN[dayjs(date).day()]}`; |
| | |
| | | page: pageParam, |
| | | }, |
| | | taskInfoId: id, |
| | | taskInfoUserId: taskInfoUserId, |
| | | date: dayjs(date).format('YYYY-MM-DD'), |
| | | }; |
| | | |