Parcourir la source

班级管理系专业联动效果去掉

临城职教中职
liangkun il y a 2 ans
Parent
révision
f4bdfa164b
1 fichiers modifiés avec 12 ajouts et 12 suppressions
  1. +12
    -12
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassInfo/Form.js

+ 12
- 12
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ClassInfo/Form.js Voir le fichier

@@ -16,19 +16,19 @@ var bootstrap = function ($, learun) {
},
bind: function () {
$('#DeptNo').lrDataSourceSelect({
code: 'CdDeptInfo', value: 'deptno', text: 'deptname',
select: function (item) {
if (!!item) {
$('#MajorNo').lrselectRefresh({
url: "/CdMajor/GetListByDeptNo",
param: { DeptNo: item.deptno },
value: 'MajorNo',
text: 'MajorName'
});
}
}
code: 'CdDeptInfo', value: 'deptno', text: 'deptname'
//select: function (item) {
// if (!!item) {
// $('#MajorNo').lrselectRefresh({
// url: "/CdMajor/GetListByDeptNo",
// param: { DeptNo: item.deptno },
// value: 'MajorNo',
// text: 'MajorName'
// });
// }
//}
});
$('#MajorNo').lrselect();
$('#MajorNo').lrDataSourceSelect({ code: 'CdMajor', value: 'majorno', text: 'majorname'});
$('#Grade').lrselect({
url: top.$.rootUrl + '/EducationalAdministration/ClassInfo/GenerateNearByYear',
value: 'value',


Chargement…
Annuler
Enregistrer