haogh vor 5 Monaten
Ursprung
Commit
5016d4449e
1 geänderte Dateien mit 12 neuen und 0 gelöschten Zeilen
  1. 12 0
      WebRoot/ymbk/routes/ym/score/ym_score.js

+ 12 - 0
WebRoot/ymbk/routes/ym/score/ym_score.js

@@ -88,15 +88,27 @@ app.controller('YmScoreCtrl', [ '$rootScope', '$scope', '$stateParams', '$timeou
 
 	// 决定书
 	$scope.downloadImage = function() {
+		$scope.logStdNotice('DownloadDecision');
 		$('#pdf_url').attr('href', $rootScope.FrameParam.EnrolMaterialWebPath + $scope.enrol.aspect_image);
 		document.getElementById("pdf_url").click();
 	}
 
 	// 告知书
 	$scope.downloadNotice = function() {
+		$scope.logStdNotice('DownloadNotice');
 		$('#pdf_url').attr('href', $rootScope.FrameParam.EnrolMaterialWebPath + $scope.enrol.notice_file);
 		document.getElementById("pdf_url").click();
 	}
+
+
+	// 下载违规处理告知书和决定书日志
+	$scope.logStdNotice = function (log_type) {
+		$rootScope.ajaxRequest({
+			url : '../enrol/ym/std/discipline/log.htm',
+			data : {log_type : log_type}
+		}, function(response) {
+		});
+	}
 	
 	//记录考生查询日志
 	$scope.scoreQueryLog = function() {