apps/com.actionsoft.apps.coe.pal/template/page/pal.main.html

102 lines
5.0 KiB
HTML
Raw Normal View History

2022-06-27 22:14:40 +08:00
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><#wsName></title>
<script src="../commons/js/jquery/scripts/jquery.js"></script>
<script src="../commons/js/awsui.js"></script>
<script type="text/javascript" src="../apps/com.actionsoft.apps.coe.pal/js/coe.public.js"></script>
<script src="../apps/com.actionsoft.apps.coe.pal/lib/viewport1v3/js/viewport.util.js"></script>
<link rel="stylesheet" href="../commons/css/awsui.css">
<link rel="stylesheet" href="../apps/com.actionsoft.apps.coe.pal/css/portal.header.css">
<script type="text/javascript" src="../apps/com.actionsoft.apps.coe.pal/js/pal.main.js"></script>
<script type="text/javascript">
var 流程资产 = "<#wsName>";
var historyFlag = true;
var textTemp = "<#wsName>";
var clickText ="";
var isHidden= false;
$(document).ready(function(){
$(".header div.head_tab").unbind("click").bind("click", function(){
var target = $(this).attr("tab_target");
var href = $(this).attr("href");
$(".header div.head_tab.current").removeClass("current");
$(this).addClass("current");
$("div.iframe_div").hide();
if ($("#" + target + "_iflowlist") && $("#" + target + "_iflowlist").attr("src") == "") {
$("#" + target + "_iflowlist").attr("src", href);
}
if (target != "pal") {
$(".header").css({"width": "100%"});
} else {
$(".header").css({"width": "300px"});
}
$("#" + target + "_iframe_div").show();
});
$('#header_left1', parent.document).hide();
$('#header_right1', parent.document).hide();
$('#header_left2', parent.document).show();
$('#header_right2', parent.document).show();
$('#header_text2', parent.document).html('');
var temp = '流程资产库<span class="header_separater"></span>' + 流程资产;
$('#header_text2', parent.document).html(temp);
$('#header_left2', parent.document).css('padding-top', '0');
$('#header_left2', parent.document).css('padding-bottom', '0');
$('#header_right2', parent.document).css('padding-top', '0');
$('#header_right2', parent.document).css('padding-bottom', '0');
$('#main', parent.document).css('top', '40px');
});
</script>
</head>
<body>
<div id="header" style="left: 0px; padding: 0px 10px 10px 10px; height: 90px; display: none;">
<div id="pal_info" style="margin-left: 30px;">
<div style="float: left; width: 100px; line-height: 80px;">
<img id="wsOrgTypeImg" src="../apps/com.actionsoft.apps.coe.pal/img/ws/<#orgTypeImg>" style="width: 100px;" />
</div>
<div style="float: left;">
<div style="height: 64px; width: 700px; line-height: 16px; overflow: hidden;" id="wsDesc"><p style="margin: 0;"><#desc></p></div>
<div style="margin-top: 5px;"><#tcType> <span id="wsOrgType"><#orgTypeName></span></div>
</div>
</div>
<div style="position: absolute; right: 50px; top: 10px; cursor: pointer;" onclick="openCreateDialog('<#wsuuid>')"><img src="../apps/com.actionsoft.apps.coe.pal/img/icon/edit.png" /></div>
</div>
<div class="header" style="left: 0px; background-color: #FFF; height: 40px;">
<div id="pal_tab" tab_target="pal" class="head_tab current" style="margin-left: 20px;" href="./w?sid=<#sid>&cmd=com.actionsoft.apps.coe.pal_pl_page&wsuuid=<#wsuuid>">流程库</div>
<div id="app_tab" tab_target="app" class="head_tab" href="./w?sid=<#sid>&cmd=com.actionsoft.apps.coe.pal_home_page&wsid=<#wsuuid>">应用列表</div>
<div id="manage_tab" tab_target="manage" class="head_tab" href="./w?sid=<#sid>&cmd=com.actionsoft.apps.coe.pal_pl_manage_page&wsuuid=<#wsuuid>">管理</div>
</div>
<div id="pal_iframe_div" class="iframe_div" style="position: absolute; right: 0px; left: 0px; bottom: 0px; top: 0px;">
<iframe id="iflowlist" name="iflowlist" allowfullscreen="true" webkitallowfullscreen="true" class="page-center-main-iframe" src="./w?sid=<#sid>&cmd=com.actionsoft.apps.coe.pal_pl_page&wsuuid=<#wsuuid>" style="height: 100%; width: 100%; display: block; background-color: #F1F2F4" frameborder="0"></iframe>
</div>
<div id="app_iframe_div" class="iframe_div" style="position: absolute; right: 0px; left: 0px; bottom: 0px; top: 45px; display: none;">
<iframe id="app_iflowlist" name="app_iflowlist" allowfullscreen="true" webkitallowfullscreen="true" class="page-center-main-iframe" src="" style="height: 100%; width: 100%; display: block; background-color: #F1F2F4" frameborder="0"></iframe>
</div>
<div id="manage_iframe_div" class="iframe_div" style="position: absolute; right: 0px; left: 0px; bottom: 0px; top: 45px; display: none;">
<iframe id="manage_iflowlist" name="manage_iflowlist" allowfullscreen="true" webkitallowfullscreen="true" class="page-center-main-iframe" src="" style="height: 100%; width: 100%; display: block; background-color: #F1F2F4" frameborder="0"></iframe>
</div>
<input type="hidden" id="cmd" name="cmd" value="com.actionsoft.apps.coe.pal_user_home_page" />
<input type="hidden" id="sid" name="sid" value="<#sid>" />
<div title="这是一个标准的Dialog" style="width:400px;height:200px;display:none;" id="dialog-normal">
<div class="dialog-content">這裡是主要內容</div>
</div>
</body>
</html>