837ae11d
 
  孙向锦
 
添加班長管理
 | 
1
2 
 | 
  <%@ page language="java" contentType="text/html; charset=UTF-8"
  	pageEncoding="UTF-8"%>
 
 | 
be2f84a1
 
  孙向锦
 
添加课后作业基础模块数据
 | 
3
4 
 | 
  <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
 
 | 
9b72ddba
 
  =
 
1.修改布置练习和班长管理
 | 
5 
 | 
  <%@ taglib prefix="myelfun" uri="/WEB-INF/tld/elfun.tld"%>
 
 | 
be2f84a1
 
  孙向锦
 
添加课后作业基础模块数据
 | 
6
7
8
9
10
11
12
13 
 | 
  <%
  	String path = request.getContextPath();
  	String basePath = request.getScheme() + "://"
  			+ request.getServerName() + ":" + request.getServerPort()
  			+ path + "/";
  %>
  <!DOCTYPE html>
  <html lang="en">
 
 | 
837ae11d
 
  孙向锦
 
添加班長管理
 | 
14 
 | 
  <title>中天电子-教育管理系统</title>
 
 | 
be2f84a1
 
  孙向锦
 
添加课后作业基础模块数据
 | 
15
16 
 | 
  <head>
  <base href="<%=basePath%>">
 
 | 
9b72ddba
 
  =
 
1.修改布置练习和班长管理
 | 
17
18
19
20
21
22
23
24
25 
 | 
  
  <!-- 下拉框 -->
  <link rel="stylesheet" href="static/ace/css/chosen.css" />
  <!-- jsp文件头和头部 -->
  
  <!-- 日期框 -->
  <link rel="stylesheet" href="static/ace/css/datepicker.css" />
  <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
  <link href="static/css/teach.css" rel="stylesheet">
 
 | 
be2f84a1
 
  孙向锦
 
添加课后作业基础模块数据
 | 
26
27 
 | 
  </head>
  <body class="no-skin">
 
 | 
9b72ddba
 
  =
 
1.修改布置练习和班长管理
 | 
28
29 
 | 
  
  
 
 | 
837ae11d
 
  孙向锦
 
添加班長管理
 | 
30 
 | 
  	<!-- 检索  -->
 
 | 
9b72ddba
 
  =
 
1.修改布置练习和班长管理
 | 
31
32
33
34
35
36
37
38
39
40
41
42
43 
 | 
  	<form action="headmaster/list.do" method="post" name="Form" id="Form">
  		<input type="hidden" name="SCHOOL_ID" id="SCHOOL_ID" value="${pd.SCHOOL_ID}"/>
  		<input type="hidden" name="GRADE_ID" id="GRADE_ID" value="${pd.GRADE_ID}"/>
  		<div class="head_box">
  			<div class="box_header">
  				<div class="head_box_l">
  					<p>
  						<span class="right_b"></span>班长管理
  					</p>
  				</div>
  				<div class="clearfix"></div>
  			</div>
  			<div style="background:#fff;padding:0 5%;" >
 
 | 
be2f84a1
 
  孙向锦
 
添加课后作业基础模块数据
 | 
44 
 | 
  
 
 | 
9b72ddba
 
  =
 
1.修改布置练习和班长管理
 | 
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67 
 | 
  				<table class="table table-striped" >
  					<col style="width: 10%" />
  					<col style="width: 10%" />
  					<col style="width: 10%" />
  					<col style="width: 10%" />					
  					<col style="width: 20%" />
  					<col style="width: 20%" />
  					<thead>
  						<tr>
  							<th><input type="checkbox" value="0" name='ids' id="ids" />序号</th>
  							<th class="center">姓名</th>
  							<th class="center">用户名</th>
  							<th class="center">密码</th>
  							<th class="center">联系电话</th>
  							<th class="center">操作</th>
  						</tr>
  						
  					</thead>
  				</table>
  			</div>
  
  			<div class="clearfix"></div>
  			<!-- 检索  -->
 
 | 
837ae11d
 
  孙向锦
 
添加班長管理
 | 
68 
 | 
  
 
 | 
9b72ddba
 
  =
 
1.修改布置练习和班长管理
 | 
69
70
71
72
73
74
75
76
77
78
79 
 | 
  		</div>
  		<div class="table_box" >
  			<table class="table table-striped" >
  				<col style="width: 10%" />
  				<col style="width: 10%" />
  				<col style="width: 10%" />
  				<col style="width: 10%" />				
  				<col style="width: 20%" />
  				<col style="width: 20%" />
  				<tbody>
  					<!-- 开始循环 -->
 
 | 
837ae11d
 
  孙向锦
 
添加班長管理
 | 
80
81
82 
 | 
  				<c:choose>
  					<c:when test="${not empty varList}">
  						<c:forEach items="${varList}" var="var" varStatus="vs">
 
 | 
9b72ddba
 
  =
 
1.修改布置练习和班长管理
 | 
83
84
85 
 | 
  							<tr>		
  								<td><input type="checkbox" name='ids' id="ids"
  										value="${var.ID}" />${vs.index+1}</td>
 
 | 
837ae11d
 
  孙向锦
 
添加班長管理
 | 
86
87 
 | 
  								<td class='center'>${var.NAME}</td>
  								<td class='center'>${var.USERNAME}</td>
 
 | 
9b72ddba
 
  =
 
1.修改布置练习和班长管理
 | 
88 
 | 
  								<td class='center'>${var.PASSWORD}</td>								
 
 | 
837ae11d
 
  孙向锦
 
添加班長管理
 | 
89 
 | 
  								<td class='center'>${var.PHONE}</td>
 
 | 
