227 lines
7.2 KiB
HTML
227 lines
7.2 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">
|
||
|
||
<!-- 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>
|
||
<style type="text/css">
|
||
html {
|
||
box-sizing: border-box;
|
||
min-height: 100%;
|
||
min-width: 100%
|
||
}
|
||
body{
|
||
height: 100%;
|
||
width: 100%;
|
||
overflow:hidden;
|
||
}
|
||
#content {
|
||
position: absolute;
|
||
top: 120px;
|
||
bottom: 0px;
|
||
left: 0px;
|
||
}
|
||
.animated {
|
||
transition: all .28s linear;
|
||
-moz-transition: all .28s linear;
|
||
-webkit-transition: all .28s linear;
|
||
-o-transition: all .28s linear;
|
||
}
|
||
|
||
input {
|
||
font-size: 100%;
|
||
margin: 0;
|
||
font-family: Arial, Tahoma, "SimSun";
|
||
}
|
||
|
||
.head-ws {
|
||
float:right;
|
||
margin:0px 30px 0px 0px;
|
||
font-size:15px;
|
||
position: relative;
|
||
right: -20px;
|
||
top: 3px;
|
||
}
|
||
|
||
#changeWsDialog {
|
||
background: none repeat scroll 0 0 #FFFFFF;
|
||
border-radius: 3px;
|
||
box-shadow: 0 0 15px #DDDDDD;
|
||
display: none;
|
||
/* top: 70px; */
|
||
min-height: 30px;
|
||
position: absolute;
|
||
right:6px;
|
||
z-index: 9;
|
||
padding: 15px 20px;
|
||
}
|
||
|
||
#changeWsDialog ul {
|
||
color: #323232;
|
||
cursor: pointer;
|
||
display: block;
|
||
font-size: 14px;
|
||
height: 35px;
|
||
line-height: 35px;
|
||
margin: 0 0 0 0px;
|
||
padding: 0 0 0 10px;
|
||
text-overflow:ellipsis;
|
||
}
|
||
#changeWsDialog li {
|
||
list-style-type: none !important;
|
||
}
|
||
|
||
#changeWsDialog span img {
|
||
margin-right: 5px;
|
||
}
|
||
.setting_div {
|
||
display: inline-block;
|
||
color: #000;
|
||
font-size: 20px;
|
||
margin: 0px 10px 0 10px;
|
||
padding-top: 10px;
|
||
padding-left: 20px;
|
||
}
|
||
.cwshow-title-text {
|
||
color:#33A382;
|
||
}
|
||
</style>
|
||
|
||
<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();
|
||
|
||
$(function(){
|
||
$('#main-frm').attr('src', './w?sid='+sid+'&cmd=com.actionsoft.apps.skins.mportal3_home_page&id=5af46cd5-a1bc-4125-a144-86d1a199eec1');
|
||
});
|
||
|
||
function onbeforechange(tab, contentTabId, newTabId) {
|
||
}
|
||
// 点击标签事件
|
||
function onchange(tab, newTabId) {
|
||
if (newTabId != 'tab1') {
|
||
var id = newTabId.replace(/tab-/g,'');
|
||
var iframeId = 'main-frm-' + id;
|
||
$('#' + iframeId).attr('src', '');
|
||
if ($('#' + iframeId).attr('src') == undefined || $('#' + iframeId).attr('src') == '') {
|
||
for (var i = 0; i < portalTabs.length; i++) {
|
||
if (id == portalTabs[i].id) {
|
||
$('#' + iframeId).attr('src', portalTabs[i].url.replace(/@sid/g, sid).replace(/@wsId/g, $('#wsId').val()));
|
||
// 是否显示资产库选择设置
|
||
if (portalTabs[i].showWsSelect) {
|
||
$('#ws').show();
|
||
} else {
|
||
$('#ws').hide();
|
||
}
|
||
}
|
||
}
|
||
}
|
||
} else {
|
||
$('#ws').hide();
|
||
}
|
||
}
|
||
</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 palAdmin = <#palAdmin>;
|
||
var xpagesId = '<#xpagesId>';
|
||
var portalTabs = <#portalTabs>;
|
||
var ws = <#ws>;
|
||
</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 tit="tab1" class="active" name="content_iframe" style="height:100%;width:100%;overflow: hidden;">
|
||
<iframe tit="tab1" id="main-frm" src="" style="width:100%;height:100%;overflow-y: scroll;" frameborder="0" scrolling="yes" marginwidth="0" marginheight="0" allowfullscreen="true" webkitallowfullscreen="true"></iframe>
|
||
</div>
|
||
<input type="hidden" name="roleId" id="roleId" value="<#roleId>" />
|
||
<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 sid = "<#sid>";
|
||
var appId = "<#appId>";
|
||
|
||
// 根据条件过滤
|
||
var tempArr = [];
|
||
for (var i = 0; i < portalTabs.length; i++) {
|
||
if (portalTabs[i].showTabUserType && portalTabs[i].showTabUserType == 'palAdmin' && !palAdmin) {
|
||
continue;
|
||
}
|
||
tempArr.push(portalTabs[i]);
|
||
}
|
||
portalTabs = tempArr;
|
||
|
||
for (var i = 0; i < portalTabs.length; i++) {
|
||
var index = i + 2;
|
||
var tab = portalTabs[i];
|
||
var tabHtml = '<a tit="tab-' + tab.id + '" style="height:100%;background:#F8F8F8;padding-top:0px;">' + portalTabs[i].name + '</a>';
|
||
$('#tabs').append(tabHtml);
|
||
var content = '';
|
||
content += '<div tit="tab-' + tab.id + '" name="content_iframe" style="width:100%;height:100%;overflow: hidden;display:none;">'
|
||
// content += '<iframe id="main-frm' + index + '" src="" style="width:100%;height:100%;overflow-y: scroll;" width="100%" frameborder="0" scrolling="yes" marginwidth="0" marginheight="0" allowfullscreen="true" webkitallowfullscreen="true"></iframe>'
|
||
content += '<iframe id="main-frm-' + tab.id + '" name="content_iframe" width="100%" frameborder="0" scrolling="yes" marginwidth="0" marginheight="0" allowfullscreen="true" webkitallowfullscreen="true" mcolor="mskin_color3" style="height: 100%;overflow-y:scroll;"></iframe>'
|
||
content += '</div>';
|
||
$('#content').append(content);
|
||
}
|
||
|
||
</script>
|
||
</html> |