diff --git a/src/api/userPermissions.js b/src/api/userPermissions.js index 3f5713a..9fc8358 100644 --- a/src/api/userPermissions.js +++ b/src/api/userPermissions.js @@ -207,4 +207,23 @@ export function getOriginListApi(params) { method: "post", data: params, }); -} \ No newline at end of file +} +// 2026.04.01 +// 用户列表--获取用户列表 +export function userListApi(params) { + return request({ + url: base_url + "/admin/user/list/get", + method: "post", + data: params, + }); +} + +// 用户列表--创建导出 +export function exportUserListApi(params) { + return request({ + url: base_url + "/admin/user/list/export", + method: "post", + data: params, + }); +} +// 2026.04.01 \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index ae6ff39..85890e6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -29,16 +29,48 @@ const routes = [ meta: { title: '用户权限管理', icon: "UserFilled", showSidebar: true, isParentNav: true }, children: [ { - path: 'market', - name: 'market', - component: () => import('../views/UserPermissions/Market.vue'), - meta: { title: '行情期限', showSidebar: true } + path: 'userList', + name: 'userList', + component: () => import('../views/UserPermissions/UserList.vue'), + meta: { title: '用户列表', showSidebar: true } }, + // { + // path: 'market', + // name: 'market', + // component: () => import('../views/UserPermissions/Market.vue'), + // meta: { title: '行情期限', showSidebar: true } + // }, + // { + // path: 'module', + // name: 'module', + // component: () => import('../views/UserPermissions/Module.vue'), + // meta: { title: '模块期限', showSidebar: true } + // }, + // 期限管理子菜单 { - path: 'module', - name: 'module', - component: () => import('../views/UserPermissions/Module.vue'), - meta: { title: '模块期限', showSidebar: true } + path: 'limitManagement', + name: 'limitManagement', + meta: { title: '期限管理', showSidebar: true }, + children: [ + { + path: 'tokenManage', + name: 'tokenManage', + component: () => import('../views/UserPermissions/TokenManage.vue'), + meta: { title: 'Token管理', showSidebar: true } + }, + { + path: 'templateLimit', + name: 'templateLimit', + component: () => import('../views/UserPermissions/TemplateLimit.vue'), + meta: { title: '模版期限', showSidebar: true } + }, + { + path: 'marketTerm', + name: 'marketTerm', + component: () => import('../views/UserPermissions/MarketTerm.vue'), + meta: { title: '行情期限', showSidebar: true } + } + ] }, { path: 'invitedLook', diff --git a/src/views/UserPermissions/LogDeepExplore.vue b/src/views/UserPermissions/LogDeepExplore.vue index c4df678..e6be9b9 100644 --- a/src/views/UserPermissions/LogDeepExplore.vue +++ b/src/views/UserPermissions/LogDeepExplore.vue @@ -113,8 +113,7 @@ onMounted(() => { // 返回按钮 const goback = () => { router.push({ - path: "/userPermissions/module", - query: { taber: "DeepExplore" } + path: "/userPermissions/limitManagement/templateLimit" }); }; diff --git a/src/views/UserPermissions/LogDeepMate.vue b/src/views/UserPermissions/LogDeepMate.vue index 756814e..058b091 100644 --- a/src/views/UserPermissions/LogDeepMate.vue +++ b/src/views/UserPermissions/LogDeepMate.vue @@ -23,6 +23,7 @@ + @@ -111,8 +112,7 @@ const logTableData = async (jwcode) => { // 返回按钮 const goback = () => { router.push({ - path: "/userPermissions/module", - query: { taber: "DeepMate" } + path: "/userPermissions/limitManagement/tokenManage" }); }; diff --git a/src/views/UserPermissions/LogMarket.vue b/src/views/UserPermissions/LogMarket.vue index 2a3d021..e58614a 100644 --- a/src/views/UserPermissions/LogMarket.vue +++ b/src/views/UserPermissions/LogMarket.vue @@ -113,7 +113,7 @@ onMounted(() => { // 返回按钮 const goback = () => { router.push({ - path: "/userPermissions/market" + path: "/userPermissions/limitManagement/marketTerm" }); }; diff --git a/src/views/UserPermissions/Market.vue b/src/views/UserPermissions/Market.vue index c1cece5..caf484d 100644 --- a/src/views/UserPermissions/Market.vue +++ b/src/views/UserPermissions/Market.vue @@ -24,12 +24,12 @@ style="height: 36px; width: 140px;" /> -
+
地区
-
+
注册时间 @@ -92,12 +92,12 @@ - + - - + + - + diff --git a/src/views/UserPermissions/MarketTerm.vue b/src/views/UserPermissions/MarketTerm.vue new file mode 100644 index 0000000..ed555a7 --- /dev/null +++ b/src/views/UserPermissions/MarketTerm.vue @@ -0,0 +1,827 @@ + + + + + diff --git a/src/views/UserPermissions/TemplateLimit.vue b/src/views/UserPermissions/TemplateLimit.vue new file mode 100644 index 0000000..3d72175 --- /dev/null +++ b/src/views/UserPermissions/TemplateLimit.vue @@ -0,0 +1,1022 @@ + + + + + diff --git a/src/views/UserPermissions/TokenManage.vue b/src/views/UserPermissions/TokenManage.vue new file mode 100644 index 0000000..20db7e4 --- /dev/null +++ b/src/views/UserPermissions/TokenManage.vue @@ -0,0 +1,734 @@ + + + + + diff --git a/src/views/UserPermissions/UserList.vue b/src/views/UserPermissions/UserList.vue new file mode 100644 index 0000000..70cd42f --- /dev/null +++ b/src/views/UserPermissions/UserList.vue @@ -0,0 +1,482 @@ + + + + +