完成所有主列表JS模块化

This commit is contained in:
yubaolee
2016-04-16 23:25:00 +08:00
parent 25bb5bf07c
commit 2f0a9a3719
27 changed files with 1426 additions and 1400 deletions

View File

@@ -15,11 +15,11 @@
var moduleId = $.CurrentDialog.find("#selectedModuleId").val(); //外部传递的moduleId
$(document).ready(function () {
$.CurrentDialog.find('#btnAddElement').on('click', function () {
$.CurrentDialog.find('#btnAddElement').on('click', function () { //添加菜单
editEleDlg.add();
});
$.CurrentDialog.find('#btnEditElement').on('click', function () {
$.CurrentDialog.find('#btnEditElement').on('click', function () { //编辑菜单
var selected = thisDlg.getSelectedObj();
if (selected == null) {
return;
@@ -27,7 +27,7 @@ $(document).ready(function () {
editEleDlg.update(selected);
});
$.CurrentDialog.find('#btnDelElement').on('click', function () {
$.CurrentDialog.find('#btnDelElement').on('click', function () { //删除菜单
var selected = thisDlg.getSelectedMany(); //可以一次删除多个
if (selected == null) {
return;