std_baokao_notice.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. <!DOCTYPE html>
  2. <html lang="zh-cmn-Hans" id="student_baokao_notice_app"
  3. ng-app="student_baokao_notice_app">
  4. <head>
  5. <meta charset="utf-8" />
  6. <title>北京外国语大学</title>
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  8. <meta name="viewport"
  9. content="initial-scale=1.0,maximum-scale=1,user-scalable=no">
  10. <link rel="stylesheet" href="./bootstrap/css/bootstrap.min.css">
  11. <link rel="stylesheet" type="text/css" href="./css/ui-dialog.css"/>
  12. </head>
  13. <body ng-controller="studentbaokaoCtrl" >
  14. <div class="row" style="width:91%;margin-top:5px;"><button class="btn btn-primary pull-right" ng-click="logout()">登出</button></div>
  15. <div class="jumbotron" style="width:80%;margin-left:auto;margin-right:auto;verical-align:middle;margin-top:20px">
  16. <table class="table table-bordered" style="width:96%;margin-left:auto;margin-right:auto;">
  17. <tr>
  18. <th colspan="6" v-align="middile" style="text-align:center;font-family:STKaiti;font-weight:bold"><h3>北京外国语大学外国语言文化能力测试结果通知</h3></th>
  19. </tr>
  20. <tr>
  21. <td>姓名:{{student.name}}</td>
  22. <td>性别:{{student.sex}}</td>
  23. </tr>
  24. <tr>
  25. <td>高考报名号:{{student.loginNm}}</td>
  26. <td>身份证号:{{student.idcard}}</td>
  27. </tr>
  28. <tr>
  29. <td>高考报名所在地:{{student.province+student.city + student.dist}}</td>
  30. <td>文理类型:{{student.wenliType}}</td>
  31. </tr>
  32. <tr>
  33. <td colspan="2">考生所在中学:{{student.school}}</td>
  34. </tr>
  35. <!--
  36. <tr>
  37. <td colspan="2" ng-if="publishStatus == 1">初审结果:<span style="font-family:STKaiti;font-weight:bold">通过</span></td>
  38. <td colspan="2" ng-if="publishStatus == 0">初审结果:<span style="font-family:STKaiti;font-weight:bold">不通过</span></td>
  39. <td colspan="2" ng-if="publishStatus == -1">初审结果:<span style="font-family:STKaiti;font-weight:bold">不通过(考生没有提交)</span></td>
  40. </tr>
  41. <tr ng-if="publishStatus == 1 && overStudentAbilityTestScorePublishTime == 0">
  42. <td colspan="2" v-align="middle">
  43. <div class="pull-left" ng-if="overSubmitJoinAbilityTest==0">是否参加能力测试:是<input type="radio" name="mianshiAgree" value="1" style="cursor:pointer" ng-model="abparam.abilityTest"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;否<input name="mianshiAgree" type="radio" value="0" style="cursor:pointer" ng-model="abparam.abilityTest"></div>
  44. <div class="pull-right">
  45. <span ng-if="abparam.abilityTest==1" style="color:green">您当前选择的是:参加能力测试</span>
  46. <span ng-if="abparam.abilityTest==0" style="color:red">您当前选择的是:不参加能力测试</span>
  47. <button class="btn btn-primary" ng-if="overSubmitJoinAbilityTest==0" ng-click="submitAbilityTest()">提交</button></div>
  48. </td>
  49. </tr>
  50. <tr ng-if="publishStatus == 1 && overStudentAbilityTestScorePublishTime == 0">
  51. <td colspan="2" v-align="middle">
  52. <div class="pull-left"><button data-toggle="modal" class="btn btn-success" ng-click="downloadZKZ()">下载并打印准考证(A4纸)</button></div>
  53. <div class="pull-right"><button data-toggle="modal" data-target=".bs-example-modal-lg" class="btn btn-primary">点击查看考生参加能力测试注意事项</button></div>
  54. </td>
  55. </tr>
  56. -->
  57. </table>
  58. <table ng-if="publishStatus == 1 && overStudentAbilityTestScorePublishTime == 1" class="table table-bordered" style="width:96%;margin-left:auto;margin-right:auto; background-color: @gray-lighter">
  59. <tr>
  60. <th colspan="7" v-align="middile" style="text-align:center;font-family:STKaiti;font-weight:bold"><h3>能力测试成绩如下:</h3></th>
  61. </tr>
  62. <tr>
  63. <th>专业考察</th>
  64. <th>外语口试</th>
  65. <th>是否为复语考生</th>
  66. <th>复语语种</th>
  67. <th>复语原始成绩</th>
  68. <th>复语核算成绩</th>
  69. <th>总分</th>
  70. </tr>
  71. <tr>
  72. <td>{{abilityTestScore.professionalTest}}</td>
  73. <td>{{abilityTestScore.speakTest}}</td>
  74. <td>{{abilityTestScore.apply == '1' ? '是' : '否'}}</td>
  75. <td>{{abilityTestScore.applyLang}}</td>
  76. <td ng-if="abilityTestScore.apply != 1"></td>
  77. <td ng-if="abilityTestScore.apply != 1"></td>
  78. <td ng-if="abilityTestScore.apply == 1">{{abilityTestScore.originalFuyuScore}}</td>
  79. <td ng-if="abilityTestScore.apply == 1">{{abilityTestScore.validateFuyuScore}}</td>
  80. <td>{{abilityTestScore.totalScore}}</td>
  81. </tr>
  82. <tr>
  83. <td colspan="7" v-align="middle">
  84. <div class="pull-left"><button data-toggle="modal" class="btn btn-success" ng-click="downloadBaoKaoNotice()">下载填写并打印北京外国语大学综合评价报考确认书(A4纸张)</button></div>
  85. </td>
  86. </tr>
  87. </table>
  88. </div>
  89. <!-- 江苏省考生通知 -->
  90. <div id="jsNoticeModal" class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="jsNoticeModalLabel">
  91. <div class="modal-dialog modal-lg">
  92. <div class="modal-content">
  93. <div class="modal-header">
  94. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  95. <h3 class="modal-title text-center">关于填报北京外国语大学综合评价报考确认书的通知</h3>
  96. </div>
  97. <div class="modal-body">
  98. <p style="margin-left:20px;">各位江苏考生:</p>
  99. <p style="margin-left:20px;">&nbsp;&nbsp;&nbsp;&nbsp;根据江苏省考试院的要求,江苏考生报考我校综合评价招生专业的,由我校提前确认录取名单和录取专业,在提前批次之前录取。现将我校综合评价报考确认书发给你,请在6月30日14:00前按要求填好,传真至我办(01088810273),我办将以此作为录取考生的依据。凡逾期没有确认的,我校将不予录取。没有被录取的考生可继续填报提前批次和第一批次。</p>
  100. <p style="margin-left:20px;">&nbsp;&nbsp;&nbsp;&nbsp;特此通知</p>
  101. <p class="text-right">
  102. 北京外国语大学招生办公室
  103. </p>
  104. <p class="text-right">
  105. 2016年6月27日
  106. </p>
  107. </div>
  108. <div class="modal-footer">
  109. <button type="button" class="btn btn-primary txt-center" data-dismiss="modal">关闭</button>
  110. </div>
  111. </div>
  112. </div>
  113. </div>
  114. </body>
  115. <script src="./bootstrap/js/jQuery-2.1.4.min.js"></script>
  116. <script src="./js/jquery.cookie.js"></script>
  117. <script src="./bootstrap/js/bootstrap.js"></script>
  118. <script src="./angular/js/consts.js"></script>
  119. <script src="./angular/lib/angular.min.js"></script>
  120. <script src="./js/dialog-min.js" type="text/javascript" charset="utf-8"></script>
  121. <script type="text/javascript">
  122. $(function(){
  123. $("#jsNoticeModal").modal('show');
  124. });
  125. //angualr js
  126. var student_baokao_notice_app = angular.module('student_baokao_notice_app',[]);
  127. student_baokao_notice_app.factory('frameAjaxInterceptor', function($q, $rootScope) {
  128. return {
  129. 'request': function(config) {
  130. return config;
  131. },
  132. 'requestError': function(rejection) {
  133. return $q.reject(rejection);
  134. },
  135. 'response': function(response) {
  136. return response;
  137. },
  138. 'responseError': function(rejection) {
  139. if (rejection.status == 900) {
  140. var d = dialog({
  141. title: '错误提示',
  142. content: "您长时间未进行任何操作,请重新登录本系统",
  143. ok: function() {
  144. document.location.href = './login.html';
  145. },
  146. okValue: '确定'
  147. });
  148. d.showModal();
  149. return $q.reject(rejection);
  150. } else if (rejection.status == 500) {
  151. var d = dialog({
  152. title: '错误提示',
  153. content: (rejection.data && rejection.data.errorMsg ? rejection.data.errorMsg : "操作失败,请与管理员联系。"),
  154. ok: function() {
  155. //donothing
  156. },
  157. okValue: '确定'
  158. });
  159. d.showModal();
  160. return $q.reject(rejection);
  161. } else {
  162. return $q.reject(rejection);
  163. }
  164. }
  165. };
  166. }).config(['$httpProvider', function($httpProvider) {
  167. $httpProvider.interceptors.push('frameAjaxInterceptor');
  168. $httpProvider.defaults.cache = false;
  169. if (!$httpProvider.defaults.headers.get) {
  170. $httpProvider.defaults.headers.get = {};
  171. }
  172. // disable IE ajax request caching
  173. $httpProvider.defaults.headers.get['If-Modified-Since'] = '0';
  174. }])
  175. .controller('studentbaokaoCtrl', ['$scope', '$http','$location','$anchorScroll', function($scope, $http, $location, $anchorScroll) {
  176. var userId = $.cookie('userid');
  177. $scope.abparam = {
  178. abilityTest:'1'
  179. };
  180. $scope.submitAbilityTest = function(){
  181. $http.put(main_host + '/api/EvalFinalStudentScore',{abilityTest:$scope.abparam.abilityTest}).success(function(data) {
  182. if (data.success && data.map.code=='1') {
  183. dialog({
  184. title: '操作提示',
  185. content: "提交成功!",
  186. ok: function() {},
  187. okValue: '确定'
  188. }).showModal();
  189. }
  190. });
  191. };
  192. $scope.abilityTestScore = {
  193. apply:'',
  194. applyLang:'',
  195. professionalTest:'',
  196. speakTest:'',
  197. originalFuyuScore:'',
  198. validateFuyuScore:'',
  199. totalScore:''
  200. }
  201. $http.get(main_host + '/api/PublishStatus/' + userId).success(function(data) {
  202. if (data.success) {
  203. $scope.publishStatus = data.map.publishStatus;
  204. $scope.student = data.map.student;
  205. $scope.abparam.abilityTest = data.map.student.abilityTest;
  206. $scope.overSubmitJoinAbilityTest = data.map.overSubmitJoinAbilityTest;
  207. $scope.overStudentAbilityTestScorePublishTime = data.map.overStudentAbilityTestScorePublishTime;
  208. $scope.abilityTestScore = data.map.abilityTestScore;
  209. }
  210. });
  211. $scope.downloadZKZ = function(){
  212. var exp_url = main_host + '/api/StudentZKZ';
  213. window.top.document.location.href=exp_url;
  214. }
  215. $scope.downloadBaoKaoNotice = function(){
  216. window.top.document.location.href='./beijing_foreign_university_candidates_confirmation.docx';
  217. }
  218. $scope.logout = function(){
  219. dialog({
  220. title: '操作提示',
  221. content: "确定登出本系统吗?",
  222. ok: function() {
  223. $http.post(main_host + '/api/UserLogouts/').success(function(data) {
  224. if (data.success) {
  225. document.location.href = "./login.html";
  226. $.removeCookie('userid');
  227. $.removeCookie('uname');
  228. }
  229. });
  230. },
  231. okValue: '确定'
  232. }).showModal();
  233. }
  234. }]);
  235. </script>
  236. </html>