feat(userManagement): 成员列表增加已删除状态展示
- delFlag=1 的成员显示「已删除」红色状态 - 已删除成员卡片半透明 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
dbb2ab8423
commit
9a307783f9
@@ -151,8 +151,8 @@ Page({
|
||||
gender: item.sex === 1 ? '男' : '女',
|
||||
age: calcAge(item.birthday),
|
||||
height: item.height,
|
||||
sync: item.syncStatus === 1 ? '已同步' : '待同步',
|
||||
syncClass: item.syncStatus === 1 ? 'done' : 'pending',
|
||||
sync: item.delFlag === 1 ? '已删除' : (item.syncStatus === 1 ? '已同步' : '未同步'),
|
||||
syncClass: item.delFlag === 1 ? 'deleted' : (item.syncStatus === 1 ? 'done' : 'pending'),
|
||||
relationType: item.relationType,
|
||||
delFlag: item.delFlag,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user