function see(id,state) {
if (id == undefined) {
var rows = dataGrid.datagrid('getSelections');
id = rows[0].id;
} else {
dataGrid.datagrid('unselectAll').datagrid('uncheckAll');
}
parent.$.modalDialog({
title : '局長信箱回覆查看',
width : 520,
height : 500,
href : '${path }/bizMailBoxCtrl/seePage.do?id=' + id,
buttons : [ {
text : '確定',
handler : function() {
parent.$.modalDialog.handler.dialog('close');
}
} ]
});
};
easyUI 環境下,關閉打開的窗口的方法
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.