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.
138 lines
4.8 KiB
Plaintext
138 lines
4.8 KiB
Plaintext
11 months ago
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8" />
|
||
|
<title>标准列表</title>
|
||
|
<link href="/WF/Scripts/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" />
|
||
|
<link href="/WF/Scripts/bootstrap/css/font-awesome.css" rel="stylesheet">
|
||
|
<link href="/WF/Style/skin/css/style.css" rel="stylesheet" type="text/css" />
|
||
|
<link href="/WF/Style/skin/css/animate.css" rel="stylesheet" type="text/css" />
|
||
|
<link href="/WF/Style/skin/font/iconfont.css" rel="stylesheet" type="text/css" />
|
||
|
<!--通用js-->
|
||
|
<script src="/WF/Scripts/jquery-1.11.0.min.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>
|
||
|
<link href="css/icons.css" rel="stylesheet" />
|
||
|
<style type="text/css"></style>
|
||
|
<style type="text/css">
|
||
|
.Selected {
|
||
|
font-size: larger;
|
||
|
margin: 30px;
|
||
|
background-image: url('Img/Selected.png');
|
||
|
text-align: center;
|
||
|
height: 50px;
|
||
|
background-repeat: no-repeat;
|
||
|
}
|
||
|
|
||
|
.UnSelected {
|
||
|
text-align: center;
|
||
|
font-size: larger;
|
||
|
margin: 30px;
|
||
|
text-align: center;
|
||
|
background-image: url('Img/UnSelected.png');
|
||
|
height: 50px;
|
||
|
background-repeat: no-repeat;
|
||
|
}
|
||
|
</style>
|
||
|
<script type="text/javascript">
|
||
|
var workID = GetQueryString("WorkID"); //workid 子线程的ID
|
||
|
var jd = GetQueryString("JD");
|
||
|
$(function () {
|
||
|
|
||
|
//标准阶段.
|
||
|
var en = new Entity("BP.Sys.SFTable", "BZJD");
|
||
|
var ens = en.DoMethodReturnJSON("GenerJson");
|
||
|
|
||
|
if (jd == null)
|
||
|
jd = "001";
|
||
|
|
||
|
var html = "<table class='table table-bordered table - hover' width='80%' >";
|
||
|
html += "<tr>";
|
||
|
for (var idx = 0; idx < ens.length; idx++) {
|
||
|
var en = ens[idx];
|
||
|
if (jd == en.No)
|
||
|
html += "<th class='Selected' > " + en.Name + "</th>";
|
||
|
else
|
||
|
html += "<th class='UnSelected' ><a href='List.htm?JD=" + en.No + "' > " + en.Name + "</a></th>";
|
||
|
}
|
||
|
html += "</tr>";
|
||
|
html += "</table>";
|
||
|
$("#bar").html(html);
|
||
|
|
||
|
var html = "<table class='table table-bordered table - hover' width='80%' >";
|
||
|
html += "<tr>";
|
||
|
html += "<th>#</th>";
|
||
|
html += "<th>标准名称</th>";
|
||
|
html += "<th>标准类别</th>";
|
||
|
html += "<th>制/修订</th>";
|
||
|
html += "<th>批次</th>";
|
||
|
html += "<th>归口单位</th>";
|
||
|
html += "<th>主编单位</th>";
|
||
|
html += "<th>主要起草人</th>";
|
||
|
html += "<th>联系人</th>";
|
||
|
html += "<th>联系人电话</th>";
|
||
|
html += "<th>编制阶段</th>";
|
||
|
html += "<th>状态</th>";
|
||
|
html += "</tr>";
|
||
|
|
||
|
var ens = new Entities("ND1Rpt");
|
||
|
ens.RetrieveAll();
|
||
|
for (var i = 0; i < ens.length; i++) {
|
||
|
var en = ens[i];
|
||
|
|
||
|
html += "<tr>";
|
||
|
html += "<td>" + i + "</td>";
|
||
|
html += "<td><a href=\"javascript:OpenIt('" + en.OID + "','" + en.BZMC + "');\" >" + en.BZMC + "</a></td>";
|
||
|
html += "<td>" + en.BZLBText + "</td>"; //标准类别.
|
||
|
html += "<td>" + en.ZDHXDText + "</td>"; //制定或修订.
|
||
|
html += "<td>批次</td>";
|
||
|
html += "<td>" + en.SQL_GKDWT + "</td>"; //归口单位
|
||
|
html += "<td>" + en.FK_Dept + "</td>"; //主编单位
|
||
|
|
||
|
html += "<td>主要起草人</td>";
|
||
|
html += "<td>联系人</td>"; //联系人
|
||
|
html += "<td>" + en.GuiKouDANWeiDianHua + "</td>"; //联系人电话
|
||
|
html += "<td>编制阶段</td>"; //编制阶段
|
||
|
|
||
|
if (en.WFState == 5)
|
||
|
html += "<td><font color=red>退回</font></td>";
|
||
|
else if (en.WFState == 0 || en.WFState == 1)
|
||
|
html += "<td><font color=red>草稿</font></td>";
|
||
|
else
|
||
|
html += "<td><font color=black><b>运行中</b></font></td>";
|
||
|
|
||
|
html += "</tr>";
|
||
|
}
|
||
|
|
||
|
html += "</table>";
|
||
|
|
||
|
$("#docs").html(html);
|
||
|
});
|
||
|
|
||
|
function OpenIt(oid, name) {
|
||
|
var url = "/WF/MyView.htm?WorkID=" + oid + "&FK_Flow=001";
|
||
|
|
||
|
WinOpen(url);
|
||
|
|
||
|
|
||
|
// OpenEasyUiDialog(url, name, 700, 0, false);
|
||
|
// WinOpen(url);
|
||
|
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<br />
|
||
|
|
||
|
<div id="bar">
|
||
|
</div>
|
||
|
<br />
|
||
|
|
||
|
|
||
|
<div id="docs">
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|