174 lines
7.0 KiB
HTML
Executable File
174 lines
7.0 KiB
HTML
Executable File
<!Doctype html>
|
||
<html xmlns=http://www.w3.org/1999/xhtml style="height:240px;">
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
<title>CoE<I18N#流程卓越中心></title>
|
||
<link rel="stylesheet" type="text/css" href="../commons/css/awsui.css">
|
||
<link rel="stylesheet" href="../apps/com.actionsoft.apps.coe.pal/css/default/pqgrid.min.css">
|
||
<link type="text/css" rel="stylesheet" href="../apps/_bpm.platform/css/amc/console.admin.amc.public.css" />
|
||
<script src="../commons/js/jquery/scripts/jquery.js" type="text/javascript"></script>
|
||
<script type="text/javascript" src="../commons/js/awsui.js"></script>
|
||
<script type="text/javascript" src="../commons/js/jquery/scripts/ui/aws.util.js"></script>
|
||
<script src="../apps/com.actionsoft.apps.coe.pal/js/coe.pal.ws.versionmanage.js" type="text/javascript"></script>
|
||
|
||
<script type="text/javascript">
|
||
$(function(){
|
||
|
||
$(window).trigger('resize');
|
||
var checkObj = null;
|
||
$("input[type='radio']").each(function (){
|
||
if($(this).attr("isuse")=="Y"){
|
||
$(this).attr("checked","checked");;
|
||
}
|
||
});
|
||
});
|
||
|
||
$(window).resize(function(){
|
||
if($('#innerTable').height() > $(window).height()-58) {
|
||
$('#mainDiv').height($(window).height()-34);
|
||
$('#listDiv').width($('#mainDiv').width()).height($('#mainDiv').height() - 24);
|
||
} else if($('#innerTable').height() < $('#listDiv').height()) {
|
||
$('#listDiv').height($("#innerTable").height());
|
||
$("#mainDiv").height($("#listDiv").height() + 24);
|
||
}
|
||
})
|
||
</script>
|
||
|
||
<style>
|
||
body{
|
||
margin:0px;
|
||
overflow-x:hidden ; }
|
||
.awsui-button {
|
||
text-decoration: none;
|
||
zoom: 1;
|
||
padding: 2px 12px;
|
||
cursor: pointer;
|
||
outline: none;
|
||
color: #444;
|
||
background: rgb(238, 238, 238);
|
||
border: 1px solid #ddd;
|
||
-moz-border-radius: 3px 3px 3px 3px;
|
||
-webkit-border-radius: 3px 3px 3px 3px;
|
||
border-radius: 3px 3px 3px 3px;
|
||
vertical-align: middle;
|
||
display: inline-block;
|
||
}
|
||
|
||
.awsui-button:hover {
|
||
border: 1px solid #ccc;
|
||
}
|
||
.awsui-toolbar {
|
||
border: 1px solid #ddd;
|
||
background-color: #F8F8F8;
|
||
background-image: -webkit-linear-gradient(top, #f8f8f8, #f1f1f1);
|
||
background-image: -moz-linear-gradient(top, #f8f8f8, #f1f1f1);
|
||
background-image: -ms-linear-gradient(top, #f8f8f8, #f1f1f1);
|
||
background-image: -o-linear-gradient(top, #f8f8f8, #f1f1f1);
|
||
background-image: linear-gradient(top, #f8f8f8, #f1f1f1);
|
||
filter: progid : DXImageTransform.Microsoft.gradient ( startColorstr =
|
||
'#f8f8f8', endColorstr = '#f1f1f1', GradientType = 0 );
|
||
}
|
||
#listTable th div{
|
||
padding: 4px 5px;
|
||
}
|
||
#innerTable td{
|
||
white-space: normal;
|
||
}
|
||
</style>
|
||
</head>
|
||
<body >
|
||
<form id="wsForm" action="./w?sid=<#sid>&cmd=com.actionsoft.apps.coe.pal_ws_version_save" method="post">
|
||
<input type="hidden" value="<#wsVersionId>" name="wsVersionId" id="wsVersionId" >
|
||
<input type="hidden" name="sid" value="<#sid>">
|
||
<!-- 正文内容 -->
|
||
<input type="hidden" id="wsuuid" name="wsuuid" value="">
|
||
<input type="hidden" name="wsUsedUUID" value="<#wsUsedUUID>">
|
||
<input type="hidden" id="wsSelectVersionId" name="wsSelectVersionId" value="">
|
||
<div style="display:block;">
|
||
|
||
<div style="width: 798px;" id="grid_array"
|
||
class="pq-grid ui-widget ui-widget-content ui-corner-all">
|
||
<!-- <div class="awsui-toolbar" style="width: 798px;padding: 4px 6px;font-size: 12px;" id="grid_array">
|
||
<a class="awsui-button" onclick="createNewVersion();" style="padding: 2px 12px;">
|
||
<span class="icon icon-add" style="background-image: url('../apps/com.actionsoft.apps.coe.pal/img/ws/add1_16.png');"></span>
|
||
<span class="title" style="font-size: 12px; color: #444444">创建新版本</span>
|
||
</a>
|
||
<a class="awsui-button" onclick="useSelectedVersion('<#sid>');" style="padding: 2px 12px;">
|
||
<span class="icon icon-edit" style="background-image: url('../apps/com.actionsoft.apps.coe.pal/img/ws/edit1_16.png');"></span>
|
||
<span class="title" style="font-size: 12px; color: #444444">使用选中版本</span>
|
||
</a>
|
||
</div>
|
||
-->
|
||
<div class="pq-grid-inner" tabIndex="0">
|
||
<div id="mainDiv" style="width:100%;overflow:hidden;">
|
||
<div style="margin-left:0px;margin-right:0px;margin-top:0px; overflow:auto;">
|
||
<table id="listTable" class="listTable">
|
||
<tr style="height:30px;font-size:13px;">
|
||
<!-- <th style="width:5%;text-align:center;"><div class="pq-grid-header-table-div"></div></th> -->
|
||
<th style="width:12%;text-align:left;"><div class="pq-grid-header-table-div" style="font-size:13px;">版本</div></th>
|
||
<th style="width:40%;text-align:left;"><div class="pq-grid-header-table-div" style="font-size:13px;">名称</div></th>
|
||
<!--<th style="width:16%;text-align:left;"><div class="pq-grid-header-table-div">组织</div></th>-->
|
||
<th style="width:15%;text-align:center;"><div class="pq-grid-header-table-div" style="font-size:13px;">状态</div></th>
|
||
<th style="width:33%;text-align:center;"><div class="pq-grid-header-table-div" style="font-size:13px;">操作</div></th>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="6">
|
||
<div id="listDiv" style="overflow:auto;">
|
||
<table style="width:100%;" cellspacing=0 cellpadding=0 id='innerTable'>
|
||
<#tableContent>
|
||
</table>
|
||
</div>
|
||
<td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
|
||
<div style="visibility: hidden;"
|
||
class="pq-hvscroll-square ui-widget-content"></div>
|
||
<div style="height: 324px; bottom: 0px; display: none;"
|
||
class="pq-vscroll pq-scrollbar-vert">
|
||
<div class="top-btn pq-sb-btn"></div>
|
||
<div style="top: 17px; height: 258px; display: none;"
|
||
class="pq-sb-slider ui-draggable">
|
||
<div class="vert-slider-top"></div>
|
||
<div style="height: 122px;" class="vert-slider-bg"></div>
|
||
<div class="vert-slider-center"></div>
|
||
<div style="height: 122px;" class="vert-slider-bg"></div>
|
||
<div class="vert-slider-bottom"></div>
|
||
</div>
|
||
<div class="bottom-btn pq-sb-btn"></div>
|
||
</div>
|
||
<div style="width: 200px; visibility: hidden;"
|
||
class="pq-hscroll pq-scrollbar-horiz">
|
||
<div class="left-btn pq-sb-btn"></div>
|
||
<div style="left: 17px; width: 70px;"
|
||
class="pq-sb-slider pq-sb-slider-h ui-draggable">
|
||
<span class="horiz-slider-left"></span><span style="width: 28px;"
|
||
class="horiz-slider-bg"></span><span class="horiz-slider-center"></span><span
|
||
style="width: 28px;" class="horiz-slider-bg"></span><span
|
||
class="horiz-slider-right"></span>
|
||
</div>
|
||
<div class="right-btn pq-sb-btn"></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</form>
|
||
<script type="text/javascript" >
|
||
var 请选中一个要复制的版本="<I18N#请选中一个要复制的版本>";
|
||
var 请选中一个要使用的版本="<I18N#请选中一个要使用的版本>";
|
||
var 确认使用选中的版本吗="<I18N#确定使用选中的版本吗>";
|
||
var 提交的数据有误="<I18N#删除失败>";
|
||
var 删除成功 = "<I18N#删除成功>";
|
||
var 无法删除正在使用的版本 = "<I18N#无法删除正在使用的版本>";
|
||
var 确认删除选中的版本吗 = "<I18N#确认删除选中的版本吗>";
|
||
var 操作成功 = "<I18N#操作成功>";
|
||
var 创建成功 = "<I18N#创建成功>";
|
||
|
||
var sid = "<#sid>";
|
||
</script>
|
||
|
||
</body>
|
||
</html>
|
||
|