9b72ddba
 
  =
 
1.修改布置练习和班长管理
 | 
90 
 | 
  								<td><a onclick="edit('${var.HEADMASTER_ID}');" style="margin-right:10px;"><img src="static/images/eidtor.png" /></a><a href="#" onclick="del('${var.HEADMASTER_ID}');"><img src="static/images/remove.png" /></a></td>								
 
 | 
837ae11d
 
  孙向锦
 
添加班長管理
 | 
91 
 | 
  							</tr>
 
 | 
be2f84a1
 
  孙向锦
 
添加课后作业基础模块数据
 | 
92 
 | 
  
 
 | 
837ae11d
 
  孙向锦
 
添加班長管理
 | 
93
94
95
96
97
98
99
100 
 | 
  						</c:forEach>
  					</c:when>
  					<c:otherwise>
  						<tr class="main_info">
  							<td colspan="100" class="center">没有相关数据</td>
  						</tr>
  					</c:otherwise>
  				</c:choose>
 
 | 
9b72ddba
 
  =
 
1.修改布置练习和班长管理
 | 
101 
 | 
  				</tbody>
 
 | 
837ae11d
 
  孙向锦
 
添加班長管理
 | 
102 
 | 
  			</table>
 
 | 
9b72ddba
 
  =
 
1.修改布置练习和班长管理
 | 
103
104
105
106
107
108
109
110
111
112
113
114 
 | 
  			<div class="footer" style="width:auto;margin: 0px 5%;">
  				<div class="creat">
  					<input type="button" onclick="add();" value="添加班级" />
  				</div>
  				 <div class="removeAll">
  					<input type="button" onclick="del();" value="删除" />
  				</div> 
  				
  				<div class="page_box">
  					<div class="pagination" style="float: right;padding-top: 0px;margin-top: 0px;">${page.pageStr}</div>
  				</div>
  			</div> 
 
 | 
837ae11d
 
  孙向锦
 
添加班長管理
 | 
115
116 
 | 
  		</div>
  	</form>
 
 | 
be2f84a1
 
  孙向锦
 
添加课后作业基础模块数据
 | 
117
118
119
120
121
122 
 | 
  	</div>
  	<!-- /.main-container -->
  
  	<!-- basic scripts -->
  	<!-- 页面底部js¨ -->
  	<%@ include file="../../system/index/foot.jsp"%>
 
 | 
837ae11d
 
  孙向锦
 
添加班長管理
 | 
123 
 | 
  
 
 | 
be2f84a1
 
  孙向锦
 
添加课后作业基础模块数据
 | 
124 
 | 
  	<script type="text/javascript">
 
 | 
837ae11d
 
  孙向锦
 
添加班長管理
 | 
125 
 | 
  		window.top.loading.remove();
 
 | 
be2f84a1
 
  孙向锦
 
添加课后作业基础模块数据
 | 
126
127 
 | 
  		//检索
  		function tosearch(){
 
 | 
be2f84a1
 
  孙向锦
 
添加课后作业基础模块数据
 | 
128
129 
 | 
  			$("#Form").submit();
  		}
 
 | 
9b72ddba
 
  =
 
1.修改布置练习和班长管理
 | 
130
131
132
133
134
135
136 
 | 
  		//修改
  		function edit(Id){
  			window.top.modal.init({
  			'title':'修改信息',
  			'url':'<%=basePath%>headmaster/goEdit.do?HEADMASTER_ID='+Id,
  			func:function() {
  				tosearch();
 
 | 
be2f84a1
 
  孙向锦
 
添加课后作业基础模块数据
 | 
137 
 | 
  			}
 
 | 
be2f84a1
 
  孙向锦
 
添加课后作业基础模块数据
 | 
138 
 | 
  			});
 
 | 
9b72ddba
 
  =
 
1.修改布置练习和班长管理
 | 
139 
 | 
  			window.top.modal.show();
 
 | 
be2f84a1
 
  孙向锦
 
添加课后作业基础模块数据
 | 
140 
 | 
  		}
 
 | 
9b72ddba
 
  =
 
1.修改布置练习和班长管理
 | 
141
142
143
144
145
146
147 
 | 
  		function add(){
  			window.top.modal.init({
  			'title':'添加班长',
  			'url':'<%=basePath%>headmaster/goAdd.do?school_id=${pd.SCHOOL_ID}&grade_id=${pd.GRADE_ID}',
  			func:function() {
  				tosearch();
  			}
 
 | 
be2f84a1
 
  孙向锦
 
添加课后作业基础模块数据
 | 
148 
 | 
  			});
 
 | 
9b72ddba
 
  =
 
1.修改布置练习和班长管理
 | 
149 
 | 
  			window.top.modal.show();
 
 | 
be2f84a1
 
  孙向锦
 
添加课后作业基础模块数据
 | 
150 
 | 
  		}
 
 | 
9b72ddba
 
  =
 
1.修改布置练习和班长管理
 | 
151
152
153 
 | 
  		$(function() {
  
  		
 
 | 
be2f84a1
 
  孙向锦
 
添加课后作业基础模块数据
 | 
154 
 | 
  		
 
 | 
be2f84a1
 
  孙向锦
 
添加课后作业基础模块数据
 | 
155 
 | 
  		
 
 | 
9b72ddba
 
  =
 
1.修改布置练习和班长管理
 | 
156 
 | 
  		})
 
 | 
837ae11d
 
  孙向锦
 
添加班長管理
 | 
157 
 | 
  
 
 | 
be2f84a1
 
  孙向锦
 
添加课后作业基础模块数据
 | 
158
159
160
161
162 
 | 
  	</script>
  
  
  </body>
  </html>
 
 |