66 lines
2.2 KiB
HTML
66 lines
2.2 KiB
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
|
|
<title>设置常用流程页面</title>
|
||
|
|
<!-- js -->
|
||
|
|
<script type="text/javascript" src="../commons/js/jquery/scripts/jquery.js"></script>
|
||
|
|
<script type="text/javascript" src="../commons/js/awsui.js"></script>
|
||
|
|
<!-- css -->
|
||
|
|
<link rel="stylesheet" href="../commons/js/jquery/themes/default/ui/reference/jquery-ui.css">
|
||
|
|
<link type="text/css" rel="stylesheet" href="../apps/_bpm.platform/css/amc/console.admin.amc.public.css" />
|
||
|
|
<link rel="stylesheet" href="../commons/css/awsui.css">
|
||
|
|
<script src="../<I18N#COEPATH>/js/teamwork.publish.common.create.js"></script>
|
||
|
|
<style>
|
||
|
|
.text-overflow{
|
||
|
|
white-space: nowrap;
|
||
|
|
overflow: hidden;
|
||
|
|
text-overflow: ellipsis;
|
||
|
|
-o-text-overflow: ellipsis;/*Opera下实现ellipsis效果*/
|
||
|
|
}
|
||
|
|
</style>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<div id="search" style="margin-left:10px;margin-right:10px;padding-top:5px;">
|
||
|
|
<span class="awsui-input-wrapper">
|
||
|
|
<input id="processName" type="text" class="awsui-input" placeholder="搜索流程名称" value="" autocomplete="off"/>
|
||
|
|
<span class="awsui-input-suffix">
|
||
|
|
<i class="awsui-iconfont"></i>
|
||
|
|
</span>
|
||
|
|
</span>
|
||
|
|
</div>
|
||
|
|
<div id="mainDiv" style="width: 100%; overflow: hidden;">
|
||
|
|
<div id="palTree" style="margin-left: 10px; margin-right: 10px; overflow: auto;">
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<input type="hidden" name="sid" id="sid" value="<#sid>" />
|
||
|
|
<input type="hidden" name="wsId" id="wsId" value="<#wsId>" />
|
||
|
|
</body>
|
||
|
|
<script type="text/javascript">
|
||
|
|
var treeData = <#treeData>;
|
||
|
|
var allTreeData = <#allTreeData>;
|
||
|
|
var checkedNodes =<#checkedNodes>;
|
||
|
|
var resourceNodes={};
|
||
|
|
$(function(){
|
||
|
|
$(window).trigger('resize');
|
||
|
|
for(var i in allTreeData){
|
||
|
|
resourceNodes[allTreeData[i].versionId] = allTreeData[i].id;
|
||
|
|
}
|
||
|
|
initpalTree();
|
||
|
|
// 流程搜索
|
||
|
|
searchPalTree();
|
||
|
|
})
|
||
|
|
|
||
|
|
$(window).resize(function(){
|
||
|
|
var totalWidth = $('#mainDiv').width();
|
||
|
|
$("#listTable [class*=width_]").each(function(){
|
||
|
|
var className = $(this).attr("class");
|
||
|
|
var percent = parseInt(className.substr(6, 2));
|
||
|
|
$(this).css({"width" : totalWidth*percent/100});
|
||
|
|
});
|
||
|
|
|
||
|
|
$('#mainDiv').height($(window).height() - $('#search').height() - 6);
|
||
|
|
})
|
||
|
|
|
||
|
|
</script>
|
||
|
|
</html>
|