HrmCareerApply.jsp
16.7 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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/systeminfo/init_wev8.jsp" %>
<%@ page import="weaver.general.Util" %>
<%@ page import="java.util.*" %>
<jsp:useBean id="RecordSet" class="weaver.conn.RecordSet" scope="page"/>
<jsp:useBean id="CareerInviteComInfo" class="weaver.hrm.career.CareerInviteComInfo" scope="page"/>
<jsp:useBean id="CountryComInfo" class="weaver.hrm.country.CountryComInfo" scope="page"/>
<jsp:useBean id="LanguageComInfo" class="weaver.systeminfo.language.LanguageComInfo" scope="page"/>
<jsp:useBean id="HrmCareerApplyComInfo" class="weaver.hrm.career.HrmCareerApplyComInfo" scope="session"/>
<jsp:useBean id="EduLevelComInfo" class="weaver.hrm.job.EducationLevelComInfo" scope="session" />
<jsp:useBean id="JobTitlesComInfo" class="weaver.hrm.job.JobTitlesComInfo" scope="page"/>
<HTML><HEAD>
<LINK href="/css/Weaver_wev8.css" type=text/css rel=STYLESHEET>
<SCRIPT language="javascript" src="/js/weaver_wev8.js"></script>
</head>
<%String method=Util.null2String(request.getParameter("method"));
if(method.equals("empty"))
{
HrmCareerApplyComInfo.resetSearchInfo();//清空数据
}
%>
<%
int detachable=Util.getIntValue(String.valueOf(session.getAttribute("detachable")),0);
String imagefilename = "/images/hdMaintenance_wev8.gif";
String titlename = SystemEnv.getHtmlLabelName(197,user.getLanguage())+" : "+SystemEnv.getHtmlLabelName(16251,user.getLanguage());
String needfav ="1";
String needhelp ="";
String subCompanyId = "";
if(detachable==1){
subCompanyId = Util.null2String(request.getParameter("subCompanyId"));
if(subCompanyId ==null || subCompanyId.equals("")){
subCompanyId =HrmCareerApplyComInfo.getSubCompanyId();
}
}
if(subCompanyId.equals("") && detachable==1 && method.equals(""))
{
String s="<TABLE class=viewform><colgroup><col width='10'><col width=''><TR class=Title><TH colspan='2'>"+SystemEnv.getHtmlLabelName(19010,user.getLanguage())+"</TH></TR><TR class=spacing><TD class=line1 colspan='2'></TD></TR><TR><TD></TD><TD><li>";
if(user.getLanguage()==8){s+="click left subcompanys tree,set the subcompany's salary item</li></TD></TR></TABLE>";}
else{s+=""+SystemEnv.getHtmlLabelName(21921,user.getLanguage())+"</li></TD></TR></TABLE>";}
out.println(s);
return;
}
%>
<BODY>
<%@ include file="/systeminfo/TopTitle_wev8.jsp" %>
<%@ include file="/systeminfo/RightClickMenuConent_wev8.jsp" %>
<%
RCMenu += "{"+SystemEnv.getHtmlLabelName(197,user.getLanguage())+",javascript:submitData(),_self} " ;
RCMenuHeight += RCMenuHeightStep ;
if(HrmUserVarify.checkUserRight("HrmCareerApplyAdd:Add", user)){
RCMenu += "{"+SystemEnv.getHtmlLabelName(82,user.getLanguage())+",/hrm/career/HrmCareerApplyAdd.jsp?subCompanyId="+subCompanyId+",_self} " ;
RCMenuHeight += RCMenuHeightStep ;
}
RCMenu += "{"+SystemEnv.getHtmlLabelName(589,user.getLanguage())+",/hrm/career/HrmCareerApply.jsp?method="+"empty"+",_self} " ;
RCMenuHeight += RCMenuHeightStep ;
RCMenu += "{"+SystemEnv.getHtmlLabelName(366,user.getLanguage())+",/hrm/career/HrmCareerInvite.jsp,_self} " ;
RCMenuHeight += RCMenuHeightStep ;
if(HrmUserVarify.checkUserRight("HrmCareerApplyAdd:Add", user)){
if(RecordSet.getDBType().equals("db2")){
RCMenu += "{"+SystemEnv.getHtmlLabelName(83,user.getLanguage())+",/systeminfo/SysMaintenanceLog.jsp?sqlwhere=where int(operateitem) ="+59+",_self} " ;
}
else{
RCMenu += "{"+SystemEnv.getHtmlLabelName(83,user.getLanguage())+",/systeminfo/SysMaintenanceLog.jsp?sqlwhere=where operateitem ="+59+",_self} " ;
}
RCMenuHeight += RCMenuHeightStep ;
}
%>
<%@ include file="/systeminfo/RightClickMenu_wev8.jsp" %>
<table width=100% height=100% border="0" cellspacing="0" cellpadding="0">
<colgroup>
<col width="10">
<col width="">
<col width="10">
<tr>
<td height="0" colspan="3"></td>
</tr>
<tr>
<td ></td>
<td valign="top">
<TABLE class=Shadow>
<tr>
<td valign="top">
<DIV>
<FORM NAME=frmain action="HrmCareerApplyOperation1.jsp" method=post>
<input class=inputstyle type=hidden name=subCompanyId value="<%=subCompanyId%>">
<TABLE class=ViewForm>
<COLGROUP>
<col width="20%">
<col width="30%">
<col width="20%">
<col width="30%">
<tbody>
<tr>
<th align=left colspan=6><%=SystemEnv.getHtmlLabelName(1869,user.getLanguage())%></th>
</tr>
<tr class=Spacing style="height:2px">
<td class=Line1 colspan=6></td>
</tr>
<tr>
<td><%=SystemEnv.getHtmlLabelName(413,user.getLanguage())%></td>
<TD class=Field ><INPUT class=inputstyle maxlength=10 size=10 name="Name" value="<%=HrmCareerApplyComInfo.getName()%>">
</TD>
<TD><%=SystemEnv.getHtmlLabelName(366,user.getLanguage())%></TD>
<TD class=Field>
<input class="wuiBrowser" id=careerinvite type=hidden name=careerinvite value=""
_url="/systeminfo/BrowserMain.jsp?url=/hrm/career/CareerInviteBrowser.jsp">
</TD>
</tr>
<TR style="height:1px"><TD class=Line colSpan=6></TD></TR>
<tr>
<td><%=SystemEnv.getHtmlLabelName(15671,user.getLanguage())%></td>
<td class=field>
<INPUT class="wuiBrowser" id=jobtitle type=hidden name=jobtitle value="<%=HrmCareerApplyComInfo.getJobTitle()%>"
_url="/systeminfo/BrowserMain.jsp?url=/hrm/jobtitles/JobTitlesBrowser.jsp"
_displayText="<%=JobTitlesComInfo.getJobTitlesname(HrmCareerApplyComInfo.getJobTitle())%>">
</td>
<td><%=SystemEnv.getHtmlLabelName(1855,user.getLanguage())%></td>
<td class=field>
<BUTTON class=calendar type="button" id=SelectDate onclick=getfromDate()></BUTTON>
<SPAN id=fromdatespan style="FONT-SIZE: x-small"><%=HrmCareerApplyComInfo.getFromDate()%></SPAN>
<input type="hidden" name="FromDate" value=<%=HrmCareerApplyComInfo.getFromDate()%>>-<BUTTON class=calendar type="button" id=SelectDate onclick=getendDate()></BUTTON>
<SPAN id=enddatespan style="FONT-SIZE: x-small"><%=HrmCareerApplyComInfo.getEndDate()%></SPAN>
<input type="hidden" name="EndDate" value=<%=HrmCareerApplyComInfo.getEndDate()%>>
</td>
</tr>
<TR style="height:1px"><TD class=Line colSpan=6></TD></TR>
<tr>
<td><%=SystemEnv.getHtmlLabelName(671,user.getLanguage())%></td>
<td class=Field>
<input class=inputstyle maxlength=10 size=5 name=CareerAgeFrom onKeyPress="ItemCount_KeyPress()" onBlur='checknumber1(this)' value="<%=HrmCareerApplyComInfo.getAgeFrom()==0?"":HrmCareerApplyComInfo.getAgeFrom()+""%>">-
<input class=inputstyle maxlength=10 size=5 name=CareerAgeTo onKeyPress="ItemCount_KeyPress()" onBlur='checknumber1(this)' value="<%=HrmCareerApplyComInfo.getAgeTo()==0?"":HrmCareerApplyComInfo.getAgeTo()+""%>">
</td>
<td><%=SystemEnv.getHtmlLabelName(818,user.getLanguage())%></td>
<TD class=field>
<INPUT class="wuiBrowser" type=hidden name=EducationLevel
_url="/systeminfo/BrowserMain.jsp?url=/hrm/educationlevel/EduLevelBrowser.jsp"
_displayText="<%=EduLevelComInfo.getEducationLevelname(HrmCareerApplyComInfo.getEducationLevel())%>">
</TD>
</tr>
<TR style="height:1px"><TD class=Line colSpan=6></TD></TR>
<tr>
<TD><%=SystemEnv.getHtmlLabelName(416,user.getLanguage())%></TD>
<TD class=Field>
<select class=inputstyle id=Sex name=Sex>
<option value=0 selected><%=SystemEnv.getHtmlLabelName(417,user.getLanguage())%></option>
<option value=1 selected><%=SystemEnv.getHtmlLabelName(418,user.getLanguage())%></option>
<option value="" selected></option>
</select>
</TD>
<td><%=SystemEnv.getHtmlLabelName(178,user.getLanguage())%></td>
<td class=Field>
<select class=inputstyle id=Category name=Category>
<option value="0" selected><%=SystemEnv.getHtmlLabelName(134,user.getLanguage())%></option>
<option value="1" selected><%=SystemEnv.getHtmlLabelName(1830,user.getLanguage())%></option>
<option value="2" selected><%=SystemEnv.getHtmlLabelName(1831,user.getLanguage())%></option>
<option value="3" selected><%=SystemEnv.getHtmlLabelName(1832,user.getLanguage())%></option>
<option value="" selected></option>
</select>
</td>
</tr>
<TR style="height:1px"><TD class=Line colSpan=6></TD></TR>
<tr>
<TD><%=SystemEnv.getHtmlLabelName(469,user.getLanguage())%></TD>
<TD class=Field>
<SELECT class=inputstyle id=MaritalStatus name=MaritalStatus>
<OPTION value=0 selected><%=SystemEnv.getHtmlLabelName(470,user.getLanguage())%></OPTION>
<OPTION value=1 selected><%=SystemEnv.getHtmlLabelName(471,user.getLanguage())%></OPTION>
<OPTION value=2 selected><%=SystemEnv.getHtmlLabelName(472,user.getLanguage())%> </OPTION>
<!-- <OPTION value=3 selected><%=SystemEnv.getHtmlLabelName(473,user.getLanguage())%></OPTION>-->
<OPTION value=""selected></OPTION>
</SELECT>
</TD>
<td><%=SystemEnv.getHtmlLabelName(1843,user.getLanguage())%></td>
<td class=Field>
<input class=inputstyle maxlength=10 size=7 name=SalaryNowFrom onKeyPress="ItemCount_KeyPress()" onBlur='checknumber1(this)' value="<%=HrmCareerApplyComInfo.getSalaryNowFrom()%>">-
<input class=inputstyle maxlength=10 size=7 name=SalaryNowTo onKeyPress="ItemCount_KeyPress()" onBlur='checknumber1(this)' value="<%=HrmCareerApplyComInfo.getSalaryNowTo()%>">
</td>
</tr>
<TR style="height:1px"><TD class=Line colSpan=6></TD></TR>
<tr>
<td><%=SystemEnv.getHtmlLabelName(1828,user.getLanguage())%></td>
<td class=Field>
<input class=inputstyle maxlength=25 size=25 name=RegResidentPlace value="<%=HrmCareerApplyComInfo.getRegResidentPlace()%>">
</td>
<td><%=SystemEnv.getHtmlLabelName(1844,user.getLanguage())%></td>
<td class=Field>
<input class=inputstyle maxlength=10 size=5 name=WorkTimeFrom onKeyPress="ItemNum_KeyPress()" onBlur='checknumber("WorkTimeFrom")' value="<%=HrmCareerApplyComInfo.getWorkTimeFrom()%>">-<input class=inputstyle maxlength=10 size=5 name=WorkTimeTo onKeyPress="ItemNum_KeyPress()" onBlur='checknumber("WorkTimeTo")' value="<%=HrmCareerApplyComInfo.getWorkTimeTo()%>">
</td>
</tr>
<TR style="height:1px"><TD class=Line colSpan=6></TD></TR>
<tr>
<TD><%=SystemEnv.getHtmlLabelName(803,user.getLanguage())%></TD>
<TD class=Field>
<input class=inputstyle maxlength=15 size=15 name=Major value="<%=HrmCareerApplyComInfo.getMajor()%>">
</TD>
<td><%=SystemEnv.getHtmlLabelName(1845,user.getLanguage())%></td>
<td class=Field>
<input class=inputstyle maxlength=10 size=5 name=SalaryNeedFrom onKeyPress="ItemCount_KeyPress()" onBlur='checknumber1(this)' value="<%=HrmCareerApplyComInfo.getSalaryNeedFrom()%>">-
<input class=inputstyle maxlength=10 size=5 name=SalaryNeedTo onKeyPress="ItemCount_KeyPress()" onBlur='checknumber1(this)' value="<%=HrmCareerApplyComInfo.getSalaryNeedTo()%>">
</td>
</tr>
<TR style="height:1px"><TD class=Line colSpan=6></TD></TR>
<tr>
<td><%=SystemEnv.getHtmlLabelName(17370,user.getLanguage())%></td>
<td class=Field> <input class=inputstyle maxlength=25 size=25 name=oldjob value="<%=HrmCareerApplyComInfo.getOldJob()%>">
</td>
<td></td>
</tr>
<TR style="height:1px"><TD class=Line colSpan=6></TD></TR>
<tr>
<th align=left colspan=6><%=SystemEnv.getHtmlLabelName(1889,user.getLanguage())%></th>
</tr>
<TR style="height:1px"><TD class=Line colSpan=6></TD></TR>
<tr>
<TD><%=SystemEnv.getHtmlLabelName(1833,user.getLanguage())%></TD>
<TD class=Field>
<input class=inputstyle maxlength=25 size=25 name=Degree value="<%=HrmCareerApplyComInfo.getDegree()%>">
<TD><%=SystemEnv.getHtmlLabelName(1870,user.getLanguage())%></TD>
<TD class=Field>
<input class=inputstyle maxlength=25 size=25 name=School value="<%=HrmCareerApplyComInfo.getSchool()%>">
</TD>
</tr>
<TR style="height:1px"><TD class=Line colSpan=6></TD></TR>
<tr>
<TD><%=SystemEnv.getHtmlLabelName(1871,user.getLanguage())%></TD>
<TD class=Field>
<input class=inputstyle maxlength=25 size=25 name=Company value="<%=HrmCareerApplyComInfo.getCompany()%>">
</TD>
<TD><%=SystemEnv.getHtmlLabelName(1837,user.getLanguage())%></TD>
<TD class=Field>
<input class=inputstyle maxlength=25 size=25 name=Policy >
</TD>
</tr>
<TR style="height:1px"><TD class=Line colSpan=6></TD></TR>
<tr>
<TD><%=SystemEnv.getHtmlLabelName(1840,user.getLanguage())%></TD>
<TD class=Field>
<input class=inputstyle maxlength=25 size=25 name=NativePlace value="<%=HrmCareerApplyComInfo.getNativePlace()%>">
</TD>
<TD><%=SystemEnv.getHtmlLabelName(1829,user.getLanguage())%></TD>
<TD class=Field>
<input class=inputstyle maxlength=25 size=25 name=ResidentPlace value="<%=HrmCareerApplyComInfo.getResidentPlace()%>">
</TD>
</tr>
<TR style="height:1px"><TD class=Line colSpan=6></TD></TR>
<tr>
<!-- <TD>国籍</TD>
<TD class=Field><BUTTON class=Browser id=SelectNationality onclick="onShowNationality()"></BUTTON>
<SPAN class=inputstyle id=nationalityspan>
<%=CountryComInfo.getCountrydesc(HrmCareerApplyComInfo.getNationality())%></SPAN>
<INPUT class=inputstyle id=nationality type=hidden name=Nationality value="<%=HrmCareerApplyComInfo.getNationality()%>">
</TD>
-->
<td><%=SystemEnv.getHtmlLabelName(15674,user.getLanguage())%></td>
<td class=Field>
<input class=inputstyle maxlength=10 size=5 name=WeightFrom onKeyPress="ItemNum_KeyPress()" onBlur='checknumber("WeightFrom")' value="<%=HrmCareerApplyComInfo.getWeightFrom()%>">-
<input class=inputstyle maxlength=10 size=5 name=WeightTo onKeyPress="ItemNum_KeyPress()" onBlur='checknumber("WeightTo")' value="<%=HrmCareerApplyComInfo.getWeightTo()%>">
</td>
<td><%=SystemEnv.getHtmlLabelName(231,user.getLanguage())%></td>
<td class=Field>
<input class=inputstyle id=DefaultLanguage type=text name=DefaultLanguage value="<%=HrmCareerApplyComInfo.getDefaultLanguage()%>">
</td>
</tr>
<TR style="height:1px"><TD class=Line colSpan=6></TD></TR>
<tr>
<TD><%=SystemEnv.getHtmlLabelName(1502,user.getLanguage())%></TD>
<TD class=Field>
<input class=inputstyle maxlength=30 size=30 name=Train value="<%=HrmCareerApplyComInfo.getTrain()%>">
</TD>
<td><%=SystemEnv.getHtmlLabelName(1826,user.getLanguage())%></td>
<td class=Field>
<input class=inputstyle maxlength=10 size=5 name=HeightFrom onKeyPress="ItemNum_KeyPress()" onBlur='checknumber("HeightFrom")' value="<%=HrmCareerApplyComInfo.getHeightFrom()%>">-<input class=inputstyle maxlength=10 size=5 name=HeightTo
onKeyPress="ItemNum_KeyPress()" onBlur='checknumber("HeightTo")' value="<%=HrmCareerApplyComInfo.getHeightTo()%>">
</td>
</tr>
<TR style="height:1px"><TD class=Line colSpan=6></TD></TR>
</TABLE>
</FORM>
</td>
</tr>
</TABLE>
</td>
<td></td>
</tr>
<tr>
<td height="0" colspan="3"></td>
</tr>
</table>
<SCRIPT language="javascript">
function OnSubmit(){
document.frmain.submit();
}
function submitData() {
frmain.submit();
}
</script>
<script language=vbs>
sub onShowNationality()
id = window.showModalDialog("/systeminfo/BrowserMain.jsp?url=/hrm/country/CountryBrowser.jsp")
if (Not IsEmpty(id)) then
if id(0)<> 0 then
nationalityspan.innerHtml = id(1)
frmain.nationality.value=id(0)
else
nationalityspan.innerHtml = ""
frmain.nationality.value=""//vlale为空
end if
end if
end sub
sub onShowDefaultLanguage()
id = window.showModalDialog("/systeminfo/language/LanguageBrowser.jsp")
if (Not IsEmpty(id)) then
if id(0)<> 0 then
defaultlanguagespan.innerHtml = id(1)
frmain.defaultlanguage.value=id(0)
else
defaultlanguagespan.innerHtml = ""
frmain.defaultlanguage.value=""
end if
end if
end sub
sub onShowJobtitle()
id = window.showModalDialog("/systeminfo/BrowserMain.jsp?url=/hrm/jobtitles/JobTitlesBrowser.jsp")
if (Not IsEmpty(id)) then
if id(0)<> 0 then
jobtitlespan.innerHtml = id(1)
frmain.jobtitle.value=id(0)
else
jobtitlespan.innerHtml = ""
frmain.jobtitle.value=""
end if
end if
end sub
sub onShowEduLevel(inputspan,inputname)
id = window.showModalDialog("/systeminfo/BrowserMain.jsp?url=/hrm/educationlevel/EduLevelBrowser.jsp")
if (Not IsEmpty(id)) then
if id(0)<> 0 then
inputspan.innerHtml = id(1)
inputname.value=id(0)
else
inputspan.innerHtml = ""
inputname.value=""
end if
end if
end sub
sub onShowCareerInvite(spanname, inputname)
id = window.showModalDialog("/systeminfo/BrowserMain.jsp?url=/hrm/career/CareerInviteBrowser.jsp")
if (Not IsEmpty(id)) then
if id(0)<> 0 then
//careerinvitespan.innerHtml = id(3)
inputname.value=id(0)
spanname.innerHtml = id(1)
else
inputname.value=""
spanname.innerHtml = ""
end if
end if
end sub
</script>
</BODY>
<SCRIPT language="javascript" src="/js/datetime_wev8.js"></script>
<SCRIPT language="javascript" src="/js/JSDateTime/WdatePicker_wev8.js"></script>
</HTML>