diff --git a/.idea/newAdmin.iml b/.idea/newAdmin.iml index d6ebd48..25ed3f6 100644 --- a/.idea/newAdmin.iml +++ b/.idea/newAdmin.iml @@ -1,5 +1,6 @@ + diff --git a/src/api/index.js b/src/api/index.js index e6d6f9c..0db5173 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -7,4 +7,5 @@ setupRequestInterceptors(instance) setupResponseInterceptors(instance) // 导出所有模块接口 -export { adminApi } from './modules/admin' \ No newline at end of file +export { adminApi } from './modules/admin' +export { invitationApi } from './modules/invitation' \ No newline at end of file diff --git a/src/layout/Sidebar.vue b/src/layout/Sidebar.vue index 25273b0..a960075 100644 --- a/src/layout/Sidebar.vue +++ b/src/layout/Sidebar.vue @@ -56,6 +56,15 @@ } ] }, + { + title: '邀请管理', + path: '/invitation', + children: [{ + title: '邀请列表', + path: '/invitation/list' + } + ] + }, { title: '日志管理', path: '/log', diff --git a/src/router/index.js b/src/router/index.js index 960dc94..214c823 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -52,6 +52,11 @@ const routes = [{ path: '/useModule/vas/list', component: () => import('@/views/UseModule/Vas/List.vue'), meta: { title: '订阅服务' } + }, + { + path: '/invitation/list', + component: () => import('@/views/Invitation/List/index.vue'), + meta: { title: '邀请列表' } } ] }] diff --git a/src/views/SettledConfig/List.vue b/src/views/SettledConfig/List.vue index 3cc7e72..cafd05e 100644 --- a/src/views/SettledConfig/List.vue +++ b/src/views/SettledConfig/List.vue @@ -34,18 +34,565 @@ @selection-change="handleSelectionChange" row-key="id" > - + - +