|
@@ -88,15 +88,27 @@ app.controller('YmScoreCtrl', [ '$rootScope', '$scope', '$stateParams', '$timeou
|
|
|
|
|
|
// 决定书
|
|
// 决定书
|
|
$scope.downloadImage = function() {
|
|
$scope.downloadImage = function() {
|
|
|
|
+ $scope.logStdNotice('DownloadDecision');
|
|
$('#pdf_url').attr('href', $rootScope.FrameParam.EnrolMaterialWebPath + $scope.enrol.aspect_image);
|
|
$('#pdf_url').attr('href', $rootScope.FrameParam.EnrolMaterialWebPath + $scope.enrol.aspect_image);
|
|
document.getElementById("pdf_url").click();
|
|
document.getElementById("pdf_url").click();
|
|
}
|
|
}
|
|
|
|
|
|
// 告知书
|
|
// 告知书
|
|
$scope.downloadNotice = function() {
|
|
$scope.downloadNotice = function() {
|
|
|
|
+ $scope.logStdNotice('DownloadNotice');
|
|
$('#pdf_url').attr('href', $rootScope.FrameParam.EnrolMaterialWebPath + $scope.enrol.notice_file);
|
|
$('#pdf_url').attr('href', $rootScope.FrameParam.EnrolMaterialWebPath + $scope.enrol.notice_file);
|
|
document.getElementById("pdf_url").click();
|
|
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() {
|
|
$scope.scoreQueryLog = function() {
|