From 71c77683fb83807a84d4e1d12eb8757c567d7055 Mon Sep 17 00:00:00 2001 From: lihuilin Date: Wed, 23 Jul 2025 13:47:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E7=BB=88=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- activitylink/src/api/manage/user.js | 25 ++ activitylink/src/router/index.js | 2 +- activitylink/src/views/zhongchou/user/index.vue | 518 +++++++++++------------- 3 files changed, 268 insertions(+), 277 deletions(-) create mode 100644 activitylink/src/api/manage/user.js diff --git a/activitylink/src/api/manage/user.js b/activitylink/src/api/manage/user.js new file mode 100644 index 0000000..16bf9c0 --- /dev/null +++ b/activitylink/src/api/manage/user.js @@ -0,0 +1,25 @@ +import request from '@/utils/request' + +export function getuserList(data) { + return request({ + url: '/admin/isLogin/selectByJwcode', + method: 'post', + data + }) + } + +export function deleteuserByjwcode(data) { + return request({ + url: '/admin/isLogin/deleteUser', + method: 'post', + data + }) + } + +export function adduserByjwcode(data) { + return request({ + url: '/admin/isLogin/addUser', + method: 'post', + data + }) + } \ No newline at end of file diff --git a/activitylink/src/router/index.js b/activitylink/src/router/index.js index 0912049..6ba857d 100644 --- a/activitylink/src/router/index.js +++ b/activitylink/src/router/index.js @@ -85,4 +85,4 @@ router.beforeEach((to, from, next) => { next(); }) // 暴露 -export default router +export default router \ No newline at end of file diff --git a/activitylink/src/views/zhongchou/user/index.vue b/activitylink/src/views/zhongchou/user/index.vue index 46a2857..7795f11 100644 --- a/activitylink/src/views/zhongchou/user/index.vue +++ b/activitylink/src/views/zhongchou/user/index.vue @@ -1,309 +1,275 @@ - - - - \ No newline at end of file + fetchWinList() +} + + +// 页面加载时获取数据 +onMounted(() => { + fetchWinList() +}) + + + + \ No newline at end of file