|
|
@ -158,6 +158,9 @@ function WorkCheck_Parse(track, frmWorkCheck, SignType, showNodeName, isShowChec
|
|
|
|
|
|
|
|
|
|
|
|
//解析节点上传的附件
|
|
|
|
//解析节点上传的附件
|
|
|
|
var subaths = GetSubAths(track.NodeID, frmWorkCheck);
|
|
|
|
var subaths = GetSubAths(track.NodeID, frmWorkCheck);
|
|
|
|
|
|
|
|
var ens = null;
|
|
|
|
|
|
|
|
ens = new Entities("BP.Sys.FastInputs");
|
|
|
|
|
|
|
|
ens = ens.DoMethodReturnJSON("InitData_Flow");
|
|
|
|
|
|
|
|
|
|
|
|
//仅显示自己的审核意见
|
|
|
|
//仅显示自己的审核意见
|
|
|
|
if (frmWorkCheck.FWCMsgShow == "1" && track.NodeID == checkParam.FK_Node && track.IsDoc == false) {
|
|
|
|
if (frmWorkCheck.FWCMsgShow == "1" && track.NodeID == checkParam.FK_Node && track.IsDoc == false) {
|
|
|
@ -303,8 +306,18 @@ function WorkCheck_Parse(track, frmWorkCheck, SignType, showNodeName, isShowChec
|
|
|
|
_Html += "<div style='text-align:right;width:100%;padding-right:5px' class=''>";
|
|
|
|
_Html += "<div style='text-align:right;width:100%;padding-right:5px' class=''>";
|
|
|
|
else
|
|
|
|
else
|
|
|
|
_Html += "<div style='text-align:right;padding-right:5px'>";
|
|
|
|
_Html += "<div style='text-align:right;padding-right:5px'>";
|
|
|
|
if (isEditWorkCheck == true && getConfigByKey("IsShowWorkCheckUsefulExpres", true) == true)
|
|
|
|
if (isEditWorkCheck == true && getConfigByKey("IsShowWorkCheckUsefulExpres", true) == true) {
|
|
|
|
_Html += "<div style='float:left'><a onclick = 'UsefulExpresFlow(\"WorkCheck\",\"WorkCheck_Doc\");' ><span style='font-size:15px;'>常用短语</span> <img alt='编辑常用审批语言.' src='" + basePath + "/WF/Img/Btn/Edit.gif' /></a></div>";
|
|
|
|
var arrEns = [];
|
|
|
|
|
|
|
|
var fastInput = "";
|
|
|
|
|
|
|
|
for (var i = 0; i < ens.length; i++) {
|
|
|
|
|
|
|
|
if (ens[i].Vals != "" && ens[i].Vals != "null") {
|
|
|
|
|
|
|
|
fastInput += "<a href='javascript:void(0)' onclick='GetFastInputVals(\"" + ens[i].Vals + "\")' for='WorkCheck_Doc' id=" + ens[i].MyPK + ">" + ens[i].Vals + "</a> ";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
_Html += "<a style='float:left; width:40px; color:black; padding: 0px; font-weight: 600;' href='javascript:void(0)' id='isShow' onclick='toggleDiv()'>收起</a><div id='myDiv' style='float:left;display: block;'>" + fastInput + "<a onclick = 'UsefulExpresFlow(\"WorkCheck\",\"WorkCheck_Doc\");' ><span style='font-size:15px;'>修改</span> <img alt='编辑常用审批语言.' src='" + basePath + "/WF/Img/Btn/Edit.gif' /></a></div>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// _Html += "<div style='float:left'><a onclick = 'UsefulExpresFlow(\"WorkCheck\",\"WorkCheck_Doc\");' ><span style='font-size:15px;'>修改</span> <img alt='编辑常用审批语言.' src='" + basePath + "/WF/Img/Btn/Edit.gif' /></a></div>";
|
|
|
|
|
|
|
|
|
|
|
|
if (frmWorkCheck.SigantureEnabel == "0")
|
|
|
|
if (frmWorkCheck.SigantureEnabel == "0")
|
|
|
|
_Html += track.EmpFromT;
|
|
|
|
_Html += track.EmpFromT;
|
|
|
@ -484,8 +497,17 @@ function WorkCheck_Stamp_Parse(track, frmWorkCheck, showNodeName, isShowCheck, F
|
|
|
|
_Html += "<div style='text-align:right;width:100%;padding-right:5px' class=''>";
|
|
|
|
_Html += "<div style='text-align:right;width:100%;padding-right:5px' class=''>";
|
|
|
|
else
|
|
|
|
else
|
|
|
|
_Html += "<div style='text-align:right;padding-right:5px'>";
|
|
|
|
_Html += "<div style='text-align:right;padding-right:5px'>";
|
|
|
|
if (isEditWorkCheck == true && getConfigByKey("IsShowWorkCheckUsefulExpres", true) == true)
|
|
|
|
if (isEditWorkCheck == true && getConfigByKey("IsShowWorkCheckUsefulExpres", true) == true) {
|
|
|
|
_Html += "<div style='float:left'><a onmouseover = 'UsefulExpresFlow(\"WorkCheck\",\"WorkCheck_Doc\");' ><span style='font-size:15px;'>常用短语</span> <img alt='编辑常用审批语言.' src='../WF/Img/Btn/Edit.gif' /></a></div>";
|
|
|
|
var arrEns = [];
|
|
|
|
|
|
|
|
var fastInput = "";
|
|
|
|
|
|
|
|
for (var i = 0; i < ens.length; i++) {
|
|
|
|
|
|
|
|
if (ens[i].Vals != "" && ens[i].Vals != "null") {
|
|
|
|
|
|
|
|
fastInput += "<a href='javascript:void(0)' onclick='GetFastInputVals(\"" + ens[i].Vals + "\")' for='WorkCheck_Doc' id=" + ens[i].MyPK + ">" + ens[i].Vals + "</a> ";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
_Html += "<a style='float:left; width:40px; color:black; padding: 0px; font-weight: 600;' href='javascript:void(0)' id='isShow' onclick='toggleDiv()'>收起</a><div id='myDiv' style='float:left;display: block;'>" + fastInput + "<a onclick = 'UsefulExpresFlow(\"WorkCheck\",\"WorkCheck_Doc\");' ><span style='font-size:15px;'>修改</span> <img alt='编辑常用审批语言.' src='" + basePath + "/WF/Img/Btn/Edit.gif' /></a></div>";
|
|
|
|
|
|
|
|
//_Html += "<div style='float:left'><a onmouseover = 'UsefulExpresFlow(\"WorkCheck\",\"WorkCheck_Doc\");' ><span style='font-size:15px;'>常用短语</span> <img alt='编辑常用审批语言.' src='../WF/Img/Btn/Edit.gif' /></a></div>";
|
|
|
|
|
|
|
|
}
|
|
|
|
//debugger
|
|
|
|
//debugger
|
|
|
|
|
|
|
|
|
|
|
|
//电子签名
|
|
|
|
//电子签名
|
|
|
|