|
@@ -44,16 +44,30 @@ app.controller('MainCtrl', [ '$rootScope', '$scope', '$timeout', function($rootS
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
+
|
|
|
+ $scope.disciplineQueryLog = function(log_type) {
|
|
|
+ $rootScope.ajaxRequest({
|
|
|
+ url : '../enrol/ym/std/discipline/log.htm',
|
|
|
+ data : {log_type : log_type}
|
|
|
+ }, function(response) {
|
|
|
+
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
//初试成绩
|
|
|
$scope.goFirstScore = function(e) {
|
|
|
// 考生有违纪 提示
|
|
|
if($rootScope.ArtStdReg.discipline_flag == 'Active') {
|
|
|
- $.confirm("有违纪,请下载违纪告知书", function() {
|
|
|
+
|
|
|
+ $.confirm("接受违规处理决定书", function() {
|
|
|
+ $scope.disciplineQueryLog('DisciplineConfirm');// 记录日志
|
|
|
$rootScope.goLocation('ym/score/' + e.aspect_name + '/first');//初试成绩
|
|
|
$scope.$apply();
|
|
|
}, function() {
|
|
|
// 点击取消后的回调函数
|
|
|
+ $scope.disciplineQueryLog('DisciplineCancel');
|
|
|
});
|
|
|
+
|
|
|
} else {
|
|
|
$rootScope.goLocation('ym/score/' + e.aspect_name + '/first');//初试成绩
|
|
|
}
|