function initForm() {
/*初始化OFFICE控件*/
OfficeControlOpen();
//初始化年份
if (document.getElementById('oafdFileyear').value == "") {
document.getElementById('oafdFileyear').value = new Date().getFullYear();
}
var uuid = "";
if (uuid != "") {
var url = "/risen/oa/attachment/download.action?oaatmUuid=" + uuid;
document.all.item("TANGER_OCX").OpenFromURL(url, false, false);
} else { //如果没有office文件,加载word模版
//insertTemplate("");
var url = window.location.protocol + "//" + window.location.host + "/risen/template/word.doc";
document.all.item("TANGER_OCX").OpenFromURL(url, false, false);
}
getorgConfigJsonValue(orgConfigJson); //获取配置信息
}
这里报错,完全懵了,路径引用都是对的啊