<!DOCTYPE html>
|
<html>
|
<head>
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
<title>审批历史列表</title>
|
<link href="../../../css/common.css" rel="stylesheet" />
|
<link href="../../../css/control.css" rel="stylesheet" />
|
<link href="../../../css/grid.css" rel="stylesheet" type="text/css">
|
<link href="../../../css/query.css" rel="stylesheet" type="text/css">
|
<script src="../../../js/jquery-1.7.2.min.js"></script>
|
<script src="../../../js/foundation-2.0.js"></script>
|
<script src="../../../js/grid.js"></script>
|
|
<script type="text/javascript" >
|
var title, grid, filter, param = "";
|
|
function refresh(row) {
|
var data = row.data;
|
|
data.agentcode = data.agentcode ? data.agentcode : "";
|
data.agentname = data.agentname ? data.agentname : "";
|
|
if(row.data.workflowid){
|
|
var url = "root/data/procedure/getHistoryAction/getSetByPage?pageno=1&pagesize=10&workflowid=" + row.data.workflowid;
|
grid.setURL(url);
|
title.html(data.agentcode + " " + data.agentname);
|
}
|
else{
|
alert("无相关数据");
|
}
|
}
|
|
$(document).ready(function() {
|
grid = new $.fm.Grid({
|
element: "sheet",
|
showPage:true,
|
limit: 12,
|
columns: [
|
{field: "activityid", caption: "类型编码", width: 100, align: "left"},
|
{field: "activityname", caption: "类型名称", width: 100, align: "left"},
|
{field: "assignee", caption: "处理人", width: 100},
|
{field: "starttime", caption: "开始时间", width: 180},
|
{field: "endtime", caption: "结束时间", width: 180},
|
]
|
});
|
|
title = $("#title");
|
Win.onShow(refresh);
|
});
|
</script>
|
</head>
|
|
<body style="overflow: hidden;">
|
<div style="height: 40px; line-height: 40px; font-size: 15px; font-weight: bold; border-bottom: 1px solid #fdebeb; padding-left: 20px;">
|
<img src="root/image/record.png" width=20px; style="float: left; margin-top: 10px;">
|
<div id="title" style="float: left; margin: 2px 0px 0px 10px; ">客户名称:</div>
|
</div>
|
|
<div id="sheet" style="position: absolute; top: 40px; left: 20px; right: 20px;"></div>
|
<div class="footer" align="right">
|
<div id="btn_close" class="btn btn-green" onclick="Win.close();" style="margin-right: 50px;">关闭</div>
|
</div>
|
</body>
|
</html>
|