添加公会会长名称

This commit is contained in:
wh_zcy 2023-05-11 19:53:40 +08:00
parent 6b4beb5765
commit 26bfe55c18
2 changed files with 739 additions and 661 deletions

View File

@ -163,18 +163,19 @@ func (this *SociatyListView) dataListener() {
} }
for i, v := range rsp.List { for i, v := range rsp.List {
memberCount := len(v.Members) dsociaty := v.DbSociaty
memberCount := len(dsociaty.Members)
var isApplyCheckLbl string var isApplyCheckLbl string
if v.IsApplyCheck { if dsociaty.IsApplyCheck {
isApplyCheckLbl = "需要审核" isApplyCheckLbl = "需要审核"
} else { } else {
isApplyCheckLbl = "无需审核" isApplyCheckLbl = "无需审核"
} }
lbl := fmt.Sprintf("%d - %-15s 等级:%-5d 等级限制:%-5d (%d) %10v", lbl := fmt.Sprintf("%d - %-15s 等级:%-5d 等级限制:%-5d (%d) %10v",
i+1, v.Name, v.Lv, v.ApplyLv, memberCount, isApplyCheckLbl) i+1, dsociaty.Name, dsociaty.Lv, dsociaty.ApplyLv, memberCount, isApplyCheckLbl)
item := common.Item{ item := common.Item{
Id: v.Id, Id: dsociaty.Id,
Text: lbl, Text: lbl,
Data: v, Data: v,
} }

File diff suppressed because it is too large Load Diff