Ver código fonte

初始化补考成绩点击报错

临城职教中职
ndbs 2 anos atrás
pai
commit
c6e2845748
5 arquivos alterados com 6 adições e 7 exclusões
  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 Ver arquivo

@@ -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 Ver arquivo

@@ -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 Ver arquivo

@@ -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 Ver arquivo

@@ -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 Ver arquivo

@@ -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


Carregando…
Cancelar
Salvar