Explorar el Código

【修改】助学金修改:资助等级进行判断;

新疆体育高职分支
dyy hace 1 año
padre
commit
1451084e95
Se han modificado 4 ficheros con 32 adiciones y 8 borrados
  1. +8
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuFellowship/Index.js
  2. +8
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuFellowship/IndexOfStudent.js
  3. +8
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuFellowship/IndexOfThree.js
  4. +8
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuFellowship/IndexOfTwo.js

+ 8
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuFellowship/Index.js Ver fichero

@@ -76,7 +76,13 @@ var bootstrap = function ($, learun) {
//下拉框绑定
$('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' });
$('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#SubsidizeType').lrDataItemSelect({ code: 'StateStipend' });

//判断助学金类型:1国家助学金,2校级助学金
if (types == "1") {
$('#SubsidizeType').lrDataItemSelect({ code: 'StateStipend' });
} else {
$('#SubsidizeType').lrDataItemSelect({ code: 'SchoolStipend' });
}

// 刷新
$('#lr_refresh').on('click', function () {
@@ -203,7 +209,7 @@ var bootstrap = function ($, learun) {
, formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'StateStipend',
code: types == "1" ? 'StateStipend' : 'SchoolStipend',
callback: function (_data) {
callback(_data.text);
}


+ 8
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuFellowship/IndexOfStudent.js Ver fichero

@@ -76,7 +76,13 @@ var bootstrap = function ($, learun) {
//下拉框绑定
$('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' });
$('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#SubsidizeType').lrDataItemSelect({ code: 'StateStipend' });
//判断助学金类型:1国家助学金,2校级助学金
if (types == "1") {
$('#SubsidizeType').lrDataItemSelect({ code: 'StateStipend' });
} else {
$('#SubsidizeType').lrDataItemSelect({ code: 'SchoolStipend' });
}

// 刷新
$('#lr_refresh').on('click', function () {
@@ -133,7 +139,7 @@ var bootstrap = function ($, learun) {
, formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'StateStipend',
code: types == "1" ? 'StateStipend' : 'SchoolStipend',
callback: function (_data) {
callback(_data.text);
}


+ 8
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuFellowship/IndexOfThree.js Ver fichero

@@ -76,7 +76,13 @@ var bootstrap = function ($, learun) {
//下拉框绑定
$('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' });
$('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#SubsidizeType').lrDataItemSelect({ code: 'StateStipend' });

//判断助学金类型:1国家助学金,2校级助学金
if (types == "1") {
$('#SubsidizeType').lrDataItemSelect({ code: 'StateStipend' });
} else {
$('#SubsidizeType').lrDataItemSelect({ code: 'SchoolStipend' });
}

// 刷新
$('#lr_refresh').on('click', function () {
@@ -187,7 +193,7 @@ var bootstrap = function ($, learun) {
, formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'StateStipend',
code: types == "1" ? 'StateStipend' : 'SchoolStipend',
callback: function (_data) {
callback(_data.text);
}


+ 8
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuFellowship/IndexOfTwo.js Ver fichero

@@ -76,7 +76,13 @@ var bootstrap = function ($, learun) {
//下拉框绑定
$('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' });
$('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#SubsidizeType').lrDataItemSelect({ code: 'StateStipend' });

//判断助学金类型:1国家助学金,2校级助学金
if (types == "1") {
$('#SubsidizeType').lrDataItemSelect({ code: 'StateStipend' });
} else {
$('#SubsidizeType').lrDataItemSelect({ code: 'SchoolStipend' });
}

// 刷新
$('#lr_refresh').on('click', function () {
@@ -190,7 +196,7 @@ var bootstrap = function ($, learun) {
, formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', {
key: value,
code: 'StateStipend',
code: types == "1" ? 'StateStipend' : 'SchoolStipend',
callback: function (_data) {
callback(_data.text);
}


Cargando…
Cancelar
Guardar