Browse Source

网上办事大厅小飞机图标可见优化

怀来职教中心中职
ndbs 1 year ago
parent
commit
75c07b06de
2 changed files with 3 additions and 4 deletions
  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

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/HomeController.cs View File

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

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


Loading…
Cancel
Save