123456789101112131415161718192021222324252627282930313233343536 |
- var url = CMS_SystemConfig.VirtualDirectoryPath + "/InSchoolSetting/Edit";
- var mnu = "";
- //加载
- $(function () {
- mnu = $.SystemGeneral.getUrlParam("MNU");
- })
- //刷新
- function reload() {
- $("#dgInSchoolSettingList").cmsXDataTable("load", $.getDataGridParams("dgInSchoolSettingList"));
- }
- //获取选中的数据
- function validChoose() {
- var d = [];
- $.each($("#dgInSchoolSettingList").cmsXDataTable("getSelections"), function (index) {
- d.push(this.InSchoolSettingID);
- });
- return d;
- }
- //设置
- function InSchoolSetting_Save() {
- $(document.forms[0]).submit();
- }
- //设置列颜色为红色
- function SetRedColumn(index, row, value) {
- return " <span style=\"color: red;\">" + value + "</span>";
- }
- //Excel导出
- function InSchoolSetting_Export() {
- $("#formQuery").submit();
- }
|