<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> <%@page import="com.yc.service.personalized.CustomHomeGroupIfc" %> <%@page import="com.yc.factory.FactoryBean" %> <%@page import="com.yc.service.personalized.CustomHomePanelPositionIfc" %> <%@page import="java.util.List" %> <%@page import="java.util.Map" %> <%@page import="com.yc.utils.SessionKey" %> <%@page import="java.util.Random" %> <%@page import="com.yc.service.userconfig.SysUserMenuConfigIfc" %> <%@page import="com.yc.service.impl.DBHelper" %> <%@page import="com.yc.service.demo.DemoIfc" %> <%@page import="com.yc.multiData.SpObserver" %> <%@page import="com.yc.sdk.weixincp.util.RandomString" %> <%@page import="com.yc.sdk.shopping.util.SettingKey" %> <%@page import="com.yc.entity.DataSourceEntity" %> <%@page import="com.yc.multiData.MultiDataSource" %> <%@ page trimDirectiveWhitespaces="true" %> <% String hostUrl = SettingKey.getHostUrl(request); Map> perssion = (Map>) session.getAttribute(SessionKey.PERSSION); String dbid = (String) session.getAttribute(SessionKey.DATA_BASE_ID); DataSourceEntity dataSourceEntity = MultiDataSource.getDataSourceMap(dbid); String isSuperUser = (String) session.getAttribute(SessionKey.SUPPER_USER); //--------------------菜单选项配置 SysUserMenuConfigIfc mcf = (SysUserMenuConfigIfc) FactoryBean.getBean("SysUserMenuConfigImpl"); Map menuConfigInfo = null; try { SpObserver.setDBtoInstance("_" + dbid);//切换数据源 menuConfigInfo = mcf.getMenuConfig((String) session.getAttribute(SessionKey.HRCODE)); } catch (Exception e) { e.printStackTrace(); out.println(e.getCause() != null ? e.getCause().getMessage() : e.getMessage()); return; } finally { SpObserver.setDBtoInstance(); } int menuConfig = 158;//等于0表示默认都中(158) int menuFold = 0; if (menuConfigInfo.get("menuconfig") != null) { menuConfig = Integer.parseInt(menuConfigInfo.get("menuconfig").toString()); } if (menuConfigInfo.get("navigationMenuIsFold") != null) { menuFold = Integer.parseInt(menuConfigInfo.get("navigationMenuIsFold").toString()); } //--------------------菜单选项配置 long rand = new Random().nextLong(); %> <%! boolean checkBoxIsChecked(int config, int configValue) { if ((config & configValue) > 1) { return true; } return false; } %> <%=SettingKey.getTitle(request)%> 主界面 "> "> "> "> "> "> "> "> " type="text/css" rel="stylesheet"/>

页面载入中....

  快捷 帮助 <%-- onclick="window.open('/help/help.html')">帮助--%> <% if ("1".equals(isSuperUser)) { %> 商城      <%} else {%>         <%}%> 清除谷歌浏览器缓存步骤 <% if (dataSourceEntity.isShowAttendanceButton()) { %> <% } %> <% String nickName = (session.getAttribute("NickName") == null ? "" : (String) session.getAttribute("NickName")); //昵称 String headimgurl = (session.getAttribute("headimgurl") == null ? "" : (String) session.getAttribute("headimgurl")); //头像 if (headimgurl != null && !"".equals(headimgurl) && nickName != null && !"".equals(nickName)) { %> <% if (headimgurl != null && !"".equals(headimgurl)) { out.print(""); } if (nickName != null && !"".equals(nickName)) { out.print(" " + nickName.trim().replaceAll(" ", "") + ""); } %> <% } %> <%=com.yc.license.InitLicense.getInstance().getInfo()%> 登录时间:<%=session.getAttribute(SessionKey.LOGIN_TIME) %> 安全退出   欢迎 <%=session.getAttribute(SessionKey.USERNAME)%>
