diff --git a/src/MainPage/Index.vue b/src/MainPage/Index.vue
index 47e647d..71fa5c6 100644
--- a/src/MainPage/Index.vue
+++ b/src/MainPage/Index.vue
@@ -1,3 +1,12 @@
- 这是主页
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/src/Manager/components/Role.vue b/src/Manager/components/Role.vue
index 5f2d54e..1d6c5db 100644
--- a/src/Manager/components/Role.vue
+++ b/src/Manager/components/Role.vue
@@ -367,7 +367,6 @@ const rowSelection = {
console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);
},
getCheckboxProps: record => ({
- disabled: record.role_name === 'Disabled User',
// Column configuration not to be checked
role_name: record.role_name,
}),
diff --git a/src/Manager/components/User.vue b/src/Manager/components/User.vue
index 9d61765..69db763 100644
--- a/src/Manager/components/User.vue
+++ b/src/Manager/components/User.vue
@@ -73,79 +73,99 @@
v-model:open="EditDiaLog"
title="修改用户"
@on-ok="editOk"
- @on-cancel="editCancel">
+ cancel-text="取消"
+ ok-text="确定"
+ style="width: 850px"
+ @on-cancel="editCancel"
+ >
-
- 用户id:
-
-
-
- 用户名:
-
-
-
- 地址:
-
-
-
- 手机号码:
-
-
-
- 邮箱:
-
-
-
- 年龄:
-
-
-
- 签名:
-
-
-
- 性别:
-
-
-
- 头像:
-
-
-
- 昵称:
-
-
-
- 个人描述:
-
-
-
- 用户是否启用:
-
-
-
- 用户是否过期:
-
-
-
- 密码是否过期:
-
-
-
- 是否展示:
-
-
-
- 用户是否被锁:
-
-
+
+
+ 用户id:
+
+
+
+ 用户名:
+
+
+
+
+
+ 地址:
+
+
+
+ 手机号码:
+
+
+
+
+
+ 邮箱:
+
+
+
+ 年龄:
+
+
+
+
+
+ 签名:
+
+
+
+ 性别:
+
+
+
+
+
+ 头像:
+
+
+
+ 昵称:
+
+
+
+
+
+ 个人描述:
+
+
+
+ 用户是否启用:
+
+
+
+
+
+ 用户是否过期:
+
+
+
+ 密码是否过期:
+
+
+
+
+
+ 是否展示:
+
+
+
+ 用户是否被锁:
+
+
+
-
+
{{record.id}}
@@ -162,7 +182,7 @@
- 修改
+ 修改
删除
@@ -187,7 +207,7 @@ const DeleteId = ref(0);
let dataSource = ref([]);
let data = ref([]);
const dataLoaded = ref(false);
-const token = "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNiIsImV4cCI6MTcwNjc4OTgwNH0.Cx4NOfPh3QXH-pYRCSHxpUjdeUxBZABVb5Z82gK8sfI"
+const token = "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNiIsImV4cCI6MTcwNjk0MjE1NH0.fDLQMglvD9MZtyrZgBFSM_sX17smhvODww8IUfpJeKg"
const requestBody = {
"page": null,
"limit": null,
@@ -480,8 +500,7 @@ const rowSelection = {
console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);
},
getCheckboxProps: record => ({
- disabled: record.name === 'Disabled User',
- name: record.name,
+ username: record.username,
}),
};
@@ -494,7 +513,7 @@ async function fetchData() {
search: null,
role: null
},
- "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIiwiZXhwIjoxNzA2ODU0Nzk1fQ.A5kh3jSxbkvHmfEyp9MTp9--N0HdoiEREkKdPgcfXOk"
+ "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNiIsImV4cCI6MTcwNjk0MjE1NH0.fDLQMglvD9MZtyrZgBFSM_sX17smhvODww8IUfpJeKg"
);
console.log(queryData.data); // 访问数据
dataSource.value = queryData.data.data;
diff --git a/src/router/index.js b/src/router/index.js
index 0881529..01269e7 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1,4 +1,4 @@
-import { createRouter, createWebHistory } from 'vue-router'
+import {createRouter, createWebHistory} from 'vue-router'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@@ -6,7 +6,12 @@ const router = createRouter({
{
path:'/',
name:'app',
- component:()=>import('../App.vue')
+ component:()=>import('../MainPage/Index.vue')
+ },
+ {
+ path:'/login',
+ name:'login',
+ component:()=>import('../LoginRigester/Login.vue')
},
{
path:'/Manager',