<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>flowdefineoa1031LG</title>
</head>
<BODY bgcolor="#EEEEEE" leftmargin="0" topmargin="0" onload="setvar(flowXml,saveUrl,flowID,flowName,fieldlist);" scroll="auto">
<script language="JavaScript">
<!--
//接受参数--开始
var userXml = "tree.xml";//用户列表URL
var saveUrl="http://localhost/send/chklogin.jsp";//保存文件的URL
var xmltype="char1";
var flowXml="newwf.xml";//要修改的流程定义的URL
var flowID="fdsfdsaa";//新建流程的ID,修改流程时,此参数无效
var flowName="fdsfdsaa";//新建流程的name,修改流程时,此参数无效
var fieldlist="recFormFields.xml";//表单域列表
var actionlist="action.xml";//本地操作列表
var formName="";//新建流程的表单ID,修改流程时,此参数无效
var documentType="";//新建流程的文档类型ID,修改流程时,此参数无效
var databasePath="";//新建流程的数据库路径ID,修改流程时,此参数无效
//接受参数结束
//当选择人员时,向flash传递人员参数
function getvalue(b){
if(b=="addressee"){
var a=showModalDialog("window.htm",window,"status:false;dialogWidth:410px;dialogHeight:500px");
if (typeof(a) == "undefined") return;
var mainArray = a.split("|");
var alphaArray = mainArray[1];//中文名数组
var numberArray =mainArray[0];//ID字符串
a1=alphaArray.toString();
window.document.flowdefineoa1031LG.SetVariable("_root.addresseename",alphaArray.toString());
window.document.flowdefineoa1031LG.SetVariable("_root.addresseeid",numberArray.toString());
}
}
//初始化时,向flash传递预设参数
function setvar(){
window.document.flowdefineoa1031LG.SetVariable("_root.xmltype",xmltype);
window.document.flowdefineoa1031LG.SetVariable("_root.flowXml",flowXml);
window.document.flowdefineoa1031LG.SetVariable("_root.saveUrl",saveUrl);
window.document.flowdefineoa1031LG.SetVariable("_root.flowID",flowID);
window.document.flowdefineoa1031LG.SetVariable("_root.flowName",flowName);
window.document.flowdefineoa1031LG.SetVariable("_root.fieldlistxml",fieldlist);
window.document.flowdefineoa1031LG.SetVariable("_root.actionxml",actionlist);
window.document.flowdefineoa1031LG.SetVariable("_root.formName",formName);
window.document.flowdefineoa1031LG.SetVariable("_root.documentType",documentType);
window.document.flowdefineoa1031LG.SetVariable("_root.databasePath",databasePath);
}
function returnUrl(){
alert("在此写返回页代码");
}
var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// 处理 Flash 影片中的所有 FSCommand 消息
function flowdefineoa1031LG_DoFSCommand(command, args) {
var flowdefineoa1031LGObj = isInternetExplorer ? document.all.flowdefineoa1031LG : document.flowdefineoa1031LG;
//
alert(args);
//
}
// Internet Explorer 的挂钩
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
document.write('<script language=\"VBScript\"\>\n');
document.write('On Error Resume Next\n');
document.write('Sub flowdefineoa1031LG_FSCommand(ByVal command, ByVal args)\n');
document.write(' Call flowdefineoa1031LG_DoFSCommand(command, args)\n');
document.write('End Sub\n');
document.write('</script\>\n');
}
//-->
</script>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="flowdefineoa1031LG" width="100%" height="100%" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="flowdefineoa1031LG.swf" />
<param name="quality" value="high" />
<PARAM NAME=salign VALUE=LT> <PARAM NAME=bgcolor VALUE=#EEEEEE>
<embed src="flowdefineoa1031LG.swf" quality="high" scale="exactfit" bgcolor="#ffffff" width="100%" height="100%" swLiveConnect=true id="flowdefineoa1031LG" name="flowdefineoa1031LG" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
<input type="button" value="保存" onclick='window.document.flowdefineoa1031LG.SetVariable("_root.savetype","get");'>
</body>
</html>