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
a5496baa
Commit
a5496baa
authored
Feb 01, 2021
by
peema_phongam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update : interview manger / Ex / seniorEx
parent
43b88a9f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
94 additions
and
21 deletions
+94
-21
SYSTEMCODE.xml
XML/CONFIGXML/SYSTEMCODE.xml
+25
-1
MREFEREE.xml
XML/PROTABLEXML/MREFEREE.xml
+1
-1
APS_FORM_INTERVIEW_DHAS_RESULT.jsp
hrAppWeb.war/APS_FORM_INTERVIEW_DHAS_RESULT.jsp
+0
-0
APS_FORM_INTERVIEW_DHAS_RESULT.Controller.js
...PS_INTERVIEW/APS_FORM_INTERVIEW_DHAS_RESULT.Controller.js
+12
-2
ListCandidate.Controller.js
....war/EMPVIEW/JS/APS_INTERVIEW/ListCandidate.Controller.js
+1
-1
CommitteeSetupForm.jsp
hrAppWeb.war/RECRUIT/CommitteeSetupForm.jsp
+11
-4
SearchCommittee.html
hrAppWeb.war/RECRUIT/DIALOGTEMPLATE/SearchCommittee.html
+6
-3
CommitteeSetup.Controller.js
...ar/RECRUIT/js/CommitteeSetup/CommitteeSetup.Controller.js
+38
-9
API_EMPVIEW.jar
hrAppWeb.war/WEB-INF/lib/API_EMPVIEW.jar
+0
-0
No files found.
XML/CONFIGXML/SYSTEMCODE.xml
View file @
a5496baa
...
...
@@ -18254,7 +18254,31 @@ Terminate,พนักงานพ้นสภาพ]]>
<![CDATA[1]]>
</KEY>
<VALUE>
<![CDATA[ประธาน,ประธาน]]>
<![CDATA[ประธาน(ผู้บริหาร/ผู้จัดการฝ่าย),ประธาน(ผู้บริหาร/ผู้จัดการฝ่าย)]]>
</VALUE>
</DATA>
<DATA>
<KEY>
<![CDATA[2]]>
</KEY>
<VALUE>
<![CDATA[หน.ผ./ผจก.ฝ่ายบุคคล,หน.ผ./ผจก.ฝ่ายบุคคล]]>
</VALUE>
</DATA>
<DATA>
<KEY>
<![CDATA[3]]>
</KEY>
<VALUE>
<![CDATA[ผู้บริหาร BU,ผู้บริหาร BU]]>
</VALUE>
</DATA>
<DATA>
<KEY>
<![CDATA[4]]>
</KEY>
<VALUE>
<![CDATA[Senior Ex Director/COO BU,Senior Ex Director/COO BU]]>
</VALUE>
</DATA>
</REFEREE_LEVEL>
...
...
XML/PROTABLEXML/MREFEREE.xml
View file @
a5496baa
...
...
@@ -289,7 +289,7 @@
<DESC_ENG>
REFEREE_LEVEL
</DESC_ENG>
<DESC_THAI>
สถานะการประเมิน
</DESC_THAI>
<DEFAULTVALUE>
0
</DEFAULTVALUE>
<COMPONENT
type=
"
radio
"
>
<COMPONENT
type=
"
list
"
>
<ALT_ENG>
กำหนดสถานะการประเมิน
</ALT_ENG>
<ALT_THAI>
กำหนดสถานะการประเมิน
</ALT_THAI>
<VALIDCODE>
REFEREE_LEVEL
</VALIDCODE>
...
...
hrAppWeb.war/APS_FORM_INTERVIEW_DHAS_RESULT.jsp
View file @
a5496baa
This diff is collapsed.
Click to expand it.
hrAppWeb.war/EMPVIEW/JS/APS_INTERVIEW/APS_FORM_INTERVIEW_DHAS_RESULT.Controller.js
View file @
a5496baa
...
...
@@ -91,7 +91,9 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_RESULT', ['$
hr
:
''
,
ex
:
''
,
seniorEx
:
''
}
},
appropriate
:
''
,
job_other
:
''
}]
$scope
.
myparam
=
{
...
...
@@ -103,11 +105,20 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_RESULT', ['$
$scope
.
headdata
=
data
.
header
$scope
.
formdata
=
data
.
apsform
$scope
.
previous
=
data
.
previous
setFormAPS
()
$scope
.
isReady
=
true
})
$scope
.
$watch
(
'formdata.form'
,
function
(
data
)
{
let
listActor
=
[
'manager'
,
'hr'
,
'ex'
,
'seniorEx'
]
if
(
data
[
0
])
{
$scope
.
formdata
.
form
[
0
].
sign
[
listActor
[
parseInt
(
'4'
)
-
1
]]
=
$scope
.
headdata
.
committee_fullname
}
})
$scope
.
getResultHr
=
()
=>
{
let
result
=
0
...
...
@@ -128,7 +139,6 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_RESULT', ['$
let
findHr
=
$scope
.
previous
.
find
((
$item
)
=>
{
return
$item
.
header
.
dept
.
toUpperCase
()
===
"DEPT"
&&
$item
.
header
.
committeeid
===
$scope
.
committeeid
})
console
.
log
(
findHr
)
if
(
findHr
){
for
(
var
i
=
0
;
i
<
findHr
.
apsform
.
form
.
length
;
i
++
){
let
form
=
findHr
.
apsform
.
form
[
i
];
...
...
hrAppWeb.war/EMPVIEW/JS/APS_INTERVIEW/ListCandidate.Controller.js
View file @
a5496baa
...
...
@@ -166,7 +166,7 @@ angular.module('APS_INTERVIEW').controller('listCandidate', ['$scope', '$http',
if
(
$scope
.
dbName
.
toUpperCase
()
===
(
"STD_NEW"
))
{
pageName
=
"../APS_FORM_INTERVIEW_DHAS.jsp"
;
}
else
if
(
$scope
.
dbName
.
toUpperCase
()
===
(
"DHAS"
))
{
if
(
list
.
judge
==
'1'
)
{
if
(
list
.
judge
>
0
)
{
pageName
=
"../APS_FORM_INTERVIEW_DHAS_RESULT.jsp"
;
}
else
{
pageName
=
"../APS_FORM_INTERVIEW_DHAS_DEPT.jsp"
...
...
hrAppWeb.war/RECRUIT/CommitteeSetupForm.jsp
View file @
a5496baa
...
...
@@ -158,7 +158,7 @@
<th><swaplang
code=
"SW000057"
>
Position
</swaplang></th>
<th
ng-hide=
"chkPage()"
><swaplang
code=
"SW000019"
>
Status
</swaplang></th>
<th><swaplang
code=
"SW001055"
>
Sequencing
</swaplang></th>
<th
class=
"text-center"
>
ประธา
น
</th>
<th
class=
"text-center"
>
สถานะการประเมิ
น
</th>
</tr>
</thead>
<tbody>
...
...
@@ -190,9 +190,16 @@
</select>
</td>
<td
class=
"text-center"
>
<md-checkbox
ng-if=
"committee.referee_level == '1'"
ng-disabled=
"haveJudge() && committee.judge !== '1'"
ng-model=
"committee.judge"
ng-false-value=
"'0'"
ng-true-value=
"'1'"
aria-label=
"Judge"
ng-change=
"changeJudge()"
>
<
%
--
<
input
type=
"text"
ng-model=
"committee.judge"
>
--%>
<
%
--
<
i
class=
"fa fa-2x fa-check-circle-o"
ng-if=
"committee.referee_level == '1'"
></i>
--%>
<
%
--
<
span
ng-if=
"committee.referee_level > 1"
>
--%>
<
%
--
{{
refereeStatus
[
committee
.
referee_level
]}}
--
%
>
<
%
--
</
span
>
--%>
<
%
--
<
md-checkbox
ng-if=
"committee.referee_level == '1'"
ng-disabled=
"haveJudge() && committee.judge !== '1'"
ng-model=
"committee.judge"
ng-false-value=
"'0'"
ng-true-value=
"'1'"
aria-label=
"Judge"
ng-change=
"changeJudge()"
>
--%>
<select
class=
"form-control"
ng-model=
"committee.judge"
>
<option
ng-repeat=
"item in refereeStatus | filter:{id:'0'}"
value=
"{{item.id}}"
>
{{ item.desc }}
</option>
<option
ng-if=
"committee.referee_level > '0'"
ng-repeat=
"item in refereeStatus | filter:{id:committee.referee_level}"
value=
"{{item.id}}"
>
{{ item.desc }}
</option>
</select>
</td>
</tr>
</tbody>
...
...
hrAppWeb.war/RECRUIT/DIALOGTEMPLATE/SearchCommittee.html
View file @
a5496baa
...
...
@@ -21,7 +21,7 @@
<th><swaplang
code=
"BU2"
>
bu2
</swaplang></th>
<th><swaplang
code=
"BU3"
>
bu3
</swaplang></th>
<th><swaplang
code=
"SW003545"
>
job
</swaplang></th>
<th>
ประธา
น
</th>
<th>
สถานะการประเมิ
น
</th>
</tr>
</thead>
<tfoot>
...
...
@@ -32,7 +32,7 @@
<th><swaplang
code=
"BU2"
>
bu2
</swaplang></th>
<th><swaplang
code=
"BU3"
>
bu3
</swaplang></th>
<th><swaplang
code=
"SW000057"
>
Position
</swaplang></th>
<th>
ประธา
น
</th>
<th>
สถานะการประเมิ
น
</th>
</tr>
</tfoot>
<tbody>
...
...
@@ -43,7 +43,10 @@
<td>
{{emp.bu2}}
</td>
<td>
{{emp.bu3}}
</td>
<td>
{{emp.position}}
</td>
<td><i
ng-if=
"emp.referee_level == '1'"
class=
"fa fa-check-circle-o"
></i></td>
<td>
<!-- <i ng-if="emp.referee_level == '1'" class="fa fa-check-circle-o"></i>-->
{{refereeStatus[emp.referee_level]}}
</td>
<td
class=
'hide'
ng-if=
'$last'
>
{{callDataTable()}}
</td>
<!--call function DataTable After Load Emplist Data-->
</tr>
</tbody>
...
...
hrAppWeb.war/RECRUIT/js/CommitteeSetup/CommitteeSetup.Controller.js
View file @
a5496baa
...
...
@@ -41,6 +41,20 @@ angular.module('RECRUIT').controller('CommitteeSetup', function ($scope, $mdDial
eng
:
'Success'
}
}]
$scope
.
refereeStatus
=
[
{
id
:
'0'
,
desc
:
'กรรมการ'
},
{
id
:
'1'
,
desc
:
'ประธาน(ผู้บริหาร/ผู้จัดการฝ่าย)'
},
{
id
:
'2'
,
desc
:
'หน.ผ./ผจก.ฝ่ายบุคคล'
},
{
id
:
'3'
,
desc
:
'ผู้บริหาร BU'
},
{
id
:
'4'
,
desc
:
'Senior Ex Director/COO BU'
},
]
// $scope.refereeStatus = [
// 'กรรมการ',
// 'ประธาน(ผู้บริหาร/ผู้จัดการฝ่าย)',
// 'หน.ผ./ผจก.ฝ่ายบุคคล',
// 'ผู้บริหาร BU',
// 'Senior Ex Director/COO BU'
// ]
let
initSeqCommit
=
()
=>
{
$scope
.
seqlist
=
[]
...
...
@@ -136,6 +150,13 @@ angular.module('RECRUIT').controller('CommitteeSetup', function ($scope, $mdDial
// MD-Dialog Controller
$scope
.
searchCommitteeCtrl
=
(
$scope
,
$mdDialog
,
RecService
)
=>
{
$scope
.
refereeStatus
=
[
'กรรมการ'
,
'ประธาน(ผู้บริหาร/ผู้จัดการฝ่าย)'
,
'หน.ผ./ผจก.ฝ่ายบุคคล'
,
'ผู้บริหาร BU'
,
'Senior Ex Director/COO BU'
]
$scope
.
referrelist
=
referrelist
$scope
.
hide
=
()
=>
{
...
...
@@ -154,13 +175,13 @@ angular.module('RECRUIT').controller('CommitteeSetup', function ($scope, $mdDial
let
setEmptoCOmmitee
=
(
empID
,
index
,
ev
)
=>
{
let
empItem
=
$filter
(
'filter'
)(
referrelist
,
{
employeeid
:
empID
},
true
)
angular
.
merge
(
$scope
.
committee
[
index
],
empItem
[
0
]
)
if
(
chkDuplicateCommittee
(
empID
)){
angular
.
merge
(
$scope
.
committee
[
index
],
empItem
[
0
]
)
}
else
{
showAlert
(
ev
)
}
// if(chkDuplicateCommittee(empID)){
// angular.merge($scope.committee[index], empItem[0] )
// }else{
// showAlert(ev)
// }
// console.log($scope.committee);
}
...
...
@@ -211,7 +232,7 @@ angular.module('RECRUIT').controller('CommitteeSetup', function ($scope, $mdDial
});
}
}
else
{
alert
(
'กรุณาเลือกกรรมการ'
)
//
alert('กรุณาเลือกกรรมการ')
}
}
...
...
@@ -219,9 +240,17 @@ angular.module('RECRUIT').controller('CommitteeSetup', function ($scope, $mdDial
let
result
=
false
for
(
let
i
=
0
;
i
<
$scope
.
committee
.
length
;
i
++
){
if
(
$scope
.
committee
[
i
].
employeeid
!=
''
){
let
duplicate
=
$filter
(
'filter'
)(
$scope
.
committee
,
{
employeeid
:
$scope
.
committee
[
i
].
employeeid
,
judge
:
$scope
.
committee
[
i
].
judge
},
true
)
if
(
duplicate
.
length
>
1
)
{
alert
(
'รหัสกรรมการ '
+
$scope
.
committee
[
i
].
employeeid
+
' มีข้อมูลที่ซ้ำกัน'
)
result
=
false
break
}
result
=
true
}
else
{
alert
(
'กรุณาเลือกกรรมการ'
)
result
=
false
break
}
}
return
result
...
...
@@ -250,7 +279,7 @@ angular.module('RECRUIT').controller('CommitteeSetup', function ($scope, $mdDial
savetype
:
save_type
,
del_olddata
:
$scope
.
del_olddata
}
console
.
log
(
obj_param
);
//
console.log(obj_param);
return
obj_param
}
...
...
@@ -289,7 +318,7 @@ angular.module('RECRUIT').controller('CommitteeSetup', function ($scope, $mdDial
if
(
$scope
.
dbName
.
toUpperCase
()
===
(
"STD_NEW"
))
{
pageName
=
"../APS_FORM_INTERVIEW_DHAS.jsp"
;
}
else
if
(
$scope
.
dbName
.
toUpperCase
()
===
(
"DHAS"
))
{
if
(
judge
==
'1'
)
{
if
(
judge
&&
parseInt
(
judge
)
>
0
)
{
pageName
=
"../APS_FORM_INTERVIEW_DHAS_RESULT.jsp"
;
}
else
{
pageName
=
"../APS_FORM_INTERVIEW_DHAS_DEPT.jsp"
...
...
hrAppWeb.war/WEB-INF/lib/API_EMPVIEW.jar
View file @
a5496baa
No preview for this file type
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