소스 검색

【修改】网上办事大厅拖拽版:卡片块内容修改;

master
dyy 3 년 전
부모
커밋
90deed27f7
15개의 변경된 파일776개의 추가작업 그리고 435개의 파일을 삭제
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Content/css/DragSSO/blue.css
  2. +22
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Content/js/DragSSO/main.js
  3. +296
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs
  4. +63
    -146
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelOne.cshtml
  5. +119
    -70
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelThree.cshtml
  6. +145
    -211
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelTwo.cshtml
  7. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/_LayoutSSODrag.cshtml
  8. +12
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/Module/ModuleEntity.cs
  9. +24
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuConsumption/StuConsumptionBLL.cs
  10. +7
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuConsumption/StuConsumptionIBLL.cs
  11. +24
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuConsumption/StuConsumptionService.cs
  12. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Permission/Perm_Function/Perm_FunctionEntity.cs
  13. +25
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/StuSaverecord/StuSaverecordBLL.cs
  14. +7
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/StuSaverecord/StuSaverecordIBLL.cs
  15. +24
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/StuSaverecord/StuSaverecordService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Content/css/DragSSO/blue.css 파일 보기

@@ -2,7 +2,7 @@ html,body{
background: #EBF6FF;
}
body.active .header {
background-image: url(../../../images/DragSSO/DragSSO/headBg2.jpg);
background-image: url(../../images/DragSSO/headBg2.jpg);
}
.header{
background-image:url('../../images/DragSSO/headBg.jpg');


+ 22
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Content/js/DragSSO/main.js 파일 보기

@@ -19,6 +19,21 @@ $(document).ready(function () {
$('.skinBox').removeClass('active');
}).on('click', '.headSearch', function () {
$('body').addClass('active');
}).on('click', '.headSearchImg', function () {
if ($('body').hasClass('active')) {
var keyword = $('#headSearchInput').val();
if ($.trim(keyword) != "") {
$.each($('.search').find('.searchLi'), function (i, item) {
if ($(item).children('.searchLiTxt').html().indexOf(keyword) != -1) {
$(item).show();
} else {
$(item).hide();
}
});
} else {
$('.search').find('.searchLi').show();
}
}
}).on('click', '.searchTopList li', function () {
if ($(this).hasClass('active')) return;
$(this).addClass('active').siblings().removeClass('active');
@@ -31,6 +46,13 @@ $(document).ready(function () {
}
e.stopPropagation();
$('body').removeClass('active');
//清空搜索
if ($.trim($('#headSearchInput').val()) != "") {
setTimeout(function () {
$('#headSearchInput').val('');
$('.search').find('.searchLi').show();
}, 50);
}
}).on('click', '.signOut', function () { //退出登录
//ajax退出操作
layer.msg('退出中...', {


+ 296
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs 파일 보기

@@ -17,6 +17,7 @@ using Learun.Cache.Base;
using Learun.Cache.Factory;
using Newtonsoft.Json;
using Learun.Application.TwoDevelopment.LR_Desktop;
using Learun.Application.TwoDevelopment.PersonnelManagement;

namespace Learun.Application.Web.Controllers
{
@@ -53,6 +54,8 @@ namespace Learun.Application.Web.Controllers
private StuScoreNotPassIBLL stuScoreNotPassIBLL = new StuScoreNotPassBLL();
private Sys_QRCodeInLoginIBLL sys_QRCodeInLoginIBLL = new Sys_QRCodeInLoginBLL();
private TeachSwitchIBLL teachSwitchIBLL = new TeachSwitchBLL();
private StuSaverecordIBLL stuSaverecordIBLL = new StuSaverecordBLL();
private StuConsumptionIBLL stuConsumptionIBLL = new StuConsumptionBLL();

#region 统一身份认证2.0
/// <summary>
@@ -1072,16 +1075,81 @@ namespace Learun.Application.Web.Controllers
ModuleEntity fod = moduledata.FirstOrDefault(m => m.F_FullName == oitem);
if (fod != null)
{
//找父级
if (fod.F_ParentId == "0")
{
fod.ParentName = fod.F_FullName;
fod.F_ParentId = fod.F_ModuleId;
}
else
{
var parent1 = moduleIBLL.GetModuleEntity(fod.F_ParentId);
if (parent1 != null)
{
if (parent1.F_ParentId == "0")
{
fod.ParentName = parent1.F_FullName;
fod.F_ParentId = parent1.F_ModuleId;
}
else
{
//下一级
var parent2 = moduleIBLL.GetModuleEntity(parent1.F_ParentId);
if (parent2 != null)
{
if (parent2.F_ParentId == "0")
{
fod.ParentName = parent2.F_FullName;
fod.F_ParentId = parent2.F_ModuleId;
}
else
{
//下一级
var parent3 = moduleIBLL.GetModuleEntity(parent2.F_ParentId);
if (parent3 != null)
{
if (parent3.F_ParentId == "0")
{
fod.ParentName = parent3.F_FullName;
fod.F_ParentId = parent3.F_ModuleId;
}
else
{
//下一级
var parent4 = moduleIBLL.GetModuleEntity(parent3.F_ParentId);
if (parent4 != null)
{
if (parent4.F_ParentId == "0")
{
fod.ParentName = parent4.F_FullName;
fod.F_ParentId = parent4.F_ModuleId;
}
}
}
}
}
}
}
}
}

modulelist.Add(fod);
}
}
ViewBag.OffenusedAll = modulelist;
ViewBag.OffenusedJiao = modulelist.Where(x => x.F_FullName.Contains("教"));
ViewBag.OffenusedGuan = modulelist.Where(x => x.F_FullName.Contains("管理"));
ViewBag.Offenused = modulelist.Except(modulelist.Where(x => x.F_FullName.Contains("教") || x.F_FullName.Contains("管理"))).Take(6);
ViewBag.OffenusedJiaoStr = JsonConvert.SerializeObject(ViewBag.OffenusedJiao);
ViewBag.OffenusedGuanStr = JsonConvert.SerializeObject(ViewBag.OffenusedGuan);
ViewBag.OffenusedStr = JsonConvert.SerializeObject(ViewBag.Offenused);

var mm = modulelist.GroupBy(x => x.F_ParentId).Select(x => new ModuleEntity()
{
F_ParentId = x.Key,
ParentName = x.FirstOrDefault().ParentName,
ChildrenList = x.Select(y => new ModuleEntity()
{
F_ModuleId = y.F_ModuleId,
F_FullName = y.F_FullName
}).ToList()
}).ToList();
ViewBag.OffenusedGroup = mm;
ViewBag.OffenusedGroupStr = JsonConvert.SerializeObject(ViewBag.OffenusedGroup);
//查找服务
List<ModuleEntity> searchmodulelist = new List<ModuleEntity>();
foreach (var item in moduledata)
@@ -1109,6 +1177,9 @@ namespace Learun.Application.Web.Controllers
//教室
var classRoomData = classroomInfoIBLL.GetAllList();
ViewBag.ClassRoomTotalNum = classRoomData.Count();
//课程
var lessonData = lessonInfoIBLL.GetAllList();
ViewBag.LessonTotalNum = lessonData.Count();
//专业总览
//专业学生
var stuByMajor = stuInfoData.GroupBy(x => x.MajorNo).Select(x => new
@@ -1131,6 +1202,36 @@ namespace Learun.Application.Web.Controllers
ViewBag.AllCount = allCount;
ViewBag.FlowType = flowType;
ViewBag.FlowList = JsonConvert.SerializeObject(flowList);
//校园一卡通余额
ViewBag.StuSaveRecordTotalNum = 0;
var stuSaveRecordList = stuSaverecordIBLL.GetListByAccount(userInfo.account).OrderByDescending(x => x.UPLOADDATE);
if (stuSaveRecordList.Any())
{
ViewBag.StuSaveRecordTotalNum = stuSaveRecordList.FirstOrDefault().ODDFARE;
}
//红湖付款码余额
ViewBag.StuConsumptionTotalNum = 0;
var stuConsumptionList = stuConsumptionIBLL.GetListByAccount(userInfo.account);
if (stuConsumptionList.Any())
{
ViewBag.StuConsumptionTotalNum = stuConsumptionList.Select(x => x.OPFARE.ToDecimal()).Sum();
}
//常用链接
var userfunctionlist = perm_FunctionIBLL.GetListByUserId(userInfo.userId);
var ff = userfunctionlist.GroupBy(x => x.FTName).Select(x => new Perm_FunctionEntity()
{
FTName = x.Key,
PFunctionList = x.Select(y => new Perm_FunctionEntity()
{
FId = y.FId,
FTId = y.FTId,
FName = y.FName,
UPId = DESEncrypt.Encrypt(y.FId, ConfigurationManager.AppSettings["SSOPublicSecret"]),//sysid
UserId = DESEncrypt.Encrypt(userInfo.userId, ConfigurationManager.AppSettings["SSOPublicSecret"])//openid
}).Take(8).ToList()
});
ViewBag.FunctionList = ff;
ViewBag.FunctionListStr = JsonConvert.SerializeObject(ViewBag.FunctionList);


return View();
@@ -1295,16 +1396,90 @@ namespace Learun.Application.Web.Controllers
ModuleEntity fod = moduledata.FirstOrDefault(m => m.F_FullName == oitem);
if (fod != null)
{
//找父级
if (fod.F_ParentId == "0")
{
fod.ParentName = fod.F_FullName;
fod.F_ParentId = fod.F_ModuleId;
}
else
{
var parent1 = moduleIBLL.GetModuleEntity(fod.F_ParentId);
if (parent1 != null)
{
if (parent1.F_ParentId == "0")
{
fod.ParentName = parent1.F_FullName;
fod.F_ParentId = parent1.F_ModuleId;
}
else
{
//下一级
var parent2 = moduleIBLL.GetModuleEntity(parent1.F_ParentId);
if (parent2 != null)
{
if (parent2.F_ParentId == "0")
{
fod.ParentName = parent2.F_FullName;
fod.F_ParentId = parent2.F_ModuleId;
}
else
{
//下一级
var parent3 = moduleIBLL.GetModuleEntity(parent2.F_ParentId);
if (parent3 != null)
{
if (parent3.F_ParentId == "0")
{
fod.ParentName = parent3.F_FullName;
fod.F_ParentId = parent3.F_ModuleId;
}
else
{
//下一级
var parent4 = moduleIBLL.GetModuleEntity(parent3.F_ParentId);
if (parent4 != null)
{
if (parent4.F_ParentId == "0")
{
fod.ParentName = parent4.F_FullName;
fod.F_ParentId = parent4.F_ModuleId;
}
}
}
}
}
}
}
}
}

modulelist.Add(fod);
}
}
ViewBag.OffenusedAll = modulelist;

var mm = modulelist.GroupBy(x => x.F_ParentId).Select(x => new ModuleEntity()
{
F_ParentId = x.Key,
ParentName = x.FirstOrDefault().ParentName,
ChildrenList = x.Select(y => new ModuleEntity()
{
F_ModuleId = y.F_ModuleId,
F_FullName = y.F_FullName
}).ToList()
}).ToList();
ViewBag.OffenusedGroup = mm;
ViewBag.OffenusedGroupStr = JsonConvert.SerializeObject(ViewBag.OffenusedGroup);
//todo:
//删begin
ViewBag.OffenusedJiao = modulelist.Where(x => x.F_FullName.Contains("教"));
ViewBag.OffenusedGuan = modulelist.Where(x => x.F_FullName.Contains("管理"));
ViewBag.Offenused = modulelist.Except(modulelist.Where(x => x.F_FullName.Contains("教") || x.F_FullName.Contains("管理"))).Take(6);
ViewBag.OffenusedJiaoStr = JsonConvert.SerializeObject(ViewBag.OffenusedJiao);
ViewBag.OffenusedGuanStr = JsonConvert.SerializeObject(ViewBag.OffenusedGuan);
ViewBag.OffenusedStr = JsonConvert.SerializeObject(ViewBag.Offenused);
//删end
//查找服务
List<ModuleEntity> searchmodulelist = new List<ModuleEntity>();
foreach (var item in moduledata)
@@ -1332,6 +1507,9 @@ namespace Learun.Application.Web.Controllers
//教室
var classRoomData = classroomInfoIBLL.GetAllList();
ViewBag.ClassRoomTotalNum = classRoomData.Count();
//课程
var lessonData = lessonInfoIBLL.GetAllList();
ViewBag.LessonTotalNum = lessonData.Count();
//专业总览
//专业学生
var stuByMajor = stuInfoData.GroupBy(x => x.MajorNo).Select(x => new
@@ -1354,6 +1532,36 @@ namespace Learun.Application.Web.Controllers
ViewBag.AllCount = allCount;
ViewBag.FlowType = flowType;
ViewBag.FlowList = JsonConvert.SerializeObject(flowList);
//校园一卡通余额
ViewBag.StuSaveRecordTotalNum = 0;
var stuSaveRecordList = stuSaverecordIBLL.GetListByAccount(userInfo.account).OrderByDescending(x => x.UPLOADDATE);
if (stuSaveRecordList.Any())
{
ViewBag.StuSaveRecordTotalNum = stuSaveRecordList.FirstOrDefault().ODDFARE;
}
//红湖付款码余额
ViewBag.StuConsumptionTotalNum = 0;
var stuConsumptionList = stuConsumptionIBLL.GetListByAccount(userInfo.account);
if (stuConsumptionList.Any())
{
ViewBag.StuConsumptionTotalNum = stuConsumptionList.Select(x => x.OPFARE.ToDecimal()).Sum();
}
//常用链接
var userfunctionlist = perm_FunctionIBLL.GetListByUserId(userInfo.userId);
var ff = userfunctionlist.GroupBy(x => x.FTName).Select(x => new Perm_FunctionEntity()
{
FTName = x.Key,
PFunctionList = x.Select(y => new Perm_FunctionEntity()
{
FId = y.FId,
FTId = y.FTId,
FName = y.FName,
UPId = DESEncrypt.Encrypt(y.FId, ConfigurationManager.AppSettings["SSOPublicSecret"]),//sysid
UserId = DESEncrypt.Encrypt(userInfo.userId, ConfigurationManager.AppSettings["SSOPublicSecret"])//openid
}).Take(8).ToList()
});
ViewBag.FunctionList = ff;
ViewBag.FunctionListStr = JsonConvert.SerializeObject(ViewBag.FunctionList);


return View();
@@ -1466,6 +1674,88 @@ namespace Learun.Application.Web.Controllers
name = cdMajorIBLL.GetCdMajorEntityByMajorNo(x.Key)?.MajorName
});
ViewBag.StuScoreByMajorStr = JsonConvert.SerializeObject(stuScoreByMajor);
//常用服务
List<ModuleEntity> modulelist = new List<ModuleEntity>();
List<string> offenused = LogBLL.GetGroupLog(userInfo.userId).Select(m => m.F_Module).Take(20).ToList();
var moduledata = moduleIBLL.GetModuleList().Where(m => m.F_EnabledMark == 1 && m.F_DeleteMark == 0 && !string.IsNullOrEmpty(m.F_UrlAddress) && m.F_IsMenu == 1 && m.F_Target == "iframe" && !string.IsNullOrEmpty(m.F_ParentId));
foreach (var oitem in offenused)
{
ModuleEntity fod = moduledata.FirstOrDefault(m => m.F_FullName == oitem);
if (fod != null)
{
//找父级
if (fod.F_ParentId == "0")
{
fod.ParentName = fod.F_FullName;
fod.F_ParentId = fod.F_ModuleId;
}
else
{
var parent1 = moduleIBLL.GetModuleEntity(fod.F_ParentId);
if (parent1 != null)
{
if (parent1.F_ParentId == "0")
{
fod.ParentName = parent1.F_FullName;
fod.F_ParentId = parent1.F_ModuleId;
}
else
{
//下一级
var parent2 = moduleIBLL.GetModuleEntity(parent1.F_ParentId);
if (parent2 != null)
{
if (parent2.F_ParentId == "0")
{
fod.ParentName = parent2.F_FullName;
fod.F_ParentId = parent2.F_ModuleId;
}
else
{
//下一级
var parent3 = moduleIBLL.GetModuleEntity(parent2.F_ParentId);
if (parent3 != null)
{
if (parent3.F_ParentId == "0")
{
fod.ParentName = parent3.F_FullName;
fod.F_ParentId = parent3.F_ModuleId;
}
else
{
//下一级
var parent4 = moduleIBLL.GetModuleEntity(parent3.F_ParentId);
if (parent4 != null)
{
if (parent4.F_ParentId == "0")
{
fod.ParentName = parent4.F_FullName;
fod.F_ParentId = parent4.F_ModuleId;
}
}
}
}
}
}
}
}
}

modulelist.Add(fod);
}
}
ViewBag.OffenusedAll = modulelist;
//查找服务
List<ModuleEntity> searchmodulelist = new List<ModuleEntity>();
foreach (var item in moduledata)
{
if (moduleIBLL.GetColumnList(item.F_ModuleId).Any())
{
item.FirstLetter = Str.PinYin(item.F_FullName).Substring(0, 1);
searchmodulelist.Add(item);
}
}
ViewBag.SearchModule = searchmodulelist;


return View();


+ 63
- 146
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelOne.cshtml 파일 보기

@@ -31,14 +31,14 @@
+'<div class="inSec3MajorImg"><img src="../../Content/images/DragSSO/indexSec3-1.png" alt=""></div>'
+'<span>校园一卡通余额</span>'
+ '</div>'
+ '<div class="inSec3MajorTxt">¥<span>' + (Math.random() *100).toFixed(2) + '</span></div>'
+ '<div class="inSec3MajorTxt">¥<span>@ViewBag.StuSaveRecordTotalNum</span></div>'
+'</div>'
+'<div class="inSec3Major">'
+'<div class="inSec3MajorImgBox">'
+'<div class="inSec3MajorImg"><img src="../../Content/images/DragSSO/indexSec3-2.png" alt=""></div>'
+'<span>红湖付款码余额</span>'
+'</div>'
+ '<div class="inSec3MajorTxt">¥<span>' + (Math.random() * 100).toFixed(2)+'</span></div>'
+ '<div class="inSec3MajorTxt">¥<span>@ViewBag.StuConsumptionTotalNum</span></div>'
+'</div>'
+'<div class="inSec3Major">'
+'<div class="inSec3MajorImgBox">'
@@ -230,46 +230,36 @@
};
//常用链接
var card5Fun = function (ind) {
var listStr = "@ViewBag.FunctionListStr";
var list = JSON.parse(listStr.replace(/&quot;/g, "\""));

var html = '<div class="inSec3Col3" id="' + ind + '_card5">'
+'<div class="inSec3Box" >'
+'<div class="inSecT">'
+'<span>常用链接</span>'
+'<a href="#" class="more"><span></span><span></span><span></span></a>'
+'</div>'
+'<div class="inSec3Con">'
+'<div class="inSec3L">'
+'<ul class="workList workListInfo">'
+'<li class="active">'
+'<div class="workListImg"><img src="../../Content/images/DragSSO/indexSec3-12.png" alt=""></div> '
+'<span>系统直通</span>'
+'<i class="inSec3Num">4</i>'
+'</li>'
+'<li>'
+'<div class="workListImg"><img src="../../Content/images/DragSSO/indexSec3-13.png" alt=""></div> '
+'<span>系统链接</span>'
+'</li>'
+'<li>'
+'<div class="workListImg"><img src="../../Content/images/DragSSO/indexSec3-14.png" alt=""></div> '
+'<span>网站链接</span>'
+'</li>'
+'</ul>'
+'</div>'
+'<div class="inSec3R">'
+'<div class="inSec3WorkBox">'
+'<a href="/Home/Index?autoopen=496c6ad3-aa1c-4a58-8e15-f15c6cc167fe" target="_blank" class="inSec3Link inSec3Link1">教务管理系统</a>'
+'<a href="/Home/Index?autoopen=614" target="_blank" class="inSec3Link inSec3Link2">学生管理系统</a>'
+'<a href="/Home/Index?autoopen=92a85055-67f2-4a06-902a-f10ec5576d92" target="_blank" class="inSec3Link inSec3Link3">人事管理系统</a>'
+'<a href="/Home/Index?autoopen=6a7af1da-c6fd-4c13-a487-149288eeb64d" target="_blank" class="inSec3Link inSec3Link4">财务管理系统</a>'
+'</div>'
+'<div class="inSec3WorkBox">'
+ '<a href="/Home/Index?autoopen=d1d3ad5d-ffd5-4299-939a-ab9f8fcf420e" target="_blank" class="inSec3Link inSec3Link5">资产管理系统</a>'
+ '<a href="/Home/Index?autoopen=e2e6fcd5-adbd-4595-b4cf-f92727142f34" target="_blank" class="inSec3Link inSec3Link6">宿舍管理系统</a>'
+'</div>'
+'<div class="inSec3WorkBox">'
+ '<a href="/Home/Index?autoopen=17cc7785-8b77-4109-990c-4cf1a61e7ace" target="_blank" class="inSec3Link inSec3Link7">教科研系统</a>'
+ '<a href="/Home/Index?autoopen=792ed9e4-3292-4eb4-9f6a-c0385e304550" target="_blank" class="inSec3Link inSec3Link8">后勤管理系统</a>'
+'</div>'
+'</div>'
+ '<div class="inSec3Box" >'
+ '<div class="inSecT">'
+ '<span>常用链接</span>'
+ '<a href="/Home/Index?autoopen=617b32bf-bc56-425e-89cc-d4215613b9b7" class="more" target="_blank"><span></span><span></span><span></span></a>'
+ '</div>'
+ '<div class="inSec3Con">'
+ '<div class="inSec3L">'
+ '<ul class="workList workListInfo">';
for (var i = 0; i < list.length; i++) {
html += '<li class="' + (i == 0 ? "active" : "")+'">'
+ '<div class="workListImg"><img src="../../Content/images/DragSSO/indexSec3-'+(i+1)+'.png" alt=""></div> '
+ '<span>' + list[i].FTName+'</span>'
+ '<i class="inSec3Num">'+list[i].PFunctionList.length+'</i>'
+ '</li>';
}
html += '</ul>'
+ '</div>'
+ '<div class="inSec3R">';
for (var i = 0; i < list.length; i++) {
html += '<div class="inSec3WorkBox">';
for (var j = 0; j < list[i].PFunctionList.length; j++) {
html += '<a href="/SSOSystem/GoTo?sysid=' + list[i].PFunctionList[j].UPId + '&openid=' + list[i].PFunctionList[j].UserId+'" target="_blank" class="inSec3Link inSec3Link'+(j+1)+'">' + list[i].PFunctionList[j].FName+'</a>';
}
html+= '</div>';
}
html+='</div>'
+'</div>'
+'</div>'
+'</div>'
@@ -278,12 +268,8 @@
};
//常用服务
var card6Fun = function (ind) {
var listStr = "@ViewBag.OffenusedStr";
var listStr = "@ViewBag.OffenusedGroupStr";
var list = JSON.parse(listStr.replace(/&quot;/g, "\""));
var listStr2 = "@ViewBag.OffenusedJiaoStr";
var list2 = JSON.parse(listStr2.replace(/&quot;/g, "\""));
var listStr3 = "@ViewBag.OffenusedGuanStr";
var list3 = JSON.parse(listStr3.replace(/&quot;/g, "\""));

var html = '<div class="inSec3Col3" id="' + ind + '_card6">'
+ '<div class="inSec3Box" >'
@@ -293,109 +279,40 @@
+ '</div>'
+ '<div class="inSec3Con">'
+ '<div class="inSec3L">'
+ '<ul class="workList workListInfo">'
+ '<li class="active">'
+ '<div class="workListImg"><img src="../../Content/images/DragSSO/indexSec3-12.png" alt=""></div> '
+ '<span>校级服务</span>'
+ '<i class="inSec3Num">' + list.length + '</i>'
+ '</li>'
+ '<li>'
+ '<div class="workListImg"><img src="../../Content/images/DragSSO/indexSec3-13.png" alt=""></div> '
+ '<span>人事微服务</span>'
+ '<i class="inSec3Num">' + list2.length + '</i>'
+ '</li>'
+ '<li>'
+ '<div class="workListImg"><img src="../../Content/images/DragSSO/indexSec3-14.png" alt=""></div> '
+ '<span>教育微服务</span>'
+ '<i class="inSec3Num">' + list3.length + '</i>'
+ '</li>'
+ '<li>'
+ '<div class="workListImg"></div>'
+ '<span>公共微服务</span>'
+ '<i class="inSec3Num">0</i>'
+ '</li>'
+ '<li>'
+ '<div class="workListImg"></div>'
+ '<span>研究生微服务</span>'
+ '<i class="inSec3Num">0</i>'
+ '</li>'
+ '<li>'
+ '<div class="workListImg"></div>'
+ '<span>科研微服务</span>'
+ '<i class="inSec3Num">0</i>'
+ '</li>'
+ '<li>'
+ '<div class="workListImg"></div>'
+ '<span>教科研微服务</span>'
+ '<i class="inSec3Num">0</i>'
+ '</li>'
+ '</ul>'
+ '</div>'
+ '<div class="inSec3R">'
+ '<div class="inSec3WorkBox">'
+ '<div class="serRow">';
if (list.length > 0) {
for (var i = 0; i < list.length; i++) {
html += '<div class="serCol3">'
+ '<a href="/Home/Index?autoopen=' + list[i].F_ModuleId+'" class="serCon">'
+ '<span class="serImg"><img src="../../Content/images/DragSSO/inSec2-'+(i+1)+'.png" alt=""></span>'
+ '<span class="serTxt">' + list[i].F_FullName+'</span>'
+ '</a>'
+ '</div>';
}
} else {
html += noHtml;
+ '<ul class="workList workListInfo">';
for (var i = 0; i < list.length; i++) {
html += '<li class="'+(i==0?"active":"")+'">'
+ '<div class="workListImg"><img src="../../Content/images/DragSSO/indexSec3-'+(i+1)+'.png" alt=""></div> '
+ '<span>' + list[i].ParentName+'</span>'
+ '<i class="inSec3Num">' + list[i].ChildrenList.length + '</i>'
+ '</li>';
}
html += '</div>'
html += '</ul>'
+ '</div>'
+ '<div class="inSec3WorkBox">'
+ '<div class="serRow">';
if (list2.length > 0) {
for (var i = 0; i < list2.length; i++) {
html += '<div class="serCol3">'
+ '<a href="/Home/Index?autoopen=' + list2[i].F_ModuleId + '" class="serCon">'
+ '<span class="serImg"><img src="../../Content/images/DragSSO/inSec2-' + (i + 1) + '.png" alt=""></span>'
+ '<span class="serTxt">' + list2[i].F_FullName + '</span>'
+ '</a>'
+ '</div>';
}
} else {
html += noHtml;
}
html += '</div>'
+ '</div>'
+ '<div class="inSec3WorkBox">'
+ '<div class="serRow">';
if (list3.length > 0) {
for (var i = 0; i < list3.length; i++) {
html += '<div class="serCol3">'
+ '<a href="/Home/Index?autoopen=' + list3[i].F_ModuleId + '" class="serCon">'
+ '<span class="serImg"><img src="../../Content/images/DragSSO/inSec2-' + (i + 1) + '.png" alt=""></span>'
+ '<span class="serTxt">' + list3[i].F_FullName + '</span>'
+ '</a>'
+ '</div>';
+ '<div class="inSec3R">';
for (var i = 0; i < list.length; i++) {
html+= '<div class="inSec3WorkBox">'
+ '<div class="serRow">';
if (list[i].ChildrenList.length > 0) {
for (var j = 0; j < list[i].ChildrenList.length; j++) {
html += '<div class="serCol3">'
+ '<a href="/Home/Index?autoopen=' + list[i].ChildrenList[j].F_ModuleId + '" class="serCon">'
+ '<span class="serImg"><img src="../../Content/images/DragSSO/inSec2-' + (j + 1) + '.png" alt=""></span>'
+ '<span class="serTxt">' + list[i].ChildrenList[j].F_FullName + '</span>'
+ '</a>'
+ '</div>';
}
} else {
html += noHtml;
}
} else {
html += noHtml;
html += '</div>'
+ '</div>';
}
html+= '</div>'
+ '</div>'
+ '<div class="inSec3WorkBox">';
html += noHtml;
html+= '</div>'
+ '<div class="inSec3WorkBox">';
html += noHtml;
html+= '</div>'
+ '<div class="inSec3WorkBox">';
html += noHtml;
html+= '</div>'
+ '<div class="inSec3WorkBox">';
html += noHtml;
html+='</div>'
+'</div>'
+'</div>'
+'</div>'
+'</div>'
;
return html;
};
@@ -446,9 +363,9 @@
+'<div class="overviewBox">'
+'<div class="overviewImg">'
+'<img src="../../Content/images/DragSSO/indexSec3-28.png" alt="">'
+'<span>在用实验室</span>'
+'<span>课程总数</span>'
+'</div>'
+'<div class="overviewTxt">'+parseInt(Math.random()*((@ViewBag.ClassRoomTotalNum)/5))+'</div>'
+'<div class="overviewTxt">@ViewBag.LessonTotalNum</div>'
+'</div>'
+'</div>'
+'</div>'
@@ -1015,18 +932,18 @@
<ul class="inSec1List1">
<li class="active">
<a href="#">
<span>全部</span> <span>1</span>
<span>全部</span> <span>0</span>
</a>
</li>
</ul>
<!-- 第一级列表 -->
<!-- 第二级列表 -->
<ul class="inSec1List2 inSecShadow">
<li class="active">
@*<li class="active">
<a href="/Home/Index?autoopen=92a85055-67f2-4a06-902a-f10ec5576d92" target="_blank">
<img src="~/Content/images/DragSSO/inSec1-2.png" alt="" /><span>人事管理系统</span>
</a>
</li>
</li>*@
</ul>
<!-- 第二级列表 -->
</div>


+ 119
- 70
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelThree.cshtml 파일 보기

@@ -57,11 +57,17 @@
<div class="searchL">
<div class="searchLT">最近使用</div>
<ul class="searchLList">
<li>
<a href="/Home/Index?autoopen=92a85055-67f2-4a06-902a-f10ec5576d92" target="_blank">
<img src="/Content/images/DragSSO/inSec1-3.png" alt=""><span>人事管理系统</span>
</a>
</li>
@{
Random rd = new Random();
foreach (ModuleEntity item in ViewBag.OffenusedAll)
{
<li>
<a href="/Home/Index?autoopen=@item.F_ModuleId" target="_blank">
<img src="~/Content/images/DragSSO/inSec1-@(rd.Next(2, 22)).png" alt=""><span>@item.F_FullName</span>
</a>
</li>
}
}
</ul>
</div>
<div class="searchR">
@@ -84,64 +90,109 @@
</ul>
</div>
<div class="searchRBox">
<div class="searchRTop">
<b>A-D</b> (<span>1</span>)
</div>
<div class="searchList clearfix">
<div class="searchLi">
<div class="searchLiImg"><img src="/Content/images/DragSSO/inSec1-2.png" alt=""></div>
<div class="searchLiTxt">班级课表</div>
<a href="#" class="searchLink">
<span class="searchLinkT" title="班级课表">班级课表</span>
<span class="searchLinkBox">
<span class="searchLinkImg">
<img src="/Content/images/DragSSO/inSec1-2.png" alt="">
</span>
<span class="searchLinkCon">
<span class="searchLinkTxt">大学直通车</span>
<span class="searchLinkIcon">
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
</span>
<span class="searchLinkTxt">38人收藏</span>
</span>
</span>
</a>
@{
var searchModule = ViewBag.SearchModule as List<ModuleEntity>;

<div class="searchRTop">
<b>A-D</b> (<span>@searchModule.Where(x => "abcd".Contains(x.FirstLetter)).Count()</span>)
</div>
</div>
<div class="searchRTop">
<b>E-H</b> (<span>0</span>)
</div>
<div class="searchList clearfix">
</div>
<div class="searchRTop">
<b>I-L</b> (<span>0</span>)
</div>
<div class="searchList clearfix">
</div>
<div class="searchRTop">
<b>M-P</b> (<span>0</span>)
</div>
<div class="searchList clearfix">
</div>
<div class="searchRTop">
<b>Q-T</b> (<span>0</span>)
</div>
<div class="searchList clearfix">
</div>
<div class="searchRTop">
<b>U-X</b> (<span>0</span>)
</div>
<div class="searchList clearfix">
</div>
<div class="searchRTop">
<b>Y-Z</b> (<span>0</span>)
</div>
<div class="searchList clearfix">
</div>
<div class="searchList clearfix">
@{
foreach (var item in searchModule.Where(x => "abcd".Contains(x.FirstLetter)).OrderBy(x => x.FirstLetter))
{
<div class="searchLi">
<div class="searchLiImg"><img src="~/Content/images/DragSSO/inSec1-@(rd.Next(2,22)).png" alt=""></div>
<div class="searchLiTxt">@item.F_FullName</div>
</div>
}
}
</div>
<div class="searchRTop">
<b>E-H</b> (<span>@searchModule.Where(x => "efgh".Contains(x.FirstLetter)).Count()</span>)
</div>
<div class="searchList clearfix">
@{
foreach (var item in searchModule.Where(x => "efgh".Contains(x.FirstLetter)).OrderBy(x => x.FirstLetter))
{
<div class="searchLi">
<div class="searchLiImg"><img src="~/Content/images/DragSSO/inSec1-@(rd.Next(2,22)).png" alt=""></div>
<div class="searchLiTxt">@item.F_FullName</div>
</div>
}
}
</div>
<div class="searchRTop">
<b>I-L</b> (<span>@searchModule.Where(x => "ijkl".Contains(x.FirstLetter)).Count()</span>)
</div>
<div class="searchList clearfix">
@{
foreach (var item in searchModule.Where(x => "ijkl".Contains(x.FirstLetter)).OrderBy(x => x.FirstLetter))
{
<div class="searchLi">
<div class="searchLiImg"><img src="~/Content/images/DragSSO/inSec1-@(rd.Next(2,22)).png" alt=""></div>
<div class="searchLiTxt">@item.F_FullName</div>
</div>
}
}
</div>
<div class="searchRTop">
<b>M-P</b> (<span>@searchModule.Where(x => "mnop".Contains(x.FirstLetter)).Count()</span>)
</div>
<div class="searchList clearfix">
@{
foreach (var item in searchModule.Where(x => "mnop".Contains(x.FirstLetter)).OrderBy(x => x.FirstLetter))
{
<div class="searchLi">
<div class="searchLiImg"><img src="~/Content/images/DragSSO/inSec1-@(rd.Next(2,22)).png" alt=""></div>
<div class="searchLiTxt">@item.F_FullName</div>
</div>
}
}
</div>
<div class="searchRTop">
<b>Q-T</b> (<span>@searchModule.Where(x => "qrst".Contains(x.FirstLetter)).Count()</span>)
</div>
<div class="searchList clearfix">
@{
foreach (var item in searchModule.Where(x => "qrst".Contains(x.FirstLetter)).OrderBy(x => x.FirstLetter))
{
<div class="searchLi">
<div class="searchLiImg"><img src="~/Content/images/DragSSO/inSec1-@(rd.Next(2,22)).png" alt=""></div>
<div class="searchLiTxt">@item.F_FullName</div>
</div>
}
}
</div>
<div class="searchRTop">
<b>U-X</b> (<span>@searchModule.Where(x => "uvwx".Contains(x.FirstLetter)).Count()</span>)
</div>
<div class="searchList clearfix">
@{
foreach (var item in searchModule.Where(x => "uvwx".Contains(x.FirstLetter)).OrderBy(x => x.FirstLetter))
{
<div class="searchLi">
<div class="searchLiImg"><img src="~/Content/images/DragSSO/inSec1-@(rd.Next(2,22)).png" alt=""></div>
<div class="searchLiTxt">@item.F_FullName</div>
</div>
}
}
</div>
<div class="searchRTop">
<b>Y-Z</b> (<span>@searchModule.Where(x => "yz".Contains(x.FirstLetter)).Count()</span>)
</div>
<div class="searchList clearfix">
@{
foreach (var item in searchModule.Where(x => "yz".Contains(x.FirstLetter)).OrderBy(x => x.FirstLetter))
{
<div class="searchLi">
<div class="searchLiImg"><img src="~/Content/images/DragSSO/inSec1-@(rd.Next(2,22)).png" alt=""></div>
<div class="searchLiTxt">@item.F_FullName</div>
</div>
}
}
</div>
}

</div>
</div>
</div>
@@ -185,18 +236,18 @@
<ul class="inSec1List1">
<li class="active">
<a href="#">
<span>全部</span> <span>1</span>
<span>全部</span> <span>0</span>
</a>
</li>
</ul>
<!-- 第一级列表 -->
<!-- 第二级列表 -->
<ul class="inSec1List2 inSecShadow">
<li class="active">
@*<li class="active">
<a href="/Home/Index?autoopen=92a85055-67f2-4a06-902a-f10ec5576d92" target="_blank">
<img src="/Content/images/DragSSO/inSec1-2.png" alt="" /><span>人事管理系统</span>
</a>
</li>
</li>*@
</ul>
<!-- 第二级列表 -->
</div>
@@ -373,9 +424,9 @@
<div class="overviewBox">
<div class="overviewImg">
<img src="/Content/images/DragSSO/indexSec3-28.png" alt="">
<span>在用实验室</span>
<span>课程总数</span>
</div>
<div class="overviewTxt" id="shiyanshiTotalNum"></div>
<div class="overviewTxt">@ViewBag.LessonTotalNum</div>
</div>
</div>
</div>
@@ -608,9 +659,7 @@
$("#flowList").html(html);
})
$("#flowTypeList").find(".itemName").eq(0).trigger("click");

//校园总览-在用实验室
$("#shiyanshiTotalNum").html(randomFun((@ViewBag.ClassRoomTotalNum) / 5, 0));
//学生总览
var StuInfoOfManRate = parseInt((@ViewBag.StuInfoTotalNumOfMan) / (@ViewBag.StuInfoTotalNum) * 100);
//男比例


+ 145
- 211
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelTwo.cshtml 파일 보기

@@ -32,21 +32,21 @@
+'<div class="inSec3MajorImg"><img src="../../Content/images/DragSSO/indexSec3-1.png" alt=""></div>'
+'<span>校园一卡通余额</span>'
+ '</div>'
+ '<div class="inSec3MajorTxt">¥<span>' + (Math.random() *100).toFixed(2) + '</span></div>'
+ '<div class="inSec3MajorTxt">¥<span>@ViewBag.StuSaveRecordTotalNum</span></div>'
+'</div>'
+'<div class="inSec3Major">'
+'<div class="inSec3MajorImgBox">'
+'<div class="inSec3MajorImg"><img src="../../Content/images/DragSSO/indexSec3-2.png" alt=""></div>'
+'<span>红湖付款码余额</span>'
+'</div>'
+ '<div class="inSec3MajorTxt">¥<span>' + (Math.random() * 100).toFixed(2)+'</span></div>'
+ '<div class="inSec3MajorTxt">¥<span>@ViewBag.StuConsumptionTotalNum</span></div>'
+'</div>'
+'<div class="inSec3Major">'
+'<div class="inSec3MajorImgBox">'
+'<div class="inSec3MajorImg"><img src="../../Content/images/DragSSO/indexSec3-3.png" alt=""></div>'
+'<span>图书馆借阅(未还) </span>'
+ '</div>'
+ '<div class="inSec3MajorTxt"><span>' + parseInt(Math.random() * 100) + '</span></div>'
+ '<div class="inSec3MajorTxt"><span>0</span></div>'
+'</div>'
+'<div class="inSec3Major">'
+'<div class="inSec3MajorImgBox">'
@@ -60,14 +60,14 @@
+'<div class="inSec3MajorImg"><img src="../../Content/images/DragSSO/indexSec3-5.png" alt=""></div>'
+'<span>智慧教育在线学习时长</span>'
+'</div>'
+ '<div class="inSec3MajorTxt"><span>' + (Math.random() * 50).toFixed(2)+'</span></div>'
+ '<div class="inSec3MajorTxt"><span>0</span></div>'
+'</div>'
+'<div class="inSec3Major">'
+'<div class="inSec3MajorImgBox">'
+'<div class="inSec3MajorImg"><img src="../../Content/images/DragSSO/indexSec3-6.png" alt=""></div>'
+'<span>办公业务往来人员</span>'
+'</div>'
+ '<div class="inSec3MajorTxt"><span>' + parseInt(Math.random() * 100)+'</span></div>'
+ '<div class="inSec3MajorTxt"><span>0</span></div>'
+'</div>'
+'<div class="inSec3Major">'
+'<div class="inSec3MajorImgBox">'
@@ -81,7 +81,7 @@
+'<div class="inSec3MajorImg"><img src="../../Content/images/DragSSO/indexSec3-8.png" alt=""></div>'
+'<span>累计在线时长</span>'
+'</div>'
+ '<div class="inSec3MajorTxt"><span>' + (Math.random() * 100).toFixed(2)+'</span></div>'
+ '<div class="inSec3MajorTxt"><span>0</span></div>'
+'</div>'
+'</div>'
+'</div>'
@@ -231,46 +231,36 @@
};
//常用链接
var card5Fun = function (ind) {
var listStr = "@ViewBag.FunctionListStr";
var list = JSON.parse(listStr.replace(/&quot;/g, "\""));

var html = '<div class="inSec3Col3" id="' + ind + '_card5">'
+'<div class="inSec3Box" >'
+'<div class="inSecT">'
+'<span>常用链接</span>'
+'<a href="#" class="more"><span></span><span></span><span></span></a>'
+'</div>'
+'<div class="inSec3Con">'
+'<div class="inSec3L">'
+'<ul class="workList workListInfo">'
+'<li class="active">'
+'<div class="workListImg"><img src="../../Content/images/DragSSO/indexSec3-12.png" alt=""></div> '
+'<span>系统直通</span>'
+'<i class="inSec3Num">4</i>'
+'</li>'
+'<li>'
+'<div class="workListImg"><img src="../../Content/images/DragSSO/indexSec3-13.png" alt=""></div> '
+'<span>系统链接</span>'
+'</li>'
+'<li>'
+'<div class="workListImg"><img src="../../Content/images/DragSSO/indexSec3-14.png" alt=""></div> '
+'<span>网站链接</span>'
+'</li>'
+'</ul>'
+'</div>'
+'<div class="inSec3R">'
+'<div class="inSec3WorkBox">'
+'<a href="/Home/Index?autoopen=496c6ad3-aa1c-4a58-8e15-f15c6cc167fe" target="_blank" class="inSec3Link inSec3Link1">教务管理系统</a>'
+'<a href="/Home/Index?autoopen=614" target="_blank" class="inSec3Link inSec3Link2">学生管理系统</a>'
+'<a href="/Home/Index?autoopen=92a85055-67f2-4a06-902a-f10ec5576d92" target="_blank" class="inSec3Link inSec3Link3">人事管理系统</a>'
+'<a href="/Home/Index?autoopen=6a7af1da-c6fd-4c13-a487-149288eeb64d" target="_blank" class="inSec3Link inSec3Link4">财务管理系统</a>'
+'</div>'
+'<div class="inSec3WorkBox">'
+ '<a href="/Home/Index?autoopen=d1d3ad5d-ffd5-4299-939a-ab9f8fcf420e" target="_blank" class="inSec3Link inSec3Link5">资产管理系统</a>'
+ '<a href="/Home/Index?autoopen=e2e6fcd5-adbd-4595-b4cf-f92727142f34" target="_blank" class="inSec3Link inSec3Link6">宿舍管理系统</a>'
+'</div>'
+'<div class="inSec3WorkBox">'
+ '<a href="/Home/Index?autoopen=17cc7785-8b77-4109-990c-4cf1a61e7ace" target="_blank" class="inSec3Link inSec3Link7">教科研系统</a>'
+ '<a href="/Home/Index?autoopen=792ed9e4-3292-4eb4-9f6a-c0385e304550" target="_blank" class="inSec3Link inSec3Link8">后勤管理系统</a>'
+'</div>'
+'</div>'
+ '<div class="inSec3Box" >'
+ '<div class="inSecT">'
+ '<span>常用链接</span>'
+ '<a href="/Home/Index?autoopen=617b32bf-bc56-425e-89cc-d4215613b9b7" class="more" target="_blank"><span></span><span></span><span></span></a>'
+ '</div>'
+ '<div class="inSec3Con">'
+ '<div class="inSec3L">'
+ '<ul class="workList workListInfo">';
for (var i = 0; i < list.length; i++) {
html += '<li class="' + (i == 0 ? "active" : "")+'">'
+ '<div class="workListImg"><img src="../../Content/images/DragSSO/indexSec3-'+(i+1)+'.png" alt=""></div> '
+ '<span>' + list[i].FTName+'</span>'
+ '<i class="inSec3Num">' + list[i].PFunctionList.length+'</i>'
+ '</li>';
}
html += '</ul>'
+ '</div>'
+ '<div class="inSec3R">';
for (var i = 0; i < list.length; i++) {
html += '<div class="inSec3WorkBox">';
for (var j = 0; j < list[i].PFunctionList.length; j++) {
html += '<a href="/SSOSystem/GoTo?sysid=' + list[i].PFunctionList[j].UPId + '&openid=' + list[i].PFunctionList[j].UserId+'" target="_blank" class="inSec3Link inSec3Link'+(j+1)+'">' + list[i].PFunctionList[j].FName+'</a>';
}
html+= '</div>';
}
html+='</div>'
+'</div>'
+'</div>'
+'</div>'
@@ -279,12 +269,8 @@
};
//常用服务
var card6Fun = function (ind) {
var listStr = "@ViewBag.OffenusedStr";
var listStr = "@ViewBag.OffenusedGroupStr";
var list = JSON.parse(listStr.replace(/&quot;/g, "\""));
var listStr2 = "@ViewBag.OffenusedJiaoStr";
var list2 = JSON.parse(listStr2.replace(/&quot;/g, "\""));
var listStr3 = "@ViewBag.OffenusedGuanStr";
var list3 = JSON.parse(listStr3.replace(/&quot;/g, "\""));

var html = '<div class="inSec3Col3" id="' + ind + '_card6">'
+ '<div class="inSec3Box" >'
@@ -294,109 +280,40 @@
+ '</div>'
+ '<div class="inSec3Con">'
+ '<div class="inSec3L">'
+ '<ul class="workList workListInfo">'
+ '<li class="active">'
+ '<div class="workListImg"><img src="../../Content/images/DragSSO/indexSec3-12.png" alt=""></div> '
+ '<span>校级服务</span>'
+ '<i class="inSec3Num">' + list.length + '</i>'
+ '</li>'
+ '<li>'
+ '<div class="workListImg"><img src="../../Content/images/DragSSO/indexSec3-13.png" alt=""></div> '
+ '<span>人事微服务</span>'
+ '<i class="inSec3Num">' + list2.length + '</i>'
+ '</li>'
+ '<li>'
+ '<div class="workListImg"><img src="../../Content/images/DragSSO/indexSec3-14.png" alt=""></div> '
+ '<span>教育微服务</span>'
+ '<i class="inSec3Num">' + list3.length + '</i>'
+ '</li>'
+ '<li>'
+ '<div class="workListImg"></div>'
+ '<span>公共微服务</span>'
+ '<i class="inSec3Num">0</i>'
+ '</li>'
+ '<li>'
+ '<div class="workListImg"></div>'
+ '<span>研究生微服务</span>'
+ '<i class="inSec3Num">0</i>'
+ '</li>'
+ '<li>'
+ '<div class="workListImg"></div>'
+ '<span>科研微服务</span>'
+ '<i class="inSec3Num">0</i>'
+ '</li>'
+ '<li>'
+ '<div class="workListImg"></div>'
+ '<span>教科研微服务</span>'
+ '<i class="inSec3Num">0</i>'
+ '</li>'
+ '</ul>'
+ '</div>'
+ '<div class="inSec3R">'
+ '<div class="inSec3WorkBox">'
+ '<div class="serRow">';
if (list.length > 0) {
for (var i = 0; i < list.length; i++) {
html += '<div class="serCol3">'
+ '<a href="/Home/Index?autoopen=' + list[i].F_ModuleId+'" class="serCon">'
+ '<span class="serImg"><img src="../../Content/images/DragSSO/inSec2-'+(i+1)+'.png" alt=""></span>'
+ '<span class="serTxt">' + list[i].F_FullName+'</span>'
+ '</a>'
+ '</div>';
}
} else {
html += noHtml;
+ '<ul class="workList workListInfo">';
for (var i = 0; i < list.length; i++) {
html += '<li class="'+(i==0?"active":"")+'">'
+ '<div class="workListImg"><img src="../../Content/images/DragSSO/indexSec3-'+(i+1)+'.png" alt=""></div> '
+ '<span>' + list[i].ParentName+'</span>'
+ '<i class="inSec3Num">' + list[i].ChildrenList.length + '</i>'
+ '</li>';
}
html += '</div>'
html += '</ul>'
+ '</div>'
+ '<div class="inSec3WorkBox">'
+ '<div class="serRow">';
if (list2.length > 0) {
for (var i = 0; i < list2.length; i++) {
html += '<div class="serCol3">'
+ '<a href="/Home/Index?autoopen=' + list2[i].F_ModuleId + '" class="serCon">'
+ '<span class="serImg"><img src="../../Content/images/DragSSO/inSec2-' + (i + 1) + '.png" alt=""></span>'
+ '<span class="serTxt">' + list2[i].F_FullName + '</span>'
+ '</a>'
+ '</div>';
}
} else {
html += noHtml;
}
html += '</div>'
+ '</div>'
+ '<div class="inSec3WorkBox">'
+ '<div class="serRow">';
if (list3.length > 0) {
for (var i = 0; i < list3.length; i++) {
html += '<div class="serCol3">'
+ '<a href="/Home/Index?autoopen=' + list3[i].F_ModuleId + '" class="serCon">'
+ '<span class="serImg"><img src="../../Content/images/DragSSO/inSec2-' + (i + 1) + '.png" alt=""></span>'
+ '<span class="serTxt">' + list3[i].F_FullName + '</span>'
+ '</a>'
+ '</div>';
+ '<div class="inSec3R">';
for (var i = 0; i < list.length; i++) {
html+= '<div class="inSec3WorkBox">'
+ '<div class="serRow">';
if (list[i].ChildrenList.length > 0) {
for (var j = 0; j < list[i].ChildrenList.length; j++) {
html += '<div class="serCol3">'
+ '<a href="/Home/Index?autoopen=' + list[i].ChildrenList[j].F_ModuleId + '" class="serCon">'
+ '<span class="serImg"><img src="../../Content/images/DragSSO/inSec2-' + (j + 1) + '.png" alt=""></span>'
+ '<span class="serTxt">' + list[i].ChildrenList[j].F_FullName + '</span>'
+ '</a>'
+ '</div>';
}
} else {
html += noHtml;
}
} else {
html += noHtml;
html += '</div>'
+ '</div>';
}
html+= '</div>'
+ '</div>'
+ '<div class="inSec3WorkBox">';
html += noHtml;
html+= '</div>'
+ '<div class="inSec3WorkBox">';
html += noHtml;
html+= '</div>'
+ '<div class="inSec3WorkBox">';
html += noHtml;
html+= '</div>'
+ '<div class="inSec3WorkBox">';
html += noHtml;

html+='</div>'
+'</div>'
+'</div>'
+'</div>'
+'</div>'
;
return html;
};
@@ -447,9 +364,9 @@
+'<div class="overviewBox">'
+'<div class="overviewImg">'
+'<img src="../../Content/images/DragSSO/indexSec3-28.png" alt="">'
+'<span>在用实验室</span>'
+'<span>课程总数</span>'
+'</div>'
+'<div class="overviewTxt">'+parseInt(Math.random()*((@ViewBag.ClassRoomTotalNum)/5))+'</div>'
+'<div class="overviewTxt">@ViewBag.LessonTotalNum</div>'
+'</div>'
+'</div>'
+'</div>'
@@ -459,32 +376,43 @@
};
//宣传报道
var card8Fun = function (ind) {
var listStr = "@ViewBag.NewsListOfxuanchuanStr";
var list = JSON.parse(listStr.replace(/&quot;/g, "\""));
var html = '<div class="inSec3Col3" id="' + ind + '_card8">'
+'<div class="inSec3Box" >'
+'<div class="inSecT">'
+'<span>宣传报道</span>'
+'<a href="#" class="more"><span></span><span></span><span></span></a>'
+'</div>'
+'<div class="inSec3Con">'
+'<ul class="inSec2List">'
+'<li>'
+'<a href="#" class="propagateBox">'
+'<span class="propagateL">'
+'<span class="propagateImg"><img src="../../Content/images/DragSSO/indexSec3-15.jpg" alt=""></span></span>'
+'<span class="propagateR">'
+'<span class="propagateT">宣传报道一</span>'
+'<span class="inSec2Time">2019-10-22</span>'
+'</span>'
+'</a>'
+'</li>'
+'<li>'
+'<a href="#">'
+'<span class="inSec2Time">2019-10-22</span>'
+'<span class="inSec2T"><img src="../../Content/images/DragSSO/inSec2-17.png" alt="">宣传报道二</span>'
+'</a>'
+'</li>'
+'</ul>'
+'</div>'
+ '<div class="inSec3Box" >'
+ '<div class="inSecT">'
+ '<span>宣传报道</span>'
+ '<a href="/Home/Index?autoopen=433d5658-40b0-4e2d-b736-c4e8561d017e" class="more" target="_blank"><span></span><span></span><span></span></a>'
+ '</div>'
+ '<div class="inSec3Con">';
if (list.length > 0) {
html += '<ul class="inSec2List">';
for (var i = 0; i < list.length; i++) {
if (i == 0) {
html += '<li>'
+ '<a href="/Home/Index?autoopen=433d5658-40b0-4e2d-b736-c4e8561d017e&keyValue=' + list[i].F_NewsId +'" target="_blank" class="propagateBox">'
+ '<span class="propagateL">'
+ '<span class="propagateImg"><img src="../../' + list[i].F_NewsImage+'" alt=""></span></span>'
+ '<span class="propagateR">'
+ '<span class="propagateT">' + list[i].F_FullHead+'</span>'
+ '<span class="inSec2Time">' + list[i].F_CreateDate.replace("T", " ").slice(0, 10) +'</span>'
+ '</span>'
+ '</a>'
+ '</li>';
} else {
html+= '<li>'
+ '<a href="/Home/Index?autoopen=433d5658-40b0-4e2d-b736-c4e8561d017e&keyValue=' + list[i].F_NewsId +'" target="_blank">'
+ '<span class="inSec2Time">' + list[i].F_CreateDate.replace("T", " ").slice(0, 10) +'</span>'
+ '<span class="inSec2T"><img src="../../Content/images/DragSSO/inSec2-17.png" alt="">' + list[i].F_FullHead +'</span>'
+ '</a>'
+ '</li>';
}
}
html+= '</ul>';
} else {
html += noHtml;
}
html+='</div>'
+'</div>'
+'</div>'
;
@@ -591,22 +519,23 @@
};
//智慧教育
var card11Fun = function (ind) {
var listStr = "@ViewBag.NewsListOfzhihuiStr";
var list = JSON.parse(listStr.replace(/&quot;/g, "\""));
var html = '<div class="inSec3Col3" id="' + ind + '_card11">'
+ '<div class="inSec3Box">'
+ '<div class="inSecT">'
+ '<span>智慧教育</span>'
+ '<a href="#" class="more"><span></span><span></span><span></span></a>'
+ '</div>'
+ '<div class="inSec3Con">'
+ '<a href="/Home/Index?autoopen=496c6ad3-aa1c-4a58-8e15-f15c6cc167fe" target="_blank" class="inSec3Link inSec3Link1">教务管理系统</a>'
+ '<a href="/Home/Index?autoopen=614" target="_blank" class="inSec3Link inSec3Link2">学生管理系统</a>'
+ '<a href="/Home/Index?autoopen=92a85055-67f2-4a06-902a-f10ec5576d92" target="_blank" class="inSec3Link inSec3Link3">人事管理系统</a>'
+ '<a href="/Home/Index?autoopen=6a7af1da-c6fd-4c13-a487-149288eeb64d" target="_blank" class="inSec3Link inSec3Link4">财务管理系统</a>'
+ '<a href="/Home/Index?autoopen=d1d3ad5d-ffd5-4299-939a-ab9f8fcf420e" target="_blank" class="inSec3Link inSec3Link5">资产管理系统</a>'
+ '<a href="/Home/Index?autoopen=e2e6fcd5-adbd-4595-b4cf-f92727142f34" target="_blank" class="inSec3Link inSec3Link6">宿舍管理系统</a>'
+ '<a href="/Home/Index?autoopen=17cc7785-8b77-4109-990c-4cf1a61e7ace" target="_blank" class="inSec3Link inSec3Link7">教科研系统</a>'
+ '<a href="/Home/Index?autoopen=792ed9e4-3292-4eb4-9f6a-c0385e304550" target="_blank" class="inSec3Link inSec3Link8">后勤管理系统</a>'
+ '<a href="/Home/Index?autoopen=433d5658-40b0-4e2d-b736-c4e8561d017e" class="more" target="_blank"><span></span><span></span><span></span></a>'
+ '</div>'
+ '<div class="inSec3Con">';
if (list.length > 0) {
for (var i = 0; i < list.length; i++) {
html += '<a href="/Home/Index?autoopen=433d5658-40b0-4e2d-b736-c4e8561d017e&keyValue=' + list[i].F_NewsId + '" target="_blank" class="inSec3Link inSec3Link' + (i + 3) + '">' + list[i].F_FullHead+'</a>';
}
} else {
html += noHtml;
}
html+= '</div>'
+ '</div>'
+ '</div>'
;
@@ -614,32 +543,37 @@
};
//专题推荐
var card12Fun = function (ind) {
var listStr = "@ViewBag.NewsListOfzhuantiStr";
var list = JSON.parse(listStr.replace(/&quot;/g, "\""));
var html = '<div class="inSec3Col3" id="' + ind + '_card12">'
+'<div class="inSec3Box" >'
+'<div class="inSecT">'
+'<span>专题推荐</span>'
+'<a href="#" class="more"><span></span><span></span><span></span></a>'
+'</div>'
+'<div class="inSec3Con">'
+'<a class="specialBox specialBox1" href="#">'
+'<img src="../../Content/images/DragSSO/indexSec3-16.jpg" alt="">'
+'<div class="specialTxt"><div>不忘初心牢记使命</div></div>'
+'</a>'
+'<div class="specialRow">'
+'<div class="specialCol4">'
+'<a class="specialBox" href="#">'
+'<img src="../../Content/images/DragSSO/indexSec3-17.jpg" alt="">'
+'<div class="specialTxt"><div>三进两联一交友</div></div>'
+'</a>'
+'</div>'
+'<div class="specialCol4">'
+'<a class="specialBox" href="#">'
+'<img src="../../Content/images/DragSSO/indexSec3-18.jpg" alt="">'
+'<div class="specialTxt"><div>三进两联一交友</div></div>'
+'</a>'
+'</div>'
+'</div>'
+'</div>'
+ '<div class="inSec3Box" >'
+ '<div class="inSecT">'
+ '<span>专题推荐</span>'
+ '<a href="/Home/Index?autoopen=433d5658-40b0-4e2d-b736-c4e8561d017e" class="more" target="_blank"><span></span><span></span><span></span></a>'
+ '</div>'
+ '<div class="inSec3Con">';
if (list.length > 0) {
for (var i = 0; i < list.length; i++) {
if (i == 0) {
html += '<a class="specialBox specialBox1" href="/Home/Index?autoopen=433d5658-40b0-4e2d-b736-c4e8561d017e&keyValue=' + list[i].F_NewsId + '" target="_blank">'
+ '<img src="../../' + list[i].F_NewsImage + '" alt="">'
+ '<div class="specialTxt"><div>' + list[i].F_FullHead +'</div></div>'
+ '</a>'
+ '<div class="specialRow">';
} else {
html += '<div class="specialCol4">'
+ '<a class="specialBox" href="/Home/Index?autoopen=433d5658-40b0-4e2d-b736-c4e8561d017e&keyValue=' + list[i].F_NewsId + '" target="_blank">'
+ '<img src="../../' + list[i].F_NewsImage + '" alt="">'
+ '<div class="specialTxt"><div>' + list[i].F_FullHead +'</div></div>'
+ '</a>'
+ '</div>';
}
}
html+= '</div>';
} else {
html += noHtml;
}
html+='</div>'
+'</div>'
+'</div>'
;
@@ -999,18 +933,18 @@
<ul class="inSec1List1">
<li class="active">
<a href="#">
<span>全部</span> <span>1</span>
<span>全部</span> <span>0</span>
</a>
</li>
</ul>
<!-- 第一级列表 -->
<!-- 第二级列表 -->
<ul class="inSec1List2 inSecShadow">
<li class="active">
@*<li class="active">
<a href="/Home/Index?autoopen=92a85055-67f2-4a06-902a-f10ec5576d92" target="_blank">
<img src="~/Content/images/DragSSO/inSec1-2.png" alt="" /><span>人事管理系统</span>
</a>
</li>
</li>*@
</ul>
<!-- 第二级列表 -->
</div>


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/_LayoutSSODrag.cshtml 파일 보기

@@ -51,7 +51,7 @@
</ul>
<div class="headTitle">数字化智慧校园</div>
<div class="headSearch">
<input type="text" placeholder="查找服务" />
<input id="headSearchInput" type="text" placeholder="查找服务" />
<div class="headSearchImg"><img src="/Content/images/DragSSO/search.png" alt="" /></div>
<div class="headSearchHistory">
<div class="headSearchHistBox">历史 <i class="fa fa-angle-down"></i></div>


+ 12
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Base/SystemModule/Module/ModuleEntity.cs 파일 보기

@@ -1,5 +1,6 @@
using Learun.Util;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace Learun.Application.Base.SystemModule
@@ -181,6 +182,17 @@ namespace Learun.Application.Base.SystemModule
/// </summary>
[NotMapped]
public string FirstLetter { get; set; }
/// <summary>
/// 父级名称
/// </summary>
[NotMapped]
public string ParentName { get; set; }
/// <summary>
/// 子级列表
/// </summary>
[NotMapped]
public List<ModuleEntity> ChildrenList { get; set; }

#endregion
}
}

+ 24
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuConsumption/StuConsumptionBLL.cs 파일 보기

@@ -91,6 +91,30 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
}
}

/// <summary>
/// 获取页面显示列表数据
/// <summary>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
public IEnumerable<StuConsumptionEntity> GetListByAccount(string account)
{
try
{
return stuConsumptionService.GetListByAccount(account);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}

#endregion

#region 提交数据


+ 7
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuConsumption/StuConsumptionIBLL.cs 파일 보기

@@ -34,6 +34,13 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
/// <summary>
/// <returns></returns>
StuConsumptionEntity GetStuConsumptionEntity(string keyValue);

/// <summary>
/// 获取页面显示列表数据
/// <summary>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
IEnumerable<StuConsumptionEntity> GetListByAccount(string account);
#endregion

#region 提交数据


+ 24
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuConsumption/StuConsumptionService.cs 파일 보기

@@ -211,6 +211,30 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
}
}

/// <summary>
/// 获取页面显示列表数据
/// <summary>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
public IEnumerable<StuConsumptionEntity> GetListByAccount(string account)
{
try
{
return this.BaseRepository("CollegeMIS").FindList<StuConsumptionEntity>(x => x.OUTID == account);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

#endregion

#region 提交数据


+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/Permission/Perm_Function/Perm_FunctionEntity.cs 파일 보기

@@ -1,5 +1,6 @@
using Learun.Util;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace Learun.Application.TwoDevelopment.Permission
@@ -99,6 +100,11 @@ namespace Learun.Application.TwoDevelopment.Permission

[NotMapped]
public string UPId { get; set; }
/// <summary>
/// 子项列表
/// </summary>
[NotMapped]
public List<Perm_FunctionEntity> PFunctionList { get; set; }
#endregion
}
}


+ 25
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/StuSaverecord/StuSaverecordBLL.cs 파일 보기

@@ -66,6 +66,31 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
}
}


/// <summary>
/// 获取页面显示列表数据
/// <summary>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
public IEnumerable<StuSaveRecordEntity> GetListByAccount(string account)
{
try
{
return stuSaverecordService.GetListByAccount(account);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}

#endregion

#region 提交数据


+ 7
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/StuSaverecord/StuSaverecordIBLL.cs 파일 보기

@@ -27,6 +27,13 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
/// <summary>
/// <returns></returns>
StuSaveRecordEntity GetStuSaveRecordEntity(string keyValue);

/// <summary>
/// 获取页面显示列表数据
/// <summary>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
IEnumerable<StuSaveRecordEntity> GetListByAccount(string account);
#endregion

#region 提交数据


+ 24
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/StuSaverecord/StuSaverecordService.cs 파일 보기

@@ -132,6 +132,30 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement
}
}

/// <summary>
/// 获取页面显示列表数据
/// <summary>
/// <param name="queryJson">查询参数</param>
/// <returns></returns>
public IEnumerable<StuSaveRecordEntity> GetListByAccount(string account)
{
try
{
return this.BaseRepository("CollegeMIS").FindList<StuSaveRecordEntity>(x => x.OUTID == account);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

#endregion

#region 提交数据


불러오는 중...
취소
저장