diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/HomeController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/HomeController.cs index a7df007aa..cd3a45778 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/HomeController.cs +++ b/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; } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDefault.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDefault.cshtml index 2611e7989..41eabe7de 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDefault.cshtml +++ b/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"; - } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelThree.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelThree.cshtml index 585de09ec..6b060a0c9 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelThree.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/SSOSystem/DragModelThree.cshtml @@ -328,80 +328,7 @@ -
-
-
- 学生总览 - -
-
-
-
在校学生总数 @ViewBag.StuInfoTotalNum
-
-
- 男 @ViewBag.StuInfoTotalNumOfMan
-
-
-
-
- 女 @(ViewBag.StuInfoTotalNum - ViewBag.StuInfoTotalNumOfMan)
-
-
-
-
-
-
学生成绩预警
-
@ViewBag.StuScoreWarnTotalNum 人
-
- -
-
-
-
- 学生到课率预警20% -
-
-
- -
- -
-
-
-
-
- 80%~100% -
-
- 60%~80% -
-
- 0%~60% -
-
-
-
-
-
-
学生逃课预警
-
-
-
-
-
- 80%~100% -
-
- 60%~80% -
-
- 0%~60% -
-
-
-
-
-
+
@@ -590,6 +517,81 @@
+
+
+
+ 学生总览 + +
+
+
+
在校学生总数 @ViewBag.StuInfoTotalNum
+
+
+ 男 @ViewBag.StuInfoTotalNumOfMan
+
+
+
+
+ 女 @(ViewBag.StuInfoTotalNum - ViewBag.StuInfoTotalNumOfMan)
+
+
+
+ @*
+
+
学生成绩预警
+
@ViewBag.StuScoreWarnTotalNum 人
+
+ +
+
*@ + @*
+
+ 学生到课率预警20% +
+
+
+ +
+ +
+
+
+
+
+ 80%~100% +
+
+ 60%~80% +
+
+ 0%~60% +
+
+
+
*@ + @*
+
+
学生逃课预警
+
+
+
+
+
+ 80%~100% +
+
+ 60%~80% +
+
+ 0%~60% +
+
+
*@ +
+
+
+