|
@@ -0,0 +1,183 @@
|
|
|
+<html xmlns:th="http://www.thymeleaf.org">
|
|
|
+<head>
|
|
|
+<title>私塾家</title>
|
|
|
+<script th:include="sys/common/metaCSS" th:remove="tag"></script>
|
|
|
+<script th:include="sys/common/metaJS" th:remove="tag"></script>
|
|
|
+<script src="sys/js/My97DatePicker/WdatePicker.js" th:src="@{/static/sys/js/My97DatePicker/WdatePicker.js}"></script>
|
|
|
+</head>
|
|
|
+<style>
|
|
|
+ .tablelink{margin-right:10px;}
|
|
|
+ .stylecss{
|
|
|
+ color: red;
|
|
|
+ }
|
|
|
+ .select_width{
|
|
|
+ width: 220px;
|
|
|
+ }
|
|
|
+ .date_width{
|
|
|
+ width: 150px;
|
|
|
+ }
|
|
|
+ .select1{
|
|
|
+ width:100%;
|
|
|
+ height: 32px;
|
|
|
+ line-height: 32px;
|
|
|
+ border-top: solid 1px #a7b5bc;
|
|
|
+ border-left: solid 1px #a7b5bc;
|
|
|
+ border-right: solid 1px #ced9df;
|
|
|
+ border-bottom: solid 1px #ced9df;
|
|
|
+ opacity:1;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ }
|
|
|
+</style>
|
|
|
+<body>
|
|
|
+<div class="place">
|
|
|
+ <span>位置:</span>
|
|
|
+ <ul class="placeul">
|
|
|
+ <li><a th:href="@{/sys/imlibuser/school/list}">导入老师/学生</a></li>
|
|
|
+ <li><a href="#">流失学生列表</a></li>
|
|
|
+ </ul>
|
|
|
+</div>
|
|
|
+<div class="rightinfo">
|
|
|
+ <form id="seachform" th:action="${sysUrl+'/sys/imlibuser/invalidStudent/list/'+tbLibJoin.id}" method="post">
|
|
|
+ <input type="hidden" name="reportType" id="reportType" />
|
|
|
+ <ul class="seachform">
|
|
|
+ <li>
|
|
|
+ <input style="width: 250px;" name="name" placeholder="输入学生名称" type="text" class="scinput" th:value="${search.get('name')}"/>
|
|
|
+ </li>
|
|
|
+ <li>
|
|
|
+ <input type="button" class="scbtn" value="查询" />
|
|
|
+ </li>
|
|
|
+ <li style="line-height: 35px;">
|
|
|
+ <span style="font-size: 15px;color: red" th:text="${tbLibJoin.leagueName} "></span>
|
|
|
+ </li>
|
|
|
+ <li style="line-height: 35px;">
|
|
|
+ <a th:href="${sysUrl+'/sys/imlibuser/school/list'}">返回上一级</a>
|
|
|
+ </li>
|
|
|
+
|
|
|
+ </ul>
|
|
|
+ </form>
|
|
|
+
|
|
|
+ <ul class="seachform">
|
|
|
+<!-- <li> -->
|
|
|
+<!-- <input type="button" onclick="javascript:studentAdd();" style="width: 100px;height: 30px" class="scbtn" value="+ 添加学生" /> -->
|
|
|
+<!-- </li> -->
|
|
|
+
|
|
|
+<!-- <li>-->
|
|
|
+<!-- <input type="button" id="exbutton" style="width: 100px;height: 30px;background: #ccc no-repeat center;" class="scbtn" value="导出学生" />-->
|
|
|
+<!-- </li>-->
|
|
|
+
|
|
|
+ <li>
|
|
|
+<!-- <input type="button" onclick="javascript:studentServiceEdit();" style="width: 100px;height: 30px;background: red" class="scbtn" value="E 批量设置" /> -->
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+
|
|
|
+ <table class="tablelist">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th style="width: 5%">学生姓名</th>
|
|
|
+ <th style="width: 5%">学校</th>
|
|
|
+ <th style="width: 5%">年级</th>
|
|
|
+ <th style="width: 5%">家长姓名</th>
|
|
|
+ <th style="width: 5%">家长角色</th>
|
|
|
+ <th style="width: 5%">家长电话</th>
|
|
|
+ <th style="width: 5%">班级</th>
|
|
|
+<!-- <th style="width: 6%">(现)服务开始时间</th> -->
|
|
|
+<!-- <th style="width: 6%">(现)服务结束时间</th> -->
|
|
|
+<!-- <th style="width: 6%">(现)批改方式</th> -->
|
|
|
+ <th style="width: 10%">操作</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <tr th:each="item:${list}" >
|
|
|
+ <td th:text="${item.child_name}"></td>
|
|
|
+ <td th:text="${item.school}"></td>
|
|
|
+ <td th:text="${item.grade}"></td>
|
|
|
+ <td th:text="${item.parent_name}"></td>
|
|
|
+ <td th:text="${item.parent_role}"></td>
|
|
|
+ <td th:text="${item.phone}"></td>
|
|
|
+ <td th:text="${item.class_name}"></td>
|
|
|
+<!-- <td th:text="${item.libVipService.startTime}"></td> -->
|
|
|
+<!-- <td th:text="${item.libVipService.endTime}"></td> -->
|
|
|
+<!-- <td th:text="${item.libVipService.startTime ==null ? '无服务' : (item.libVipService.species eq 'S999' ? '内部用户' :(item.libVipService.correctType==1 ? '平台批改' : item.libVipService.correctType==2 ? '机构自批改' : item.libVipService.correctType==3 ? '家长自批改' : '平台批改'))}"></td> -->
|
|
|
+ <td>
|
|
|
+<!-- <a th:href="${'javascript:studentServiceAdd('''+item.id+''')'}" class="tablelink">添加服务</a> -->
|
|
|
+ <a th:href="${'javascript:addBack('''+item.id+''','''+tbLibJoin.id+''')'}" class="tablelink">重启服务</a>
|
|
|
+ <a th:href="${'javascript:studentDel('''+item.id+''','''+tbLibJoin.id+''')'}" class="tablelink">删除</a>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 分页 -->
|
|
|
+ <div class="pagin">
|
|
|
+ <div class="message">共<i class="blue">[[${page.rowCnt}]]</i>条记录,当前显示第 <i class="blue">[[${page.pageNo }]] </i>页</div>
|
|
|
+ <div th:utext='${listNavigatHtml}' th:remove="tag" ></div>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+</body>
|
|
|
+
|
|
|
+<script type="text/javascript">
|
|
|
+
|
|
|
+
|
|
|
+ $("#basecheckbox").bind("click",function(){
|
|
|
+ if($("#basecheckbox").is(':checked')){
|
|
|
+ $("[name='checkbox']").prop("checked",true);
|
|
|
+ }
|
|
|
+ if(!$("#basecheckbox").is(':checked')){
|
|
|
+ $("[name='checkbox']").removeAttr("checked");
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ function closeWin(){
|
|
|
+ parent.layer.closeAll();
|
|
|
+ layer.closeAll();
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ function addBack(vipId,libId){
|
|
|
+ parent.layer.confirm("您确定要重启学生服务吗?",
|
|
|
+ {
|
|
|
+ icon: 4,
|
|
|
+ btn: ['确定','关闭'],
|
|
|
+ offset: '150px' //按钮
|
|
|
+ }, function(){
|
|
|
+ var url="[[${sysUrl}]]/sys/imlibuser//student/addChildBack";
|
|
|
+ var params ={"vipId":vipId,"libId":libId};
|
|
|
+ $.post(url,params,function(data){
|
|
|
+ if(data.meta.success){
|
|
|
+ parent.layer.msg("重启成功",{icon:1});
|
|
|
+ location.reload();
|
|
|
+ }else{
|
|
|
+ parent.layer.msg(data.meta.message,{icon:11});
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ function studentDel(vipId,libId){
|
|
|
+ parent.layer.confirm("您确定要删除学生?", {
|
|
|
+ icon: 4, btn: ['确定','关闭'],offset: '100px' //按钮
|
|
|
+ }, function(){
|
|
|
+ var url="[[${sysUrl}]]/sys/imlibuser/student/delStudent";
|
|
|
+ var params ={"vipId":vipId,"libId":libId};
|
|
|
+ $.post(url,params,function(data){
|
|
|
+ if(data.meta.success){
|
|
|
+ parent.layer.msg("删除成功",{icon:1});
|
|
|
+ location.reload();
|
|
|
+ }else{
|
|
|
+ parent.layer.msg(data.meta.message,{icon:11});
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+</script>
|
|
|
+
|
|
|
+
|
|
|
+</html>
|