diff --git a/apps/web/src/pages/health/DoctorList.tsx b/apps/web/src/pages/health/DoctorList.tsx index f8f2fab..b6a9621 100644 --- a/apps/web/src/pages/health/DoctorList.tsx +++ b/apps/web/src/pages/health/DoctorList.tsx @@ -20,7 +20,7 @@ import { EditOutlined, DeleteOutlined, } from '@ant-design/icons'; -import dayjs from 'dayjs'; +import { dayjs } from '../../utils/dayjs'; import { doctorApi, type Doctor, type CreateDoctorReq, type UpdateDoctorReq } from '../../api/health/doctors'; import { AuthButton } from '../../components/AuthButton'; diff --git a/apps/web/src/pages/health/DoctorSchedule.tsx b/apps/web/src/pages/health/DoctorSchedule.tsx index 6d2ffdc..ae1e57d 100644 --- a/apps/web/src/pages/health/DoctorSchedule.tsx +++ b/apps/web/src/pages/health/DoctorSchedule.tsx @@ -18,7 +18,7 @@ import { Empty, } from 'antd'; import { PlusOutlined, EditOutlined } from '@ant-design/icons'; -import dayjs from 'dayjs'; +import { dayjs } from '../../utils/dayjs'; import type { Dayjs } from 'dayjs'; import { appointmentApi, diff --git a/apps/web/src/pages/health/FollowUpRecordList.tsx b/apps/web/src/pages/health/FollowUpRecordList.tsx index 0d65d0a..61070c8 100644 --- a/apps/web/src/pages/health/FollowUpRecordList.tsx +++ b/apps/web/src/pages/health/FollowUpRecordList.tsx @@ -1,7 +1,7 @@ import { useState, useEffect, useCallback } from 'react'; import { Table, DatePicker, message } from 'antd'; import type { ColumnsType, TablePaginationConfig } from 'antd/es/table'; -import dayjs from 'dayjs'; +import { dayjs } from '../../utils/dayjs'; import { followUpApi, type FollowUpRecord } from '../../api/health/followUp'; import { PatientSelect } from './components/PatientSelect'; import { useThemeMode } from '../../hooks/useThemeMode'; diff --git a/apps/web/src/pages/health/FollowUpTaskList.tsx b/apps/web/src/pages/health/FollowUpTaskList.tsx index 68470b2..2b419ea 100644 --- a/apps/web/src/pages/health/FollowUpTaskList.tsx +++ b/apps/web/src/pages/health/FollowUpTaskList.tsx @@ -13,7 +13,7 @@ import { } from 'antd'; import { PlusOutlined, EditOutlined, SwapOutlined, DeleteOutlined } from '@ant-design/icons'; import type { ColumnsType, TablePaginationConfig } from 'antd/es/table'; -import dayjs from 'dayjs'; +import { dayjs } from '../../utils/dayjs'; import { followUpApi, type FollowUpTask, type CreateFollowUpTaskReq, type UpdateFollowUpTaskReq } from '../../api/health/followUp'; import { StatusTag } from './components/StatusTag'; import { PatientSelect } from './components/PatientSelect'; diff --git a/apps/web/src/pages/health/OfflineEventList.tsx b/apps/web/src/pages/health/OfflineEventList.tsx index e75bc26..688d0ae 100644 --- a/apps/web/src/pages/health/OfflineEventList.tsx +++ b/apps/web/src/pages/health/OfflineEventList.tsx @@ -23,7 +23,7 @@ import { DeleteOutlined, CheckCircleOutlined, } from '@ant-design/icons'; -import dayjs from 'dayjs'; +import { dayjs } from '../../utils/dayjs'; import type { Dayjs } from 'dayjs'; import { pointsApi, diff --git a/apps/web/src/pages/health/PointsOrderList.tsx b/apps/web/src/pages/health/PointsOrderList.tsx index 2f8ba5c..7fb4dc8 100644 --- a/apps/web/src/pages/health/PointsOrderList.tsx +++ b/apps/web/src/pages/health/PointsOrderList.tsx @@ -17,7 +17,7 @@ import { import { CheckCircleOutlined, } from '@ant-design/icons'; -import dayjs from 'dayjs'; +import { dayjs } from '../../utils/dayjs'; import { pointsApi, type PointsOrder, diff --git a/apps/web/src/pages/health/PointsProductList.tsx b/apps/web/src/pages/health/PointsProductList.tsx index 82ca9a7..3749830 100644 --- a/apps/web/src/pages/health/PointsProductList.tsx +++ b/apps/web/src/pages/health/PointsProductList.tsx @@ -21,7 +21,7 @@ import { EditOutlined, DeleteOutlined, } from '@ant-design/icons'; -import dayjs from 'dayjs'; +import { dayjs } from '../../utils/dayjs'; import { pointsApi, type PointsProduct, diff --git a/apps/web/src/pages/health/PointsRuleList.tsx b/apps/web/src/pages/health/PointsRuleList.tsx index e2cb86a..6d62278 100644 --- a/apps/web/src/pages/health/PointsRuleList.tsx +++ b/apps/web/src/pages/health/PointsRuleList.tsx @@ -21,7 +21,7 @@ import { EditOutlined, DeleteOutlined, } from '@ant-design/icons'; -import dayjs from 'dayjs'; +import { dayjs } from '../../utils/dayjs'; import { pointsApi, type PointsRule, diff --git a/apps/web/src/pages/health/components/HealthRecordsTab.tsx b/apps/web/src/pages/health/components/HealthRecordsTab.tsx index c6ef9de..7c8cee5 100644 --- a/apps/web/src/pages/health/components/HealthRecordsTab.tsx +++ b/apps/web/src/pages/health/components/HealthRecordsTab.tsx @@ -1,7 +1,7 @@ import { useCallback, useState } from 'react'; import { Table, Tag, Button, Modal, Form, Select, DatePicker, Input, message, Popconfirm, Space } from 'antd'; import { PlusOutlined, EditOutlined, DeleteOutlined } from '@ant-design/icons'; -import dayjs from 'dayjs'; +import { dayjs } from '../../../utils/dayjs'; import type { Dayjs } from 'dayjs'; import { healthDataApi } from '../../../api/health/healthData'; import type { HealthRecord } from '../../../api/health/healthData'; diff --git a/apps/web/src/pages/health/components/LabReportsTab.tsx b/apps/web/src/pages/health/components/LabReportsTab.tsx index 44164ad..60e42b1 100644 --- a/apps/web/src/pages/health/components/LabReportsTab.tsx +++ b/apps/web/src/pages/health/components/LabReportsTab.tsx @@ -1,7 +1,7 @@ import { useCallback, useState } from 'react'; import { Table, Tag, Button, Modal, Form, Input, DatePicker, message, Popconfirm, Space } from 'antd'; import { PlusOutlined, EditOutlined, DeleteOutlined } from '@ant-design/icons'; -import dayjs from 'dayjs'; +import { dayjs } from '../../../utils/dayjs'; import type { Dayjs } from 'dayjs'; import { healthDataApi } from '../../../api/health/healthData'; import type { LabReport } from '../../../api/health/healthData'; diff --git a/apps/web/src/pages/health/components/VitalSignsTab.tsx b/apps/web/src/pages/health/components/VitalSignsTab.tsx index da75966..d6b63a0 100644 --- a/apps/web/src/pages/health/components/VitalSignsTab.tsx +++ b/apps/web/src/pages/health/components/VitalSignsTab.tsx @@ -2,7 +2,7 @@ import { useCallback, useState, useMemo } from 'react'; import { Table, Button, Modal, Form, InputNumber, DatePicker, Input, message, Typography, Tooltip, Popconfirm, Space } from 'antd'; import { PlusOutlined, InfoCircleOutlined, EditOutlined, DeleteOutlined } from '@ant-design/icons'; import type { Dayjs } from 'dayjs'; -import dayjs from 'dayjs'; +import { dayjs } from '../../../utils/dayjs'; import { healthDataApi } from '../../../api/health/healthData'; import type { VitalSigns } from '../../../api/health/healthData'; import { VitalSignsChart } from './VitalSignsChart';