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 @@ -