|
|
@@ -26,8 +26,8 @@ var bootstrap = function ($, learun) { |
|
|
|
id: 'form', |
|
|
|
title: '新增', |
|
|
|
url: top.$.rootUrl + '/EducationalAdministration/TeachingPlan/Form', |
|
|
|
width: 600, |
|
|
|
height: 400, |
|
|
|
width: 800, |
|
|
|
height: 600, |
|
|
|
callBack: function (id) { |
|
|
|
return top[id].acceptClick(refreshGirdData); |
|
|
|
} |
|
|
@@ -41,8 +41,8 @@ var bootstrap = function ($, learun) { |
|
|
|
id: 'form', |
|
|
|
title: '编辑', |
|
|
|
url: top.$.rootUrl + '/EducationalAdministration/TeachingPlan/Form?keyValue=' + keyValue, |
|
|
|
width: 600, |
|
|
|
height: 400, |
|
|
|
width: 800, |
|
|
|
height: 600, |
|
|
|
callBack: function (id) { |
|
|
|
return top[id].acceptClick(refreshGirdData); |
|
|
|
} |
|
|
@@ -74,6 +74,19 @@ var bootstrap = function ($, learun) { |
|
|
|
headData: [ |
|
|
|
{ label: "名称", name: "Name", width: 100, align: "left" }, |
|
|
|
{ label: "年级", name: "Grade", width: 100, align: "left" }, |
|
|
|
{ |
|
|
|
label: "专业部", name: "Dept", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo', |
|
|
|
key: value, |
|
|
|
keyId: 'deptno', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['deptname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "专业", name: "Major", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
@@ -88,6 +101,7 @@ var bootstrap = function ($, learun) { |
|
|
|
} |
|
|
|
}, |
|
|
|
{ label: "学制", name: "SchoolSystem", width: 100, align: "left" }, |
|
|
|
{ label: "学期课时量", name: "LessonTotal", width: 100, align: "left" }, |
|
|
|
{ label: "总学分", name: "Credit", width: 100, align: "left" }, |
|
|
|
{ |
|
|
|
label: "状态", name: "Enabled", width: 100, align: "left", |
|
|
|