Kaynağa Gözat

【修改】课程信息管理修改;

新疆警官学校中职
dyy 2 hafta önce
ebeveyn
işleme
0096f2171a
3 değiştirilmiş dosya ile 22 ekleme ve 22 silme
  1. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Form.cshtml
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Form.js
  3. +16
    -16
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Index.js

+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Form.cshtml Dosyayı Görüntüle

@@ -36,15 +36,15 @@
<input id="StudyScore" type="text" class="form-control"/>
</div>
<div class="col-xs-6 lr-form-item" data-table="LessonInfo">
<div class="lr-form-item-title">理论学时</div>
<div class="lr-form-item-title">理论学时</div>
<input id="WeekStudyHour" type="text" class="form-control"/>
</div>
<div class="col-xs-6 lr-form-item" data-table="LessonInfo">
<div class="lr-form-item-title">周实验学时</div>
<div class="lr-form-item-title">实训学时</div>
<input id="WeekPracticeHour" type="text" class="form-control"/>
</div>
<div class="col-xs-6 lr-form-item" data-table="LessonInfo">
<div class="lr-form-item-title">每周课时</div>
<div class="lr-form-item-title">周学时</div>
<input id="TotalStudyHour" type="text" class="form-control"/>
</div>
<div class="col-xs-6 lr-form-item" data-table="LessonInfo">
@@ -55,10 +55,10 @@
<div class="lr-form-item-title">先修课程</div>
<div id="BeforeLesson"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="LessonInfo">
@*<div class="col-xs-6 lr-form-item" data-table="LessonInfo">
<div class="lr-form-item-title">修读对象</div>
<div id="WhoStudy"></div>
</div>
</div>*@
<div class="col-xs-6 lr-form-item" data-table="LessonInfo">
<div class="lr-form-item-title">课程分类</div>
<div id="LessonSortNo"></div>


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Form.js Dosyayı Görüntüle

@@ -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' });



+ 16
- 16
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/LessonInfo/Index.js Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet