Browse Source

网上办事大厅 数据看板修改

应县
yxq 7 months ago
parent
commit
40d02e63af
3 changed files with 23 additions and 6 deletions
  1. +15
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs
  2. +4
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelOne.cshtml
  3. +4
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelTwo.cshtml

+ 15
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs View File

@@ -57,6 +57,7 @@ namespace Learun.Application.Web.Controllers
private StuSaverecordIBLL stuSaverecordIBLL = new StuSaverecordBLL();
private StuConsumptionIBLL stuConsumptionIBLL = new StuConsumptionBLL();
private MealCardRunTabIBLL mealCardRunTabIBLL = new MealCardRunTabBLL();
private Sys_UpdateRecordIBLL sys_UpdateRecordIBLL = new Sys_UpdateRecordBLL();

#region 统一身份认证2.0
/// <summary>
@@ -1003,6 +1004,13 @@ namespace Learun.Application.Web.Controllers
ViewBag.LanMailSendStr = JsonConvert.SerializeObject(ViewBag.LanMailSend);
//来往邮件数量
ViewBag.LanMailTotalNum = maildataAll.Count() + mailsenddataAll.Count();
//获取在线用户人数
ViewBag.OnlineUserNum = 0;
var onlineUserResult = sys_UpdateRecordIBLL.GetOnlineUserNum();
if (onlineUserResult != null)
{
ViewBag.OnlineUserNum = onlineUserResult.OnlineUserNum;
}
//公文
paginationobj.sidx = "SendTime";
ViewBag.ReceiveFileList = sys_ReceiveFileIBLL.GetPageList(paginationobj, "{\"ReceiverId\":\"" + userInfo.userId + "\"}");
@@ -1341,6 +1349,13 @@ namespace Learun.Application.Web.Controllers
ViewBag.LanMailSendStr = JsonConvert.SerializeObject(ViewBag.LanMailSend);
//来往邮件数量
ViewBag.LanMailTotalNum = maildataAll.Count() + mailsenddataAll.Count();
//获取在线用户人数
ViewBag.OnlineUserNum = 0;
var onlineUserResult = sys_UpdateRecordIBLL.GetOnlineUserNum();
if (onlineUserResult != null)
{
ViewBag.OnlineUserNum = onlineUserResult.OnlineUserNum;
}
//公文
paginationobj.sidx = "SendTime";
ViewBag.ReceiveFileList = sys_ReceiveFileIBLL.GetPageList(paginationobj, "{\"ReceiverId\":\"" + userInfo.userId + "\"}");


+ 4
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelOne.cshtml View File

@@ -77,10 +77,11 @@
+'</div>'
+'<div class="inSec3Major">'
+'<div class="inSec3MajorImgBox">'
+'<div class="inSec3MajorImg"><img src="../../Content/images/DragSSO/indexSec3-8.png" alt=""></div>'
+'<span>累计在线时长</span>'
// +'<div class="inSec3MajorImg"><img src="../../Content/images/DragSSO/indexSec3-8.png" alt=""></div>'
+'<div class="inSec3MajorImg"><img src="../../Content/images/DragSSO/indexSec3-25.png" alt=""></div>'
+'<span>在线人数</span>'
+'</div>'
+ '<div class="inSec3MajorTxt"><span>0</span></div>'
+ '<div class="inSec3MajorTxt"><span>@ViewBag.OnlineUserNum</span></div>'
+'</div>'
+'</div>'
+'</div>'


+ 4
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelTwo.cshtml View File

@@ -78,10 +78,11 @@
+'</div>'
+'<div class="inSec3Major">'
+'<div class="inSec3MajorImgBox">'
+'<div class="inSec3MajorImg"><img src="../../Content/images/DragSSO/indexSec3-8.png" alt=""></div>'
+'<span>累计在线时长</span>'
// +'<div class="inSec3MajorImg"><img src="../../Content/images/DragSSO/indexSec3-8.png" alt=""></div>'
+ '<div class="inSec3MajorImg"><img src="../../Content/images/DragSSO/indexSec3-25.png" alt=""></div>'
+'<span>在线人数</span>'
+'</div>'
+ '<div class="inSec3MajorTxt"><span>0</span></div>'
+ '<div class="inSec3MajorTxt"><span>@ViewBag.OnlineUserNum</span></div>'
+'</div>'
+'</div>'
+'</div>'


Loading…
Cancel
Save