1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
-
- var mnu = "";
- //加载
- $(function () {
- mnu = $.SystemGeneral.getUrlParam("MNU");
- })
- //获取选中的数据
- function validChoose() {
- var d = [];
- $.each($("#dgSOCDetailGroupList").cmsXDataTable("getSelections"), function (index) {
- d.push(this.SOCDetailID);
- });
- return d;
- }
- function reload() {
- $("#dgSOCDetailGroupList").cmsXDataTable("load", $.getDataGridParams("dgSOCDetailGroupList"));
- }
- function GroupDetail(rowindex, rowdata) {
- var redirectTo = CMS_SystemConfig.VirtualDirectoryPath + "/SOCDetailGroup/Detail?SOCDetailID=" + rowdata.SOCDetailID + "&MNU=" + mnu;
- $.popupTopWindow('分组详情', redirectTo, 800, 600, null, null);
- }
- function SOCDetailGroup_Group() {
- var d = validChoose();
- if (d.length == 0) {
- $.messager.alert("系统信息", "请选择您要进行分组的信息。");
- return;
- }
- if (d.length > 1) {
- $.messager.alert("系统信息", "只能选择单个记录进行分组。");
- return;
- }
- var redirectTo = CMS_SystemConfig.VirtualDirectoryPath + "/SOCDetailGroup/Group?SOCDetailID=" + d + "&MNU=" + mnu;
- $.popupTopWindow('分组管理', redirectTo, 800, 600, reload);
- }
- function SOCDetailGroup_Excel() {
-
- }
|