diff --git a/src/main/resources/static/route/mail/forward-mail.html b/src/main/resources/static/route/mail/forward-mail.html index a9bf375..87845a8 100644 --- a/src/main/resources/static/route/mail/forward-mail.html +++ b/src/main/resources/static/route/mail/forward-mail.html @@ -19,11 +19,8 @@
diff --git a/src/main/resources/static/route/mail/mail-del-list.html b/src/main/resources/static/route/mail/mail-del-list.html index f1645c9..34ce353 100644 --- a/src/main/resources/static/route/mail/mail-del-list.html +++ b/src/main/resources/static/route/mail/mail-del-list.html @@ -98,7 +98,7 @@ if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { return '-'; } - return rowData; + return '' + rowData + ''; } }, {field: 'delTime', title: '删除时间', width: 170, align:'center', @@ -247,6 +247,25 @@ return; } }); + + table.on('tool(dataTable)', function(obj) { + var layEvent = obj.event; + if(layEvent === 'showEvent') { + layer.open({ + type: 2, + title: '查看', + closeBtn: 1, + area: ['95%', '95%'], + shadeClose: false, + anim: 2, + content: top.restAjax.path('route/mail/mail-del-show.html?id={arg}', [obj.data.id]), + end: function() { + reloadTable(); + } + }); + return; + } + }) });