|
<script type="text/javascript" src="/collection/js/main.js"></script>
<script language="javascript">
function loadPage() {
var templateId = document.forms[0].templateId.value;
var formId = document.forms[0].formId.value;
var systemId = document.forms[0].systemId.value;
var sortname = document.forms[0].sortname.value;
var newform = document.forms[0].newform.value;
var formFiller=document.forms[0].FillerCore;
if (formId == "null")
formId = null;
if (systemId == "null")
systemId = null;
var servlet = "/getTemplate";
if (newform != "yes"){
servlet = "/getForm";
}
//var url = 'http://192.168.0.106:8080/collection';
formFiller.Init();
if (!formFiller.InitSucceed) {//表单初始化失败
alert("请单击“确定”关闭当前窗口!");
window.close();
return;
}
if(!formFiller){
alert("表单插件未装载成功,请确保插件是否安装或被浏览器拦截");
}
formFiller.ToolbarVisible = false;
// 通过表单ID或系统ID来查找并装载表单 |
|