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

📄 index.php

📁 极限网络智能办公系统 Office Automation V3.0官方100%源代码.
💻 PHP
字号:
<?
include_once 'inc/auth.php';
echo '
<html>
<head>
<title>流程数据管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<SCRIPT language=javascript>
function my_export()
{
if(document.form1.EXPORT_PATH.value == "")
{
	 alert("导出附件的路径不能为空!");
	 return;
}
document.form1.OP.value="2";
document.form1.submit();
}
function my_delete()
{
 msg=\'确认要删除该流程在时间范围内的所有工作数据么?\\n包含表单数据、流程图、会签意见和附件\';
 if(window.confirm(msg))
 {
	document.form1.OP.value="1";
	document.form1.submit();
 }
}
function td_calendar(fieldname)
{
myleft=document.body.scrollLeft+event.clientX-event.offsetX+140;
mytop=document.body.scrollTop+event.clientY-event.offsetY+180;
window.showModalDialog("/inc/calendar.php?FIELDNAME="+fieldname,self,"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:280px;dialogHeight:215px;dialogTop:"+mytop+"px;dialogLeft:"+myleft+"px");
}
</SCRIPT>
</head>
<body class="bodycolor" topmargin="5">
';
$query = 'SELECT FLOW_NAME from FLOW_TYPE WHERE FLOW_ID=' . $FLOW_ID;
$cursor = exequery ($connection, $query);
if ($ROW = mysql_fetch_array ($cursor))
{
	$FLOW_NAME = $ROW[0];
}
echo '
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
	<td class="Big"><img src="/images/menu/system.gif" WIDTH="22" HEIGHT="20" align="absmiddle"><span class="big3"> 流程数据管理 - ';
echo $FLOW_NAME;
echo '</span><br>
	</td>
</tr>
</table>
<br>
<table border="0" width="90%" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000" class="small">
<form action="submit.php" method="post" name="form1">
	<tr>
		<td nowrap class="TableHeader" colspan=2><img src="/images/green_arrow.gif" align="absmiddle"> 导出与删除</td>
 </tr>
	<tr>
		<td nowrap class="TableData">日期范围:</td>
		<td class="TableData">
			<input type="text" name="BEGIN_DATE" size="10" maxlength="10" class="BigInput">
				<img src="/images/menu/calendar.gif" border="0" style="cursor:hand" onclick="td_calendar(\'form1.BEGIN_DATE\');">
			<input type="text" name="END_DATE" size="10" maxlength="10" class="BigInput">
				<img src="/images/menu/calendar.gif" border="0" style="cursor:hand" onclick="td_calendar(\'form1.END_DATE\');">
		</td>
	</tr>
	<tr>
		<td nowrap class="TableData">导出附件的路径:</td>
		<td class="TableData">
			<input type="text" name="EXPORT_PATH" size="30" maxlength="100" class="BigInput" value="c:\\workflow"> 如 c:\\workflow<br>
			生成导出附件的批处理文件后,请手动在OA服务器上执行
		</td>
	</tr>
	<tr align="center" class="TableControl">
		<td colspan="2" nowrap>
			<input type="hidden" value="';
echo $FLOW_ID;
echo '" name="FLOW_ID">
			<input type="hidden" name="OP">
			<input type="button"  value="生成导出附件批处理" class="BigButton" onclick="my_export()">&nbsp;&nbsp;
			<input type="button"  value="删除数据" class="BigButton" onclick="my_delete()">&nbsp;&nbsp;
			<input type="button"  value="返回" class="BigButton" name="back" onClick="history.back();">
		</td>
	</tr>
</form>
</table>
<br>
<br>
<table border="0" width="90%" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000" class="small">
<form action="form_data.php" method="post" name="form1">
	<tr>
		<td nowrap class="TableHeader"><img src="/images/green_arrow.gif" align="absmiddle"> 表单调整与数据匹配</td>
	</tr>
	<tr>
		<td class="TableData">
			在表单的第
			<input type="text" name="ITEM_ID" size="2" maxlength="10" value="0" class="BigInput">
			个控件后,
			<select name="ITEM_OP">
				 <option value="1">新增</option>
				 <option value="-1">删除</option>
			</select>
			<input type="text" name="ITEM_NUM" size="2" maxlength="10" value="1" class="BigInput">
			个控件
		</td>
	</tr>
	<tr>
		<td class="TableData">
			说明:在已有工作数据的情况下修改表单时,如在表单现有控件的前方或中间插入新控件或删除控件,会造成历史数据的显示错位,
			本功能将会对流程历史数据进行整理,以匹配新表单
		</td>
	</tr>
	<tr align="center" class="TableControl">
		<td colspan="2" nowrap>
			<input type="hidden" value="';
echo $FLOW_ID;
echo '" name="FLOW_ID">
			<input type="submit"  value="数据匹配" class="BigButton" onclick="my_export()">&nbsp;&nbsp;
			<input type="button"  value="返回" class="BigButton" name="back" onClick="history.back();">
		</td>
	</tr>
</form>
</table>
</body>
</html>';
?>

⌨️ 快捷键说明

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