@{ ViewBag.Title = "聊天记录"; Layout = "~/Views/Shared/_EasyUI_Layout.cshtml"; } @using WX.CRM.Model.MAP @using WX.CRM.Common @*[微笑][撇嘴][色][发呆][得意][流泪][害羞][闭嘴][睡][大哭][尴尬][发怒][调皮][呲牙] [惊讶][难过][囧][抓狂][吐][偷笑][愉快][白眼][傲慢][困][惊恐][流汗][憨笑][悠闲] [奋斗][咒骂][疑问][嘘][晕][衰][骷髅][敲打][再见][擦汗][抠鼻][鼓掌][坏笑] [左哼哼][右哼哼][哈欠][鄙视][委屈][快哭了][阴险][亲亲][可怜][菜刀][西瓜] [啤酒][咖啡][猪头][玫瑰][凋谢][嘴唇][爱心][心碎][蛋糕][炸弹][便便][月亮] [太阳][拥抱][强][弱][握手][胜利][抱拳][勾引][拳头][OK][跳跳][发抖][怄火][转圈] [嘿哈][捂脸][奸笑][机智][皱眉][耶][茶][红包][蜡烛]*@ @{ List rcontact1 = new List(); List rcontact2 = new List(); List rcontact3 = new List(); List rcontact4 = new List(); List rcontact5 = new List(); List groupList = ViewBag.grouplist as List; string isShowGroupMsg = ViewBag.isShowGroupMessage as string; foreach (WX_WorkRCONTACT rcontact in ViewBag.rcontactList as List) { if (rcontact.isblacklist == 1) { rcontact4.Add(rcontact); } else if (rcontact.isunservedlist == 1) { rcontact5.Add(rcontact); } else if (!string.IsNullOrEmpty(rcontact.WUSERNAME) || !string.IsNullOrEmpty(rcontact.NUSERNAME) || rcontact.NICKNAME.IndexOf("证券之星") > -1) { rcontact3.Add(rcontact); } else if (!string.IsNullOrEmpty(rcontact.FUSERNAME)) { rcontact1.Add(rcontact); } else { rcontact2.Add(rcontact); } } }
    @foreach (WX_WorkRCONTACT rcontact in rcontact1) { string text = ""; if (rcontact.USERNAME.StartsWith("fake_") || rcontact.USERNAME == "filehelper" || rcontact.NICKNAME == "微信团队") { continue; }
  • @Html.Raw(WX.CRM.Common.Utility.ReplaceMobile(WX.CRM.WEB.Handler.WxMessageHandler.GetRcontactNickName(rcontact)))
  • }
    @foreach (WX_WorkRCONTACT rcontact in rcontact2) { string text = ""; if (rcontact.USERNAME.StartsWith("fake_") || rcontact.USERNAME == "filehelper" || rcontact.NICKNAME == "微信团队") { continue; }
  • @Html.Raw(WX.CRM.Common.Utility.ReplaceMobile(WX.CRM.WEB.Handler.WxMessageHandler.GetRcontactNickName(rcontact)))
  • }
    @foreach (WX_WorkRCONTACT rcontact in rcontact4) { string text = ""; if (rcontact.USERNAME.StartsWith("fake_") || rcontact.USERNAME == "filehelper" || rcontact.NICKNAME == "微信团队") { continue; }
  • @Html.Raw(WX.CRM.Common.Utility.ReplaceMobile(WX.CRM.WEB.Handler.WxMessageHandler.GetRcontactNickName(rcontact)))
  • }
    @foreach (WX_WorkRCONTACT rcontact in rcontact5) { string text = ""; if (rcontact.USERNAME.StartsWith("fake_") || rcontact.USERNAME == "filehelper" || rcontact.NICKNAME == "微信团队") { continue; }
  • @Html.Raw(WX.CRM.Common.Utility.ReplaceMobile(WX.CRM.WEB.Handler.WxMessageHandler.GetRcontactNickName(rcontact)))
  • }
    @foreach (WX_WorkRCONTACT rcontact in rcontact3) { string text = ""; if (rcontact.USERNAME.StartsWith("fake_") || rcontact.USERNAME == "filehelper" || rcontact.NICKNAME == "微信团队") { continue; }
  • @Html.Raw(WX.CRM.Common.Utility.ReplaceMobile(WX.CRM.WEB.Handler.WxMessageHandler.GetRcontactNickName(rcontact)))
  • }
@if (isShowGroupMsg == "true") {
    @foreach (Wx_WorkGroupRcontact group in groupList) { string text = ""; if (group.chatRoomName.StartsWith("fake_") || group.chatRoomName == "filehelper" || group.chatRoomName == "微信团队") { continue; }
  • @Html.Raw(string.IsNullOrEmpty(group.groupName) ? group.shortName : group.groupName)
  • }
}
昵称: 排序: