apps/com.actionsoft.apps.coe.pal/template/page/pal.pl.level.run.bpmn.htm
2025-02-07 14:39:54 +08:00

99 lines
2.8 KiB
HTML
Executable File

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>流程分级run版本</title>
<script src="../commons/js/jquery/scripts/jquery.js"></script>
<link rel="stylesheet" href="../commons/css/awsui.css">
<link rel="stylesheet" type='text/css' href="../apps/com.actionsoft.apps.coe.pal/css/fontcss/coe.font.css">
<link rel="stylesheet" href="../apps/com.actionsoft.apps.coe.pal/lib/contentpane/css/contentpane.css">
<script src="../commons/js/jquery/scripts/jquery.js"></script>
<script src="../commons/js/awsui.js"></script>
<script src="../apps/com.actionsoft.apps.coe.pal/lib/contentpane/js/contentpane.js"></script>
<script>
$(function(){
$(".icon-tiles").parent().on("click.run",showStateTag);//显示
$(".icon-lists").parent().on("click.run",hideStateTag)//隐藏
var icon_style = getCookie("icon_style");
if(icon_style == "list") {
hideStateTag();
} else {
showStateTag();
}
});
function openDesginer(uuid, openType,plName, processVersionId){
var params ={
sid:encodeURIComponent(jQuery('#sid').val()),
cmd:"com.actionsoft.apps.coe.pal_pl_repository_designer",
uuid:uuid,
openType:openType,
processDefId:processVersionId,
browserId:Utils.newId()
},url;
window.open(url="./w?"+connectParams(params));
window.top.closeAwsDialog();
}
function connectParams(params){
var connParms ="" ;
if( typeof(params) =="object"){
for(var i in params){
connParms += i+"="+params[i]+"&";
}
}
return connParms.substring(0,connParms.length -1);
}
function showStateTag(){
$("i.version").show();
}
function hideStateTag(){
$("i.version").hide();
}
</script>
<style>
.layout-tile .affiliate{
margin-bottom: -42px;
}
.layout-tile .affiliate:hover{
margin:-42px 0 0;
}
.version{
-moz-user-select: none;
border: 0 solid #BFBFBF;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2) inset;
cursor: pointer;
float: left;
height: 24px;
line-height: 24px;
margin-left: 5px;
padding: 0 10px;
background-color: #F38F0E;
color: #FFFFFF;
right: 5px;
top: 5px;
position: absolute;
z-index: 1000;
}
</style>
</head>
<body>
<div class="toolbar">
<span style="font-size: 15px;margin-left: 2px; color: #222; float:left"><#name></span>
<span class="icons-group right">
<span title="平铺" class="button2 current square clean"><i class="icon-tiles"></i></span>
<span title="流式" class="button2 default square clean"><i class="icon-lists"></i></span>
</span>
<div class="clear"></div>
</div>
<div class="main">
<ul class="layout-tile" style="display: none;" id="ayoutContent">
<#listPane>
</ul>
</div>
<input type="hidden" value="<#sid>" name="sid" id="sid" >
</body>
</html>