|
|
@@ -20,9 +20,14 @@ var bootstrap = function ($, learun) { |
|
|
|
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { |
|
|
|
page.search(queryJson); |
|
|
|
}, 220, 400); |
|
|
|
$('#SchoolType').lrDataSourceSelect({ code: 'Iszxj', value: 'id', text: 'itemname' }); |
|
|
|
$('#SchoolType').lrselect({ |
|
|
|
allowSearch: true, |
|
|
|
url: top.$.rootUrl + '/EducationalAdministration/Scholarship/GetList?queryJson=' + JSON.stringify({ IsType: 1, IsValid: 0 }), |
|
|
|
value: "Id", |
|
|
|
text: "ItemName" |
|
|
|
}); |
|
|
|
$('#State').lrselect({ |
|
|
|
data: [{ text: "待审核", value: "0" }, { text: "同意", value: "1" }, { text: "不同意", value: "2" }], |
|
|
|
data: [{ text: "待审核", value: "0" }, { text: "审核通过", value: "1" }, { text: "不通过", value: "2" }], |
|
|
|
text: "text", |
|
|
|
value: "value" |
|
|
|
}) |
|
|
@@ -83,11 +88,11 @@ var bootstrap = function ($, learun) { |
|
|
|
label: "助学金类型", name: "SchoolType", width: 200, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Iszxj', |
|
|
|
url: '/EducationalAdministration/Scholarship/GetList?queryJson=' + JSON.stringify({ IsType: 1, IsValid: 0 }), |
|
|
|
key: value, |
|
|
|
keyId: 'id', |
|
|
|
keyId: 'Id', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['itemname']); |
|
|
|
callback(_data['ItemName']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|