diff --git a/src/main/resources/views/layouts/v4/baseLayout.html b/src/main/resources/views/layouts/v4/baseLayout.html index 56f649c..66e1de5 100644 --- a/src/main/resources/views/layouts/v4/baseLayout.html +++ b/src/main/resources/views/layouts/v4/baseLayout.html @@ -1,763 +1,791 @@ - - - - - ${AppName!} - + + + + + ${AppName!} + - - - - + + + + - - - - - + + + + + - - - - - - + + + + + + - + - - + + - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - + + + - - - + + + - + - - - - - - - - - - + + + + + + + + + + - + - + - + return clean + } + - + - - + + - - - - - - - - - - - + } - - + window.webSocketPubSub = new WebSocketPubSub() + - - - -
-
-
- -
+ .v4-footer-tech { + color: #fff; + } - -
+ .v4-footer-tech a { + color: #fff; + text-decoration: none; + margin-left: 4px; + } -
- - - - 退出 - -
-
-
+ .v4-footer-tech a:hover { + text-decoration: underline; + } -
- -
${layoutContent}
-
+ + + +
+
+
+ +
- -
- -
+ +
+
+ + + + + 退出 + +
+
+
- - // 初始化:根据当前URL设置active状态 - function setActiveNavItem() { - var currentPath = getBaseSubAppPath() - $(".v4-nav-item").removeClass("active") - $(".v4-nav-item").each(function () { - if ($(this).attr("href") === currentPath) { - $(this).addClass("active") - } - }) - } - // 页面加载时设置active状态和页脚显示 - setActiveNavItem() - toggleFooter() + - + } + + // 页面加载时设置active状态和页脚显示 + setActiveNavItem() + toggleFooter() + + // 为导航项添加点击事件 + $(".v4-nav-item").on("click", function() { + $(".v4-nav-item").removeClass("active") + $(this).addClass("active") + }) + + $(document).pjax(".v4-nav a[data-pjax]", "#container", { + maxCacheLength: 0, + push: false, + replace: true, + fragment: "#container", + timeout: 8000 + }) + + // 使用pjax的事件来处理导航切换 + $(document).on("pjax:complete", function() { + setActiveNavItem() + toggleFooter() + }) + }) + + diff --git a/src/main/resources/views/platform/zhgh/staffmanage/member/info/board/index.html b/src/main/resources/views/platform/zhgh/staffmanage/member/info/board/index.html index aa337ed..8f8990b 100644 --- a/src/main/resources/views/platform/zhgh/staffmanage/member/info/board/index.html +++ b/src/main/resources/views/platform/zhgh/staffmanage/member/info/board/index.html @@ -327,9 +327,14 @@ layout("/layouts/platform.html"){ -
+ + +
+
人员类型统计
+
@@ -887,8 +892,8 @@ layout("/layouts/platform.html"){ this.getMemberPercentage() this.getMemberSexPercentage() this.getUnionMember() - this.getPersonTypeMember() - // this.getUserStateMember() + // this.getPersonTypeMember() + this.getUserStateMember() } }, mounted() { diff --git a/src/main/resources/views/platform/zhghh5/staffmanage/member/info/board/index.html b/src/main/resources/views/platform/zhghh5/staffmanage/member/info/board/index.html index b9bf413..6df6315 100644 --- a/src/main/resources/views/platform/zhghh5/staffmanage/member/info/board/index.html +++ b/src/main/resources/views/platform/zhghh5/staffmanage/member/info/board/index.html @@ -159,8 +159,8 @@ layout("/layouts/platform_h5.html"){
在职状态
-
人员类型
-
+