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