Merge branch 'main' of http://192.168.0.251:3000/localnet/localhost-front
This commit is contained in:
commit
402c75320c
@ -13,6 +13,7 @@ const routes = [
|
|||||||
{
|
{
|
||||||
path: '/board',
|
path: '/board',
|
||||||
component: () => import('@v/board/TheBoard.vue'),
|
component: () => import('@v/board/TheBoard.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
@ -38,6 +39,7 @@ const routes = [
|
|||||||
{
|
{
|
||||||
path: '/wordDict',
|
path: '/wordDict',
|
||||||
component: () => import('@v/wordDict/wordDict.vue'),
|
component: () => import('@v/wordDict/wordDict.vue'),
|
||||||
|
meta: { requiresAuth: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/login',
|
path: '/login',
|
||||||
@ -60,10 +62,12 @@ const routes = [
|
|||||||
{
|
{
|
||||||
path: '/vacation',
|
path: '/vacation',
|
||||||
component: () => import('@v/vacation/VacationManagement.vue'),
|
component: () => import('@v/vacation/VacationManagement.vue'),
|
||||||
|
meta: { requiresAuth: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/voteboard',
|
path: '/voteboard',
|
||||||
component: () => import('@v/voteboard/TheVoteBoard.vue'),
|
component: () => import('@v/voteboard/TheVoteBoard.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
@ -79,10 +83,12 @@ const routes = [
|
|||||||
{
|
{
|
||||||
path: '/projectlist',
|
path: '/projectlist',
|
||||||
component: () => import('@v/projectlist/TheProjectList.vue'),
|
component: () => import('@v/projectlist/TheProjectList.vue'),
|
||||||
|
meta: { requiresAuth: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/commuters',
|
path: '/commuters',
|
||||||
component: () => import('@v/commuters/TheCommuters.vue'),
|
component: () => import('@v/commuters/TheCommuters.vue'),
|
||||||
|
meta: { requiresAuth: true }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/authorization',
|
path: '/authorization',
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 투표리스트 -->
|
<!-- 투표리스트 -->
|
||||||
<div v-if="voteListCardData.length == 0 " >투표가 없습니다.</div>
|
<div v-if="voteListCardData.length == 0 " class="text-center">투표가 없습니다.</div>
|
||||||
<vote-list
|
<vote-list
|
||||||
:data="voteListCardData"
|
:data="voteListCardData"
|
||||||
@addContents="addContents"
|
@addContents="addContents"
|
||||||
@ -81,6 +81,7 @@ const voteWrite = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const changeCheck = () =>{
|
const changeCheck = () =>{
|
||||||
|
currentPage.value = 1;
|
||||||
getvoteList();
|
getvoteList();
|
||||||
}
|
}
|
||||||
//투표목록
|
//투표목록
|
||||||
@ -100,6 +101,7 @@ const getvoteList = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const selectHandler = () =>{
|
const selectHandler = () =>{
|
||||||
|
currentPage.value = 1;
|
||||||
voteset.value = category.value;
|
voteset.value = category.value;
|
||||||
getvoteList();
|
getvoteList();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user