feat(agent): AgentList.vue 구현 — 총 에이전트 수, 정산 항목별 금액, 합계 표시 및 라우팅 추가
- api: /admin/partner/agent/list 연동을 위한 api/agent.js 추가(getAgentList) - router: 에이전트 상세 및 5종 정산 상세 라우트 추가(파라미터 agentId 사용) - AgentDetail.vue와 정산 상세 5개 뷰(플레이스홀더) 추가 - 숫자/통화 포맷 적용 및 클릭 가능한 스타일 클래스 추가
This commit is contained in:
@@ -56,6 +56,42 @@ const routes = [
|
||||
name: 'AgentList',
|
||||
component: () => import(/* webpackChunkName: "agent" */ '../views/Agent/AgentList.vue')
|
||||
},
|
||||
{
|
||||
path: '/agent/:agentId',
|
||||
name: 'AgentDetail',
|
||||
props: true,
|
||||
component: () => import(/* webpackChunkName: "agent" */ '../views/Agent/AgentDetail.vue')
|
||||
},
|
||||
{
|
||||
path: '/agent/:agentId/settlement/live',
|
||||
name: 'AgentSettlementLive',
|
||||
props: true,
|
||||
component: () => import(/* webpackChunkName: "agent" */ '../views/Agent/AgentLiveSettlement.vue')
|
||||
},
|
||||
{
|
||||
path: '/agent/:agentId/settlement/content',
|
||||
name: 'AgentSettlementContent',
|
||||
props: true,
|
||||
component: () => import(/* webpackChunkName: "agent" */ '../views/Agent/AgentContentSettlement.vue')
|
||||
},
|
||||
{
|
||||
path: '/agent/:agentId/settlement/community',
|
||||
name: 'AgentSettlementCommunity',
|
||||
props: true,
|
||||
component: () => import(/* webpackChunkName: "agent" */ '../views/Agent/AgentCommunitySettlement.vue')
|
||||
},
|
||||
{
|
||||
path: '/agent/:agentId/settlement/content-donation',
|
||||
name: 'AgentSettlementContentDonation',
|
||||
props: true,
|
||||
component: () => import(/* webpackChunkName: "agent" */ '../views/Agent/AgentContentDonationSettlement.vue')
|
||||
},
|
||||
{
|
||||
path: '/agent/:agentId/settlement/channel-donation',
|
||||
name: 'AgentSettlementChannelDonation',
|
||||
props: true,
|
||||
component: () => import(/* webpackChunkName: "agent" */ '../views/Agent/AgentChannelDonationSettlement.vue')
|
||||
},
|
||||
{
|
||||
path: '/agent/settlement-ratio',
|
||||
name: 'AgentSettlementRatio',
|
||||
|
||||
Reference in New Issue
Block a user