You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
2.8 KiB
Plaintext
70 lines
2.8 KiB
Plaintext
11 months ago
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<title>转入表单设计器</title>
|
||
|
<script type="text/javascript" src="../../Scripts/bootstrap/js/jquery.min.js"></script>
|
||
|
<script type="text/javascript" src="../../Scripts/bootstrap/js/bootstrap.min.js"></script>
|
||
|
<script type="text/javascript" src="../../Scripts/QueryString.js"></script>
|
||
|
<script type="text/javascript" src="../../Scripts/config.js"></script>
|
||
|
<script type="text/javascript" src="../../Comm/Gener.js"></script>
|
||
|
<script src="../CCFlowEnum.js"></script>
|
||
|
<script type="text/javascript" language="javascript">
|
||
|
|
||
|
//页面启动函数.
|
||
|
$(function () {
|
||
|
|
||
|
$("#Msg").html("<h1><img src='../../Img/loading.gif' /> 正在加载请稍后.... </h1>");
|
||
|
|
||
|
var frmID = GetQueryString("FK_MapData");
|
||
|
if (frmID == null || frmID == undefined || frmID == "null")
|
||
|
frmID = GetQueryString("FrmID")
|
||
|
var url = GetUrl(frmID);
|
||
|
|
||
|
SetHref(url); // "../FoolFormDesigner/Designer.htm?IsFirst=1&FK_MapData" + frmID + "&s=" + Math.random();
|
||
|
return;
|
||
|
$("#Msg").html("<font color=blue>" + data + "</font>");
|
||
|
return;
|
||
|
|
||
|
});
|
||
|
|
||
|
function GetUrl(frmID) {
|
||
|
|
||
|
var md = new Entity("BP.Sys.MapData", frmID);
|
||
|
|
||
|
if (md.EntityType == EntityType.SingleFrm) {
|
||
|
if (md.FrmType == FrmType.FreeFrm)
|
||
|
return "../../Comm/En.htm?EnName=BP.WF.Template.Frm.MapFrmFree&No=" + frmID + "&m=" + Math.random();
|
||
|
|
||
|
if (md.FrmType == FrmType.ExcelFrm)
|
||
|
return "../../Comm/En.htm?EnName=BP.WF.Template.Frm.MapFrmExcel&No=" + frmID + "&m=" + Math.random();
|
||
|
|
||
|
if (md.FrmType == FrmType.Url)
|
||
|
return "../../Comm/En.htm?EnName=BP.WF.Template.Frm.MapDataURL&No=" + frmID + "&m=" + Math.random();
|
||
|
|
||
|
return "../../Comm/En.htm?EnName=BP.WF.Template.Frm.MapFrmFool&No=" + frmID + "&m=" + Math.random();
|
||
|
}
|
||
|
if (md.EntityType == EntityType.FrmBill)
|
||
|
return "../../Comm/En.htm?EnName=BP.CCBill.FrmBill&No=" + frmID + "&m=" + Math.random();
|
||
|
|
||
|
if (md.EntityType == EntityType.FrmDict)
|
||
|
return "../../Comm/En.htm?EnName=BP.CCBill.FrmDict&No=" + frmID + "&m=" + Math.random();
|
||
|
|
||
|
if (md.EntityType == EntityType.EntityTree)
|
||
|
return "../../Comm/En.htm?EnName=BP.CCBill.FrmBill&No=" + frmID + "&m=" + Math.random();
|
||
|
|
||
|
return "err@没有判断的表单转入类型" + md.FrmType;
|
||
|
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<br />
|
||
|
<br />
|
||
|
<br />
|
||
|
<center>
|
||
|
|
||
|
<div id="Msg"> </div>
|
||
|
</center>
|
||
|
</body>
|
||
|
</html>
|