Commit 3749511a by peema_phongam

param commitee judge

parent 596bc0f8
......@@ -18,6 +18,7 @@
String p_candidateid = chk.chkNullString(request.getParameter("candidateid"));
String p_committeeid = chk.chkNullString(request.getParameter("committeeid"));
String p_judge = chk.chkNullString(request.getParameter("p_judge"));
String p_notedit = chk.chkNullString(request.getParameter("notedit"),"false");
%>
......@@ -75,6 +76,7 @@
<form name="cscform" class="form-horizontal" method="post" >
<input type='hidden' name='candidateid' value='<%=p_candidateid%>'/>
<input type='hidden' name='committeeid' value='<%=p_committeeid%>'/>
<input type='hidden' name='judge' value='<%=p_judge%>'/>
<input type='hidden' name='notedit' value='<%=p_notedit%>'/>
<div class='container csc-content' id='target_warpper'>
......
......@@ -18,6 +18,7 @@
String p_candidateid = chk.chkNullString(request.getParameter("candidateid"));
String p_committeeid = chk.chkNullString(request.getParameter("committeeid"));
String p_judge = chk.chkNullString(request.getParameter("judge"));
String p_notedit = chk.chkNullString(request.getParameter("notedit"),"false");
%>
......@@ -71,6 +72,7 @@
<form name="cscform" class="form-horizontal" method="post" >
<input type='hidden' name='candidateid' value='<%=p_candidateid%>'/>
<input type='hidden' name='committeeid' value='<%=p_committeeid%>'/>
<input type='hidden' name='judge' value='<%=p_judge%>'/>
<input type='hidden' name='notedit' value='<%=p_notedit%>'/>
<div class='container csc-content' id='target_warpper'>
<div class='csc-block-white'>
......
......@@ -18,6 +18,7 @@
String p_candidateid = chk.chkNullString(request.getParameter("candidateid"));
String p_committeeid = chk.chkNullString(request.getParameter("committeeid"));
String p_judge = chk.chkNullString(request.getParameter("judge"));
String p_notedit = chk.chkNullString(request.getParameter("notedit"),"false");
%>
......@@ -65,6 +66,7 @@
<form name="cscform" class="form-horizontal" method="post" >
<input type='hidden' name='candidateid' value='<%=p_candidateid%>'/>
<input type='hidden' name='committeeid' value='<%=p_committeeid%>'/>
<input type='hidden' name='judge' value='<%=p_judge%>'/>
<input type='hidden' name='notedit' value='<%=p_notedit%>'/>
<div class='container csc-content' id='target_warpper'>
<div class='csc-block-white'>
......
......@@ -50,6 +50,7 @@
<div class="container csc-content">
<form name="cscform" class="form-horizontal" method="post">
<input type='hidden' name='candidateid'/>
<input type='hidden' name='judge'/>
<input type='hidden' name='committeeid' value='<%=up.get("employeeid")%>' />
<input type='hidden' name='lang' value="<%=up.get("lang")%>"/>
<input type="hidden" name="__applicantid">
......
......@@ -40,6 +40,8 @@
<input type='hidden' name='candidateid'/>
<input type='hidden' name='committeeid' value='<%=up.get("employeeid")%>' />
<input type='hidden' name='lang' value="<%=up.get("lang")%>"/>
<input type='hidden' name='judge'/>
<div class='loading-page'>
<div class='spiner'></div>
......
......@@ -3,6 +3,7 @@
angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_DEPT', ['$scope', '$http', '$sce', 'InterviewcandidateCtrl', function($scope, $http, $sce, InterviewcandidateCtrl){
$scope.candidateid = $('input[name="candidateid"]').val()
$scope.committeeid = $('input[name="committeeid"]').val()
$scope.judge = $('input[name="judge"]').val()
$scope.notedit = ($('input[name="notedit"]').val() == 'true')
$scope.lang = $('input[name="lang"]').val()
$scope.contextPath = ''
......@@ -55,7 +56,8 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_DEPT', ['$sc
$scope.myparam = {
candidateid: $scope.candidateid,
committeeid: $scope.committeeid
committeeid: $scope.committeeid,
judge: $scope.judge
};
InterviewcandidateCtrl.manageInterviewForm.query($scope.myparam).$promise.then(function(data){
$scope.headdata = data.header
......
......@@ -3,6 +3,7 @@
angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_RESULT', ['$scope', '$http', '$sce', 'InterviewcandidateCtrl', function($scope, $http, $sce, InterviewcandidateCtrl){
$scope.candidateid = $('input[name="candidateid"]').val()
$scope.committeeid = $('input[name="committeeid"]').val()
$scope.judge = $('input[name="judge"]').val()
$scope.notedit = ($('input[name="notedit"]').val() == 'true')
$scope.lang = $('input[name="lang"]').val()
$scope.contextPath = ''
......@@ -79,7 +80,8 @@ angular.module('APS_INTERVIEW').controller('APS_FORM_INTERVIEW_DHAS_RESULT', ['$
$scope.myparam = {
candidateid: $scope.candidateid,
committeeid: $scope.committeeid
committeeid: $scope.committeeid,
judge: $scope.judge
};
InterviewcandidateCtrl.manageInterviewForm.query($scope.myparam).$promise.then(function(data){
$scope.headdata = data.header
......
......@@ -3,6 +3,7 @@
angular.module('APS_INTERVIEW').controller('InterviewForm', ['$scope', '$http', '$sce', 'InterviewcandidateCtrl', 'RecService', function($scope, $http, $sce, InterviewcandidateCtrl, RecService){
$scope.candidateid = $('input[name="candidateid"]').val()
$scope.committeeid = $('input[name="committeeid"]').val()
$scope.judge = $('input[name="judge"]').val()
$scope.notedit = ($('input[name="notedit"]').val() == 'true')
$scope.lang = getLang()
$scope.candidate = {}
......@@ -75,7 +76,8 @@ angular.module('APS_INTERVIEW').controller('InterviewForm', ['$scope', '$http',
}]
$scope.myparam = {
candidateid: $scope.candidateid,
committeeid: $scope.committeeid
committeeid: $scope.committeeid,
judge: $scope.judge
};
RecService.RestMcandidate.getQuery({id: $scope.candidateid}).$promise.then(function (data){
......
......@@ -160,6 +160,7 @@ angular.module('APS_INTERVIEW').controller('listCandidate', ['$scope', '$http',
let pageName = ''
let jobid = list.jobid
$('input[name="candidateid"]').val(list.candidateid);
$('input[name="judge"]').val(list.judge);
$('form[name="cscform"]').attr('target','myform');
if ($scope.dbName.toUpperCase() === ("STD_NEW")) {
pageName = "../APS_FORM_INTERVIEW_DHAS.jsp";
......
......@@ -8,15 +8,17 @@ services.factory('InterviewcandidateCtrl', function($resource){
method: 'GET'
}
}),
manageInterviewForm: $resource('/hr/api/empview/aps_rec/ObjectiveApsInterview/:candidateid/:committeeid',{
manageInterviewForm: $resource('/hr/api/empview/aps_rec/ObjectiveApsInterview/:candidateid/:committeeid/:judge',{
candidateid: '@candidateid',
committeeid: '@committeeid'
committeeid: '@committeeid',
judge: '@judge'
},{
query : {
method: 'GET',
params: {
candidateid: '@candidateid',
committeeid: '@committeeid'
committeeid: '@committeeid',
judge: '@judge'
}
},
save: {
......
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