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