From 8728733ad60e1698bb6cf0fa2e428c28a6bffbe7 Mon Sep 17 00:00:00 2001
From: linzhijie <19970921lzj>
Date: 星期二, 06 四月 2021 10:34:12 +0800
Subject: [PATCH] 需求提交。

---
 src/main/resources/templates/exam/template/template.html |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/templates/exam/template/template.html b/src/main/resources/templates/exam/template/template.html
index f977352..8a12fc2 100644
--- a/src/main/resources/templates/exam/template/template.html
+++ b/src/main/resources/templates/exam/template/template.html
@@ -52,7 +52,10 @@
                 </a>
                 <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="exam:template:export">
                     <i class="fa fa-download"></i> [[#{dict.ic22}]]
-                 </a>
+                </a>
+                <a class="btn btn-danger+" onclick="emailEdit()" shiro:hasPermission="exam:email:edit">
+                    <i class="fa fa-edit"></i> [[#{dict.ic175}]]
+                </a>
             </div>
             <div class="col-sm-12 select-table table-striped">
                 <table id="bootstrap-table" data-mobile-responsive="true"></table>
@@ -126,6 +129,11 @@
             };
             $.table.init(options);
         });
+
+        function emailEdit() {
+            var url = prefix + '/emailEdit';
+            $.modal.open([[#{dict.ic175}]], url);
+        }
     </script>
 </body>
 </html>
\ No newline at end of file

--
Gitblit v1.9.1