You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
2.2 KiB
Plaintext
54 lines
2.2 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>工单操作</title>
|
|
<link href="/WF/Scripts/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" />
|
|
<link href="/WFScripts/bootstrap/css/font-awesome.css" rel="stylesheet">
|
|
<link href="/WFStyle/skin/css/style.css" rel="stylesheet" type="text/css" />
|
|
<link href="/WFStyle/skin/css/animate.css" rel="stylesheet" type="text/css" />
|
|
<link href="/WFStyle/skin/font/iconfont.css" rel="stylesheet" type="text/css" />
|
|
<script language="JavaScript" src="/WF/Comm/JScript.js" type="text/javascript"></script>
|
|
<script type="text/javascript" src="/WF/Scripts/bootstrap/js/jquery.min.js"></script>
|
|
<script type="text/javascript" src="/WF/Scripts/bootstrap/js/bootstrap.min.js"></script>
|
|
<script src="/WF/Scripts/bootstrap/bootstrap-paginator/js/bootstrap-paginator.js" type="text/javascript"></script>
|
|
<script src="/WF/Scripts/QueryString.js" type="text/javascript"></script>
|
|
<script src="/WF/Scripts/config.js" type="text/javascript"></script>
|
|
<script src="/WF/Comm/Gener.js" type="text/javascript"></script>
|
|
<script src="../WF/Scripts/layui/layui/lay/modules/layer.js" type="text/javascript"></script>
|
|
<script language="javascript" type="text/javascript">
|
|
//页面启动函数.
|
|
$(function () {
|
|
|
|
var webUser = new WebUser();
|
|
|
|
//获得当前人员需要重做的任务..
|
|
var ens = new Entities("BP.MES.ND1Rpts");
|
|
var data = ens.DoMethodReturnJSON("MyReWork_Init");
|
|
|
|
var html = "<ul>";
|
|
|
|
//输出 WorkSta=2的任务.
|
|
for (var i = 0; i < data.length; i++) {
|
|
var en = data[i];
|
|
html += "<li><a href='MyWork.htm?WorkID=" + en.OID + "' >" + en.Title + " 数量(" + en.Num + ")</a> </li>";
|
|
}
|
|
html += "</ul>";
|
|
|
|
$("#rework").html(html);
|
|
//输出我参与的任务. Worker= webUser.No;
|
|
//输出其他同事的任务. Worker!= webUser.No;
|
|
});
|
|
|
|
</script>
|
|
</head>
|
|
<body class="gray-bg">
|
|
|
|
<h3> 被返回的工作 </h3>
|
|
<div id="rework"></div>
|
|
|
|
</body>
|
|
|
|
|
|
</html> |