diff --git a/index.html b/index.html index c40daad..9a4d343 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ - + VoRDM Admin diff --git a/src/api/response/adminManager.js b/src/api/response/adminManager.js new file mode 100644 index 0000000..55427cd --- /dev/null +++ b/src/api/response/adminManager.js @@ -0,0 +1,44 @@ +import request, {moduleName} from '/@/utils/request'; + +/** + * 查询管理员用户分页列表 + * @param current + * @param size + * @param params + * @returns {Promise>} + */ +export const getAdminManagerPage = (current,size,params) => { + return request({ + url: '/api/' + moduleName + '/adminManager/pages', + method: 'get', + params: { + current, + size, + ...params + } + }); +}; + +/** + * 新增管理员 + * @param data + * @returns {Promise>} + */ +export const auditData = (data) => { + return request({ + url: '/api/' + moduleName + '/adminManager/audit', + method: 'post', + data: data + }); +}; + + +export const remove = (ids) => { + return request({ + url: '/api/' + moduleName + '/administrator/delete', + method: 'delete', + params: { + ids, + } + }) +} diff --git a/src/api/response/administrator.js b/src/api/response/administrator.js new file mode 100644 index 0000000..378bd26 --- /dev/null +++ b/src/api/response/administrator.js @@ -0,0 +1,44 @@ +import request, {moduleName} from '/@/utils/request'; + +/** + * 查询管理员用户分页列表 + * @param current + * @param size + * @param params + * @returns {Promise>} + */ +export const getAdminPage = (current,size,params) => { + return request({ + url: '/api/' + moduleName + '/administrator/pages', + method: 'get', + params: { + current, + size, + ...params + } + }); +}; + +/** + * 新增管理员 + * @param data + * @returns {Promise>} + */ +export const addAdmin = (data) => { + return request({ + url: '/api/' + moduleName + '/administrator/add', + method: 'post', + data: data + }); +}; + + +export const remove = (ids) => { + return request({ + url: '/api/' + moduleName + '/administrator/delete', + method: 'delete', + params: { + ids, + } + }) +} diff --git a/src/assets/vordm-mini.png b/src/assets/vordm-mini.png new file mode 100644 index 0000000..200a6c2 Binary files /dev/null and b/src/assets/vordm-mini.png differ diff --git a/src/assets/vordm.png b/src/assets/vordm.png new file mode 100644 index 0000000..48fe202 Binary files /dev/null and b/src/assets/vordm.png differ diff --git a/src/layout/logo/index.vue b/src/layout/logo/index.vue index b8ad31b..a64edaa 100644 --- a/src/layout/logo/index.vue +++ b/src/layout/logo/index.vue @@ -1,10 +1,10 @@ @@ -13,6 +13,8 @@ import { computed } from 'vue'; import { storeToRefs } from 'pinia'; import { useThemeConfig } from '/@/stores/themeConfig'; import logoMini from '/@/assets/logo-mini.svg'; +import Vordm from '/@/assets/vordm.png'; +import VordmMini from '/@/assets/vordm-mini.png' // 定义变量内容 const storesThemeConfig = useThemeConfig(); @@ -32,17 +34,18 @@ const onThemeConfigChange = () => { \ No newline at end of file diff --git a/src/views/responseManagement/administrator/index.vue b/src/views/responseManagement/administrator/index.vue index 2e76b25..fca4219 100644 --- a/src/views/responseManagement/administrator/index.vue +++ b/src/views/responseManagement/administrator/index.vue @@ -1,25 +1,41 @@ + + +