From d6f1304cce520ab8205e1137d9d6bb51c73add76 Mon Sep 17 00:00:00 2001 From: jack-rabbit <376168706@qq.com> Date: Thu, 11 Apr 2019 14:43:36 +0800 Subject: [PATCH] 1.添加个人设置 --- WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_edit3.jsp | 1 - WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_main.jsp | 18 +++++++++++++++++- WebRoot/static/images/psw_edit.png | Bin 0 -> 439 bytes 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 WebRoot/static/images/psw_edit.png diff --git a/WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_edit3.jsp b/WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_edit3.jsp index dca2ff4..5c9a17a 100644 --- a/WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_edit3.jsp +++ b/WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_edit3.jsp @@ -29,7 +29,6 @@
-
diff --git a/WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_main.jsp b/WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_main.jsp index 241ad6d..90695c4 100644 --- a/WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_main.jsp +++ b/WebRoot/WEB-INF/jsp/sunvote/teacher/teacher_main.jsp @@ -38,6 +38,9 @@ +
@@ -51,8 +54,8 @@

${pd.TEACHER.TNAME }

${pd.TEACHER.SNAME }

-

+

@@ -217,6 +220,17 @@ //} } + function editInfo(){ + window.top.modal.init({ + 'title':'个人设置', + 'url':'<%=basePath%>teacher/goEdit3.do?teacher_id=${pd.TEACHER.ID}', + func:function() { + //tosearch(); + } + }); + window.top.modal.show(); + } + $("#time_submit").click(function(){ var name = $("#enter_title").val(); var time = $("#enter_time").val(); @@ -249,6 +263,8 @@ //} }); + + var defaultUrl = '${pd.DEFAULTURL}' ; if(defaultUrl != '' && defaultUrl != ''){ $("#mainFrame").attr('src',defaultUrl); diff --git a/WebRoot/static/images/psw_edit.png b/WebRoot/static/images/psw_edit.png new file mode 100644 index 0000000..e0fef26 Binary files /dev/null and b/WebRoot/static/images/psw_edit.png differ -- libgit2 0.21.4