<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<html>
|
<head>
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<link rel="stylesheet" type="text/css" href="${common_static}/static/style/ci/dialog.css"/>
|
[@new_ui_static_file /]
|
<title>equipment</title>
|
|
<script type="text/javascript">
|
$(document).ready(function() {
|
|
$.formValidator.initConfig({formID:"myform",onError:function(msg){alert(msg)},onSuccess:function(){
|
|
if (!confirm('确定提交表单?')){
|
return false;
|
}
|
document.getElementById("myform").target = window.top.openDialog(101,30,30,'操作提示:');
|
return true;
|
}});
|
|
});
|
|
function makeWb(ci_id,third_level_id){
|
window.top.openDialog(5, 80, 80, '制定维保方案', $.http.getAbsoluteUrl('ciWb.html?ci_id='+ci_id+'&third_level_id='+third_level_id), {
|
buttons: [
|
{text: "关闭", _handler: "_closeWin(5)"}
|
]
|
});
|
return false;
|
}
|
|
function makeWbDetail(ci_id){
|
window.top.openDialog(101, 80, 80, '维保方案详情', $.http.getAbsoluteUrl('ciWbDetail.html?ci_id='+ci_id), {
|
buttons: [
|
{text: "关闭", _handler: "_closeWin(101)"}
|
]
|
});
|
return false;
|
}
|
|
function _closeWin(){
|
window.top.closeDialog(100);
|
}
|
|
function _onFormSubmit(){
|
window.top.openDialog(5, 60, 50, '审批提交', $.http.getAbsoluteUrl('ciAddHealthApprove.html?order_id=${RequestParameters.order_id}&node_id=${RequestParameters.node_id}&flow_id=${RequestParameters.flow_id}'), {
|
buttons: [
|
{text: "提交", iconCls: 'icon-add', _handler: "_onFormSubmit()"},
|
{text: "关闭", _handler: "closeWin(5)"}
|
]
|
});
|
return false;
|
}
|
|
function _refresh(){
|
window.location.reload();
|
}
|
</script>
|
|
</head>
|
|
<body>
|
<div>
|
<table width="98%" border="0" class="marginc">
|
<tr class="table_title">
|
<td colspan="7">
|
<div class="floatl">
|
<h3 class="table_identifying">维保方案</h3>
|
</div>
|
</td>
|
</tr>
|
<tr class="table_head">
|
<td width="5%" align="center">序号</td>
|
<td align="center">配置类别</td>
|
<td align="center">配置名称</td>
|
<td align="center">搜索码</td>
|
<td align="center">位置</td>
|
<td align="center">维保方案</td>
|
<td align="center">操作</td>
|
</tr>
|
[#list ciList as ci]
|
<tr>
|
<td align="center">${ci_index+1}</td>
|
<td align="center">${ci.THIRD_LEVEL_NAME}</td>
|
<td align="center">${ci.CI_NAME}</td>
|
<td align="center">${ci.CI_SEARCH_CODE}</td>
|
<td>${ci.CI_POSITION}</td>
|
<td align="center">${ci.WB_STATE}</td>
|
<td align="center">
|
<a href="####" onclick="return makeWb('${ci.CI_ID}','${ci.THIRD_LEVEL_ID}')">制定</a>
|
<a href="####" onclick="return makeWbDetail('${ci.CI_ID}')">详情</a>
|
</td>
|
</tr>
|
[/#list]
|
</table>
|
</div>
|
<br>
|
<form action="" method="post" id="myform" name="myform">
|
|
<div align="center">
|
<input type="submit" id="btnOK" value="提交" style="display:none;"/>
|
</div>
|
|
</form>
|
</body>
|
</html>
|