diff --git a/src/api/user_menu.ts b/src/api/user_menu.ts new file mode 100644 index 0000000..4eac3ca --- /dev/null +++ b/src/api/user_menu.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 系统菜单表列表 +export function apiUserMenuLists(params: any) { + return request.get({ url: '/user.user_menu/lists', params }) +} + +// 添加系统菜单表 +export function apiUserMenuAdd(params: any) { + return request.post({ url: '/user.user_menu/add', params }) +} + +// 编辑系统菜单表 +export function apiUserMenuEdit(params: any) { + return request.post({ url: '/user.user_menu/edit', params }) +} + +// 删除系统菜单表 +export function apiUserMenuDelete(params: any) { + return request.post({ url: '/user.user_menu/delete', params }) +} + +// 系统菜单表详情 +export function apiUserMenuDetail(params: any) { + return request.get({ url: '/user.user_menu/detail', params }) +} \ No newline at end of file diff --git a/src/api/user_role.ts b/src/api/user_role.ts new file mode 100644 index 0000000..be92aa6 --- /dev/null +++ b/src/api/user_role.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 角色表列表 +export function apiUserRoleLists(params: any) { + return request.get({ url: '/user.user_role/lists', params }) +} + +// 添加角色表 +export function apiUserRoleAdd(params: any) { + return request.post({ url: '/user.user_role/add', params }) +} + +// 编辑角色表 +export function apiUserRoleEdit(params: any) { + return request.post({ url: '/user.user_role/edit', params }) +} + +// 删除角色表 +export function apiUserRoleDelete(params: any) { + return request.post({ url: '/user.user_role/delete', params }) +} + +// 角色表详情 +export function apiUserRoleDetail(params: any) { + return request.get({ url: '/user.user_role/detail', params }) +} \ No newline at end of file diff --git a/src/views/user_menu/edit.vue b/src/views/user_menu/edit.vue new file mode 100644 index 0000000..7ae2718 --- /dev/null +++ b/src/views/user_menu/edit.vue @@ -0,0 +1,289 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 显示 + 隐藏 + + + + + 正常 + 停用 + + + + + + + + + + diff --git a/src/views/user_menu/index.vue b/src/views/user_menu/index.vue new file mode 100644 index 0000000..30c13d8 --- /dev/null +++ b/src/views/user_menu/index.vue @@ -0,0 +1,251 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + + 新增 + + + 删除 + + + + + + + + + + + + + + 显示 + 隐藏 + + + + + 正常 + 禁用 + + + + + + 编辑 + + + 删除 + + + + + + + + + + + + + + + diff --git a/src/views/user_role/edit.vue b/src/views/user_role/edit.vue new file mode 100644 index 0000000..1bb3c5c --- /dev/null +++ b/src/views/user_role/edit.vue @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/user_role/index.vue b/src/views/user_role/index.vue new file mode 100644 index 0000000..6fc0832 --- /dev/null +++ b/src/views/user_role/index.vue @@ -0,0 +1,140 @@ + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + + 新增 + + + 删除 + + + + + + + + + + + + 编辑 + + + 删除 + + + + + + + + + + + + + + +