213 lines
11 KiB
HTML
213 lines
11 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
<title>流程地图</title>
|
||
<script type="text/javascript" src="../commons/js/jquery/scripts/jquery.js"></script>
|
||
<script type="text/javascript" src="../commons/js/awsui.js"></script>
|
||
<script type="text/javascript" src="../commons/js/public.js"></script>
|
||
|
||
<link rel="stylesheet" href="../commons/css/awsui.css">
|
||
<link rel="stylesheet" href="../apps/com.actionsoft.apps.coe.pal.publisher/css/publish.client.sso2.css">
|
||
<link rel="stylesheet" href="../apps/com.actionsoft.apps.coe.pal.publisher/css/publish.client.sso.processmap.css">
|
||
|
||
<!-- jquery jcrop -->
|
||
<link rel="stylesheet" type="text/css" href="../commons/js/jquery/scripts/ui/jquery.jcrop/css/jquery.Jcrop.css" />
|
||
<script type="text/javascript" src="../commons/js/jquery/scripts/ui/jquery.jcrop/js/jquery.Jcrop.js"></script>
|
||
<script type="text/javascript" src="../apps/com.actionsoft.apps.coe.pal.publisher/js/publish.client.sso.processmap.js"></script>
|
||
|
||
<script>
|
||
window["MzBrowser"] = {};
|
||
(function() {
|
||
if (MzBrowser.platform)
|
||
return;
|
||
var ua = window.navigator.userAgent;
|
||
MzBrowser.platform = window.navigator.platform;
|
||
MzBrowser.firefox = ua.indexOf("Firefox") > 0;
|
||
MzBrowser.opera = typeof (window.opera) == "object";
|
||
MzBrowser.ie = !MzBrowser.opera && ua.indexOf("MSIE") > 0;
|
||
MzBrowser.mozilla = window.navigator.product == "Gecko";
|
||
MzBrowser.netscape = window.navigator.vendor == "Netscape";
|
||
MzBrowser.safari = ua.indexOf("Safari") > -1;
|
||
if (MzBrowser.firefox)
|
||
var re = /Firefox(\s|\/)(\d+(\.\d+)?)/;
|
||
else if (MzBrowser.ie)
|
||
var re = /MSIE( )(\d+(\.\d+)?)/;
|
||
else if (MzBrowser.opera)
|
||
var re = /Opera(\s|\/)(\d+(\.\d+)?)/;
|
||
else if (MzBrowser.netscape)
|
||
var re = /Netscape(\s|\/)(\d+(\.\d+)?)/;
|
||
else if (MzBrowser.safari)
|
||
var re = /Version(\/)(\d+(\.\d+)?)/;
|
||
else if (MzBrowser.mozilla)
|
||
var re = /rv(\:)(\d+(\.\d+)?)/;
|
||
|
||
if ("undefined" != typeof (re) && re.test(ua))
|
||
MzBrowser.version = parseFloat(RegExp.$2);
|
||
})();
|
||
|
||
function aa() {
|
||
if (MzBrowser.ie && MzBrowser.version <= 8) {
|
||
window.location.href = "../pal/error/coe_not_support.htm";
|
||
}
|
||
}
|
||
aa();
|
||
</script>
|
||
|
||
<script type="text/javascript">
|
||
var isSecurityPwdChange = <#isSecurityPwdChange>;
|
||
var forceChangePwd = <#forceChangePwd>;
|
||
var isSecurityPwdComplexity = <#isSecurityPwdComplexity>; // 密码强度
|
||
var securityMinPwdLength = <#securityMinPwdLength>; // 允许账户口令最小长度,0表示无限制
|
||
var securityMaxPwdLength = <#securityMaxPwdLength>; // 允许账户口令最大长度,最多32位长度
|
||
var palIds = '';
|
||
var wsId = "<#wsId>";
|
||
var orgId = "<#orgId>";
|
||
var type = "<#type>";
|
||
var ws = <#ws>;
|
||
var org = <#org>;
|
||
</script>
|
||
|
||
<script type="text/javascript" src="../apps/com.actionsoft.apps.coe.pal.publisher/js/unslider.min.js"></script>
|
||
<script type="text/javascript" src="../apps/com.actionsoft.apps.coe.pal.publisher/js/publish.client.sso.index2.js"></script>
|
||
<script type="text/javascript" src="../apps/com.actionsoft.apps.coe.pal.publisher/js/Mtils.min.js"></script>
|
||
<script type="text/javascript" src="../commons/js/jquery/scripts/ui/aws.photocut.js"></script>
|
||
</head>
|
||
<body>
|
||
<div id="head">
|
||
<div style="width:15%;display:inline-block;">
|
||
</div>
|
||
<div class="head-wrap" style="width:60%;">
|
||
<!-- <img alt="" src="../apps/com.actionsoft.apps.coe.pal/img/logo/portal_logo.png" style="height:20px;margin-right:20px;"> -->
|
||
<img alt="" src="<#logoImgPath>" style="height:20px;width:125px;margin-right:20px;">
|
||
<input id="searchText" type="text" class="txt" placeholder="请输入关键词..." style="vertical-align: middle;"/>
|
||
<button type="button" id="search" class="awsui-btn awsui-btn-green" onclick="search()">搜索</button>
|
||
</div>
|
||
<div id="tool" style="width:170px;">
|
||
<div id="user" style="display:inline-block;width:100px;height:100%;">
|
||
<div style="display: inline-block; line-height: 80px; margin: 0 10px 0 0; width: 40px;">
|
||
<img src="<#userPhoto>" style="width: 100%;border-radius: 50%;" />
|
||
</div>
|
||
<div style="display: inline;" id="userName"><#userName></div>
|
||
<div id="appviewport2-top-right-dialog" style="display: none; top: 75px;" class="setting_div">
|
||
<span id="updatePwd" onclick="modifyPwd();"><img src="../apps/com.actionsoft.apps.coe.pal.publisher/img/password.png" id="updatePasswordBtn" />修改密码</span>
|
||
<span style="" onClick="entryCoE();"><img src="../apps/com.actionsoft.apps.coe.pal.publisher/img/change.png" />切换到PAL</span>
|
||
</div>
|
||
</div>
|
||
<img id="logout" src="../apps/com.actionsoft.apps.coe.pal.publisher/img/exit2.png" alt="退出" onclick="logout();" style="cursor: pointer;padding:5px;display:inline-block;" title="退出" />
|
||
</div>
|
||
</div>
|
||
<div id="tabs">
|
||
<!-- <div style="padding:0px 50px;margin:0 0 0px 0px;background:#F8F8F8;" class="awsui-simple-tab" contentid="content" id="content_tab" onclick="onbeforechange" onchange="onchange" cookie="true">
|
||
<a tit="tab1" style="height:100%;background:#F8F8F8;padding-top:12px;">门 户</a>
|
||
<a tit="tab2" style="height:100%;background:#F8F8F8;padding-top:12px;">组织架构</a>
|
||
</div>
|
||
<div id="content" class="aws-simple-tab-content">
|
||
<div tit="tab1" name="content_iframe" style="height:100%;width:100%;overflow: hidden;">
|
||
<iframe tit="tab1" id="main-frm" src="" style="width:100%;height:100%;overflow: scroll;" frameborder="0" scrolling="yes" marginwidth="0" marginheight="0" allowfullscreen="true" webkitallowfullscreen="true"></iframe>
|
||
</div>
|
||
<div tit="tab2" name="content_iframe" style="width:100%;height:100%;overflow: hidden;">
|
||
<iframe id="main-frm2" src="" width="100%" frameborder="0" style="width:100%;height:100%;overflow: scroll;" marginwidth="0" marginheight="0" allowfullscreen="true" webkitallowfullscreen="true"></iframe>
|
||
</div>
|
||
</div> -->
|
||
</div>
|
||
<div id="ws" class="head-ws" style="width:450px;display:none;">
|
||
<div id="wsNameDiv" style="display:inline-block;width:400px;text-align:right;vertical-align: middle;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;margin-right: 10px;"></div>
|
||
<div id="wsChangeArea" style="display:inline-block;">
|
||
<img id="changeWsButton" style="cursor:pointer;" src="../apps/com.actionsoft.apps.coe.pal.publisher/img/change.png" >
|
||
<div id="changeWsDialog" style="display: none; top: 30px;" class="setting_div"></div>
|
||
</div>
|
||
<input id="wsId" type="hidden" />
|
||
</div>
|
||
<div id="org" class="head-org" style="width:450px;display:none;">
|
||
<div id="orgNameDiv" style="display:inline-block;width:400px;text-align:right;vertical-align: middle;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;margin-right: 10px;"></div>
|
||
<div id="orgChangeArea" style="display:inline-block;">
|
||
<img id="changeOrgButton" style="cursor:pointer;" src="../apps/com.actionsoft.apps.coe.pal.publisher/img/change.png" >
|
||
<div id="changeOrgDialog" style="display: none; top: 30px;" class="setting_div"></div>
|
||
</div>
|
||
<input id="OrgId" type="hidden" />
|
||
</div>
|
||
<div id="modify_dialog" style="display: none;">
|
||
<table class="awsui-ux">
|
||
<tbody>
|
||
<tr>
|
||
<td class="awsui-ux-title" style="width: 125px;">旧口令</td>
|
||
<td class="required"><input id="oldPassword" name="oldPassword" class="awsui-textbox" type="password"></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="awsui-ux-title">新口令</td>
|
||
<td class="required"><input id="password" name="password" class="awsui-textbox password" type="password"></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="awsui-ux-title">确认口令</td>
|
||
<td class="required"><input id="confirmPassword" name="confirmPassword" class="awsui-textbox confirmPassword" type="password"></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<input type="hidden" name="roleId" id="roleId" value="<#roleId>" />
|
||
<input type="hidden" name="sid" id="sid" value="<#sid>" />
|
||
<form action="./w" method="post" id="frm" name="frm" target="_blank">
|
||
<input type="hidden" name="cmd" value="com.actionsoft.apps.coe.pal_user_home_page">
|
||
<input type="hidden" name="clientIp" value="0:0:0:0:0:0:0:1">
|
||
<input type="hidden" name="sid" id="sid" value="<#sid>" />
|
||
<input type="hidden" name="appId" id="appId" value="<#appId>" />
|
||
</form>
|
||
</body>
|
||
|
||
<script type="text/javascript">
|
||
var tabContent = '';
|
||
if (type == 'ws') {
|
||
tabContent += '<div style="padding:0px 50px;margin:0 0 0px 0px;background:#F8F8F8;" class="awsui-simple-tab" cookie="false" contentid="content" id="content_tab" onclick="onbeforechange" onchange="onchange" cookie="true">';
|
||
tabContent += '<a tit="tab1" class="active" style="height:100%;background:#F8F8F8;padding-top:12px;">业务架构</a>';
|
||
tabContent += '<a tit="tab2" style="height:100%;background:#F8F8F8;padding-top:12px;">组织架构</a>';
|
||
tabContent += '</div>';
|
||
tabContent += '<div id="content" class="aws-simple-tab-content">';
|
||
tabContent += '<div tit="tab1" class="active" name="content_iframe" style="height:100%;width:100%;overflow: hidden;">';
|
||
tabContent += '<iframe tit="tab1" id="main-frm" src="" style="width:100%;height:100%;overflow: scroll;" frameborder="0" scrolling="yes" marginwidth="0" marginheight="0" allowfullscreen="true" webkitallowfullscreen="true"></iframe>';
|
||
tabContent += '</div>';
|
||
tabContent += '<div tit="tab2" name="content_iframe" style="width:100%;height:100%;overflow: hidden;display:none;">';
|
||
tabContent += '<iframe id="main-frm2" src="" width="100%" frameborder="0" style="width:100%;height:100%;overflow: scroll;" marginwidth="0" marginheight="0" allowfullscreen="true" webkitallowfullscreen="true"></iframe>';
|
||
tabContent += '</div>';
|
||
tabContent += '</div>';
|
||
}
|
||
if (type == 'org') {
|
||
tabContent += '<div style="padding:0px 50px;margin:0 0 0px 0px;background:#F8F8F8;" class="awsui-simple-tab" cookie="false" contentid="content" id="content_tab" onclick="onbeforechange" onchange="onchange" cookie="true">';
|
||
tabContent += '<a tit="tab1" style="height:100%;background:#F8F8F8;padding-top:12px;">业务架构</a>';
|
||
tabContent += '<a tit="tab2" class="active" style="height:100%;background:#F8F8F8;padding-top:12px;">组织架构</a>';
|
||
tabContent += '</div>';
|
||
tabContent += '<div id="content" class="aws-simple-tab-content">';
|
||
tabContent += '<div tit="tab1" name="content_iframe" style="height:100%;width:100%;overflow: hidden;display:none;">';
|
||
tabContent += '<iframe tit="tab1" id="main-frm" src="" style="width:100%;height:100%;overflow: scroll;" frameborder="0" scrolling="yes" marginwidth="0" marginheight="0" allowfullscreen="true" webkitallowfullscreen="true"></iframe>';
|
||
tabContent += '</div>';
|
||
tabContent += '<div tit="tab2" class="active" name="content_iframe" style="width:100%;height:100%;overflow: hidden;">';
|
||
tabContent += '<iframe id="main-frm2" src="" width="100%" frameborder="0" style="width:100%;height:100%;overflow: scroll;" marginwidth="0" marginheight="0" allowfullscreen="true" webkitallowfullscreen="true"></iframe>';
|
||
tabContent += '</div>';
|
||
tabContent += '</div>';
|
||
}
|
||
$('#tabs').html(tabContent);
|
||
var sid = "<#sid>";
|
||
var appId = "<#appId>";
|
||
var navtab;
|
||
/* function getUseNameLength(str_data){
|
||
var temp=0;
|
||
for(var i=0;i<str_data.length;i++){
|
||
if(Mtils.validation.isChinese(str_data[i])){
|
||
temp+=2;
|
||
}else{
|
||
temp+=1;
|
||
}
|
||
}
|
||
return temp;
|
||
}
|
||
$(function($) {
|
||
var username = $("#userName").text();
|
||
var len = getUseNameLength(username);
|
||
if(len>6){
|
||
$(".middle").css("width",(12+((len-6)/2)+1)+"%");
|
||
}
|
||
$(window).resize();
|
||
}); */
|
||
|
||
</script>
|
||
</html> |