1234567891011121314151617181920212223242526272829303132333435363738394041 |
- var url = CMS_SystemConfig.VirtualDirectoryPath + "/DegreeCondition/Edit";
- var mnu = "";
- //加载
- $(function () {
- mnu = $.SystemGeneral.getUrlParam("MNU");
- })
- function reload() {
- $("#dgDegreeConditionList").cmsXDataTable("load", $.getDataGridParams("dgDegreeConditionList"));
- }
- //获取选中的数据
- function validChoose() {
- var d = [];
- $.each($("#dgDegreeConditionList").cmsXDataTable("getSelections"), function (index) {
- d.push(this.DegreeConditionID);
- });
- return d;
- }
- //修改
- function DegreeCondition_Update() {
- var d = validChoose();
- if (d == "") {
- $.messager.alert("系统提示", "请选择您要修改的信息。");
- return;
- }
- if (d.length > 1) {
- $.messager.alert("系统提示", "只能选择单个记录进行修改。");
- return;
- }
- var redirectTo = url + "?DegreeConditionID=" + d + "&MNU=" + mnu;
- $.popupTopWindow('学位条件修改', redirectTo, 650, 254, null, null);
- }
- //Excel导出
- function DegreeCondition_Export() {
- $("#formQuery").submit();
- }
|