fix:修改用户列表的更多中的相关操作
Build and Deploy Vue3 / build (push) Successful in 1m15s
Build and Deploy Vue3 / deploy (push) Failing after 35s

This commit is contained in:
2026-01-23 12:33:26 +08:00
parent 084aeebf13
commit 7992ee9902
5 changed files with 1172 additions and 664 deletions
+102 -5
View File
@@ -1,13 +1,108 @@
✅已完成、⚠️部分完成、❌未完成这样显示
-----------------------------------------------------------------------------------------------需要解决
1.http://localhost:5173/user/group将当前页面弹窗的高度进行限制为屏幕大小的80%并且进行分页数为很大的时候进行内部的滚动条进行查看
以下是请求用户详情信息的接口响应数据:
{
"code": 200,
"message": "Success",
"data": {
"UserId": 1680,
"UserName": "testuser111",
"Password": "$2a$10$iOH6CYfaOsVxvRsUotcDNeAyH19Fot3Bou7chuoB8tUqg6cTyxuKG",
"UserGroup": {
"Id": 1,
"HigherLevelId": 0,
"Name": "Lv1",
"Auth": "1",
"FloorPrice": 0,
"Fixed": false,
"UserGroupDiscount": null,
"IsDeleted": false,
"CreatedAt": "2024-11-05T05:15:33+08:00",
"UpdatedAt": "2024-11-05T05:15:35+08:00",
"omitempty": null
},
"UserGroupId": 1,
"AdminGroup": {
"id": 0,
"name": "",
"auth": "",
"note": "",
"CreatedAt": "0001-01-01T00:00:00Z",
"UpdatedAt": "0001-01-01T00:00:00Z",
"omitempty": null
},
"AdminGroupId": null,
"Cover": {
"id": 3,
"realName": "7EE71869106645BA1C2BA93D298C8C5B.png",
"saveName": "173073670020",
"savePath": "static/files/2024-11-04/173073670020",
"size": 72075,
"type": "work_order",
"content": "",
"userId": 20,
"openDow": false,
"CreatedAt": "2024-11-05T00:11:40.628+08:00",
"UpdatedAt": "2024-11-05T00:11:40.628+08:00",
"omitempty": null
},
"CoverID": 3,
"IsDeleted": false,
"Sex": true,
"Age": 15,
"Phone": "13888888888",
"Email": "q21234043@gmail.com",
"IdcAgent": {
"Id": 0,
"UserId": 0,
"AgentLevent": 0,
"AgentLevelName": "",
"Uid": "",
"IdcCreatedAt": 0,
"CreatedAt": "0001-01-01T00:00:00Z",
"UpdatedAt": "0001-01-01T00:00:00Z",
"omitempty": null
},
"RealName": {
"Id": 0,
"UserId": 0,
"Name": "",
"IdCard": "",
"Status": 0,
"Type": 0,
"CreatedAt": "0001-01-01T00:00:00Z",
"UpdatedAt": "0001-01-01T00:00:00Z",
"omitempty": null
},
"EnterpriseInfo": {
"Id": 0,
"UserId": 0,
"Name": "",
"BusinessNumber": "",
"CreatedAt": "0001-01-01T00:00:00Z",
"UpdatedAt": "0001-01-01T00:00:00Z",
"omitempty": null
},
"RecommendUserId": 1679,
"CreatedAt": "2025-12-31T16:48:31.85729+08:00",
"UpdatedAt": "2026-01-23T11:01:01.384933+08:00",
"omitempty": null
}
}
1.用户列表点击修改用户组弹出弹窗用户组id使用组件UserGroupSelector.vue文件进行选择,并且使用选择样式需要符合整体选择框样式
### TODO List
- [x]用户组页面弹窗高度限制
- 弹窗最大高度限制为屏幕的80%
- 内容区域使用 el-scrollbar 实现内部滚动
- 用户组表单弹窗、成员列表弹窗均已添加滚动支持
- [x]导入UserGroupSelector组件
- [x] ✅ 修改用户组弹窗使用选择器组件
- [x] ✅ 显示当前用户组名称
- [x] ✅ 点击选择用户组打开选择器弹窗
- [x] ✅ 选择后显示用户组名称和ID
- [x] ✅ 添加清除功能
- [x] ✅ 样式与推介人选择器保持一致
-----------------------------------------------------------------------------------------------需要解决
@@ -19,6 +114,8 @@
- 列表展示使用formatDate函数
- 时间选择器正确显示毫秒级时间戳
- 提交时转换为秒级时间戳
4.后续每次写的页面,组件都需要兼容移动端
5.只要是关于选择用户,文件,优惠卷,代金卷的都使用组件