Explorar el Código

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

怀来职教中心中职
ndbs hace 1 año
padre
commit
75c07b06de
Se han modificado 2 ficheros con 3 adiciones y 4 borrados
  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 Ver fichero

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

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


Cargando…
Cancelar
Guardar