From f9906fae822d1750a99f1f4e774ca9930b182ad0 Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Tue, 22 Dec 2020 17:25:09 +0800 Subject: [PATCH] update Former-commit-id: dc4d7f859a736cccdfc5a2a554a634fdfa8f4d63 Former-commit-id: 4c630cdcdbb99d1e2a1d0da3db97873ee3a28cf8 --- projects/Platform/Views/Home/Building.cshtml | 12 +++++++----- projects/Platform/Views/Shared/_Menu.cshtml | 12 +++++++++++- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/projects/Platform/Views/Home/Building.cshtml b/projects/Platform/Views/Home/Building.cshtml index 0b597642..6f907d1f 100644 --- a/projects/Platform/Views/Home/Building.cshtml +++ b/projects/Platform/Views/Home/Building.cshtml @@ -1,8 +1,6 @@ @model Platform.ViewModels.HomeModel @{ HideBread = true; - var organ = Model.Organ; - var organId = User.GetOrganId(); }
@@ -69,7 +67,7 @@ { foreach (var item in list) { -
  • data-jstree='{"selected":true}' }> +
  • data-jstree='{"selected":true}' }> @item.Name @if (item.Children.Any() || item.Buildings.Any()) { @@ -112,8 +110,12 @@ @section scripts{ } \ No newline at end of file diff --git a/projects/Platform/Views/Shared/_Menu.cshtml b/projects/Platform/Views/Shared/_Menu.cshtml index fec0a6d7..e3bdff25 100644 --- a/projects/Platform/Views/Shared/_Menu.cshtml +++ b/projects/Platform/Views/Shared/_Menu.cshtml @@ -1,5 +1,15 @@