Sfoglia il codice sorgente

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

怀来职教中心中职
ndbs 1 anno fa
parent
commit
75c07b06de
2 ha cambiato i file con 3 aggiunte e 4 eliminazioni
  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 Vedi File

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


+ 2
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDefault.cshtml Vedi File

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

} }
</script> </script>


Caricamento…
Annulla
Salva