기본 페이지를 접수리스트 페이지로 설정
This commit is contained in:
@@ -186,10 +186,10 @@ export default function App() {
|
||||
<Route path="bbs/bbs" element={<BbsPage />} />
|
||||
|
||||
<Route path="sitemap" element={<Navigate to="/care/main/sitemap" replace />} />
|
||||
<Route path="*" element={<Navigate to="/care/main" replace />} />
|
||||
<Route path="*" element={<Navigate to="/care/reception/list" replace />} />
|
||||
</Route>
|
||||
</Route>
|
||||
<Route path="/" element={<Navigate to="/care/main" replace />} />
|
||||
<Route path="/" element={<Navigate to="/care/reception/list" replace />} />
|
||||
<Route path="*" element={<Navigate to="/login" replace />} />
|
||||
</Routes>
|
||||
</AntApp>
|
||||
|
||||
@@ -22,7 +22,7 @@ export default function LoginPage() {
|
||||
localStorage.setItem('userid', data.userid)
|
||||
if (data.staffPermission) localStorage.setItem('staffPermission', data.staffPermission)
|
||||
else localStorage.removeItem('staffPermission')
|
||||
navigate('/care/main', { replace: true })
|
||||
navigate('/care/reception/list', { replace: true })
|
||||
} catch (err) {
|
||||
setError(err instanceof Error ? err.message : '로그인에 실패했습니다.')
|
||||
} finally {
|
||||
|
||||
@@ -16,7 +16,6 @@ import client, { apiPrefix, unwrap, type ApiResponse } from '../../api/client'
|
||||
import { homeAccentColors } from '../../theme'
|
||||
import { useTheme } from '../../themeContext'
|
||||
import { money } from './homesShared'
|
||||
import NoticePopupQueue from '../../components/NoticePopupQueue'
|
||||
|
||||
type SparkBlock = {
|
||||
open?: number
|
||||
@@ -491,8 +490,6 @@ export default function HomeDashboardPage() {
|
||||
</Form.Item>
|
||||
</Form>
|
||||
</Modal>
|
||||
|
||||
<NoticePopupQueue />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@ import {
|
||||
import ReceptionApplyModal from '../../components/ReceptionApplyModal'
|
||||
import ReceptionBulkModal from '../../components/ReceptionBulkModal'
|
||||
import ReceptionProgressModal from '../../components/ReceptionProgressModal'
|
||||
import NoticePopupQueue from '../../components/NoticePopupQueue'
|
||||
import MultiSelect, { entriesOptions, mapOptions, type MultiSelectOption } from '../../components/MultiSelect'
|
||||
import { DownOutlined } from '@ant-design/icons'
|
||||
import client, { apiPrefix, unwrap, type ApiResponse } from '../../api/client'
|
||||
@@ -956,6 +957,8 @@ export default function ReceptionListPage() {
|
||||
setApplyIsp(isp)
|
||||
}}
|
||||
/>
|
||||
|
||||
<NoticePopupQueue />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user