From 0096f2171aee3fcd4b4bc44c77c6696c470ae50f Mon Sep 17 00:00:00 2001 From: dyy <807692433@qq.com> Date: Mon, 11 Nov 2024 15:05:41 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E8=AF=BE?= =?UTF-8?q?=E7=A8=8B=E4=BF=A1=E6=81=AF=E7=AE=A1=E7=90=86=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/LessonInfo/Form.cshtml | 10 +++--- .../Views/LessonInfo/Form.js | 2 +- .../Views/LessonInfo/Index.js | 32 +++++++++---------- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Form.cshtml index aceea3a11..fe73d721f 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Form.cshtml @@ -36,15 +36,15 @@
-
周理论学时
+
理论学时
-
周实验学时
+
实训学时
-
每周课时
+
周学时
@@ -55,10 +55,10 @@
先修课程
-
+ @*
修读对象
-
+
*@
课程分类
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Form.js index 8550f0597..033c4a740 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Form.js @@ -54,7 +54,7 @@ var bootstrap = function ($, learun) { }); $('#HaveBeforeLesson').lrDataItemSelect({ code: 'YesOrNoBit' }); $('#BeforeLesson').lrDataSourceSelect({ code: 'LessonInfo', value: 'lessonno', text: 'lessonname' }); - $('#WhoStudy').lrDataSourceSelect({ code: 'LessonInfo', value: 'lessonno', text: 'lessonname' }); + //$('#WhoStudy').lrDataSourceSelect({ code: 'LessonInfo', value: 'lessonno', text: 'lessonname' }); $('#LessonSortNo').lrDataSourceSelect({ code: 'CdLessonSort', value: 'lessonsortno', text: 'lessonsortname' }); $('#LessonSortDetailNo').lrDataSourceSelect({ code: 'CdLessonSortDetail', value: 'lessonsortdetailno', text: 'lessonsortdetailname' }); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Index.js index 4d1f4d643..3d091505c 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Index.js @@ -186,9 +186,9 @@ var bootstrap = function ($, learun) { }, { label: "课程简称", name: "EnName", width: 100, align: "left" }, { label: "学分", name: "StudyScore", width: 50, align: "left" }, - { label: "周理论学时", name: "WeekStudyHour", width: 80, align: "left" }, - { label: "周实验学时", name: "WeekPracticeHour", width: 80, align: "left" }, - { label: "每周课时", name: "TotalStudyHour", width: 80, align: "left" }, + { label: "理论学时", name: "WeekStudyHour", width: 80, align: "left" }, + { label: "实训学时", name: "WeekPracticeHour", width: 80, align: "left" }, + { label: "周学时", name: "TotalStudyHour", width: 80, align: "left" }, { label: "是否先修", name: "HaveBeforeLesson", width: 80, align: "left", formatter: function (cellvalue) { @@ -208,19 +208,19 @@ var bootstrap = function ($, learun) { }); } }, - { - label: "修读对象", name: "WhoStudy", width: 120, align: "left", - formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('custmerData', { - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'LessonInfo', - key: value, - keyId: 'lessonno', - callback: function (_data) { - callback(_data['lessonname']); - } - }); - } - }, + //{ + // label: "修读对象", name: "WhoStudy", width: 120, align: "left", + // formatterAsync: function (callback, value, row, op, $cell) { + // learun.clientdata.getAsync('custmerData', { + // url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'LessonInfo', + // key: value, + // keyId: 'lessonno', + // callback: function (_data) { + // callback(_data['lessonname']); + // } + // }); + // } + //}, { label: "课程分类", name: "LessonSortNo", width: 150, align: "left", formatterAsync: function (callback, value, row, op, $cell) {