浏览代码

Merge branch '长阳分支中职' of 123.57.209.16:bjquanjiang/DigitalScholl into 长阳分支中职

怀来职教中心中职
liangkun 1年前
父节点
当前提交
2e174e5a8c
共有 3 个文件被更改,包括 79 次插入78 次删除
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/HomeController.cs
  2. +2
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDefault.cshtml
  3. +76
    -74
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelThree.cshtml

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/HomeController.cs 查看文件

@@ -512,7 +512,7 @@ namespace Learun.Application.Web.Controllers
ViewBag.Ip = GetIP();
ViewBag.ACIp = ConfigurationManager.AppSettings["ACIp"] ?? "";
ViewBag.ACIp2 = ConfigurationManager.AppSettings["ACIp2"] ?? "";
if (userinfo.Description == "教师")
if (userinfo.Description == "学生")
{
ViewBag.wsbsdt = 0;
}


+ 2
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDefault.cshtml 查看文件

@@ -111,11 +111,10 @@
var ACIp = "@ViewBag.ACIp";
var ACIp2 = "@ViewBag.ACIp2";
var wsbsdt = @ViewBag.wsbsdt;
if (wsbsdt == "1") {
if (wsbsdt == "0") {
document.getElementById("wsbsdt").style.display = "none";//隐藏
} else if (wsbsdt=="0") {
} else if (wsbsdt=="1") {
document.getElementById("wsbsdt").style.display = "inline-block";

}
</script>


+ 76
- 74
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelThree.cshtml 查看文件

@@ -328,80 +328,7 @@
</div>
</div>
</div>
<div class="inSec3Col6">
<div class="inSec3Box">
<div class="inSecT">
<span>学生总览</span>
<a href="#" class="more"><span></span><span></span><span></span></a>
</div>
<div class="inSec3Con teacherBox">
<div class="teacherCon">
<div class="in3Sec3Total">在校学生总数 <b>@ViewBag.StuInfoTotalNum</b> 人</div>
<div class="in3Sec3PerBox">
<div class="in3Sec3Per">
男 <b>@ViewBag.StuInfoTotalNumOfMan</b> 人 <div class="in3Sec3Icon in3Sec3Green" id="StuInfoOfManRate"></div>
</div>
</div>
<div class="in3Sec3PerBox">
<div class="in3Sec3Per">
女 <b>@(ViewBag.StuInfoTotalNum - ViewBag.StuInfoTotalNumOfMan)</b> 人 <div class="in3Sec3Icon in3Sec3Red" id="StuInfoOfWomanRate"></div>
</div>
</div>
</div>
<div class="in3Sec3Echart1Box">
<div class="in3Sec3Echart1Con1">
<div>学生成绩预警</div>
<div><b>@ViewBag.StuScoreWarnTotalNum 人</b></div>
</div>
<img src="/Content/images/DragSSO/inSec6-3.png" class="in3Sec3Echart1Img1" alt="">
<div class="echartBox" id="achWarn"></div>
</div>
<div class="in3Sec3Echart1Box">
<div class="in3Sec3Echart1Con2">
学生到课率预警<b>20%</b>
</div>
<div class="echartBox" id="">
<div class="toClass">
<img class="toClassImg1" src="/Content/images/DragSSO/inSec6-5.png" alt="">
<div class="toClassImg2">
<img src="/Content/images/DragSSO/inSec6-6.png" alt="">
</div>
<div class="toClassBl"></div>
</div>
<div class="toClassLegend">
<div class="red">
<i></i><span>80%~100%</span>
</div>
<div class="blue">
<i></i><span>60%~80%</span>
</div>
<div class="green">
<i></i><span>0%~60%</span>
</div>
</div>
</div>
</div>
<div class="in3Sec3Echart1Box">
<div class="in3Sec3Echart1Con3">
<div>学生逃课预警</div>
<div><b><span id="StuInfoOfTaoKe"></span>人</b></div>
</div>
<div class="echartBox" id="skipClass"></div>
<div class="toClassLegend">
<div class="red">
<i></i><span>80%~100%</span>
</div>
<div class="blue">
<i></i><span>60%~80%</span>
</div>
<div class="green">
<i></i><span>0%~60%</span>
</div>
</div>
</div>
</div>
</div>
</div>

<div class="inSec3Col6" id="id_7">
<div class="inSec3Box">
<div class="inSecT">
@@ -590,6 +517,81 @@
</div>
</div>
</div>
<div class="inSec3Col6" style="width:300px;">
<div class="inSec3Box">
<div class="inSecT">
<span>学生总览</span>
<a href="#" class="more"><span></span><span></span><span></span></a>
</div>
<div class="inSec3Con teacherBox">
<div class="teacherCon" style="width:100%;">
<div class="in3Sec3Total">在校学生总数 <b>@ViewBag.StuInfoTotalNum</b> 人</div>
<div class="in3Sec3PerBox">
<div class="in3Sec3Per">
男 <b>@ViewBag.StuInfoTotalNumOfMan</b> 人 <div class="in3Sec3Icon in3Sec3Green" id="StuInfoOfManRate"></div>
</div>
</div>
<div class="in3Sec3PerBox">
<div class="in3Sec3Per">
女 <b>@(ViewBag.StuInfoTotalNum - ViewBag.StuInfoTotalNumOfMan)</b> 人 <div class="in3Sec3Icon in3Sec3Red" id="StuInfoOfWomanRate"></div>
</div>
</div>
</div>
@*<div class="in3Sec3Echart1Box">
<div class="in3Sec3Echart1Con1">
<div>学生成绩预警</div>
<div><b>@ViewBag.StuScoreWarnTotalNum 人</b></div>
</div>
<img src="/Content/images/DragSSO/inSec6-3.png" class="in3Sec3Echart1Img1" alt="">
<div class="echartBox" id="achWarn"></div>
</div>*@
@*<div class="in3Sec3Echart1Box">
<div class="in3Sec3Echart1Con2">
学生到课率预警<b>20%</b>
</div>
<div class="echartBox" id="">
<div class="toClass">
<img class="toClassImg1" src="/Content/images/DragSSO/inSec6-5.png" alt="">
<div class="toClassImg2">
<img src="/Content/images/DragSSO/inSec6-6.png" alt="">
</div>
<div class="toClassBl"></div>
</div>
<div class="toClassLegend">
<div class="red">
<i></i><span>80%~100%</span>
</div>
<div class="blue">
<i></i><span>60%~80%</span>
</div>
<div class="green">
<i></i><span>0%~60%</span>
</div>
</div>
</div>
</div>*@
@*<div class="in3Sec3Echart1Box">
<div class="in3Sec3Echart1Con3">
<div>学生逃课预警</div>
<div><b><span id="StuInfoOfTaoKe"></span>人</b></div>
</div>
<div class="echartBox" id="skipClass"></div>
<div class="toClassLegend">
<div class="red">
<i></i><span>80%~100%</span>
</div>
<div class="blue">
<i></i><span>60%~80%</span>
</div>
<div class="green">
<i></i><span>0%~60%</span>
</div>
</div>
</div>*@
</div>
</div>
</div>
</div>
</div>
</form>


正在加载...
取消
保存