|
|
|
@ -355,20 +355,18 @@
|
|
|
|
|
var edt = work.SDTOfNode.replace(/\-/g, "/");
|
|
|
|
|
edt = new Date(Date.parse(edt.replace(/-/g, "/")));
|
|
|
|
|
passTime = GetSpanTime(date, edt);
|
|
|
|
|
//判断流程是否逾期
|
|
|
|
|
if (date.getTime() > edt.getTime())//&& work.WFState == 2 && entStr != "01" && work.RDT != work.SDT
|
|
|
|
|
//&& paras.indexOf("&IsCC=1") == -1)
|
|
|
|
|
{
|
|
|
|
|
listbox += "<td><font color=red>" + window.lang.yuqi + "</font></td>";
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
if (passTime >= 0 && passTime < 2 * 24 * 3600 * 1000) {
|
|
|
|
|
//判断流程是否逾期 @BKGY
|
|
|
|
|
var node = new Entity("BP.WF.Node", work.FK_Node);
|
|
|
|
|
if (node.CHWay == 1) { //时效判断
|
|
|
|
|
var TianShu = node.TimeLimit;
|
|
|
|
|
if (passTime >= 0 && passTime < TianShu * 24 * 3600 * 1000) {
|
|
|
|
|
listbox += "<td><font color='#ffac38'>" + window.lang.jinggao + "</font></td>";
|
|
|
|
|
} else {
|
|
|
|
|
listbox += "<td><font color=green>" + window.lang.zhengchang + "</font></td>";
|
|
|
|
|
}
|
|
|
|
|
}else {
|
|
|
|
|
listbox += "<td><font color=green>" + window.lang.zhengchang + "</font></td>";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
listbox += "<td>" + GetState(work.WFState, work.Auther) + "</td>";
|
|
|
|
|
listbox += "<td>" + GetPRI(work.PRI) + "</td>";
|
|
|
|
|
|
|
|
|
|