<% if (checkBoxIsChecked(2, menuConfig)) {//显示树菜单 %>
<% } %>
<% if (checkBoxIsChecked(4, menuConfig)) {//小图标导航菜单 %>
<% } %> <% if (checkBoxIsChecked(8, menuConfig)) {//树菜单 %>
<% } %> <% if (checkBoxIsChecked(32, menuConfig)) {//流程图菜单 %>
<% } %>
<% if (checkBoxIsChecked(64, menuConfig)) {//图标导航菜单 %> <% if (checkBoxIsChecked(16, menuConfig)) {//图标导航菜单 %>
<% } %>
<% } else { %>
<% if (checkBoxIsChecked(16, menuConfig)) {//图标导航菜单 %>
<% } } %> <% if (checkBoxIsChecked(256, menuConfig)) {//图标导航菜单%>
<% } %> <% //if (checkBoxIsChecked(512, menuConfig)) {//审批%>
<%// } %>
桌面相关设置
定制桌面
菜单显示设置
<% /**********超级管理员显示桌面数据源列表start-jd65MRqYdG2ZjWn2bSytidmF-**************/ if ("1".equals(isSuperUser)) { %>
桌面数据源列表
<% } /**********超级管理员显示桌面数据源列表end***********/ %>
<% String loginType = (String) session.getAttribute(SessionKey.LOGIN_TYPE); String isStopSystem = (String) session.getAttribute(SessionKey.isStopSystem); if ("0".equalsIgnoreCase(loginType)) { %>
修改登录号密码
<% if (!"1".equals(isSuperUser) && perssion.get("9910") != null) { %>
设置代理审核人
<% } %> <%} else if ("1".equalsIgnoreCase(loginType)) { %>
修改客户号密码
<%} else { //301135是以前修改工号对应的功能号,现在修改为301134 /demo/demoList.jsp%>
修改工号密码
<% } if ("1".equals(isSuperUser)) { %>
设置代理审核人
用户管理设置
APP用户管理
系统消息管理
在线用户
在线用户
系统在线人数
流程图设计
流程图菜单权限配置
水印图片管理
数据源设置
版本升级
全局配置
日志
用户登录日志
系统错误日志
导出导入日志
查询审计日志
附件删除日志
慢查询日志
转换逆波兰式
安装证书
物流跟踪
邮箱
导购
删除记录回收站
<%} %> <% if (!"1".equals(isSuperUser) && perssion.get("9744") != null) { %>
删除记录回收站
<% } %> <% if (isStopSystem != null && "1".equals(isStopSystem)) { %>
启停系统
发送系统级消息
维护系统配置
<% } %>
清除谷歌浏览器缓存
安全退出
系统操作手册
版本更新
<%--
帮助
--%>
关于
关闭
全部关闭
除此之外全部关闭
当前页左侧全部关闭
当前页右侧全部关闭
<% String redirect = request.getParameter(SettingKey.REDIRECT); // getAttribute(SettingKey.REDIRECT)==null?"":(String)request.getAttribute(SettingKey.REDIRECT) ; if (redirect != null) { redirect = com.yc.utils.EncodeUtil.base64Decode(redirect); redirect = redirect.replace("%2F", "/"); Map map = RandomString.getRequestParameters(redirect); String formname = (String) map.get("formname"); if (formname == null) formname = ""; if (!"".equalsIgnoreCase(redirect)) { %> <% } } if (request.getAttribute("wxUrl") != null) { String url = (String) request.getAttribute("wxUrl"); url = com.yc.utils.EncodeUtil.base64Decode(url); String[] str = url.split("#p#"); %> <% } if (request.getParameter("copyurl") != null) { String copyURL = (String) request.getParameter("copyurl"); copyURL = com.yc.utils.EncodeUtil.base64Decode(copyURL); copyURL = copyURL.replace("%2F", "/"); int copy = copyURL.indexOf("&"); String URL = (copy > 0 ? copyURL.substring(0, copy) : copyURL); Map map = RandomString.getRequestParameters(copyURL); String formName = (String) map.get("formName"); if (formName == null) formName = ""; %> <%}%>

智能小助手

  • 您是否遇到了页面排版错误,下拉菜单不显示等问题?