<%@ 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 import="com.yc.MaintenanceFee.service.MaintainService" %> <%@ page import="java.text.SimpleDateFormat" %> <%@ page import="org.apache.commons.lang3.StringUtils" %> <%@ page import="com.yc.utils.EncodeUtil" %> <%@ 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.USERTYPE); if("DeveloperUser".equalsIgnoreCase(isSuperUser)){ isSuperUser="1"; } //--------------------菜单选项配置 SysUserMenuConfigIfc mcf = (SysUserMenuConfigIfc) FactoryBean.getBean("SysUserMenuConfigImpl"); MaintainService maintainService=(MaintainService) FactoryBean.getBean("maintainServiceImpl"); Map menuConfigInfo = null; boolean hasMaintain=false;//是维护费提醒人员 String userCode = (String) session.getAttribute(SessionKey.USERCODE); //系统过期剩余天数 xin 2022-2-11 17:53:30 Integer expireDay=maintainService.getSystemExpireDay(dataSourceEntity.getExpiredDate()); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); String dayStr=(expireDay>0?sdf.format(dataSourceEntity.getExpiredDate()):null); String expireText="您好,您的系统将于"+expireDay+ "天后("+dayStr+")到期," + "到期后系统将自动停止使用,请及时续费!(如果已经续费请联系技术人员处理)"; //-----------------系统过期剩余天数end------------ try { SpObserver.setDBtoInstance("_" + dbid);//切换数据源 menuConfigInfo = mcf.getMenuConfig((String) session.getAttribute(SessionKey.HRCODE)); //这里获取当前用户是否为维护费提醒人员 List> maintainList = maintainService.selectMaintenanceFeeNotification(userCode); if (maintainList != null && maintainList.size() > 0) { hasMaintain = true; } } 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(); //当前登录手机号码 String phoneNumber = session.getAttribute(SessionKey.USER_TELE_PHONE).toString(); if (StringUtils.isNotBlank(phoneNumber)) { if (phoneNumber.length() > 7) { phoneNumber = phoneNumber.substring(0, 3) + "****" + phoneNumber.substring(7); } } %> <%! boolean checkBoxIsChecked(int config, int configValue) { if ((config & configValue) > 1) { return true; } return false; } %> <%=SettingKey.getTitle(request)%> 主界面 "> "> "> "> "> "> "> "> " type="text/css" rel="stylesheet"/> "> <%----%> <%----%>

页面载入中....

  快捷 帮助 <% if(expireDay>0){%> <%}%> <% if ("1".equals(isSuperUser)) { %> 商城      <%} else {%>         <%}%> <%-- <%-- onclick="addTab('浏览器缓存','','','','/help/chrome.html','',{isFlowChart:true});">清除谷歌浏览器缓存步骤--%> <% 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()%> <% if(hasMaintain){ %> 维护费通知 <%}%> 登录时间:<%=session.getAttribute(SessionKey.LOGIN_TIME) %> 安全退出   欢迎 <%=session.getAttribute(SessionKey.USERNAME)%>
<% if (checkBoxIsChecked(2, menuConfig)) {//显示树菜单 %>
style="padding:0px;">
<% } %>
fit="true" style="overflow: hidden;">
<% if (checkBoxIsChecked(4, menuConfig)) {//小图标导航菜单 %>
<% } %> <% if (checkBoxIsChecked(8, menuConfig)) {//树菜单 %>
<% } %> <% if (checkBoxIsChecked(32, menuConfig)) {//流程图菜单 %>
<% } %>
<% if (checkBoxIsChecked(16, menuConfig)) {//图标导航菜单 %>
<% } %> <% if (checkBoxIsChecked(256, 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%> <%--
修改工号密码
--%> <% //上面调用301134功能号的已经不用,现在统一改成301114功能号 xin 2022-5-19 14:38:12%>
修改工号密码
<% } %> <% if("deli".equals(dataSourceEntity.getDockingSystem())){ %>
德立账号绑定
<%} if ("1".equals(isSuperUser)) { %>
设置代理审核人
用户管理设置
APP用户管理
系统消息管理
在线用户
在线用户
系统在线人数
<%-- --%>
数据源设置
版本升级
选项
全局配置
<%-- --%>
工具
<%-- --%>
流程图设计
流程图菜单权限配置
水印图片管理
转换逆波兰式
物流跟踪
Cron表达式生成器
<%-- --%>
日志
用户登录日志
系统错误日志
导出导入日志
查询审计日志
附件删除日志
慢查询日志
<%-- --%>
安装证书
邮箱
导购
删除记录回收站
<%} %> <% if (!"1".equals(isSuperUser) && perssion.get("9744") != null) { %>
删除记录回收站
<% } %> <% if ("1".equals(isSuperUser)||(isStopSystem != null && "1".equals(isStopSystem))) { %> <%-- --%>
启停系统
<% } if("1".equals(isSuperUser)){%> <%-- --%>
发送系统级消息
维护系统配置
<% } %> <%-- --%>
清除谷歌浏览器缓存
<%-- --%>
安全退出
操作手册
版本更新
关于
关闭
全部关闭
除此之外全部关闭
当前页左侧全部关闭
当前页右侧全部关闭

智能小助手

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