diff --git a/activitylink/package-lock.json b/activitylink/package-lock.json index ab540ac..17b08da 100644 --- a/activitylink/package-lock.json +++ b/activitylink/package-lock.json @@ -8,6 +8,7 @@ "name": "activitylink", "version": "0.0.0", "dependencies": { + "@element-plus/icons-vue": "^2.3.1", "@vitejs/plugin-vue": "^4.6.2", "axios": "^1.10.0", "element-plus": "^2.10.4", diff --git a/activitylink/package.json b/activitylink/package.json index 557f07f..7ab17df 100644 --- a/activitylink/package.json +++ b/activitylink/package.json @@ -9,6 +9,7 @@ "preview": "vite preview" }, "dependencies": { + "@element-plus/icons-vue": "^2.3.1", "@vitejs/plugin-vue": "^4.6.2", "axios": "^1.10.0", "element-plus": "^2.10.4", diff --git a/activitylink/src/api/manage/gift.js b/activitylink/src/api/manage/gift.js index 3989484..c1c7fab 100644 --- a/activitylink/src/api/manage/gift.js +++ b/activitylink/src/api/manage/gift.js @@ -23,26 +23,6 @@ export function deletePrize(id) { //奖品分页查询 export function getPrizeList(params) { return request({ - url: '/admin/prize/add', - method: 'post', - data: data, - headers: { - 'Content-Type': 'application/json' - } - }) -} - -// 奖品删除 -export function deletePrize(id) { - return request({ - url: '/admin/prize/delete', - method: 'post', - params: params - }) -} -//奖品分页查询 -export function getPrizeList(params) { - return request({ url: '/admin/prize/list', method: 'post', params: params @@ -178,4 +158,4 @@ export const importFixUsers = (file,gradeId) => { 'Content-Type': 'multipart/form-data' } }); -}; +}; \ No newline at end of file diff --git a/activitylink/src/router/index.js b/activitylink/src/router/index.js index 2d35cca..e95e914 100644 --- a/activitylink/src/router/index.js +++ b/activitylink/src/router/index.js @@ -28,6 +28,11 @@ const routes = [ component: () => import('../views/zhongchou/gift/index.vue'), }, { + path: 'userManagement', // 注意这里不要加斜杠,表示相对路径 + name: 'zhongchouuser', + component: () => import('../views/zhongchou/user/index.vue'), + }, + { path: 'giftManagement/importUsers', // 注意这里不要加斜杠,表示相对路径 name: 'importUsers', component: () => import('../views/zhongchou/gift/importuser/index.vue'), diff --git a/activitylink/src/views/zhongchou/index.vue b/activitylink/src/views/zhongchou/index.vue index a40c046..360daca 100644 --- a/activitylink/src/views/zhongchou/index.vue +++ b/activitylink/src/views/zhongchou/index.vue @@ -5,7 +5,9 @@ import { Location, Menu as IconMenu, Document, - Setting + Setting, + User, + HelpFilled } from '@element-plus/icons-vue' import { useRouter } from 'vue-router' const router = useRouter() @@ -56,8 +58,13 @@ const handleClose = (key, keyPath) => { - - 众筹活动 + + 活动管理 + + + + + 用户管理 diff --git a/activitylink/src/views/zhongchou/user/index.vue b/activitylink/src/views/zhongchou/user/index.vue new file mode 100644 index 0000000..aac373b --- /dev/null +++ b/activitylink/src/views/zhongchou/user/index.vue @@ -0,0 +1,262 @@ + + + + + \ No newline at end of file