From 2a0947924f3787797873a54b867d6a2b34bb0d01 Mon Sep 17 00:00:00 2001 From: weizhiqiang <598748873@qq.com> Date: Thu, 25 Oct 2018 10:23:06 +0800 Subject: [PATCH] =?UTF-8?q?exports=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/rmgroupmember/rmgroupmemberlist.js | 2 +- .../main/webapp/js/rmmysmpro/mysmprolist.js | 23 ++++++++++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/skyeye-web/src/main/webapp/js/rmgroupmember/rmgroupmemberlist.js b/skyeye-web/src/main/webapp/js/rmgroupmember/rmgroupmemberlist.js index 7266532b9..f0604f7f5 100644 --- a/skyeye-web/src/main/webapp/js/rmgroupmember/rmgroupmemberlist.js +++ b/skyeye-web/src/main/webapp/js/rmgroupmember/rmgroupmemberlist.js @@ -235,5 +235,5 @@ layui.config({ table.reload("messageTable", {where:{rmGroupId:$("#rmGroupId").val(), rmTypeId:$("#rmTypeId").val()}}); } - exports('rmgrouplist', {}); + exports('rmgroupmemberlist', {}); }); diff --git a/skyeye-web/src/main/webapp/js/rmmysmpro/mysmprolist.js b/skyeye-web/src/main/webapp/js/rmmysmpro/mysmprolist.js index 4ac0c24e9..012307f46 100644 --- a/skyeye-web/src/main/webapp/js/rmmysmpro/mysmprolist.js +++ b/skyeye-web/src/main/webapp/js/rmmysmpro/mysmprolist.js @@ -40,6 +40,8 @@ layui.config({ del(data, obj); }else if (layEvent === 'edit') { //编辑 edit(data); + }else if (layEvent === 'consolePro') { //管理项目 + consolePro(data); } }); @@ -70,6 +72,25 @@ layui.config({ }); } + //管理项目 + function consolePro(data){ + rowId = data.id; + _openNewWindows({ + url: "../../tpl/rmmysmpropage/mysmpropagelist.html", + title: "管理项目", + pageId: "rmmysmproconsolePro", + area:[], + maxmin: true, + callBack: function(refreshCode){ + if (refreshCode == '0') { + top.winui.window.msg("操作成功", {icon: 1,time: 2000}); + loadTable(); + } else if (refreshCode == '-9999') { + top.winui.window.msg("操作失败", {icon: 2,time: 2000}); + } + }}); + } + //编辑 function edit(data){ rowId = data.id; @@ -112,5 +133,5 @@ layui.config({ table.reload("messageTable", {where:{proName:$("#proName").val()}}); } - exports('rmtypelist', {}); + exports('mysmprolist', {}); }); -- GitLab