REC_REQUEST.jsp 5.82 KB
Newer Older
Thitichaipun Wutthisak committed
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
<!DOCTYPE html>
<%@page contentType="text/html; charset=UTF-8" %>
<%@page import="com.csc.library.utilities.*" %>
<%@ page import="com.csc.library.session.InitialEnvironment" %>
<%
  UProfile up = null;
  if (session != null) {
    up = (UProfile) session.getAttribute("userprofile");
  }
  CheckNull chk = new CheckNull();
  String reqid = chk.chkNullString(request.getParameter("__requestid"), "0");
  String jobid = chk.chkNullString(request.getParameter("__jobid"), "");
%>
<html ng-app="RECRUIT">
<head>
  <title>Vacancy Position</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<%--  <link href="../public/lib/angular-material/angular-material.min.css" rel="stylesheet" type="text/css"/>--%>
</head>
<body ng-controller="REC_REQUEST">
<div class="bg-com"></div>
<jsp:include page="EMV_HEADMENU.jsp" flush="true" />
<script type="text/javascript" src='../public/lib/angular-resource/angular-resource.min.js'></script>
<script type='text/javascript' src='../public/lib/angular-sanitize/angular-sanitize.min.js'></script>
<script type="text/javascript" src="../public/lib/angular-material/angular-material.js"></script>
<script type="text/javascript" src="../public/lib/angular-animate/angular-animate.js"></script>
<script type="text/javascript" src="../public/lib/angular-aria/angular-aria.js"></script>
<script type="text/javascript" src="../public/lib/angular-messages/angular-messages.js"></script>
<%--<script type="text/javascript" src="../JS/ANGULAR/SCREEN_ANGULAR.js"></script>--%>
<script type='text/javascript' src="../JS/ANGULAR/swaplang.factory.js"></script>
<script type='text/javascript' src='../JS/urljobboard.js'></script>
<script type='text/javascript' src='JS/REC_REQUEST/Module.Controller.js'></script>
<script type='text/javascript' src='../RECRUIT/js/services.js'></script>
<script type='text/javascript' src='JS/REC_REQUEST/REC_REQUEST.Controller.js'></script>
<script type='text/javascript'>
  setLang('<%=up.get("lang")%>');
  $(function () {
    let now = '<%=new CscCalendar().getYYYYMMDD()%>'
    let employeeid = '<%=up.get("employeeid")%>'
    <%--let reqid = '<%=reqid%>'--%>
    <%--let jobid = '<%=jobid%>'--%>
    let scope = angular.element(document.cscform).scope()
    scope.$apply(function () {
      scope.now = now
      scope.employeeid = employeeid
      // scope.reqid = reqid
      // scope.jobid = jobid
    })
  })
</script>
<section>
  <div class="container csc-content">
    <div class="csc-block-white">

      <form name="cscform" class="form-horizontal" method="post" action="REC_REQUEST.jsp">
        <input type="hidden" name="__action" value="">
        <input type="hidden" name="__jobid" value="">
        <input type="hidden" name="__requestid" value="">
        <input type="hidden" name="__internal" value="">
        <div class="container csc-content">
          <div class="center">
            <h2 swlang code='SW002243'>Vacancy Job</h2>
          </div>

          <table ng-repeat="$item in listReqs | filter:availableRequest" class="table table-head table-hover table-bordered table-left table-fixed-small">
            <tr>
              <th colspan="2">
                {{$item.jobname}} : {{$item.numb_req}}
                <label class="control-label" swlang code='SW000057'>Position</label>
              </th>
            </tr>
            <tr>
              <th swlang code='SW001957'>Job Descriptions</th>
              <td ng-bind-html="replaceNewLine($item.responsibility[lang])">
              </td>
            </tr>
            <tr>
              <th swlang code='SW002055'>Sex</th>
              <td>
                <master-gender code="{{$item.gender}}"></master-gender>
              </td>
            </tr>
            <tr>
              <th swlang code='SW000172'>Age</th>
              <td>
                {{$item.reqage}}
              </td>
            </tr>
            <tr>
              <th swlang code='SW005741'>Degree</th>
              <td>
                <master-degree code="{{$item.reqeduid}}"></master-degree>
              </td>
            </tr>
            <tr>
              <th swlang code='SW000208'>Major Name</th>
              <td>
                <span ng-repeat="major in $item.majors">
                   <span>- </span>{{major.name[lang]}}<br>
                </span>
              </td>
            </tr>
            <tr>
              <th swlang code='SW002112'>Experience</th>
              <td ng-bind-html="replaceNewLine($item.expjob[lang])">
            </tr>
            <tr>
              <th swlang code='SW002113'>Others</th>
              <td ng-bind-html="replaceNewLine($item.other[lang])">
            </tr>
            <tr>
              <th swlang code='SW000008'>Company</th>
              <td>
                {{$item.branchname[lang]}}
              </td>
            </tr>
            <tr>
              <td colspan=2>
                <button class="btn btn-primary" type="button" ng-click="goFillFormApplicant($item.jobid, $item.reqid)">
                  <swaplang code="SW990047">Apply</swaplang>
                </button>
              </td>
            </tr>
          </table>



        </div>

      </form>


      <%--<form name="cscform" class="form-horizontal" method="post" action="REC_REQUEST.jsp">--%>
        <%--<div class="container csc-content">--%>
          <%--<div class="center">--%>
            <%--<h2 swlang code='SW002243'>Vacancy Job</h2>--%>
          <%--</div>--%>
        <%--</div>--%>
      <%--</form>--%>
    </div>
  </div>















  <a href="#top" id="top-button">
    <i class="fa fa-angle-up"></i>
    <div class="top-word">Back to top</div>
  </a>
</section>





<%--<form name="cscform" method="post" action="REC_REQUEST.jsp">--%>
  <%--<div class="container-fluid">--%>
    <%--<div class="panel-body body-panel-csc">--%>

    <%--</div>--%>
  <%--</div>--%>
<%--</form>--%>

<jsp:include page="FOOTER.jsp" flush="true" />
</body>
</html>