Parcourir la source

初始化补考成绩点击报错

临城职教中职
ndbs il y a 2 ans
Parent
révision
c6e2845748
5 fichiers modifiés avec 6 ajouts et 7 suppressions
  1. +0
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuScoreNotPassController.cs
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/IndexUnpass.js
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPassTwo/IndexUnpassTwo.js
  4. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPass/StuScoreNotPassService.cs
  5. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTwo/StuScoreNotPassTwoService.cs

+ 0
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuScoreNotPassController.cs Voir le fichier

@@ -206,7 +206,6 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
/// 初始化补考成绩
/// <returns></returns>
[HttpPost]
[ValidateAntiForgeryToken]
[AjaxOnly]
public ActionResult InitScore()
{


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/IndexUnpass.js Voir le fichier

@@ -91,7 +91,7 @@ var bootstrap = function ($, learun) {
$('#lr_Init').on('click', function () {
learun.layerConfirm('是否确认初始化补考成绩!', function (res) {
if (res) {
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuScoreNotPass/InitScore', { keyValue: keyValue }, function () {
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuScoreNotPass/InitScore', { }, function () {
refreshGirdData();
});
}


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPassTwo/IndexUnpassTwo.js Voir le fichier

@@ -87,7 +87,7 @@ var bootstrap = function ($, learun) {
$('#lr_Init').on('click', function () {
learun.layerConfirm('是否确认初始化二次补考成绩!', function (res) {
if (res) {
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuScoreNotPassTwo/InitScore', { keyValue: keyValue }, function () {
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuScoreNotPassTwo/InitScore', { }, function () {
refreshGirdData();
});
}


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPass/StuScoreNotPassService.cs Voir le fichier

@@ -415,13 +415,13 @@ else CONVERT(varchar,a.Score) end as Score2 ");
OpenLessonDeptNo, OpenLessonMajorNo, LessonNo, LessonName, LessonNameEn, TeachClassNo, LessonSortNo,
StuSortNo, Grade, StudyScore, TotalStudyHour, zysx, TestModeNo, ScoreRecordStyleNo, OrdinaryScore, TermInScore,
TermEndScore, OtherScore, IsInEffect, ConflictLessonNo, IsReStudy, CheckMark,
IsPitchOn, EmpNo, TechPlanNo, TestKindNo, PartCode, IsEditable)
IsPitchOn, EmpNo, TechPlanNo, TestKindNo, PartCode, IsEditable,F_SchoolId)
select
NoticeBookNo, StuNo, DeptNo, MajorNo, ClassNo, StuName, GenderNo, AcademicYearNo, Semester,
OpenLessonDeptNo, OpenLessonMajorNo, LessonNo, LessonName, LessonNameEn, TeachClassNo, LessonSortNo,
StuSortNo, Grade, StudyScore, TotalStudyHour, zysx, TestModeNo, ScoreRecordStyleNo, '0', '0',
'0', '0', IsInEffect, ConflictLessonNo, IsReStudy, '0',
IsPitchOn, EmpNo, TechPlanNo, TestKindNo, PartCode, '1'
IsPitchOn, EmpNo, TechPlanNo, TestKindNo, PartCode, '1',F_SchoolId
from
(
select a.* from


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuScoreNotPassTwo/StuScoreNotPassTwoService.cs Voir le fichier

@@ -394,13 +394,13 @@ else CONVERT(varchar,a.Score) end as Score2 ");
OpenLessonDeptNo, OpenLessonMajorNo, LessonNo, LessonName, LessonNameEn, TeachClassNo, LessonSortNo,
StuSortNo, Grade, StudyScore, TotalStudyHour, zysx, TestModeNo, ScoreRecordStyleNo, OrdinaryScore, TermInScore,
TermEndScore, OtherScore, IsInEffect, ConflictLessonNo, IsReStudy, CheckMark,
IsPitchOn, EmpNo, TechPlanNo, TestKindNo, PartCode, IsEditable)
IsPitchOn, EmpNo, TechPlanNo, TestKindNo, PartCode, IsEditable,F_SchoolId)
select
NoticeBookNo, StuNo, DeptNo, MajorNo, ClassNo, StuName, GenderNo, AcademicYearNo, Semester,
OpenLessonDeptNo, OpenLessonMajorNo, LessonNo, LessonName, LessonNameEn, TeachClassNo, LessonSortNo,
StuSortNo, Grade, StudyScore, TotalStudyHour, zysx, TestModeNo, ScoreRecordStyleNo, '0', '0',
'0', '0', IsInEffect, ConflictLessonNo, IsReStudy, '0',
IsPitchOn, EmpNo, TechPlanNo, TestKindNo, PartCode, '1'
IsPitchOn, EmpNo, TechPlanNo, TestKindNo, PartCode, '1',F_SchoolId
from
(
select a.* from


Chargement…
Annuler
Enregistrer