Commit cbe9bc1e by peema_phongam

asdads

parent 5d964fc6
...@@ -1155,15 +1155,18 @@ angular.module('RECRUIT').controller('Candidate', function ($scope, $mdDialog, R ...@@ -1155,15 +1155,18 @@ angular.module('RECRUIT').controller('Candidate', function ($scope, $mdDialog, R
} }
$scope.goSetCommittee = (candidateid, hrStatus) => { $scope.goSetCommittee = (candidateid, hrStatus) => {
if (hrStatus == 2) { // if (hrStatus == 2) {
cscForm.action = "CommitteeSetupForm.jsp" // cscForm.action = "CommitteeSetupForm.jsp"
cscForm.__candidateid.value = candidateid // cscForm.__candidateid.value = candidateid
cscForm.target = "_blank" // cscForm.target = "_blank"
cscForm.submit() // cscForm.submit()
} else { // } else {
alert("ยังไม่ได้รับการประเมินจากฝ่ายบุคคล"); // alert("ยังไม่ได้รับการประเมินจากฝ่ายบุคคล");
} // }
cscForm.action = "CommitteeSetupForm.jsp"
cscForm.__candidateid.value = candidateid
cscForm.target = "_blank"
cscForm.submit()
} }
// Jquery Zone // Jquery Zone
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment