From bf33d66ef02c9d2465fb93dcac158616992fe3a5 Mon Sep 17 00:00:00 2001 From: ndbs Date: Sat, 11 Dec 2021 16:52:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E8=80=83=E6=98=8E=E7=BB=86=20?= =?UTF-8?q?=E5=92=8C=E6=8E=92=E8=AF=BE=E6=B1=87=E6=80=BB=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/ArrangeExamTermNew/Index.js | 3 ++- .../Views/ArrangeExamTermNew/IndexItem.js | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeExamTermNew/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeExamTermNew/Index.js index 351bbb26f..6a9334e9c 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeExamTermNew/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeExamTermNew/Index.js @@ -101,7 +101,8 @@ var bootstrap = function ($, learun) { { label: '教室编号', name: 'ClassRoomNo', width: 100, align: "left" }, { label: '教室名称', name: 'ClassRoomName', width: 100, align: "left" } ], - mainId:'AETId', + mainId: 'AETId', + sidx: 'ExamTime asc, LessonNo asc,ClassRoomNo asc', isPage: true }); page.search(); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeExamTermNew/IndexItem.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeExamTermNew/IndexItem.js index 00536ab4a..917d3db25 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeExamTermNew/IndexItem.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ArrangeExamTermNew/IndexItem.js @@ -25,7 +25,7 @@ var bootstrap = function ($, learun) { ClassNo = item.id; page.search({ ClassNo: item.id }); } - }); + }); $('.datetime').each(function () { $(this).lrdate({ dfdata: [ @@ -86,7 +86,7 @@ var bootstrap = function ($, learun) { // value: 'value', // text: 'text' //}); - $('#LessonNo').lrDataSourceSelect({ code: 'LessonInfo', value: 'lessonno', text: 'lessonname', placeholder:'请选择课程' }); + $('#LessonNo').lrDataSourceSelect({ code: 'LessonInfo', value: 'lessonno', text: 'lessonname', placeholder: '请选择课程' }); $('#ClassRoomNo').lrDataSourceSelect({ code: 'ClassRoomInfo', value: 'classroomno', text: 'classroomname', placeholder: '请选择教室' }); $('#EmpNo').lrDataSourceSelect({ code: 'EmpInfo', value: 'empno', text: 'empname', placeholder: '请选择教师' }); }, @@ -107,9 +107,10 @@ var bootstrap = function ($, learun) { { label: '班级名称', name: 'ClassName', width: 100, align: "left" }, { label: '学生编号', name: 'StuNo', width: 100, align: "left" }, { label: '学生姓名', name: 'StuName', width: 200, align: "left" }, - { label: '座位编号', name: 'SitNumber', width: 100, align: "left" } + { label: '座位编号', name: 'SitNumber', width: 100, aligndd: "left" } ], mainId: 'AETId', + sidx: 'ExamTime asc, LessonNo asc,ClassRoomNo asc,ClassNo asc,SitNumber asc', isPage: true }); page.search();