1 Star 0 Fork 28

jieketao-eva/discoverx2-webapp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
wizard_new.jsp 3.01 KB
一键复制 编辑 原始数据 按行查看 历史
腾硕软件 提交于 2015-04-03 00:21 . 初始提交
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page contentType="text/html; charset=GBK" language="java"%>
<%@page import="com.tansuosoft.discoverx.app.NewWizardTreeViewRender"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@include file="/jspinit.jsp" %>
<meta http-equiv="content-type" content="text/html; charset=GBK" />
<title>发起工作</title>
<%=jspContext.outputCss("common.css",pathContext.getThemePath()) %>
<%=jspContext.outputCss("wizard.css",pathContext.getThemePath()) %>
<%=jspContext.outputCss("treeview.css",pathContext.getThemePath()) %>
</head>
<body>
<div id="wizcontainer">
<div id="wiztitle">
<div class="wiztl"></div>
<div id="wizcaptioncontainer">
<div id="wizcaption"></div>
<div id="wizclose" onclick="Wizard.close();" onmouseover="Wizard.cmx(this,'h');" onmouseout="Wizard.cmx(this);" onmousedown="Wizard.cmx(this,'d');" onmouseup="Wizard.cmx(this,'h');"></div>
</div>
<div class="wiztr"></div>
</div>
<div id="wizcontainerouter">
<div id="wizbl"></div>
<div id="wizcontainerinner">
<div id="wizheader"></div>
<div id="wizbody">
<div id="apptvc" style="overflow:auto;height:100%;"></div>
</div>
<div id="wizfooter">
<button id="wizbtn_prev" type="button" class="hided" onclick="Wizard.prev();">上一步</button>
<button id="wizbtn_next" type="button" class="hided" onclick="Wizard.next();">下一步</button>
<button id="wizbtn_done" type="button" class="hided" onclick="Wizard.done();">完成</button>
<button id="wizbtn_cancel" type="button" onclick="Wizard.close();">取消</button>
</div>
</div>
<div id="wizbr"></div>
<div id="wizbb"></div>
</div>
</div>
<%=jspContext.outputJs("common.js",pathContext.getCommonJSPath()) %>
<%=jspContext.outputJs("dragdrop.js",pathContext.getFrameJSPath()) %>
<%=jspContext.outputJs("wizard.js",pathContext.getFrameJSPath()) %>
<%=jspContext.outputJs("treeview.js",pathContext.getFrameJSPath()) %>
<%@include file="/jsinit.jsp" %>
<script type="text/javascript" language="javascript">
EVENT.add(window, 'load', function() {
var descriptions=new Array(1);
descriptions[0]='要发起一个工作,请展开或单击相应工作项分支。工作项分为<strong>流程</strong>(即需要审批的)事务和可直接创建或发布的<strong>登记</strong>信息。';
Wizard.init({ step: 1,stepDescriptions:descriptions});
Wizard.setCaption('发起工作');
var apptvc=document.getElementById('apptvc');
apptvc.style.width=Wizard.EL.body.offsetWidth+'px';
var tvroot=createTreeView({<%=new NewWizardTreeViewRender().render(jspContext)%>});
var t=TreeViewRenderTemplet.create({labelClick:tviclk, showRoot:true, availWidth:(Wizard.EL.body.offsetWidth-18),iconPath:INFO.path.themeImagesPath});
apptvc.innerHTML=tvroot.render(t);
Wizard.EL.done.style.visibility='hidden';
});
function tviclk(tvi){
if(tvi.data && tvi.data.alias){
window.open(INFO.path.appRoot+'dispatch?fx=new&config='+tvi.data.alias,'_blank');
Wizard.close();
}
}
new wizardDraggable(parent.document.getElementById("_newwizard"));
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/jieketao/discoverx2-webapp.git
git@gitee.com:jieketao/discoverx2-webapp.git
jieketao
discoverx2-webapp
discoverx2-webapp
master

搜索帮助