From 30f072dac3bf54dd318b4f0eb08b945e75563ffa Mon Sep 17 00:00:00 2001 From: wans <747101512@qq.com> Date: Sat, 11 Jun 2022 15:10:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=A1=B5=E9=9D=A2=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/route/mail/forward-mail.html | 18 ++++++++++----- .../static/route/mail/mail-del-list.html | 21 ++++++++++++++++- .../static/route/mail/mail-del-show.html | 22 +++++++++++++++++- .../static/route/mail/mail-draft-list.html | 21 ++++++++++++++++- .../static/route/mail/mail-inbox-list.html | 20 +++++++++++++++- .../static/route/mail/mail-inbox-show.html | 18 ++++++++++----- .../route/mail/mail-send-draft-edit.html | 23 ++++++++++++------- .../static/route/mail/mail-send-list.html | 21 ++++++++++++++++- .../static/route/mail/replay-mail.html | 18 ++++++++++----- .../static/route/mail/send-mail.html | 18 ++++++++++++--- 10 files changed, 166 insertions(+), 34 deletions(-) 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; + } + }) });