Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DHAS
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thitichaipun Wutthisak
DHAS
Commits
de481bb5
Commit
de481bb5
authored
Dec 08, 2020
by
Ratchanok
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[10344] PI พนักงานเข้าใหม่ - ชื่อกลาง
parent
f996e71d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
59 additions
and
51 deletions
+59
-51
PRU339.xml
XML/DBXML/PERSONAL/PRU339.xml
+2
-0
PRU039.jsp
hrAppWeb.war/PERSONAL/PRU039.jsp
+2
-12
PRU339.jsp
hrAppWeb.war/PERSONAL/PRU339.jsp
+55
-39
No files found.
XML/DBXML/PERSONAL/PRU339.xml
View file @
de481bb5
...
...
@@ -7,6 +7,8 @@
<FIELD>
efname
</FIELD>
<FIELD>
lname
</FIELD>
<FIELD>
elname
</FIELD>
<FIELD>
mname
</FIELD>
<FIELD>
emname
</FIELD>
<FIELD>
status
</FIELD>
<FIELD>
picture
</FIELD>
<FIELD>
id_people
</FIELD>
...
...
hrAppWeb.war/PERSONAL/PRU039.jsp
View file @
de481bb5
...
...
@@ -567,22 +567,12 @@
<td
width=
"1%"
><
%=
screen
.
getInput
("
efname
")%
></td>
<td
nowrap
>
<
%=
screen
.
getLabel
("
emname
")%
>
<
%=
screen
.
getInput
("
emname
")%
>
<
%=
screen
.
getLabel
("
elname
")%
>
<
%=
screen
.
getInput
("
elname
")%
></td>
<td
align=
"center"
nowrap
><span
swlang
code=
"SW000744"
>
Insert Picture
</span>
</td>
</tr>
<
%
screen
.
referLangOn
();
%
>
<tr>
<td
colspan=
"4"
class=
"blankspace"
>
</td>
</tr>
<tr>
<td
class=
"blankspace"
>
</td>
<td
class=
"blankspace"
></td>
<td
class=
"blankspace"
>
</td>
<td
align=
"center"
nowrap
>
<!-- <script language="javascript">swapLang("Insert Picture");</script> -->
<span
swlang
code=
"SW000744"
>
Insert Picture
</span>
</td>
</tr>
<tr>
<td
class=
"blankspace"
>
</td>
<td
colspan=
"2"
class=
"blankspace"
>
</td>
<td
colspan=
"3"
class=
"blankspace"
>
</td>
<td
align=
"center"
nowrap
class=
"blankspace"
><
%=
screen
.
getInput
("
picture
")
%
></td>
</tr>
<tr>
...
...
hrAppWeb.war/PERSONAL/PRU339.jsp
View file @
de481bb5
...
...
@@ -681,8 +681,12 @@ function updateRecord(){
function
chkBlackListName
(){
with
(
document
.
cscform
){
var
fname
=
__fname
.
value
;
var
mname
=
__mname
.
value
;
var
lname
=
__lname
.
value
;
var
filter
=
"fname = '"
+
fname
+
"' and lname = '"
+
lname
+
"'"
;
if
(
mname
!=
""
){
filter
+=
" and mname = '"
+
mname
+
"'"
;
}
blacklistdetail
(
filter
);
}
}
...
...
@@ -1192,7 +1196,7 @@ function updateRecord(){
<td>
<table
cellpadding=
"0"
cellspacing=
"0"
class=
"inframe"
>
<tr>
<td
colspan=
"
5
"
class=
"blankspace"
></td>
<td
colspan=
"
4
"
class=
"blankspace"
></td>
</tr>
<tr>
<td
align=
"right"
class=
"columnlabel"
><
%=
screen
.
getLabel
("
employeeid
")%
>
</td>
...
...
@@ -1201,8 +1205,7 @@ function updateRecord(){
<!-- <input name="__employeeid" onblur="chkEmployeeID();" type="Text" size="15" maxlength="15" alt="Employee ID" value="<%=screen.getDataLabel("employeeid")%>" onmousemver="toolTip('Employee ID')"> -->
<
%=
screen
.
getLabel
("
status
")%
>
<
%=
listboxStandard
.
process
()%
>
</td>
<td
width=
"85"
rowspan=
"3"
align=
"center"
valign=
"top"
nowrap
><div>
<a
href=
"javascript:showpic(document.employeePic.src);"
><img
src=
"<%=screen.getRecord().getViewUrl("
picture
")
%
>
" name="employeePic" width="85" height="85" border="1" id="employeePic" onload="resizeImg(this,85,85);">
</a>
</div></td>
<td
width=
"120"
></td>
<td
width=
"115"
rowspan=
"3"
align=
"center"
valign=
"top"
nowrap
><div>
<a
href=
"javascript:showpic(document.employeePic.src);"
><img
src=
"<%=screen.getRecord().getViewUrl("
picture
")
%
>
" name="employeePic" width="105" height="105" border="1" id="employeePic" onload="resizeImg(this,105,105);">
</a>
</div></td>
</tr>
<tr>
<!--<td align="right" class="columnlabel"><span swlang code="SW012078">Assign Employee ID</span> </td>
...
...
@@ -1214,10 +1217,11 @@ function updateRecord(){
</td>-->
<td
align=
"right"
class=
"columnlabel"
><
%=
screen
.
getLabel
("
sex
")%
>
</td>
<td
nowrap
class=
"vertical-center"
><
%=
screen
.
getInput
("
sex
")%
></td>
<td
nowrap
><div>
</div></td>
</tr>
<
%
screen
.
referLangOff
();
%
>
<tr>
<td
align=
"right"
class=
"columnlabel"
><
%=
screen
.
getLabel
("
fname
")%
>
</td>
<td
align=
"right"
class=
"columnlabel"
><
%=
screen
.
getLabel
("
mprefix
","
tdesc
")%
>
</td>
<td
width=
"1%"
><
%//=
screen
.
getInput
("
emp_prefix
")%
>
<
%
ListBox
listboxemp_prefix =
new
ListBox
();
...
...
@@ -1229,47 +1233,59 @@ function updateRecord(){
//
listboxemp_prefix
.
setDisable
("
false
");
out
.
println
(
listboxemp_prefix
.
process
());
%
>
<input
type=
"hidden"
name=
"__emp_prefix"
value=
"<%=screen.getDataLabel("
emp_prefix
")%
>
">
</td>
<
%
FieldManager
fmlname =
screen.getRecord().getField("lname");
PropertyField
propertieslname =
(PropertyField)fmlname.getProperty().clone();
String
tmplname =
(String)propertieslname.get("ONBLUR");
if
(
tmplname =
=
null
)
{
propertieslname
.
put
("
ONBLUR
",
"
chkBlackListName
();");
}
else
if
(
tmplname
.
indexOf
("
chkBlackListName
()")==
-1
)
{
propertieslname
.
put
("
ONBLUR
",
tmplname
+"
chkBlackListName
();");
}
fmlname
.
setProperty
(
propertieslname
);
%
>
<td
nowrap
><div>
<
%=
screen
.
getInput
("
fname
")%
>
<
%=
screen
.
getInput
("
lname
")%
><
/div></td>
<input
type=
"hidden"
name=
"__emp_prefix"
value=
"<%=screen.getDataLabel("
emp_prefix
")%
>
">
</td>
<
%
FieldManager
fmlname =
screen.getRecord().getField("lname");
PropertyField
propertieslname =
(PropertyField)fmlname.getProperty().clone();
String
tmplname =
(String)propertieslname.get("ONBLUR");
if
(
tmplname =
=
null
)
{
propertieslname
.
put
("
ONBLUR
",
"
chkBlackListName
();");
}
else
if
(
tmplname
.
indexOf
("
chkBlackListName
()")==
-1
)
{
propertieslname
.
put
("
ONBLUR
",
tmplname
+"
chkBlackListName
();");
}
fmlname
.
setProperty
(
propertieslname
);
%
>
<td
nowrap
><div>
</div></td>
</tr>
<tr>
<td
align=
"right"
class=
"columnlabel"
><
%=
screen
.
getLabel
("
efname
")%
>
</td>
<td
align=
"right"
class=
"columnlabel"
><
%=
screen
.
getLabel
("
mprefix
","
edesc
")%
>
</td>
<td
width=
"1%"
>
<
%
if
(
mprefixedesc
.
equals
("")){%
>
<input
name=
"MPREFIXEDESC"
type=
"text"
value=
"<%=firstprefix %>"
size=
"5"
readonly
>
<
%}
else
{%
>
<input
name=
"MPREFIXEDESC"
type=
"text"
value=
"<%=mprefixedesc%>"
size=
"5"
readonly
>
<
%}%
>
</td>
<td
nowrap
><div>
<
%=
screen
.
getInput
("
efname
")%
>
<
%=
screen
.
getInput
("
elname
")%
></div></td>
<
%
if
(
mprefixedesc
.
equals
("")){%
>
<input
name=
"MPREFIXEDESC"
type=
"text"
value=
"<%=firstprefix %>"
size=
"10"
readonly
>
<
%}
else
{%
>
<input
name=
"MPREFIXEDESC"
type=
"text"
value=
"<%=mprefixedesc%>"
size=
"10"
readonly
>
<
%}%
>
</td>
<td
nowrap
><div>
</div></td>
<td
align=
"center"
nowrap
><span
swlang
code=
"SW000744"
>
Insert Picture
</span>
</td>
<td
class=
"blankspace"
>
</td>
</tr>
<tr>
<td
align=
"right"
class=
"columnlabel"
><
%=
screen
.
getLabel
("
fname
")%
>
</td>
<td
width=
"1%"
><
%=
screen
.
getInput
("
fname
")%
></td>
<td
nowrap
>
<
%=
screen
.
getLabel
("
mname
")%
>
<
%=
screen
.
getInput
("
mname
")%
>
<
%=
screen
.
getLabel
("
lname
")%
>
<
%=
screen
.
getInput
("
lname
")%
></td>
<td
align=
"center"
nowrap
class=
"blankspace"
><
%=
screen
.
getInput
("
picture
")
%
></td>
</tr>
<tr>
<td
align=
"right"
class=
"columnlabel"
><
%=
screen
.
getLabel
("
efname
")%
>
</td>
<td
width=
"1%"
><
%=
screen
.
getInput
("
efname
")%
></td>
<td
nowrap
>
<
%=
screen
.
getLabel
("
emname
")%
>
<
%=
screen
.
getInput
("
emname
")%
>
<
%=
screen
.
getLabel
("
elname
")%
>
<
%=
screen
.
getInput
("
elname
")%
></td>
</tr>
<
%
screen
.
referLangOn
();
%
>
<tr>
<td
align=
"right"
class=
"columnlabel <%if(!searchdata.equalsIgnoreCase("
1
")){%
>
hidden
<
%}%
>
">
<span
swlang
code=
"SW011725"
>
Employee ID Type
</span>
*
</td>
<td
colspan =
"2"
class=
"<%if(!searchdata.equalsIgnoreCase("
1
")){%
>
hidden
<
%}%
>
">
<input
type=
"radio"
id=
"rdoO"
name=
"empcon"
value=
"Old"
<%
if
(
empcon
.
equalsIgnoreCase
("
Old
")){%
>
checked
<
%}%
>
/>
<span
swlang
code=
"SW011726"
>
Old Employeeid
</span>
<input
type=
"radio"
id=
"rdoN"
name=
"empcon"
value=
"New"
<%
if
(
empcon
.
equalsIgnoreCase
("
New
")
||
!
searchdata
.
equalsIgnoreCase
("
1
")){%
>
checked
<
%}%
>
/>
<span
swlang
code=
"SW011727"
>
New Employeeid
</span>
</td>
<
%
if
(!
searchdata
.
equalsIgnoreCase
("
1
")){%
><td
colspan =
"3"
>
</td><
%}%
>
<td
align=
"center"
nowrap
class=
"blankspace"
><
%=
screen
.
getInput
("
picture
")
%
></td>
<td
class=
"blankspace"
>
</td>
<td
align=
"right"
class=
"columnlabel <%if(!searchdata.equalsIgnoreCase("
1
")){%
>
hidden
<
%}%
>
">
<span
swlang
code=
"SW011725"
>
Employee ID Type
</span>
*
</td>
<td
colspan =
"2"
class=
"<%if(!searchdata.equalsIgnoreCase("
1
")){%
>
hidden
<
%}%
>
">
<input
type=
"radio"
id=
"rdoO"
name=
"empcon"
value=
"Old"
<%
if
(
empcon
.
equalsIgnoreCase
("
Old
")){%
>
checked
<
%}%
>
/>
<span
swlang
code=
"SW011726"
>
Old Employeeid
</span>
<input
type=
"radio"
id=
"rdoN"
name=
"empcon"
value=
"New"
<%
if
(
empcon
.
equalsIgnoreCase
("
New
")
||
!
searchdata
.
equalsIgnoreCase
("
1
")){%
>
checked
<
%}%
>
/>
<span
swlang
code=
"SW011727"
>
New Employeeid
</span>
</td>
<
%
if
(!
searchdata
.
equalsIgnoreCase
("
1
")){%
><td
colspan =
"3"
>
</td><
%}%
>
<td
class=
"blankspace"
>
</td>
</tr>
<tr>
<td
colspan=
"5"
class=
"blankspace"
>
</td>
...
...
@@ -1298,7 +1314,7 @@ function updateRecord(){
<input
name=
"MJOBCODE_LEVEL@TDESC"
type=
"text"
readonly
size=
"33"
value=
"<%=mjobcode_level_tdesc%>"
></td>
</tr>
<tr>
<td
class=
"columnlabel"
><
%=
screen
.
getLabel
("
pl
")%
>
</td>
<td
class=
"columnlabel"
><
%=
screen
.
getLabel
("
pl
")%
>
</td>
<td><
%=
screen
.
getInput
("
pl
")%
>
<input
name=
"MPERSONALLEVEL@TDESC"
type=
"text"
readonly
size=
"30"
value=
"<%=mpersonalleveldesc%>"
></td>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment