diff --git a/nuxt/components/DateSearch.vue b/nuxt/components/DateSearch.vue deleted file mode 100644 index 6c7dd5e..0000000 --- a/nuxt/components/DateSearch.vue +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - diff --git a/nuxt/common/loading.vue b/nuxt/components/common/loading.vue similarity index 100% rename from nuxt/common/loading.vue rename to nuxt/components/common/loading.vue diff --git a/nuxt/components/layout/header.vue b/nuxt/components/layout/header.vue index f2ac840..946b78d 100644 --- a/nuxt/components/layout/header.vue +++ b/nuxt/components/layout/header.vue @@ -10,7 +10,7 @@ import { LogoutOutlined } from '@ant-design/icons-vue'; - + 로그아웃 diff --git a/nuxt/constants/login/index.ts b/nuxt/constants/login/index.ts index 499e884..caa44af 100644 --- a/nuxt/constants/login/index.ts +++ b/nuxt/constants/login/index.ts @@ -1,12 +1,12 @@ -import type { LoginReqType, LoginResType } from '~/types/login'; +import type { LoginRequestType, LoginResponseType } from '~/types/login'; -export const DEFAULT_AUTHENTICATION_VALUE: LoginReqType = { +export const DEFAULT_AUTHENTICATION_VALUE: LoginRequestType = { memberId: '', password: '', remember: false }; -export const DEFAULT_AUTHORIZATION_VALUE: LoginResType = { +export const DEFAULT_AUTHORIZATION_VALUE: LoginResponseType = { memberName: '', deptNm: '', instNm: '', diff --git a/nuxt/pages/login/index.vue b/nuxt/pages/admin/login/index.vue similarity index 100% rename from nuxt/pages/login/index.vue rename to nuxt/pages/admin/login/index.vue diff --git a/nuxt/stores/login/index.ts b/nuxt/stores/login/index.ts index 180d45b..aa57ea3 100644 --- a/nuxt/stores/login/index.ts +++ b/nuxt/stores/login/index.ts @@ -16,7 +16,7 @@ export const useAuthStore = defineStore('authStore', () => { ); const LoginAPI = async () => { - return await useAxios().post(`/api/login`, loginRequest.value); + return await useAxios().post(`/api/admin/login`, loginRequest.value); }; return {