⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 edit2.php

📁 泛微协同办公系统标准版E-office V5.5的源代码内含泛微办公系统V5.5自动注册文件。
💻 PHP
📖 第 1 页 / 共 4 页
字号:
					if ( find_id( $PRCS_USER, $USER_ID ) )
					{
						$AUTO_VALUE .= "<option value=\"{$USER_ID}\"";
						if ( $ITEM_VALUE == $USER_ID )
						{
							$AUTO_VALUE .= " selected";
							$ITEM_VALUE_TEXT = $USER_NAME;
						}
						$AUTO_VALUE .= ">{$USER_NAME}</option>\n";
					}
				}
				break;
			case "SYS_LIST_PRCSUSER2" :
				$query_auto = "select * from FLOW_PROCESS where FLOW_ID={$FLOW_ID} and PRCS_ID={$FLOW_PRCS}";
				$cursor_auto = exequery( $connection, $query_auto );
				if ( $ROW = mysql_fetch_array( $cursor_auto ) )
				{
					$PRCS_USER = $ROW['PRCS_USER'];
				}
				$query_auto = "SELECT * from USER,USER_PRIV where USER.USER_PRIV=USER_PRIV.USER_PRIV order by PRIV_NO,USER_NAME";
				$cursor_auto = exequery( $connection, $query_auto );
				while ( $ROW = mysql_fetch_array( $cursor_auto ) )
				{
					$USER_ID = $ROW['USER_ID'];
					$USER_NAME = $ROW['USER_NAME'];
					if ( find_id( $PRCS_USER, $USER_ID ) || $ITEM_VALUE == $USER_ID )
					{
						$AUTO_VALUE .= "<option value=\"{$USER_ID}\"";
						if ( $ITEM_VALUE == $USER_ID )
						{
							$AUTO_VALUE .= " selected";
							$ITEM_VALUE_TEXT = $USER_NAME;
						}
						$AUTO_VALUE .= ">{$USER_NAME}</option>\n";
					}
				}
				break;
			case "SYS_LIST_SQL" :
				$EDATASRC = get_attr( $ELEMENT, "DATASRC" );
				$EDATASRC = str_replace( "`", "'", $EDATASRC );
				$cursor_SYS_SQL = exequery( $connection, $EDATASRC );
				while ( $ROW = mysql_fetch_array( $cursor_SYS_SQL ) )
				{
					$AUTO_VALUE_SQL = $ROW[0];
					$AUTO_VALUE .= "<option value=\"{$AUTO_VALUE_SQL}\"";
					if ( $ITEM_VALUE == $AUTO_VALUE_SQL )
					{
						$AUTO_VALUE .= " selected";
						$ITEM_VALUE_TEXT = $AUTO_VALUE_SQL;
					}
					$AUTO_VALUE .= ">{$AUTO_VALUE_SQL}</option>\n";
				}
			}
			$ELEMENT_OUT = str_replace( $EVALUE, $AUTO_VALUE, $ELEMENT_OUT );
		}
	}
	if ( $FLOW_TYPE == "1" && !find_id( $PRCS_ITEM, $EITLE ) )
	{
		if ( strstr( $ELEMENT_OUT, "type=checkbox" ) )
		{
			if ( strstr( $ELEMENT_OUT, " CHECKED" ) )
			{
				$ELEMENT_OUT = str_replace( "<{$ENAME}", "<{$ENAME} readonly onclick='this.checked=1;' class=BigStatic1", $ELEMENT_OUT );
			}
			else
			{
				$ELEMENT_OUT = str_replace( "<{$ENAME}", "<{$ENAME} readonly onclick='this.checked=0;' class=BigStatic1", $ELEMENT_OUT );
			}
		}
		else
		{
			$ELEMENT_OUT = "<{$ENAME} readonly class=BigStatic1 ".str_replace( "<{$ENAME}", "", $ELEMENT_OUT );
		}
		if ( $ENAME == "SELECT" )
		{
			$EVALUE = get_attr( $ELEMENT_OUT, "VALUE" );
			if ( $ECLASS != "AUTO" )
			{
				$ELEMENT_OUT = str_replace( $EVALUE, "<OPTION value={$ITEM_VALUE}>{$ITEM_VALUE}</OPTION>", $ELEMENT_OUT );
			}
			else
			{
				$ELEMENT_OUT = str_replace( $EVALUE, "<OPTION value={$ITEM_VALUE}>{$ITEM_VALUE_TEXT}</OPTION>", $ELEMENT_OUT );
			}
		}
	}
	$POS = strpos( $PRINT_MODEL, $ELEMENT, $POS );
	$PRINT_MODEL = substr( $PRINT_MODEL, 0, $POS ).$ELEMENT_OUT.substr( $PRINT_MODEL, $POS + strlen( $ELEMENT ) );
}
echo $PRINT_MODEL;
echo "</td>\r\n</tr>\r\n</table>\r\n\r\n\r\n\r\n\t\t\t\t\t</td>\r\n\t\t\t\t</tr>\r\n\t\t\t</table>\r\n\t\t</td>\r\n\t\t<td class=\"bodtdrt\">\r\n\t\t</td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class=\"bodtdlfbo\">\r\n\t\t</td >\r\n\t\t<td class=\"bodtdbo\">\r\n\t\t</td>\r\n\t\t<td class=\"bodtdrtbo\">\r\n\t\t</td>\r\n\t</tr>\r\n</table>  \r\n</div>\r\n\r\n\r\n\r\n<input type=\"hidden\"  name=\"RUN_ID\" value=\"";
echo $RUN_ID;
echo "\">\r\n<input type=\"hidden\"  name=\"FLOW_ID\" value=\"";
echo $FLOW_ID;
echo "\">\r\n<input type=\"hidden\"  name=\"PRCS_ID\" value=\"";
echo $PRCS_ID;
echo "\">\r\n<input type=\"hidden\"  name=\"FLOW_PRCS\" value=\"";
echo $FLOW_PRCS;
echo "\">\r\n<input type=\"hidden\"  name=\"ITEM_ID_MAX\" value=\"";
echo $ITEM_ID;
echo "\">\r\n\r\n";
if ( $FLOW_PRCS == $PRCS_MAX && $PRCS_TO_CHOOSE == "" )
{
	$PRCS_TO_CHOOSE = -1;
}
echo "\r\n<!-- 办理步骤 -->\r\n <table width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n\t<tr>\r\n\t\t<td class=\"bodtdlfto\">\r\n\t\t</td >\r\n\t\t<td class=\"bodtdto\">\r\n\t\t<table width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n\t\t\t<tr>\r\n\t\t\t\t<td width=\"10px\">&nbsp;\r\n\t\t\t\t</td>\r\n\t\t\t\t<td width=\"70px\" bgcolor=\"#FFFFFF\" class=\"weight\">&nbsp;&nbsp;&nbsp;&nbsp;";
echo "<s";
echo "pan onClick=\"showHiddenInfo('tflowstep','imgarrowtp')\" title=\"显示/隐藏步骤选择\" style=\"cursor:hand\">选择步骤</span>\r\n\t\t\t\t</td>\r\n\t\t\t\t<td width=\"20px\" bgcolor=\"#FFFFFF\" valign=\"bottom\"><img src=\"/images/arrowdown.gif\" id=\"imgarrowtp\" onClick=\"showHiddenInfo('tflowstep','imgarrowtp')\" title=\"显示/隐藏步骤选择\">\r\n\t\t\t\t</td>\r\n\t\t\t\t<td>&nbsp;\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t</table>\r\n\t\t</td>\r\n\t\t<td class=\"bodtdrtto\">\r\n\t\t</t";
echo "d>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class=\"bodtdlf\">\r\n\t\t</td >\r\n\t\t<td align=\"center\">\r\n\t\t\t<table id=\"tflowstep\" class=\"pubtableride\" style=\"display:";
if ( !$FLOW_SHOW_STEP )
{
	echo "none";
}
echo "\">\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td><div id=\"tflowstepcon\">\r\n\t\t\t\t\t";
if ( $haveTerm == 1 )
{
	echo "\t\t\t\t\t";
	echo "<s";
	echo "pan style=\"color:#00f;cursor:hand\" onClick=\"autoSaveForm()\">本步骤扭转需要条件判断,请保存数据</span>\r\n\t\t\t\t\t";
}
echo "</div>\r\n\r\n\t\t\t\t\t";
if ( $haveTerm == 0 )
{
	echo "\t\t\t\t\t";
	echo "<s";
	echo "cript>\r\n\t\t\t\t\tloadingStep('tflowstepcon','/general/workflow/input_form/flow_step.php','FLOW_ID=";
	echo $_REQUEST['FLOW_ID'];
	echo "&RUN_ID=";
	echo $_REQUEST['RUN_ID'];
	echo "&PRCS_ID=1&FLOW_PRCS=";
	echo $FLOW_PRCS;
	echo "&OP_FLAG=";
	echo $OP_FLAG;
	echo "');\t\r\n\t\t\t\t\t</script>\r\n\t\t\t\t\t";
}
echo "\t\t\t\t\t<input name=\"PRCS_TO_CHOOSE\" type=\"hidden\" value=\"0\">\r\n\r\n\r\n\t\t\t\t\t</td>\r\n\t\t\t\t</tr>\r\n\t\t\t</table>\r\n\t\t</td>\r\n\t\t<td class=\"bodtdrt\">\r\n\t\t</td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class=\"bodtdlfbo\">\r\n\t\t</td >\r\n\t\t<td class=\"bodtdbo\">\r\n\t\t</td>\r\n\t\t<td class=\"bodtdrtbo\">\r\n\t\t</td>\r\n\t</tr>\r\n</table>  \r\n\r\n\r\n\r\n<!-- 公共附件 -->\r\n <table width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n\t<tr>\r\n\t\t<td class=\"bodtdlfto\">\r\n\t\t</td >\r\n\t\t<td c";
echo "lass=\"bodtdto\">\r\n\t\t<table width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n\t\t\t<tr>\r\n\t\t\t\t<td width=\"10px\">&nbsp;\r\n\t\t\t\t</td>\r\n\t\t\t\t<td width=\"70px\" bgcolor=\"#FFFFFF\" class=\"weight\">&nbsp;&nbsp;&nbsp;&nbsp;";
echo "<s";
echo "pan onClick=\"showHiddenInfo('tflowattach','imgarrowac')\" title=\"显示/隐藏公共附件\" style=\"cursor:hand\">公共附件</span>\r\n\t\t\t\t</td>\r\n\t\t\t\t<td width=\"20px\" bgcolor=\"#FFFFFF\" valign=\"bottom\"><img src=\"/images/arrowdown.gif\" id=\"imgarrowac\" onClick=\"showHiddenInfo('tflowattach','imgarrowac')\" title=\"显示/隐藏公共附件\">\r\n\t\t\t\t</td>\r\n\t\t\t\t<td>&nbsp;\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t</table>\r\n\t\t</td>\r\n\t\t<td class=\"bodtdrtto\">\r\n";
echo "\t\t</td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class=\"bodtdlf\">\r\n\t\t</td >\r\n\t\t<td align=\"center\">\r\n\t\t\t<table id=\"tflowattach\" class=\"pubtableride\" style=\"display:";
if ( !$FLOW_SHOW_ATTACH )
{
	echo "none";
}
echo "\">\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td>\r\n\t\t\t\t\t<div id=\"divattach\"></div>\r\n\t\t\t\t\t";
echo "<s";
echo "cript>\r\n\t\t\t\t\tloadingAttach('divattach','/general/workflow/input_form/input_area/public_attach_ajax.php','RUN_ID=";
echo $RUN_ID;
echo "&FLOW_ID=";
echo $FLOW_ID;
echo "&PRCS_ID=";
echo $PRCS_ID;
echo "&FLOW_PRCS=";
echo $FLOW_PRCS;
echo "');\r\n\t\t\t\t\t</script>\r\n\r\n\t\t\t\t\t</td>\r\n\t\t\t\t</tr>\r\n\t\t\t</table>\r\n\t\t</td>\r\n\t\t<td class=\"bodtdrt\">\r\n\t\t</td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class=\"bodtdlfbo\">\r\n\t\t</td >\r\n\t\t<td class=\"bodtdbo\">\r\n\t\t</td>\r\n\t\t<td class=\"bodtdrtbo\">\r\n\t\t</td>\r\n\t</tr>\r\n</table>  \r\n\r\n\r\n<!-- 签办反馈 -->\r\n <table width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n\t<tr>\r\n\t\t<td class=\"bodtdlfto\">\r\n\t\t</td >\r\n\t\t<td class=\"bodtdto\">\r\n\t\t<table width=\"100%\"  bord";
echo "er=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n\t\t\t<tr>\r\n\t\t\t\t<td width=\"10px\">&nbsp;\r\n\t\t\t\t</td>\r\n\t\t\t\t<td width=\"70px\" bgcolor=\"#FFFFFF\" class=\"weight\">&nbsp;&nbsp;&nbsp;&nbsp;";
echo "<s";
echo "pan onClick=\"showHiddenInfo('tflownote','imgarrowno')\" title=\"显示/隐藏签办反馈\" style=\"cursor:hand\">签办反馈</span>\r\n\t\t\t\t</td>\r\n\t\t\t\t<td width=\"20px\" bgcolor=\"#FFFFFF\" valign=\"bottom\"><img src=\"/images/arrowdown.gif\" id=\"imgarrowno\" onClick=\"showHiddenInfo('tflownote','imgarrowno')\" title=\"显示/隐藏签办反馈\">\r\n\t\t\t\t</td>\r\n\t\t\t\t<td>&nbsp;\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t</table>\r\n\t\t</td>\r\n\t\t<td class=\"bodtdrtto\">\r\n\t\t</t";
echo "d>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class=\"bodtdlf\">\r\n\t\t</td >\r\n\t\t<td align=\"center\">\r\n\t\t\t<table id=\"tflownote\" class=\"pubtableride\" style=\"display:";
if ( !$FLOW_SHOW_FEEDBACK )
{
	echo "none";
}
echo "\">\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td>\r\n\t\t\t\t\t<div id=\"divfeedback\"></div>\r\n\t\t\t\t\t";
echo "<s";
echo "cript>\r\n\t\t\t\t\tloadingFeedback('divfeedback','/general/workflow/input_form/input_area/feedback.php','FLOW_ID=";
echo $FLOW_ID;
echo "&RUN_ID=";
echo $RUN_ID;
echo "&FLOW_PRCS=";
echo $FLOW_PRCS;
echo "');\r\n\t\t\t\t\t</script>\r\n\t\t\t\t\t</td>\r\n\t\t\t\t</tr>\r\n\t\t\t</table>\r\n\t\t</td>\r\n\t\t<td class=\"bodtdrt\">\r\n\t\t</td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td class=\"bodtdlfbo\">\r\n\t\t</td >\r\n\t\t<td class=\"bodtdbo\">\r\n\t\t</td>\r\n\t\t<td class=\"bodtdrtbo\">\r\n\t\t</td>\r\n\t</tr>\r\n</table>  \r\n\r\n\r\n<table width=\"100%\"  border=\"0\" cellspacing=\"1\" cellpadding=\"5\">\r\n\t<tr>\r\n\t\t<td class=\"TableLine2\"><BUTTON id=\"turnbutton2\" class=btn onClick=\"SubmitForm()\" title=\"提交流程\"><table>";
echo "<tr valign=middle ><td><img src=\"/images/workflow/view.gif\" align=\"center\" id=\"turnimg2\" ></td> <td> &nbsp;提交流程</td></tr></table></BUTTON>  </td>\r\n\t</tr>\r\n\t<tr>\r\n\t\t<td>&nbsp;</td>\r\n\t</tr>\r\n</table> \r\n</form>\r\n</body>\r\n</html>\r\n";
echo "<s";
echo "cript>\r\nfunction resetDisabledFlowform(){\r\n\tif(document.getElementById('divform') != null){\r\n\t\t\r\n\t\tvar oDivPos=getInfo('divformab');\r\n\t\tvar objDiv = document.getElementById('divform');\r\n\t\t//var objIframe = document.getElementById('iframeform');\r\n\t\t//objIframe.style.left = oDivPos.left;\r\n\t\t//objIframe.style.top = oDivPos.top;\r\n\t\tobjDiv.style.left = oDivPos.left;\r\n\t\tobjDiv.style.top = oDivPos.top;\r\n";
echo "\t}\r\n}\r\n\r\nfunction mouseout(ao){\r\n\tvar oDivPos=getInfo(ao);\r\n\tvar tX=event.clientX;\r\n\tvar tY=event.clientY;\t\t\t\r\n\tif(tX<=oDivPos.left||tX>=oDivPos.right||tY<=oDivPos.top||tY>=oDivPos.bottom){\t\t\t\t\t\t\t\t\r\n\t\talert(oDivPos.left);\r\n\t\talert(oDivPos.right);\r\n\t\talert(oDivPos.top);\r\n\t\talert(oDivPos.bottom);\r\n\t} \r\n}\r\n\r\nfunction disabledFlowform(ao){\r\n\tif(document.getElementById('divform') == null){\r\n\t\t//addiframe";
echo "Disabled(ao);\r\n\t\thiddenInfo('tnotenum','imgarrownt');\r\n\t\tadddivDisabled(ao);\r\n\t}\r\n}\r\n\r\nfunction deleteDisabledFlowform(){\r\n\tif(document.getElementById('divform') != null){\r\n\t\tshowInfo('tnotenum','imgarrownt');\r\n\t\tvar objDiv = document.getElementById(\"divform\");\r\n\t\t//var objIframe = document.getElementById(\"iframeform\");\r\n\t\tdocument.body.removeChild(objDiv);\r\n\t\t//document.body.removeChild(objIframe";
echo ");\r\n\t\tvar objFpcon = document.getElementById(\"tflowstepcon\");\r\n\t\tobjFpcon.innerHTML = '";
echo "<s";
echo "pan style=\"color:#00f;cursor:hand\" onclick=\"autoSaveForm()\">本步骤扭转需要条件判断,请保存数据</span>';\r\n\t}\r\n}\r\nfunction adddivDisabled(ao){\r\n\t//alert(ao.offsetWidth);\r\n\tvar oDivPos=getInfo(ao);\r\n\tvar ao = document.getElementById(ao);\r\n\t\r\n\tvar div=document.createElement(\"div\");\r\n\tdiv.setAttribute('id','divform');\r\n\tdiv.style.margin=\"0\";\r\n\tdiv.style.width=ao.offsetWidth;\r\n\tdiv.style.height=ao.offset";
echo "Height;\r\n\tdiv.style.left=oDivPos.left;\r\n\tdiv.style.top=oDivPos.top;\r\n\tdiv.style.position='absolute';\r\n\tdiv.style.filter='alpha(opacity=10)';\r\n\tdiv.style.zIndex='99';\r\n\tdiv.style.background=\"#f00\";\r\n\t//div.style.color=\"#FFF\";\r\n\t//div.innerHTML=\"div\"+id;\r\n\tdocument.body.appendChild(div);\r\n\t/*\r\n\tvar iframe = document.createElement(\"iframe\");\r\n\tiframe.setAttribute('id','iframeform');\r\n\tiframe.style.wi";
echo "dth\t=\"98%\";\r\n\tiframe.style.height\t=\"98%\";\r\n\tiframe.style.zIndex='98';\r\n\r\n\tdocument.getElementById('divform').appendChild(iframe);\r\n\t*/\r\n\r\n}\r\n\r\nfunction addiframeDisabled(ao){\r\n\t//alert(ao.offsetWidth);\r\n\tvar oDivPos=getInfo(ao);\r\n\tvar ao = document.getElementById(ao);\r\n\t\r\n\tvar iframe=document.createElement(\"iframe\");\r\n\tiframe.setAttribute('id','iframeform');\r\n\tiframe.style.margin=\"0\";\r\n\tiframe.sty";
echo "le.width=ao.offsetWidth;\r\n\tiframe.style.height=ao.offsetHeight;\r\n\tiframe.style.left=oDivPos.left;\r\n\tiframe.style.top=oDivPos.top;\r\n\tiframe.style.position='absolute';\r\n\tiframe.style.filter='alpha(opacity=15)';\r\n\tiframe.style.zIndex='98';\r\n\tiframe.src='';\r\n\tdocument.body.appendChild(iframe);\r\n}\r\n\r\nfunction getInfo(o){\r\n\tvar to=new Object();\r\n\tto.left=to.right=to.top=to.bottom=0;\r\n\tvar o = document.g";
echo "etElementById(o);\r\n\t\r\n\tvar twidth=o.offsetWidth;\r\n\t\r\n\tvar theight=o.offsetHeight;\r\n\twhile(o!=document.body){\r\n\t\tto.left+=o.offsetLeft;\r\n\t\tto.top+=o.offsetTop;\r\n\t\to=o.offsetParent;\r\n\t}\r\n\tto.right=to.left+twidth;\r\n\tto.bottom=to.top+theight;\r\n\treturn to;\r\n}\r\n\r\n\r\n\r\nfunction CheckForm()\r\n{\r\n";
if ( $PRCS_TO_CHOOSE == -1 )
{
	echo "    return (true);\r\n";
}
else
{
	echo "    if(document.getElementById('PRCS_USER') == null){\r\n\t\talert(\"无法提交,未选择步骤(表单未满足扭转条件)\");\r\n\t\treturn false;\r\n\t}\r\n\tPRCS_USER_STR=\"\";\r\n    PRCS_USER_STR = document.getElementById('PRCS_USER').value \r\n\tPRCS_OP_USER_STR = document.getElementById('PRCS_OP_USER').value \r\n\r\n  \r\n    if(PRCS_USER_STR==\"\")\r\n    {\r\n       alert(\"请至少选择一个办理人!\");\r\n       return(false);\r\n    }\r\n\tels";
	echo "e if (PRCS_OP_USER_STR == \"\"){\r\n       alert(\"请至少选择一个主办人!\");\r\n       return(false);\r\n\t\r\n\t}\r\n    else\r\n    {\r\n      return (true);\r\n    }\r\n";
}
echo "}\r\n</script>\r\n";
echo "<s";
echo "cript>\r\nvar strmax=60;\r\nvar smstype = \"待办流程\";\r\nfunction ShowMbSmsContent(){\r\n    cc = document.getElementById('MOBILE_SMS_REMIND');\r\n    ck = document.getElementById('mbcontent');\r\n    if (cc.checked == true){\r\n        ck.style.display = '';\r\n\t\tgetMbc();\r\n\t}\r\n\telse{\r\n\t    ck.style.display = 'none';\r\n\t}\r\n}\r\n\r\nfunction checkStrLength()\r\n{   \r\n    mbc = document.getElementById('mobilect');\r\n\tif (";
echo "mbc.value.length > strmax){\r\n\t    mbc.value = mbc.value.substr(0,strmax);\r\n\t}\r\n    \r\n}\r\n\r\nfunction getMbc(){\r\n    suj = \"";
echo $RUN_NAME;
echo "\";\r\n\tmbc = document.getElementById('mobilect');\r\n    mbc.value = smstype+\"-\"+suj;\r\n\tif (mbc.value.length > strmax){\r\n\t    mbc.value = mbc.value.substr(0,strmax);\r\n\t}\r\n}\r\n\r\nfunction getUserName()\r\n{\r\n  mbc = document.getElementById('mobilect');\r\n  mbc.value+=\"--";
echo $_SESSION['LOGIN_USER_NAME'];
echo "\";\r\n  checkStrLength();\r\n  mbc.focus();\r\n}\r\n\r\nfunction getTagStep(){\r\n\tvar tags = document.getElementsByName('FLOW_PRCS');\r\n\tvar tagsR = new Object();\r\n\tvar loogb = false;\r\n\tvar j = 0;\r\n\tfor(i=0;i<tags.length;i++){\r\n\t\t\r\n\t\tif(tags[i].type == \"radio\"){\r\n\t\t\ttagsR[j] = tags[i];\r\n\t\t\tj++;\r\n\t\t\tif(tags[i].checked == true){\r\n\t\t\t\tloogb = true;\r\n\t\t\t}\r\n\t\t}\r\n\t\ttagsR.length = j;\r\n\r\n\t}\r\n\t\r\n\tif(loogb == false && t";
echo "agsR.length > 0){\r\n\t\ttagsR[0].checked = true;\r\n\t\tSelectFormValue(tagsR[0].stepi);\r\n\t}\r\n}\r\n\r\n\r\nfunction LoadWindowTrUser(inputID,inputName,strListId,formName)\r\n{\r\n\t var PRCS_TO_CHOOSE = document.getElementById('PRCS_TO_CHOOSE').value; \r\n\t  URL=\"/module/user_select_inflow_new/?inputID=\"+inputID+\"&inputName=\"+inputName+\"&formName=\"+formName+\"&strListId=\"+strListId+\"&RUN_ID=";
echo $RUN_ID;
echo "&FLOW_ID=";
echo $FLOW_ID;
echo "&PRCS_ID=";
echo $PRCS_ID;
echo "&FLOW_PRCS=";
echo $FLOW_PRCS;
echo "&PRCS_TO_CHOOSE=\"+PRCS_TO_CHOOSE;\r\n\t  loc_x=document.body.scrollLeft+event.clientX-event.offsetX-100;\r\n\t  loc_y=document.body.scrollTop+event.clientY-event.offsetY+170;\r\n\r\n\t  window.showModalDialog(URL,self,\"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:375px;dialogHeight:400px;dialogTop:\"+loc_y+\"px;dialogLeft:\"+loc_x+\"px\");\r\n}\r\n\r\nfunction LoadWindowTrmanage(inputID,inputName,opUser";
echo "ListStr,formName)\r\n{\r\n\t  var  idstr = document.getElementById(\"PRCS_USER\").value  ;\r\n\t  URL=\"/module/user_select_single_inflow_new/?inputID=\"+inputID+\"&inputName=\"+inputName+\"&formName=\"+formName+\"&opUserListStr=\"+opUserListStr+\"&idstr=\"+idstr;\r\n\t  loc_x=document.body.scrollLeft+event.clientX-event.offsetX-50;\r\n\t  loc_y=document.body.scrollTop+event.clientY-event.offsetY+170;\r\n\t  window.showModalD";
echo "ialog(URL,self,\"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:375px;dialogHeight:400px;dialogTop:\"+loc_y+\"px;dialogLeft:\"+loc_x+\"px\");\r\n}\r\n\r\nfunction modifyOpUser(){\r\n\tvar deuidvalue = form1.PRCS_USER.value;\r\n\tvar deuidNameTvalue = form1.PRCS_USER_NAME_TMP.value;\r\n\tvar opULSV     = document.getElementById('PRCS_OP_USER').value;\r\n\t\r\n\tif(deuidvalue != \"\"){\r\n\t\tdocument.getElementById('";
echo "buttonSelectOpUser').disabled = false\r\n\t\topULSVMTC = \",\"+opULSV+\",\"\r\n\t\tdeuidvalueMTC = \",\"+deuidvalue\r\n\t\tif (deuidvalueMTC.indexOf(opULSVMTC) == -1 && opULSV != \"\"){\r\n\t\t\tdocument.getElementById('opUserListStr').innerHTML = \"\"\r\n\t\t\tdocument.getElementById('PRCS_OP_USER').value = \"\"\r\n\t\t\tdocument.getElementById('PRCS_OP_USER_NAME_TMP').value = \"\"\r\n\t\t}\r\n\t\tif (opULSV == \"\"){\r\n\t\t\t\r\n\t\t\tvar mName = deuidNa";
echo "meTvalue.substring(0,deuidNameTvalue.indexOf(\",\"))\r\n\t\t\tvar mUser = deuidvalue.substring(0,deuidvalue.indexOf(\",\"))\r\n\t\t\tdocument.getElementById('opUserListStr').innerHTML = mName\r\n\t\t\tdocument.getElementById('PRCS_OP_USER').value = mUser\r\n\t\t\tdocument.getElementById('PRCS_OP_USER_NAME_TMP').value = mName\r\n\t\t}\r\n\t}\r\n\telse{\r\n\t\tdocument.getElementById('buttonSelectOpUser').disabled = true\r\n\t\tdocument.get";
echo "ElementById('opUserListStr').innerHTML = \"\"\r\n\t\tdocument.getElementById('PRCS_OP_USER').value = \"\"\r\n\t\tdocument.getElementById('PRCS_OP_USER_NAME_TMP').value = \"\"\r\n\t\t\r\n\t}\r\n}\r\n\r\nif(";
echo $FLOW_SHOW_GRAPH;
echo "){\t\t \t\tloadingImg('idflowimg','/general/workflow/runimgflow.php?FLOW_ID=";
echo $_REQUEST['FLOW_ID'];
echo "&RUN_ID=";
echo $_REQUEST['RUN_ID'];
echo "','FLOW_ID=";
echo $_REQUEST['FLOW_ID'];
echo "&RUN_ID=";
echo $_REQUEST['RUN_ID'];
echo "');\r\n\r\n}\r\n//selecOpU();\r\n</script>\r\n";
echo "<s";
echo "cript for=\"jsbodyid\" event=\"onmousemove\">\r\n\tif(document.getElementById('PRCS_OP_USER') != null){\r\n\t\tmodifyOpUser()\r\n\t}\r\n\r\n</script>";
?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -