| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500 |
- <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
- <html>
- <head>
- <style type="text/css">
- #wh_content img:nth-of-type(1){
- position: relative;
- }
- #wh_content img:nth-of-type(n+2){
- position: absolute;
- z-index: 999;
- }
- #ascrail2013 {
- display:none!important;
- }
- </style>
- </head>
- <body>
- <div id="sybj">
- <div class="plugin-component-div">
- <div id="sybjBody" class="seif-info" style="width: 100%;">
- <div id="sybjBodyInner">
- <div style="position: relative;overflow: hidden;">
- <span style="float: right;margin-right: 6px;">
- <span id="refreshButton" style="display:none;" class="img-header plugin-icon todoPlugin-icon"></span>
- <span class="icon-setHelpButton" style="position: relative;top: 5px;display: inline-block;">
- </span>
- <span class="icon-helpButton" style="position: relative;top: 5px;">
- </span>
-
- <span class="icon-set" style="position: relative;top: 5px;display: inline-block;"
- onclick='<serv.ss dlg="true" name="ryxxGrtjTx" dest="infoHomep_set" parm="{ryid:"${ry.ryid}"}" title="个人头像上传"/>' >
- </span>
- </span>
- <div class="personalPhoto cursor-click" style="float: left;margin-top: 12px;margin-left: 15px;margin-right:20px;">
-
-
- <img name="p_ry_ck"
- onclick='<serv.ss dlg="true" name="p_ry_cx" dest="persHome" title="个人资料" parm="{ryid:"${ry.ryid}",bmid:"${ry.bmid}"}"/>'
- <%-- 再增加 type="img"。Lin
- src="<serv@ss name='dlByHttp' parm='{path:"${empty ry.yszwj?ry.zjzwj:ry.yszwj}"}'/>" --%>
- src="<serv.ss name='dlByHttp' parm='{type:"img",path:"${empty ry.yszwj?ry.zjzwj:ry.yszwj}"}'/>"
- onerror="this.src='${sessionScope.ssUser.skinDir}image/default-personalPhoto.png'"/>
-
- </div>
- <div style="float: left;width: 140px;margin-top: 34px;box-sizing: border-box;padding-right: 5px;">
- <div style="padding-bottom: 7px;width: 100%;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;" class="hLine">
- <%-- 问候语 --%>
- <span class="plugin-boldText" name="p_ry_ck"
- onclick='<serv.ss dlg="true" dest="persHome" title="个人资料"/>'>
- <txt.ss val="${xm}"/></span>
- <span id="msg" class="plugin-text" style="display: inline-block;height: 14px;line-height: 14px;">,${whymsg}</span>
- </div>
- <div style="<equal.ss val="${empty whList}" val2="false">
- display:none;
- </equal.ss>"
- class="plugin-smallText zhdlsj">
- <h1>最近登录时间:</h1>
- <%-- 改。Lin
- <span style="margin-right: 17px"><txt.ss val="${scdlsj}" fmt="MM" />月
- <txt.ss val="${scdlsj}" fmt="dd" />日</span>
- <span><txt.ss val="${scdlsj}" fmt="HH:mm" /></span> --%>
- <span style="margin-right: 17px"><txt.ss val="${scdlsj}" fmt="MM月dd日 HH:mm"/></span>
- </div>
-
- <%-- 问候卡片放置区 --%>
- <equal.ss val="${empty whList}" val2="false">
-
- <div id="wh_content" style="position: relative;margin-top:5px;height: 60px;" class="whList">
- <equal.ss val="${whzs <= 1}" val2="false">
- <span class="xxx${whzs} ${whzs<=9?'icon-num':''} ${whzs>9&&whzs<=99?'icon-fullNum':''}" style="z-index: 999;display: inline-block;right: -5px;top:-3px;position: absolute;text-align: center;">${whzs<=9?whzs:''}${whzs>99?'99+':''}</span>
- </equal.ss>
- <rpt.ss name="whList" id="item">
- <equal.ss val="${index}" val2="0"> <%-- 改 equal:val1="${index==0}" val2="true"。Lin --%>
- <div class="dHover" style="width: 100%;height: 44px;margin-top: 5px;overflow: hidden;display: flex;justify-content: center;align-items: center;">
- <img style="max-width: 100%;max-height: 100%;" title="${item.topmsg}"
- <%-- 再增加 type="img"。Lin
- src="<serv@ss name='dlByHttp' parm='{path:"${item.sltwj}"}'/>" /> --%>
- src="<serv.ss name='dlByHttp' parm='{type:"img",path:"${item.sltwj}"}'/>" />
- </div>
- </equal.ss>
-
- <equal.ss val="${index}" val2="1"> <%-- 改 equal:val1="${index==1}" val2="true"。Lin --%>
- <div id="cardList" ><div class="popup-div" style="position: absolute;z-index: 99999;width: 140px;padding-top:6px;padding-right: 2px;box-sizing: border-box;"><div class="smallScr" style="max-height: 100px;overflow: auto;">
- </equal.ss>
- <equal.ss val="${index > 0}" val2="true">
- <div style="width: 134px;height: 44px;display: flex;justify-content: center;align-items: center;margin-bottom: 6px;margin-right: 2px;">
- <img style="max-height: 100%;max-width: 100%;" title="${item.topmsg}"
- <%-- 再增加 type="img"。Lin
- src="<serv@ss name='dlByHttp' parm='{path:"${item.sltwj}"}'/>" /> --%>
- src="<serv.ss name='dlByHttp' parm='{type:"img",path:"${item.sltwj}"}'/>" />
- </div>
- </equal.ss>
- </rpt.ss>
-
- <rpt.ss name="whList" id="item">
- <equal.ss val="${index}" val2="1"> <%-- 改 equal:val1="${index==1}" val2="true"。Lin --%>
- </div></div></div>
- </equal.ss>
- </rpt.ss>
-
- </div>
- </equal.ss>
-
- </div>
- </div>
-
- <notEqual.ss val="${ry.rylbm}" val2="1100"> <%-- 改 equal:val1="${ry.rylbm eq 1100}" val2="false"。Lin --%>
- <%-- <div class="" style="position: relative;width: calc(100% - 2px);margin-left: 1px;height: 24px;overflow: hidden;"> --%>
- <%-- 进度条 --%>
- <%-- <span class="fl">工作量:</span><span class="gzl2">${grgzl}</span> --%>
- <%-- <div style="overflow: hidden;">
- <div class="progress-button tjlb" style="min-width: 70px;" onclick='@service{name:"p_ry_ck_gzl_jd",dest:"p_gzl_cx",show:"wdDialog",title:"工作量明细"}@'>
- ${grgzl}/${edgzl}
- </div>
- </div>
- <div class="progress-div" name="p_ry_ck_gzl_jd" >
- <div class="progress-done gzl1">
- </div>
- </div>
- </div> --%>
- </notEqual.ss>
- <equal.ss val="${empty grtjList}" val2="true">
- <div class="" style="position:absolute;width: calc(100% - 2px);margin-left: 1px;height: 24px;overflow: hidden;margin-top: 10px;">
- <div class="progress-div" >
- <div class="progress-done ">
- </div>
- </div>
- </div>
- </equal.ss>
- <equal.ss val="${empty grtjList[0]}" val2="false"> <%-- 改 equal:val1="${not empty grtjList[0]}" val2="true"。Lin --%>
- <div id="grtjList-div" style="position:absolute;width: 100%;text-align: left;z-index: 1001;background-color:#FFF;">
- <rpt.ss name="grtjList" id="item">
- <equal.ss val="${index > 0}" val2="false">
- <div style="position:relative;width: calc(100% - 2px);margin-left:1px;height: 24px;overflow: hidden;"
- onclick='<varServ.ss dlg="true" name="${grtjList[0].detail.service}" dest="${grtjList[0].detail.dest}" title="${grtjList[0].detail.desc}" width="${grtjList[0].detail.width}" height="${grtjList[0].detail.height}" minHeight="${grtjList[0].detail.height}" maxHeight="${grtjList[0].detail.height}"/>' >
- <%-- 进度条列表 --%>
- <div style="overflow: hidden;">
- <div class="progress-button tjlb-child" style="min-width: 70px;" >
- ${grtjList[0].fz}/${grtjList[0].fm}
- </div>
- </div>
- <div class="progress-div" name="p_ry_ck_gzl_jd" >
- <div class="progress-done grtj${grtjList[0].grtjid}"> </div>
- </div>
- <script>
- var fm${item.grtjid} = parseFloat("${item.fm}");
- fm${item.grtjid} = isNaN("${item.fm}") ? 0 : fm${item.grtjid};
- fm${item.grtjid} = fm${item.grtjid} > 0 ? fm${item.grtjid} : 100;
- var fz${item.grtjid} = parseFloat("${item.fz}");
- fz${item.grtjid} = isNaN("${item.fz}") ? 0 : fz${item.grtjid};
- var p${item.grtjid} = fz${item.grtjid} / fm${item.grtjid};
- $(".grtj${item.grtjid}").css("width", (p${item.grtjid} > 1 ? 1 : p${item.grtjid}) * 100 + "%");
-
- </script>
- </div>
- <%-- 子进度条列表 开始--%>
- <equal.ss val="${empty grtjList[0].child}" val2="false">
- <div id="grtjList-child-div" style="height:100%;max-height:250px;position: relative;width: calc(100% - 10px);margin-left:5px;text-align: left;z-index:1011;display:none;background-color:#FFF; box-shadow: 4px 4px 9px rgba(0, 0, 0, .13);box-sizing: border-box; border-left: 1px solid #e1e1e1;border-right: 1px solid #e1e1e1;border-bottom: 1px solid #e1e1e1; border-top: 1px solid #6c9ed7;">
- <rpt.ss name="${grtjList[0].child}" id="item2">
- <div class="plugin-largeText hLine" style="height: 40px;line-height: 40px;text-align: left;text-indent: 6px;background-color:#FFF;">
- <div onclick='<varServ.ss dlg="true" name="${item2.detail.service}" dest="${item2.detail.dest}" title="${item2.detail.desc}" width="${item2.detail.width}" height="${item2.detail.height}" minHeight="${item2.detail.height}" maxHeight="${item2.detail.height}"/>' >
- <span>${item2.mc}</span><span> ${item2.sl}</span></div>
- </div>
- </rpt.ss>
- </div>
- </equal.ss>
- <%-- 子进度条列表 结束 --%>
- </equal.ss>
- </rpt.ss>
- </div>
- </equal.ss>
- </div>
- <equal.ss val="${empty grtjList}" val2="true">
- <div id="rc_content" style="margin-top: 25px;text-align: center;height: 41px;box-sizing: border-box;width: calc(100% - 12px);margin-left: 6px;position: relative;text-indent: 6px;" class="hLine-highlight">
- </equal.ss>
- <equal.ss val="${empty grtjList}" val2="false">
- <div id="rc_content" style="margin-top: 25px;text-align: center;height: 41px;box-sizing: border-box;width: calc(100% - 12px);margin-left: 6px;position: relative;text-indent: 6px;" >
- </equal.ss>
- <equal.ss val="${rcNum <= 1}" val2="false">
- <span class="xxx${rcNum} ${rcNum<=9?'icon-num':''} ${rcNum>9&&rcNum<=99?'icon-fullNum':''}" style="z-index: 999;display: inline-block;right: 0px;top:1px;position: absolute;text-align: center;text-indent: 0px;">${rcNum<=9?rcNum:''}${rcNum>99?'99+':''}</span>
- </equal.ss>
- <equal.ss val="${empty rclist}" val2="false">
- <rpt.ss name="rclist" id="item">
- <equal.ss val="${index}" val2="0"> <%-- 改 equal:val1="${index==0}" val2="true"。Lin --%>
- <div class="dHover2 cursor-click" style="height: 40px;text-align: left;"
- onclick='<serv.ss dlg="true" name="rdSysDate" dest="sched" title="日历"/>'> <%-- "getSystemTime" > "nz"。Lin --%>
- <div class="plugin-largeText" style="display: inline-block;max-width: calc(100% - 4px);margin-left: 2px;margin-top: 12px;height: 20px;position: relative;text-indent: 0px;">
- ${item.mc}
- </div>
- </div>
-
- </equal.ss>
- <equal.ss val="${index}" val2="1"> <%-- 改 equal:val1="${index==1}" val2="true"。Lin --%>
- <div id="cardList2" style="margin-top: 0px;">
- <div class="popup-div" style="width: 100%;padding: 0px;">
- <div class="smallScr" style="max-height: 80px;width: calc(100% - 2px);padding-right: 2px;box-sizing: border-box;margin-top: 2px;overflow: auto;">
- </equal.ss>
- <equal.ss val="${index > 0}" val2="true">
- <div class="plugin-largeText hLine" style="height: 40px;line-height: 40px;text-align: left;text-indent: 6px;">
- <div onclick='<serv.ss dlg="true" name="rdSysDate" dest="sched" title="日历"/>'> <%-- "getSystemTime" > "nz"。Lin --%>
- ${item.mc}</div>
- </div>
- </equal.ss>
- </rpt.ss>
- <rpt.ss name="rclist" id="item">
- <equal.ss val="${index}" val2="1"> <%-- 改 equal:val1="${index==1}" val2="true"。Lin --%>
- </div>
- </div>
- </div>
- </equal.ss>
- </rpt.ss>
- </equal.ss>
- <div id="nowDate" onclick='<serv.ss dlg="true" name="rdSysDate" dest="sched" title="日历"/>' <%-- "getSystemTime" > "nz"。Lin --%>
- class="plugin-largeText nowDateGrxx"
- style="display:
- <equal.ss val="${empty rclist}" val2="true">
- inline-block;
- </equal.ss>
- <equal.ss val="${empty rclist}" val2="false">
- none;
- </equal.ss>
- max-width: calc(100% - 4px);margin-left: 2px;margin-top: 12px;height: 20px;">
- </div>
-
- <equal.ss val="${empty grtjList[0]}" val2="false"> <%-- 改 equal:val1="${not empty grtjList[0]}" val2="true"。Lin --%>
- <rpt.ss name="grtjList" id="item">
- <div class="grtjList-num" id="${item.grtjid}" style="position:relative;width: calc(100% - 2px);text-align: left;z-index:1000;background-color:#FFF;border-bottom: 1px solid #6c9ed7;">
-
- <equal.ss val="${index > 0}" val2="true">
- <div style="height: 40px;text-align: left;"
- onclick='<varServ.ss dlg="true" name="${item.detail.service}" dest="${item.detail.dest}" title="${item.detail.desc}" width="${item.detail.width}" height="${item.detail.height}" minHeight="${item.detail.height}" maxHeight="${item.detail.height}"/>' >
- <div class="plugin-largeText cursor-click" style="display: inline-block;max-width: calc(100% - 4px);margin-left: 2px;margin-top: 12px;height: 20px;position: relative;text-indent: 0px;">
- ${item.mc}
- </div>
- </div>
- <equal.ss val="${empty item.child}" val2="false">
-
- <div class="grtjList-child-num" parentId="${item.grtjid}" style="position: fixed;width:0px;padding-right: 2px;text-align: left;z-index:1001;display:none;background-color:#FFF; box-shadow: 4px 4px 9px rgba(0, 0, 0, .13);box-sizing: border-box; border-left: 1px solid #e1e1e1;border-right: 1px solid #e1e1e1;border-bottom: 1px solid #e1e1e1; border-top: 1px solid #6c9ed7;">
- <div style="position: relative;max-height: 207px;" class="smallScrollbar">
- <rpt.ss name="${item.child}" id="item2">
- <div class="plugin-largeText hLine" style="width:100%;height: 40px;line-height: 40px;text-align: left;text-indent: 6px;background-color:#FFF;">
- <div onclick='<varServ.ss dlg="true" name="${item2.detail.service}" dest="${item2.detail.dest}" title="${item2.detail.desc}" width="${item2.detail.width}" height="${item2.detail.height}" minHeight="${item2.detail.height}" maxHeight="${item2.detail.height}"/>' >
- <span>${item2.mc}</span><span> ${item2.sl}</span></div>
- </div>
- </rpt.ss>
- </div>
- </div>
- </equal.ss>
- </equal.ss>
-
- </div>
- </rpt.ss>
- </equal.ss>
-
- </div>
- <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQIW2NkAAIAAAoAAggA9GkAAAAASUVORK5CYII=" onload="initJs${sybjId}(this)" />
- </div>
- </div>
- </div>
-
- <script>
-
- var initJs${sybjId} = function(img) {
-
-
-
- var e = parseFloat("${edgzl}");
- e = isNaN("${edgzl}") ? 0 : e;
- e = e > 0 ? e : 100;
- var g = parseFloat("${grgzl}");
- g = isNaN("${grgzl}") ? 0 : g;
- var p = g / e;
- $(".gzl1").css("width", (p > 1 ? 1 : p) * 100 + "%");
- $(".gzlpe").html((p * 100).toFixed(2));
-
-
-
-
- function showTime(){
- var nowtime=new Date();
- var year=nowtime.getFullYear();
- var month=nowtime.getMonth()+1;
- var date=nowtime.getDate();
- var m = (nowtime.getMinutes() < 10 ? '0'+(nowtime.getMinutes()) : nowtime.getMinutes());
- $(".nowDateGrxx").text(year+"年"+month+"月"+date+"日 "+nowtime.getHours()+":"+m);
- }
- setInterval(showTime,1000);
-
- var timer = null;
- $(".dHover").mouseenter(function() {
- tips($(this),"cardList");
- });
-
- $(".dHover").mouseleave(function() {
- clearTimeout(timer);
- timer = setTimeout(function() { tipsHidden() }, 100);
- });
- $(".dHover2").mouseenter(function(e) {
-
- e.stopPropagation();
- tips($(this),"cardList2");
- // $(".whkDivHover").find(".smallScr").addClass("smallScrollbar");
- // 初始化滚动条
- setTimeout(function() {
- top.loadSmallScorll(top.$(".popup-div"));
- }, 100)
- });
-
- $(".dHover2").mouseleave(function(e) {
- clearTimeout(timer);
- timer = setTimeout(function() { tipsHidden() }, 100);
- });
-
- function tips(obj,eleId) {
- console.log("come in");
- if($("#"+eleId).html() == null) {
- return;
- }
- var bounding = $(obj)[0].getBoundingClientRect();
- var xy = this.recursionIframe();
- var left = bounding.left + xy.left;
- var top_z = bounding.top + bounding.height + xy.top;
-
- var htmls = "<div class='whkDivHover' style = 'width:"+$(obj).width()+"px; height: 102px; position: absolute; left: " + left + "px; top:" + top_z + "px; z-index:999999;' ><div class='popup-div smallScrollbar' style='width: 100%;padding: 0px;overflow:auto'><div class='smallScr cursor-click ' style='max-height: 120px;height: 100px;width: calc(100% - 2px);padding-right: 2px;box-sizing: border-box;margin-top: 2px;'>";
- htmls += $("#"+eleId).find('.smallScr').html();
- htmls += "</div></div></div>";
-
- top.$("body").append(htmls);
- var scr=document.createElement("script");
- $(scr).append("initNiceScorll();");
- top.$("body").append(scr);
-
-
- top.$(".whkDivHover").find(".popup-div").show();
-
-
- top.$(".whkDivHover").mouseenter(function() {
- clearTimeout(timer);
-
- });
- top.$(".whkDivHover").find(".popup-div").mouseleave(function() {
- tipsHidden();
- });
-
- }
-
-
- function tipsHidden() {
- top.$(".whkDivHover").remove();
- }
-
- this.recursionIframe = function(win) {
-
- win = win || window;
-
- function getTop(e) {
- var offset = e.offsetTop;
- if (e.offsetParent != null) offset += getTop(e.offsetParent);
- return offset;
- }
-
- function getLeft(e) {
- var offset = e.offsetLeft;
- if (e.offsetParent != null) offset += getLeft(e.offsetParent);
- return offset;
- }
-
- if (win.parent == top && win.parent == win) {
- return {
- "left": 0,
- "top": 0
- };
- }
-
- var winPar = win.parent;
- var iframeArr = winPar.document.getElementsByTagName('IFRAME');
- var targetIframe;
-
- var iframeArr1 = win.document.getElementsByTagName('IFRAME');
- for (var i = 0; i < iframeArr1.length; i++) {
- var iframeElem = iframeArr1[i];
- if (iframeElem.contentWindow == win) {
- targetIframe = iframeElem;
- break;
- }
- }
-
- for (var i = 0; i < iframeArr.length; i++) {
- var iframeElem = iframeArr[i];
- if (iframeElem.contentWindow == win) {
- targetIframe = iframeElem;
- break;
- }
- }
-
- var xy = {
- left: getLeft(targetIframe),
- top: getTop(targetIframe)
- }
-
- if (winPar.parent != winPar) {
- var xy2 = this.recursionIframe(winPar);
- xy.left += xy2.left;
- xy.top += xy2.top;
- }
-
- return xy
- }
-
-
- $("#wh_content").find(".popup-div").hide();
- $("#rc_content").find(".popup-div").hide();
- $('.popup-div').hide();
-
-
- $("#wh_content").click(function(){
- var url = '<serv.ss dlg="true" name="bj_cxgz" dest="cmsPlay" parm="{sfgxwkh:"1"}"/>';
- eval(url);
- $("div.zhdlsj").show();
- $("#wh_content").hide();
-
-
- })
-
- }
-
-
- </script>
- <script>
-
- $("#grtjList-div").mouseleave(function() {
- $("#grtjList-child-div").css("display","none");
-
- });
-
- $(".tjlb-child").mouseenter(function() {
- $("#grtjList-child-div").css("display","block");
- });
- $("#grtjList-child-div").mouseleave(function(){
- $("#grtjList-child-div").css("display","none");
- });
-
- loadSmallScorll( $("#grtjList-child-div"));
-
-
- </script>
-
- <script>
- var divw = $(".grtjList-num").width();
- $(".grtjList-num").mouseleave(function() {
- $(this).find("div[parentId]").css("display", "none");
- });
- $(".grtjList-num").mouseenter(function() {
-
- var id = $(this).attr("id");
- if (id) {
- $("div[parentId]").css("display", "none");
- $("div[parentId='" + id + "']").css("display", "block");
- }
-
-
-
- // loadSmallScorll($(".grtjList-child-num"));
- $(".grtjList-child-num").width(divw);
- });
-
- setTimeout(function() {
- loadSmallScorll($(".grtjList-child-num"));
- }, 100)
-
- $(".grtjList-child-num").width(divw);
-
- </script>
- </body>
- </html>
-
-
-
-
-
|