modelMenuAdd.jsp
5.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/systeminfo/init_wev8.jsp" %>
<%@ taglib uri="/WEB-INF/weaver.tld" prefix="wea"%>
<%@ include file="/systeminfo/RightClickMenuConent_wev8.jsp" %>
<%
String formRightStr = "FormManage:All";
int isFromMode = Util.getIntValue(request.getParameter("isFromMode"),0);
if(isFromMode==1){
formRightStr = "FORMMODEFORM:ALL";
}
if(!HrmUserVarify.checkUserRight(formRightStr, user))
{
response.sendRedirect("/notice/noright.jsp");
return;
}
%>
<%
String parmes = Util.null2String(request.getParameter("parmes"));
RCMenu += "{"+SystemEnv.getHtmlLabelName(16631,user.getLanguage())+",javascript:addmenu(),_self}" ;
RCMenuHeight += RCMenuHeightStep ;
%>
<%@ include file="/systeminfo/RightClickMenu_wev8.jsp" %>
<html>
<head>
<LINK href="/css/Weaver_wev8.css" type=text/css rel=STYLESHEET>
<link rel="stylesheet" type="text/css" href="/js/jquery-autocomplete/jquery.autocomplete_wev8.css" />
<link rel="stylesheet" type="text/css" href="/js/jquery-autocomplete/browser_wev8.css" />
<link type="text/css" href="/js/tabs/css/e8tabs1_wev8.css" rel="stylesheet" />
<script src="/js/tabs/jquery.tabs.extend_wev8.js"></script>
<link rel="stylesheet" href="/css/ecology8/request/searchInput_wev8.css" type="text/css" />
<script type="text/javascript" src="/js/ecology8/request/searchInput_wev8.js"></script>
<style type="text/css">
.tablenameCheckLoading{
background: url('/images/messageimages/loading_wev8.gif') no-repeat;
padding-left: 18px;
}
.tablenameCheckSuccess{
background: url('/images/BacoCheck_wev8.gif') no-repeat;
padding-left: 18px;
background-position: left 2px;
}
.tablenameCheckError{
background: url('/images/BacoCross_wev8.gif') no-repeat;
padding-left: 18px;
color: red;
background-position: left 2px;
}
</style>
<%
String navName = SystemEnv.getHtmlLabelName(23033,user.getLanguage());
%>
<script type="text/javascript">
var parentWin = null;
var dialog = null;
try{
parentWin = parent.getParentWindow(window);
dialog = parent.getDialog(window);
}catch(e){}
$(function(){
$('.e8_box').Tabs({
getLine:1,
mouldID:"<%= MouldIDConst.getID("portal")%>",
iframe:"tabcontentframe",
staticOnLoad:true,
objName:"<%=navName%>"
});
});
</script>
</head>
<body>
<div class="e8_box demo2">
<div class="e8_boxhead">
<div class="div_e8_xtree" id="div_e8_xtree"></div>
<div class="e8_tablogo" id="e8_tablogo"></div>
<div class="e8_ultab">
<div class="e8_navtab" id="e8_navtab">
<span id="objName"></span>
</div>
<div>
<div id="rightBox" class="e8_rightBox">
</div>
</div>
</div>
</div>
<div class="tab_box">
<div>
<table width=100% height=100% border="0" cellspacing="0" cellpadding="0">
<tr><td valign="top">
<TABLE class=Shadow>
<tr><td valign="top"><font color=red></font>
<wea:layout type="twoCol">
<wea:group context='<%=SystemEnv.getHtmlLabelName(1361,user.getLanguage())%>'>
<wea:item>
<table class="LayoutTable" style="width: 100%; table-layout: fixed;">
<tbody><tr>
<td class="e8_tblForm_field">
<div style="background-color:#FFF;padding-left:17%">
<div style="height:30px"></div>
<input type=radio name=menutype id=menutype value="1" checked/>
<%=SystemEnv.getHtmlLabelName(33675,user.getLanguage())%><br/>
<div style="height:30px"></div>
<input type=radio name=menutype id=menutype value="2" />
<%=SystemEnv.getHtmlLabelName(33676,user.getLanguage())%><br/>
<div style="height:50px"></div>
</div>
</td>
</tr>
</tbody>
</table>
</wea:item>
</wea:group>
</wea:layout>
</td></tr>
</TABLE>
</td></tr>
</table>
</div>
</div>
</div>
<div id="zDialog_div_bottom" class="zDialog_div_bottom" style="padding:0!important;">
<div style="padding: 5px 0;">
<wea:layout needImportDefaultJsAndCss="false">
<wea:group context="" attributes="{\"groupDisplay\":\"none\"}">
<wea:item type="toolbar">
<input type="button" value="<%=SystemEnv.getHtmlLabelName(16631,user.getLanguage()) %>" id="zd_btn_cancle" class="zd_btn_cancle" onclick="javascript:addmenu()" style="width: 60px!important;">
</wea:item>
</wea:group>
</wea:layout>
</div>
</div>
<style type="text/css">
.tab_box {
bottom:30px;
}
</style>
</body>
</html>
<SCRIPT language="javascript">
function showHelp()
{
var pathKey = "workflow/form/editform.jsp";
var operationPage = "http://help.e-cology.com.cn/help/RemoteHelp.jsp";
var screenWidth = window.screen.width*1;
var screenHeight = window.screen.height*1;
window.open(operationPage+"?pathKey="+pathKey,"_blank","top=0,left="+(screenWidth-800)/2+",height="+(screenHeight-90)+",width=800,status=no,scrollbars=yes,toolbar=yes,menubar=no,location=no");
}
jQuery(document).ready(function(){
jQuery(window).resize();
})
function addmenu(){
var parmes = escape("<%=parmes%>");
var menutype = $("input[name='menutype']:checked").val();
var url = "/formmode/menu/CreateMenuNew.jsp?menutype="+menutype+"&menuaddress="+parmes;
window.open(url);
dialog.closeByHand();
}
</script>