Compare commits

..

2 Commits

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>寝室管理系统</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.aptana.ide.core.unifiedBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.aptana.projects.webnature</nature>
</natures>
<filteredResources>
<filter>
<id>1600564941379</id>
<name></name>
<type>26</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-name-matches-false-false-node_modules</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>

@ -0,0 +1,261 @@
<!DOCTYPE HTML>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<link href="../css/style.css" rel='stylesheet' type='text/css' />
<link href="../css/dorm.css" rel='stylesheet' type='text/css' />
<link href="../css/bootstrap/bootstrap.css" rel='stylesheet' type='text/css' />
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/bootstrap-dropdown.min.js"></script>
<script src="../js/vue/vue.js"></script>
<script src="../js/vue/axios.min.js"></script>
</head>
<body >
<!-- banner -->
<div class="banner" >
<div class="header">
<div class="logo" id="session__app">
<a href="javascript:window.location.reload();">{{login.userName}}</a>
</div>
<div class="top-menu">
<ul class="navig">
<li class="active">
<a href="#">首页</a>
</li>
<li >
<a href="dormManage.html">宿舍管理员</a>
</li>
<li>
<a href="studentManage.html">学生</a>
</li>
<li>
<a href="buildManage.html">宿舍楼</a>
</li>
<li>
<a href="recordManage.html">考勤</a>
</li>
<li>
<a href="punchClockManage.html">打卡</a>
</li>
<li>
<a href="noticeManage.html">公告</a>
</li>
<li class="dropdown">
<a href="#" class="" role="button" data-hover="dropdown">我的</a>
<ul class="dropdown-menu">
<li onclick="my()"><a href="#updateinfo" data-toggle="modal">个人资料</a></li>
<li><a href="#updatepwd" data-toggle="modal">修改密码</a></li>
<li><a href="javascript:exitSys();">退出</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<!---->
<!-- -->
<div class="center-content" id="app">
<div class="left">
<div class="gongGao">
<div class="title">公 告</div>
<div class="context">你是管理员,请<a style="display:inline-block;" href="noticeManage.html">发布公告</a></div>
</div>
<div class="gongGao">
<div class="title">友 情 链 接</div>
<div class="context">
<a href="https://blog.csdn.net/qq_40625778">》CSDN技术分享</a>
<a href="https://gzh.cyouagain.cn/">》热门文章推荐</a>
<a href="https://y0ahx3.coding-pages.com/">》个人博客,系统源码大全</a>
<a href="https://www.cnblogs.com/cafuc20160512056/">》博客园,技术分享</a>
<a href="https://www.jianshu.com/u/33531987c9a7">》简书,技术分享</a>
</div>
</div>
<div class="gongGao">
<div class="title">源 码 下 载</div>
<div class="context">
<div style="font-size:14px; width: 100%; height: 400px;margin-bottom: 20px;">
<div style="padding: 5px; color: black">
<label style="font-size:15px;font-weight: normal;">下载源码请到公众号C you again</label><br />
<label style="font-size:15px;font-weight: normal;">1、求职者面试题、面试经验、面试技巧</label><br />
<label style="font-size:15px;font-weight: normal;">2、职场人技术分享、程序人生</label><br />
<label style="font-size:15px;font-weight: normal;">3、学生党Java从入门到精通PDF版教程、数据结构与算法、各类系统实战教程</label><br />
<label style="font-size:15px;font-weight: normal;">4、其它PPT模板、简历模板、计算机使用技术及技巧</label>
</div>
<img width="160px" style="margin-left:50px;" src="../img/gzh.jpg" />
</div>
</div>
</div>
</div>
<div class="right">
<div class="data_list">
<div class="wele">系统管理员,欢迎你登录寝室管理系统</div>
<div class="list-content">
<div class="quanxian">你拥有以下权限</div>
<ul>
<li>1、添加、修改、删除公告信息</li>
<li>2、添加、修改、删除宿舍管理员信息</li>
<li>3、添加、修改、删除学生信息</li>
<li>4、宿舍楼管理及其宿舍管理员分配</li>
<li>5、学生寝室管理</li>
<li>6、发布考勤、打卡任务</li>
<li>7、查看、修改个人信息</li>
</ul>
</div>
</div>
</div>
</div>
<!---->
<div class="copywrite">
<div class="container">
<p>版权声明此系统来自于公众号【C you again】使用过程中请注明来源欢迎大家学习参考
<a href="https://cyouagain.cn/">公众号官网,点击查看更细系统源码</a> |
<a href="https://gzh.cyouagain.cn/">热文推荐</a>
</p>
</div>
</div>
<!-------------------------个人资料模糊框------------------------------------->
<form class="form-horizontal" method="get" action="#"> <!--保证样式水平不混乱-->
<!-- 模态框Modal -->
<div class="modal fade" id="updateinfo" tabindex="-1" role="dialog" aria-labelledby="ModalLabel" aria-hidden="true">
<div id="user_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="ModalLabel">
个人资料
</h4>
</div>
<div class="modal-body">
<!--正文-->
<input type="hidden" name="tip" value="2">
<input type="hidden" name="url" value="admin/index">
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">用户名</label>
<div class="col-sm-7">
<input v-model="user.userName" type="text" class="form-control" placeholder="请输入用户名"
>
<label class="control-label" for="name" style="display: none"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">真实姓名</label>
<div class="col-sm-7">
<input v-model="user.name" type="text" class="form-control" id="name" name="name" placeholder="请输入您的真实姓名">
<label class="control-label" for="name" style="display: none"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">手机号</label>
<div class="col-sm-7">
<input v-model="user.tel" type="text" class="form-control" id="phone" name="tel" placeholder="请输入您的手机号">
<label class="control-label" for="phone" style="display: none"></label>
</div>
</div>
<!--正文-->
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button onclick="editMyMsg()" class="btn btn-primary">
修改
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!-------------------------------------------------------------->
<!-------------------------------------------------------------->
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<!-- 模态框Modal -->
<div class="modal fade" id="updatepwd" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true">
<div id="updatepwd_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="myModalLabel">
修改密码
</h4>
</div>
<div class="modal-body">
<!--正文-->
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">原密码</label>
<div class="col-sm-7">
<input required="required" onBlur="checkedPassword()" type="password" class="form-control" name="password" id="oldPwd"
placeholder="请输入原密码">
<label class="control-label" for="oldPwd" style="display: none"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">新密码</label>
<div class="col-sm-7">
<input required="required" type="password" class="form-control" name="password2" id="newPwd"
placeholder="请输入新密码">
<label class="control-label" for="newPwd" style="display: none"></label>
</div>
</div>
<!--正文-->
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" onclick="editPassword()" class="btn btn-primary">
修改
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!-------------------------------------------------------------->
<!-------------------------------修改的模态框------------------------------->
<script src="../js/vue/admin_adminManage.js"></script>
<script src="../js/vue/admin_loginManage.js"></script>
</body>
</html>

@ -0,0 +1,330 @@
<!DOCTYPE HTML>
<html>
<head>
<title>公众号【C you again】宿舍楼管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<link href="../css/style.css" rel='stylesheet' type='text/css' />
<link href="../css/dorm.css" rel='stylesheet' type='text/css' />
<link href="../css/bootstrap/bootstrap.css" rel='stylesheet' type='text/css' />
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/vue/vue.js"></script>
<script src="../js/vue/axios.min.js"></script>
</head>
<body >
<!-- banner -->
<div class="banner" >
<div class="header">
<div class="logo" id="session__app">
<a href="javascript:window.location.reload();">{{login.userName}}</a>
</div>
<div class="top-menu">
<ul class="navig">
<li>
<a href="admin_index.html">首页</a>
</li>
<li>
<a href="dormManage.html">宿舍管理员</a>
</li>
<li>
<a href="studentManage.html">学生</a>
</li>
<li class="active">
<a href="#">宿舍楼</a>
</li>
<li>
<a href="recordManage.html">考勤</a>
</li>
<li>
<a href="punchClockManage.html">打卡</a>
</li>
<li>
<a href="noticeManage.html">公告</a>
</li>
</ul>
</div>
</div>
</div>
<!---->
<!-- -->
<div class="center-content" id="app">
<div class="left">
<div class="gongGao">
<div class="title">公 告</div>
<div class="context">你是管理员,请<a style="display:inline-block;" href="noticeManage.html">发布公告</a></div>
</div>
<div class="gongGao">
<div class="title">友 情 链 接</div>
<div class="context">
<a href="https://blog.csdn.net/qq_40625778">》CSDN技术分享</a>
<a href="https://gzh.cyouagain.cn/">》热门文章推荐</a>
<a href="https://y0ahx3.coding-pages.com/">》个人博客,系统源码大全</a>
<a href="https://www.cnblogs.com/cafuc20160512056/">》博客园,技术分享</a>
<a href="https://www.jianshu.com/u/33531987c9a7">》简书,技术分享</a>
</div>
</div>
<div class="gongGao">
<div class="title">源 码 下 载</div>
<div class="context">
<div style="font-size:14px; width: 100%; height: 400px;margin-bottom: 20px;">
<div style="padding: 5px; color: black">
<label style="font-size:15px;font-weight: normal;">下载源码请到公众号C you again</label><br />
<label style="font-size:15px;font-weight: normal;">1、求职者面试题、面试经验、面试技巧</label><br />
<label style="font-size:15px;font-weight: normal;">2、职场人技术分享、程序人生</label><br />
<label style="font-size:15px;font-weight: normal;">3、学生党Java从入门到精通PDF版教程、数据结构与算法、各类系统实战教程</label><br />
<label style="font-size:15px;font-weight: normal;">4、其它PPT模板、简历模板、计算机使用技术及技巧</label>
</div>
<img width="160px" style="margin-left:50px;" src="../img/gzh.jpg" />
</div>
</div>
</div>
</div>
<div class="right">
<div class="data_list">
<div class="data_list_title">
宿舍楼管理
</div>
<form name="myForm" class="form-search" method="post" action="#">
<button type="button" class="btn btn-primary" id="btn_add" data-toggle="modal"
data-target="#addModal">添加宿舍楼</button>
<span class="data_search">
<select v-model="search.filter" id="searchType" name="searchType" style="width: 80px;">
<option value="dormBuildName">名称</option>
</select>
&nbsp;<input v-model="search.key" id="s_dormManagerText" name="s_dormManagerText" type="text" style="width:120px;height: 30px;" class="input-medium search-query" >
&nbsp;<button onclick="searchBuildManage()" type="button" class="btn btn-info" >搜索</button>
</span>
</form>
<div>
<table class="table table-hover table-striped table-bordered">
<tr>
<th>编号</th>
<th>名称</th>
<th>说明</th>
<th>操作</th>
</tr>
<tr v-for="(item,index) in buildManageList">
<td>{{index+1}}</td>
<td>{{item.dormBuildName}}</td>
<td>{{item.dormBuildDetail}}</td>
<td>
<button class="btn btn-mini btn-info" type="button" @click="getDormMangerByBuildId(item.dormBuildId)" id="btn_edit" data-toggle="modal" data-target="#editDormManage">查看宿管</button>&nbsp;
<button class="btn btn-mini btn-info" type="button" @click="getBuildMangerById(item.dormBuildId)" id="btn_edit" data-toggle="modal" data-target="#updateModal">修改</button>&nbsp;
<button class="btn btn-mini btn-danger" type="button" @click="buildManagerDeleteById(item.dormBuildId)">删除</button></td>
</tr>
</table>
</div>
<div class="pagination pagination-centered">
<div class="pagination_box">
<button id="page_up" type="button" onclick="pageUp()" class="page_up">上一页</button>
<div class="page_cur">{{pagination.pageNum}}/{{pagination.pageTotal}}</div>
<button id="page_down" onclick="pageDown()" type="button" class="page_down">下一页</button>
</div>
</div>
</div>
</div>
</div>
<!---->
<div class="copywrite">
<div class="container">
<p>版权声明此系统来自于公众号【C you again】使用过程中请注明来源欢迎大家学习参考
<a href="https://cyouagain.cn/">公众号官网,点击查看更细系统源码</a> |
<a href="https://gzh.cyouagain.cn/">热文推荐</a>
</p>
</div>
</div>
<!--------------------------------------添加的模糊框------------------------>
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<!-- 模态框Modal -->
<div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true">
<div id="addBuildManage_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="myModalLabel">
添加宿舍楼
</h4>
</div>
<div class="modal-body">
<!---------------------表单-------------------->
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">名称</label>
<div class="col-sm-7">
<input v-model="buildManage.dormBuildName" type="text" class="form-control" id="addUserName" required="required" name="dormBuildName"
placeholder="请输入宿舍楼名称">
<label class="control-label" for="addDormBuildName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">说明</label>
<div class="col-sm-7">
<input v-model="buildManage.dormBuildDetail" type="text" class="form-control" id="addName" required="required" name="dormBuildDetail"
placeholder="请输入说明">
<label class="control-label" for="addDormBuildDetail" style="display: none;"></label>
</div>
</div>
<!---------------------表单-------------------->
</div>
<div class="modal-footer">
<button onclick="exit()" type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" onclick="addBuildManageMsg()" class="btn btn-primary hidden_btn">
添加
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!--------------------------------------添加的模糊框------------------------>
<!------------------------------ 修改模态框Modal ------------------------>
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<div class="modal fade" id="updateModal" tabindex="-1" role="dialog" aria-labelledby="updateModalLabel"
aria-hidden="true">
<div id="getBuildMangerById_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="updateModalLabel">
修改宿舍楼信息
</h4>
</div>
<div class="modal-body">
<!---------------------表单-------------------->
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">名称</label>
<div class="col-sm-7">
<input v-model="buildManage.dormBuildName" type="text" class="form-control" id="addUserName" required="required" name="dormBuildName"
placeholder="请输入宿舍楼名称">
<label class="control-label" for="addDormBuildName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">说明</label>
<div class="col-sm-7">
<input v-model="buildManage.dormBuildDetail" type="text" class="form-control" id="addName" required="required" name="dormBuildDetail"
placeholder="请输入说明">
<label class="control-label" for="addDormBuildDetail" style="display: none;"></label>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" onclick="updataBuildManageMsg()" class="btn btn-primary">
修改
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!-------------------------------修改的模态框------------------------------->
<!------------------------------ 修改宿管模态框Modal ------------------------>
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<div class="modal fade" id="editDormManage" tabindex="-1" role="dialog" aria-labelledby="updateModalLabel"
aria-hidden="true">
<div id="getDormManageByBuildId_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="updateModalLabel">
查看宿管信息
</h4>
</div>
<div class="modal-body">
<!---------------------表单-------------------->
<div class="data_list edit_dorm">
<div class="data_list_title">
选择宿管:
<select v-model="optionKey" id="searchType" name="searchType" style="width: 80px;">
<option value="-1">请选择宿管</option>
<option v-for="(item,index) in optionsDormManage" v-bind:value="item.dormManId">{{item.name}}</option>
</select>
<button type="button" onclick="addDormManageToBuild()" class="btn btn-primary">
添加
</button>
</div>
<div>
<table class="table table-hover table-striped table-bordered">
<tr>
<th>编号</th>
<th>姓名</th>
<th>性别</th>
<th>手机</th>
<th>操作</th>
</tr>
<tr v-for="(item,index) in dormManage">
<td>{{index+1}}</td>
<td>{{item.name}}</td>
<td>{{item.sex}}</td>
<td>{{item.tel}}</td>
<td>
<button class="btn btn-mini btn-danger" type="button" @click="removeaDormManageToBuild(item.dormManId)">移除</button></td>
</tr>
</table>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!-------------------------------修改宿管的模态框------------------------------->
<script src="../js/vue/admin_buildManage.js"></script>
<script src="../js/vue/admin_loginManage.js"></script>
</body>
</html>

@ -0,0 +1,344 @@
<!DOCTYPE HTML>
<html>
<head>
<title>公众号【C you again】宿舍管理员管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<link href="../css/style.css" rel='stylesheet' type='text/css' />
<link href="../css/dorm.css" rel='stylesheet' type='text/css' />
<link href="../css/bootstrap/bootstrap.css" rel='stylesheet' type='text/css' />
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/bootstrap-dropdown.min.js"></script>
<script src="../js/vue/vue.js"></script>
<script src="../js/vue/axios.min.js"></script>
</head>
<body >
<!-- banner -->
<div class="banner" >
<div class="header">
<div class="logo" id="session__app">
<a href="javascript:window.location.reload();">{{login.userName}}</a>
</div>
<div class="top-menu">
<ul class="navig">
<li>
<a href="admin_index.html">首页</a>
</li>
<li class="active">
<a href="#">宿舍管理员</a>
</li>
<li>
<a href="studentManage.html">学生</a>
</li>
<li>
<a href="buildManage.html">宿舍楼</a>
</li>
<li>
<a href="recordManage.html">考勤</a>
</li>
<li>
<a href="punchClockManage.html">打卡</a>
</li>
<li>
<a href="noticeManage.html">公告</a>
</li>
</ul>
</div>
</div>
</div>
<!---->
<!-- -->
<div class="center-content" id="app">
<div class="left">
<div class="gongGao">
<div class="title">公 告</div>
<div class="context">你是管理员,请<a style="display:inline-block;" href="noticeManage.html">发布公告</a></div>
</div>
<div class="gongGao">
<div class="title">友 情 链 接</div>
<div class="context">
<a href="https://blog.csdn.net/qq_40625778">》CSDN技术分享</a>
<a href="https://gzh.cyouagain.cn/">》热门文章推荐</a>
<a href="https://y0ahx3.coding-pages.com/">》个人博客,系统源码大全</a>
<a href="https://www.cnblogs.com/cafuc20160512056/">》博客园,技术分享</a>
<a href="https://www.jianshu.com/u/33531987c9a7">》简书,技术分享</a>
</div>
</div>
<div class="gongGao">
<div class="title">源 码 下 载</div>
<div class="context">
<div style="font-size:14px; width: 100%; height: 400px;margin-bottom: 20px;">
<div style="padding: 5px; color: black">
<label style="font-size:15px;font-weight: normal;">下载源码请到公众号C you again</label><br />
<label style="font-size:15px;font-weight: normal;">1、求职者面试题、面试经验、面试技巧</label><br />
<label style="font-size:15px;font-weight: normal;">2、职场人技术分享、程序人生</label><br />
<label style="font-size:15px;font-weight: normal;">3、学生党Java从入门到精通PDF版教程、数据结构与算法、各类系统实战教程</label><br />
<label style="font-size:15px;font-weight: normal;">4、其它PPT模板、简历模板、计算机使用技术及技巧</label>
</div>
<img width="160px" style="margin-left:50px;" src="../img/gzh.jpg" />
</div>
</div>
</div>
</div>
<div class="right">
<div class="data_list">
<div class="data_list_title">
宿舍管理员管理
</div>
<form name="myForm" class="form-search" method="post" action="#">
<button type="button" class="btn btn-primary" id="btn_add" data-toggle="modal"
data-target="#addModal">添加宿管</button>
<span class="data_search">
<select v-model="search.filter" id="searchType" name="searchType" style="width: 80px;">
<option value="name">姓名</option>
<option value="userName">用户名</option>
</select>
&nbsp;<input v-model="search.key" id="s_dormManagerText" name="s_dormManagerText" type="text" style="width:120px;height: 30px;" class="input-medium search-query" >
&nbsp;<button onclick="searchDormManage()" type="button" class="btn btn-info" >搜索</button>
</span>
</form>
<div>
<table class="table table-hover table-striped table-bordered">
<tr>
<th>编号</th>
<th>姓名</th>
<th>性别</th>
<th>电话</th>
<th>宿舍楼</th>
<th>用户名</th>
<th>操作</th>
</tr>
<tr v-for="(item,index) in dormManageList">
<td>{{index+1}}</td>
<td>{{item.name}}</td>
<td>{{item.sex}}</td>
<td>{{item.tel}}</td>
<td>{{item.dormBuildId==0?'暂未安排':item.dormBuildId+'栋'}}</td>
<td>{{item.userName}}</td>
<td><button class="btn btn-mini btn-info" type="button" @click="getDormMangerById(item.dormManId)" id="btn_edit" data-toggle="modal" data-target="#updateModal">修改</button>&nbsp;
<button class="btn btn-mini btn-danger" type="button" @click="dormManagerDeleteById(item.dormManId)">删除</button></td>
</tr>
</table>
</div>
<div class="pagination pagination-centered">
<div class="pagination_box">
<button id="page_up" type="button" onclick="pageUp()" class="page_up">上一页</button>
<div class="page_cur">{{pagination.pageNum}}/{{pagination.pageTotal}}</div>
<button id="page_down" onclick="pageDown()" type="button" class="page_down">下一页</button>
</div>
</div>
</div>
</div>
</div>
<!---->
<div class="copywrite">
<div class="container">
<p>版权声明此系统来自于公众号【C you again】使用过程中请注明来源欢迎大家学习参考
<a href="https://cyouagain.cn/">公众号官网,点击查看更细系统源码</a> |
<a href="https://gzh.cyouagain.cn/">热文推荐</a>
</p>
</div>
</div>
<!--------------------------------------添加的模糊框------------------------>
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<!-- 模态框Modal -->
<div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true">
<div id="addDormManage_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="myModalLabel">
添加宿舍管理员
</h4>
</div>
<div class="modal-body">
<!---------------------表单-------------------->
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">用户名</label>
<div class="col-sm-7">
<input v-model="dormManage.userName" type="text" class="form-control" id="addUserName" required="required" name="userName"
placeholder="请输入用户名">
<label class="control-label" for="addUserName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">密码</label>
<div class="col-sm-7">
<input type="password" class="form-control" id="addPassword" required="required" name="password"
placeholder="请输入密码">
<label class="control-label" for="addPassword" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">重复密码</label>
<div class="col-sm-7">
<input v-model="dormManage.password" type="password" class="form-control" id="addPassword2" required="required" name=""
onBlur="checkPassword('add')" placeholder="请输入密码">
<label class="control-label" for="addPassword" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">姓名</label>
<div class="col-sm-7">
<input v-model="dormManage.name" type="text" class="form-control" id="addName" required="required" name="name"
placeholder="请输入姓名">
<label class="control-label" for="addName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">性别</label>
<div class="col-sm-7">
<select v-model="dormManage.sex" class="form-control" id="addSex" name="sex">
<option value="0"></option>
<option value="1" ></option>
</select>
<label class="control-label" for="addSex" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">联系电话</label>
<div class="col-sm-7">
<input v-model="dormManage.tel" type="text" class="form-control" id="addTel" required="required" name="tel"
placeholder="请输入电话">
<label class="control-label" for="tel" style="display: none;"></label>
</div>
</div>
<!---------------------表单-------------------->
</div>
<div class="modal-footer">
<button onclick="exit()" type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" onclick="addDormManageMsg()" class="btn btn-primary hidden_btn">
添加
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!--------------------------------------添加的模糊框------------------------>
<!------------------------------ 修改模态框Modal ------------------------>
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<div class="modal fade" id="updateModal" tabindex="-1" role="dialog" aria-labelledby="updateModalLabel"
aria-hidden="true">
<div id="getDormMangerById_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="updateModalLabel">
修改宿管信息
</h4>
</div>
<div class="modal-body">
<!---------------------表单-------------------->
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">用户名</label>
<div class="col-sm-7">
<input v-model="dormManage.userName" type="text" class="form-control" id="addUserName" required="required" name="userName"
placeholder="请输入用户名">
<label class="control-label" for="addUserName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">密码</label>
<div class="col-sm-7">
<input type="password" class="form-control" id="editPassword" required="required" name="password"
placeholder="请输入密码">
<label class="control-label" for="addPassword" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">重复密码</label>
<div class="col-sm-7">
<input v-model="dormManage.password" type="password" class="form-control" id="addPassword2" required="required" name=""
onBlur="checkPassword('edit')" placeholder="请输入密码">
<label class="control-label" for="addPassword" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">姓名</label>
<div class="col-sm-7">
<input v-model="dormManage.name" type="text" class="form-control" id="addName" required="required" name="name"
placeholder="请输入姓名">
<label class="control-label" for="addName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">性别</label>
<div class="col-sm-7">
<select v-model="dormManage.sex" class="form-control" id="addSex" name="sex">
<option value="0"></option>
<option value="1" ></option>
</select>
<label class="control-label" for="addSex" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">联系电话</label>
<div class="col-sm-7">
<input v-model="dormManage.tel" type="text" class="form-control" id="addTel" required="required" name="tel"
placeholder="请输入电话">
<label class="control-label" for="tel" style="display: none;"></label>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" onclick="updataDormManageMsg()" class="btn btn-primary">
修改
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!-------------------------------修改的模态框------------------------------->
<script src="../js/vue/admin_dormManage.js"></script>
<script src="../js/vue/admin_loginManage.js"></script>
</body>
</html>

@ -0,0 +1,256 @@
<!DOCTYPE HTML>
<html>
<head>
<title>公众号【C you again】公告管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<link href="../css/style.css" rel='stylesheet' type='text/css' />
<link href="../css/dorm.css" rel='stylesheet' type='text/css' />
<link href="../css/bootstrap/bootstrap.css" rel='stylesheet' type='text/css' />
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/vue/vue.js"></script>
<script src="../js/vue/axios.min.js"></script>
</head>
<body >
<!-- banner -->
<div class="banner" >
<div class="header">
<div class="logo" id="session__app">
<a href="javascript:window.location.reload();">{{login.userName}}</a>
</div>
<div class="top-menu">
<ul class="navig">
<li>
<a href="admin_index.html">首页</a>
</li>
<li>
<a href="dormManage.html">宿舍管理员</a>
</li>
<li >
<a href="studentManage.html">学生</a>
</li>
<li>
<a href="buildManage.html">宿舍楼</a>
</li>
<li>
<a href="recordManage.html">考勤</a>
</li>
<li>
<a href="punchClockManage.html">打卡</a>
</li>
<li class="active">
<a href="#">公告</a>
</li>
</ul>
</div>
</div>
</div>
<!---->
<!-- -->
<div class="center-content" id="app">
<div class="left">
<div class="gongGao">
<div class="title">公 告</div>
<div class="context">你是管理员,请<a style="display:inline-block;" href="noticeManage.html">发布公告</a></div>
</div>
<div class="gongGao">
<div class="title">友 情 链 接</div>
<div class="context">
<a href="https://blog.csdn.net/qq_40625778">》CSDN技术分享</a>
<a href="https://gzh.cyouagain.cn/">》热门文章推荐</a>
<a href="https://y0ahx3.coding-pages.com/">》个人博客,系统源码大全</a>
<a href="https://www.cnblogs.com/cafuc20160512056/">》博客园,技术分享</a>
<a href="https://www.jianshu.com/u/33531987c9a7">》简书,技术分享</a>
</div>
</div>
<div class="gongGao">
<div class="title">源 码 下 载</div>
<div class="context">
<div style="font-size:14px; width: 100%; height: 400px;margin-bottom: 20px;">
<div style="padding: 5px; color: black">
<label style="font-size:15px;font-weight: normal;">下载源码请到公众号C you again</label><br />
<label style="font-size:15px;font-weight: normal;">1、求职者面试题、面试经验、面试技巧</label><br />
<label style="font-size:15px;font-weight: normal;">2、职场人技术分享、程序人生</label><br />
<label style="font-size:15px;font-weight: normal;">3、学生党Java从入门到精通PDF版教程、数据结构与算法、各类系统实战教程</label><br />
<label style="font-size:15px;font-weight: normal;">4、其它PPT模板、简历模板、计算机使用技术及技巧</label>
</div>
<img width="160px" style="margin-left:50px;" src="../img/gzh.jpg" />
</div>
</div>
</div>
</div>
<div class="right">
<div class="data_list">
<div class="data_list_title">
公告管理
</div>
<form name="myForm" class="form-search" method="post" action="#">
<button type="button" class="btn btn-primary" id="btn_add" data-toggle="modal"
data-target="#addModal">添加公告</button>
<span class="data_search">
&nbsp;<input v-model="search.key" id="s_dormManagerText" name="s_dormManagerText" type="date" style="width:120px;height: 30px;" class="input-medium search-query" >
&nbsp;<button onclick="searchNoticeManage()" type="button" class="btn btn-info" >搜索</button>
</span>
</form>
<div>
<table class="table table-hover table-striped table-bordered">
<tr>
<th>编号</th>
<th>日期</th>
<th>发布人</th>
<th>内容</th>
<th>操作</th>
</tr>
<tr v-for="(item,index) in noticeManageList">
<td>{{index+1}}</td>
<td>{{item.date}}</td>
<td>{{item.noticePerson}}</td>
<td>{{item.content}}</td>
<td><button class="btn btn-mini btn-info" type="button" @click="getNoticeMangerById(item.noticeId)" id="btn_edit" data-toggle="modal" data-target="#updateModal">修改</button>&nbsp;
<button class="btn btn-mini btn-danger" type="button" @click="noticeManagerDeleteById(item.noticeId)">删除</button></td>
</tr>
</table>
</div>
<div class="pagination pagination-centered">
<div class="pagination_box">
<button id="page_up" type="button" onclick="pageUp()" class="page_up">上一页</button>
<div class="page_cur">{{pagination.pageNum}}/{{pagination.pageTotal}}</div>
<button id="page_down" onclick="pageDown()" type="button" class="page_down">下一页</button>
</div>
</div>
</div>
</div>
</div>
<!---->
<div class="copywrite">
<div class="container">
<p>版权声明此系统来自于公众号【C you again】使用过程中请注明来源欢迎大家学习参考
<a href="https://cyouagain.cn/">公众号官网,点击查看更细系统源码</a> |
<a href="https://gzh.cyouagain.cn/">热文推荐</a>
</p>
</div>
</div>
<!--------------------------------------添加的模糊框------------------------>
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<!-- 模态框Modal -->
<div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true">
<div id="addNoticeManage_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="myModalLabel">
添加公告
</h4>
</div>
<div class="modal-body">
<!---------------------表单-------------------->
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">发布人</label>
<div class="col-sm-7">
<input v-model="noticeManage.noticePerson" type="text" class="form-control" id="addStuNum" required="required" name="stuNum"
placeholder="请输入发布人">
<label class="control-label" for="addUserName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">内容</label>
<div class="col-sm-7">
<input v-model="noticeManage.content" type="text" class="form-control" id="addNotice" required="required" name="notice"
placeholder="请输入内容">
<label class="control-label" for="addNotice" style="display: none;"></label>
</div>
</div>
<!---------------------表单-------------------->
</div>
<div class="modal-footer">
<button onclick="exit()" type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" onclick="addNoticeManageMsg()" class="btn btn-primary hidden_btn">
添加
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!--------------------------------------添加的模糊框------------------------>
<!------------------------------ 修改模态框Modal ---------------------------------->
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<div class="modal fade" id="updateModal" tabindex="-1" role="dialog" aria-labelledby="updateModalLabel"
aria-hidden="true">
<div id="getNoticeMangerById_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="updateModalLabel">
修改公告信息
</h4>
</div>
<div class="modal-body">
<!---------------------表单-------------------->
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">发布人</label>
<div class="col-sm-7">
<input v-model="noticeManage.noticePerson" type="text" class="form-control" id="addStuNum" required="required" name="stuNum"
placeholder="请输入发布人">
<label class="control-label" for="addUserName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">内容</label>
<div class="col-sm-7">
<input v-model="noticeManage.content" type="text" class="form-control" id="addNotice" required="required" name="notice"
placeholder="请输入内容">
<label class="control-label" for="addNotice" style="display: none;"></label>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" onclick="updataNoticeManageMsg()" class="btn btn-primary">
修改
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!-------------------------------修改的模态框------------------------------->
<script src="../js/vue/admin_noticeManage.js"></script>
<script src="../js/vue/admin_loginManage.js"></script>
</body>
</html>

@ -0,0 +1,259 @@
<!DOCTYPE HTML>
<html>
<head>
<title>公众号【C you again】打卡管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<link href="../css/style.css" rel='stylesheet' type='text/css' />
<link href="../css/dorm.css" rel='stylesheet' type='text/css' />
<link href="../css/bootstrap/bootstrap.css" rel='stylesheet' type='text/css' />
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/vue/vue.js"></script>
<script src="../js/vue/axios.min.js"></script>
<script src="../js/vue/axios.min.js"></script>
</head>
<body >
<!-- banner -->
<div class="banner" >
<div class="header">
<div class="logo" id="session__app">
<a href="javascript:window.location.reload();">{{login.userName}}</a>
</div>
<div class="top-menu">
<ul class="navig">
<li>
<a href="admin_index.html">首页</a>
</li>
<li>
<a href="dormManage.html">宿舍管理员</a>
</li>
<li >
<a href="studentManage.html">学生</a>
</li>
<li>
<a href="buildManage.html">宿舍楼</a>
</li>
<li>
<a href="recordManage.html">考勤</a>
</li>
<li class="active">
<a href="#">打卡</a>
</li>
<li >
<a href="noticeManage.html">公告</a>
</li>
</ul>
</div>
</div>
</div>
<!---->
<!-- -->
<div class="center-content" id="app">
<div class="left">
<div class="gongGao">
<div class="title">公 告</div>
<div class="context">你是管理员,请<a style="display:inline-block;" href="noticeManage.html">发布公告</a></div>
</div>
<div class="gongGao">
<div class="title">友 情 链 接</div>
<div class="context">
<a href="https://blog.csdn.net/qq_40625778">》CSDN技术分享</a>
<a href="https://gzh.cyouagain.cn/">》热门文章推荐</a>
<a href="https://y0ahx3.coding-pages.com/">》个人博客,系统源码大全</a>
<a href="https://www.cnblogs.com/cafuc20160512056/">》博客园,技术分享</a>
<a href="https://www.jianshu.com/u/33531987c9a7">》简书,技术分享</a>
</div>
</div>
<div class="gongGao">
<div class="title">源 码 下 载</div>
<div class="context">
<div style="font-size:14px; width: 100%; height: 400px;margin-bottom: 20px;">
<div style="padding: 5px; color: black">
<label style="font-size:15px;font-weight: normal;">下载源码请到公众号C you again</label><br />
<label style="font-size:15px;font-weight: normal;">1、求职者面试题、面试经验、面试技巧</label><br />
<label style="font-size:15px;font-weight: normal;">2、职场人技术分享、程序人生</label><br />
<label style="font-size:15px;font-weight: normal;">3、学生党Java从入门到精通PDF版教程、数据结构与算法、各类系统实战教程</label><br />
<label style="font-size:15px;font-weight: normal;">4、其它PPT模板、简历模板、计算机使用技术及技巧</label>
</div>
<img width="160px" style="margin-left:50px;" src="../img/gzh.jpg" />
</div>
</div>
</div>
</div>
<div class="right">
<div class="data_list">
<div class="data_list_title">
打卡管理
</div>
<form name="myForm" class="form-search" method="post" action="#">
<button type="button" class="btn btn-primary" id="btn_add" data-toggle="modal"
data-target="#addModal">发起打卡</button>
<span class="data_search">
&nbsp;<input v-model="search.key" id="s_dormManagerText" name="s_dormManagerText" type="date" style="width:120px;height: 30px;" class="input-medium search-query" >
&nbsp;<button onclick="searchNoticeManage()" type="button" class="btn btn-info" >搜索</button>
</span>
</form>
<div>
<table class="table table-hover table-striped table-bordered">
<tr>
<th>编号</th>
<th>日期</th>
<th>发布人</th>
<th>主题</th>
<th>说明</th>
<th>操作</th>
</tr>
<tr v-for="(item,index) in punchClockManageList">
<td>{{index+1}}</td>
<td>{{item.date}}</td>
<td>{{item.person}}</td>
<td>{{item.theme}}</td>
<td>{{item.detail}}</td>
<td><button class="btn btn-mini btn-info" type="button" @click="getPunchClockMangerById(item.id)" id="btn_edit" data-toggle="modal" data-target="#updateModal">修改</button>&nbsp;
<button class="btn btn-mini btn-danger" type="button" @click="punchClockManagerDeleteById(item.id)">删除</button></td>
</tr>
</table>
</div>
<div class="pagination pagination-centered">
<div class="pagination_box">
<button id="page_up" type="button" onclick="pageUp()" class="page_up">上一页</button>
<div class="page_cur">{{pagination.pageNum}}/{{pagination.pageTotal}}</div>
<button id="page_down" onclick="pageDown()" type="button" class="page_down">下一页</button>
</div>
</div>
</div>
</div>
</div>
<!---->
<div class="copywrite">
<div class="container">
<p>版权声明此系统来自于公众号【C you again】使用过程中请注明来源欢迎大家学习参考
<a href="https://cyouagain.cn/">公众号官网,点击查看更细系统源码</a> |
<a href="https://gzh.cyouagain.cn/">热文推荐</a>
</p>
</div>
</div>
<!--------------------------------------添加的模糊框------------------------>
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<!-- 模态框Modal -->
<div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true">
<div id="addPunchClockManage_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="myModalLabel">
添加打卡
</h4>
</div>
<div class="modal-body">
<!---------------------表单-------------------->
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">打卡主题</label>
<div class="col-sm-7">
<input v-model="punchClockManage.theme" type="text" class="form-control" required="required"
placeholder="请输入打卡主题">
<label class="control-label" for="addUserName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">打卡说明</label>
<div class="col-sm-7">
<input v-model="punchClockManage.detail" type="text" class="form-control" required="required"
placeholder="请输入打卡说明">
<label class="control-label" for="addNotice" style="display: none;"></label>
</div>
</div>
<!---------------------表单-------------------->
</div>
<div class="modal-footer">
<button onclick="exit()" type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" onclick="addPunchClockManageMsg()" class="btn btn-primary hidden_btn">
添加
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!--------------------------------------添加的模糊框------------------------>
<!------------------------------ 修改模态框Modal ---------------------------------->
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<div class="modal fade" id="updateModal" tabindex="-1" role="dialog" aria-labelledby="updateModalLabel"
aria-hidden="true">
<div id="getPunchClockMangerById_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="updateModalLabel">
修改打卡信息
</h4>
</div>
<div class="modal-body">
<!---------------------表单-------------------->
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">打卡主题</label>
<div class="col-sm-7">
<input v-model="punchClockManage.theme" type="text" class="form-control" required="required"
placeholder="请输入打卡主题">
<label class="control-label" for="addUserName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">打卡说明</label>
<div class="col-sm-7">
<input v-model="punchClockManage.detail" type="text" class="form-control" required="required"
placeholder="请输入打卡说明">
<label class="control-label" for="addNotice" style="display: none;"></label>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" onclick="updataPunchClockManageMsg()" class="btn btn-primary">
修改
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!-------------------------------修改的模态框------------------------------->
<script src="../js/vue/admin_punchClockManage.js"></script>
<script src="../js/vue/admin_loginManage.js"></script>
</body>
</html>

@ -0,0 +1,165 @@
<!DOCTYPE HTML>
<html>
<head>
<title>公众号【C you again】考勤管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<link href="../css/style.css" rel='stylesheet' type='text/css' />
<link href="../css/dorm.css" rel='stylesheet' type='text/css' />
<link href="../css/bootstrap/bootstrap.css" rel='stylesheet' type='text/css' />
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/vue/vue.js"></script>
<script src="../js/vue/axios.min.js"></script>
</head>
<body >
<!-- banner -->
<div class="banner" >
<div class="header">
<div class="logo" id="session__app">
<a href="javascript:window.location.reload();">{{login.userName}}</a>
</div>
<div class="top-menu">
<ul class="navig">
<li>
<a href="admin_index.html">首页</a>
</li>
<li>
<a href="dormManage.html">宿舍管理员</a>
</li>
<li >
<a href="studentManage.html">学生</a>
</li>
<li >
<a href="buildManage.html">宿舍楼</a>
</li>
<li class="active">
<a href="#">考勤</a>
</li>
<li>
<a href="punchClockManage.html">打卡</a>
</li>
<li>
<a href="noticeManage.html">公告</a>
</li>
</ul>
</div>
</div>
</div>
<!---->
<!-- -->
<div class="center-content" id="app">
<div class="left">
<div class="gongGao">
<div class="title">公 告</div>
<div class="context">你是管理员,请<a style="display:inline-block;" href="noticeManage.html">发布公告</a></div>
</div>
<div class="gongGao">
<div class="title">友 情 链 接</div>
<div class="context">
<a href="https://blog.csdn.net/qq_40625778">》CSDN技术分享</a>
<a href="https://gzh.cyouagain.cn/">》热门文章推荐</a>
<a href="https://y0ahx3.coding-pages.com/">》个人博客,系统源码大全</a>
<a href="https://www.cnblogs.com/cafuc20160512056/">》博客园,技术分享</a>
<a href="https://www.jianshu.com/u/33531987c9a7">》简书,技术分享</a>
</div>
</div>
<div class="gongGao">
<div class="title">源 码 下 载</div>
<div class="context">
<div style="font-size:14px; width: 100%; height: 400px;margin-bottom: 20px;">
<div style="padding: 5px; color: black">
<label style="font-size:15px;font-weight: normal;">下载源码请到公众号C you again</label><br />
<label style="font-size:15px;font-weight: normal;">1、求职者面试题、面试经验、面试技巧</label><br />
<label style="font-size:15px;font-weight: normal;">2、职场人技术分享、程序人生</label><br />
<label style="font-size:15px;font-weight: normal;">3、学生党Java从入门到精通PDF版教程、数据结构与算法、各类系统实战教程</label><br />
<label style="font-size:15px;font-weight: normal;">4、其它PPT模板、简历模板、计算机使用技术及技巧</label>
</div>
<img width="160px" style="margin-left:50px;" src="../img/gzh.jpg" />
</div>
</div>
</div>
</div>
<div class="right">
<div class="data_list">
<div class="data_list_title">
考勤管理
</div>
<form name="myForm" class="form-search" method="post" action="#">
<span class="data_search">
<select v-model="search.filter" id="searchType" name="searchType" style="width: 80px;">
<option value="studentName">姓名</option>
<option value="studentNumber">学号</option>
<option value="dormName">寝室号</option>
</select>
&nbsp;<input v-model="search.key" id="s_dormManagerText" name="s_dormManagerText" type="text" style="width:120px;height: 30px;" class="input-medium search-query" >
&nbsp;<button onclick="searchRecordManage()" type="button" class="btn btn-info" >搜索</button>
</span>
</form>
<div>
<table class="table table-hover table-striped table-bordered">
<tr>
<th>编号</th>
<th>日期</th>
<th>姓名</th>
<th>学号</th>
<th>宿舍楼</th>
<th>寝室号</th>
<th>说明</th>
<th>操作</th>
</tr>
<tr v-for="(item,index) in recordManageList">
<td>{{index+1}}</td>
<td>{{item.date}}</td>
<td>{{item.studentName}}</td>
<td>{{item.studentNumber}}</td>
<td>{{item.dormBuildId==0?'暂未安排':item.dormBuildId+'栋'}}</td>
<td>{{item.dormName}}</td>
<td>{{item.detail}}</td>
<td>
<button class="btn btn-mini btn-danger" type="button" @click="recordManagerDeleteById(item.recordId)">删除</button>
</td>
</tr>
</table>
</div>
<div class="pagination pagination-centered">
<div class="pagination_box">
<button id="page_up" type="button" onclick="pageUp()" class="page_up">上一页</button>
<div class="page_cur">{{pagination.pageNum}}/{{pagination.pageTotal}}</div>
<button id="page_down" onclick="pageDown()" type="button" class="page_down">下一页</button>
</div>
</div>
</div>
</div>
</div>
<!---->
<div class="copywrite">
<div class="container">
<p>版权声明此系统来自于公众号【C you again】使用过程中请注明来源欢迎大家学习参考
<a href="https://cyouagain.cn/">公众号官网,点击查看更细系统源码</a> |
<a href="https://gzh.cyouagain.cn/">热文推荐</a>
</p>
</div>
</div>
<script src="../js/vue/admin_recordManage.js"></script>
<script src="../js/vue/admin_loginManage.js"></script>
</body>
</html>

@ -0,0 +1,379 @@
<!DOCTYPE HTML>
<html>
<head>
<title>公众号【C you again】学生管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<link href="../css/style.css" rel='stylesheet' type='text/css' />
<link href="../css/dorm.css" rel='stylesheet' type='text/css' />
<link href="../css/bootstrap/bootstrap.css" rel='stylesheet' type='text/css' />
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/vue/vue.js"></script>
<script src="../js/vue/axios.min.js"></script>
</head>
<body >
<!-- banner -->
<div class="banner" >
<div class="header">
<div class="logo" id="session__app">
<a href="javascript:window.location.reload();">{{login.userName}}</a>
</div>
<div class="top-menu">
<ul class="navig">
<li>
<a href="admin_index.html">首页</a>
</li>
<li>
<a href="dormManage.html">宿舍管理员</a>
</li>
<li class="active">
<a href="#">学生</a>
</li>
<li>
<a href="buildManage.html">宿舍楼</a>
</li>
<li>
<a href="recordManage.html">考勤</a>
</li>
<li>
<a href="punchClockManage.html">打卡</a>
</li>
<li>
<a href="noticeManage.html">公告</a>
</li>
</ul>
</div>
</div>
</div>
<!---->
<!-- -->
<div class="center-content" id="app">
<div class="left">
<div class="gongGao">
<div class="title">公 告</div>
<div class="context">你是管理员,请<a style="display:inline-block;" href="noticeManage.html">发布公告</a></div>
</div>
<div class="gongGao">
<div class="title">友 情 链 接</div>
<div class="context">
<a href="https://blog.csdn.net/qq_40625778">》CSDN技术分享</a>
<a href="https://gzh.cyouagain.cn/">》热门文章推荐</a>
<a href="https://y0ahx3.coding-pages.com/">》个人博客,系统源码大全</a>
<a href="https://www.cnblogs.com/cafuc20160512056/">》博客园,技术分享</a>
<a href="https://www.jianshu.com/u/33531987c9a7">》简书,技术分享</a>
</div>
</div>
<div class="gongGao">
<div class="title">源 码 下 载</div>
<div class="context">
<div style="font-size:14px; width: 100%; height: 400px;margin-bottom: 20px;">
<div style="padding: 5px; color: black">
<label style="font-size:15px;font-weight: normal;">下载源码请到公众号C you again</label><br />
<label style="font-size:15px;font-weight: normal;">1、求职者面试题、面试经验、面试技巧</label><br />
<label style="font-size:15px;font-weight: normal;">2、职场人技术分享、程序人生</label><br />
<label style="font-size:15px;font-weight: normal;">3、学生党Java从入门到精通PDF版教程、数据结构与算法、各类系统实战教程</label><br />
<label style="font-size:15px;font-weight: normal;">4、其它PPT模板、简历模板、计算机使用技术及技巧</label>
</div>
<img width="160px" style="margin-left:50px;" src="../img/gzh.jpg" />
</div>
</div>
</div>
</div>
<div class="right">
<div class="data_list">
<div class="data_list_title">
学生管理
</div>
<form name="myForm" class="form-search" method="post" action="#">
<button type="button" class="btn btn-primary" id="btn_add" data-toggle="modal"
data-target="#addModal">添加学生</button>
<span class="data_search">
<select v-model="search.filter" id="searchType" name="searchType" style="width: 80px;">
<option value="name">姓名</option>
<option value="stuNum">学号</option>
<option value="dormName">寝室号</option>
</select>
&nbsp;<input v-model="search.key" id="s_dormManagerText" name="s_dormManagerText" type="text" style="width:120px;height: 30px;" class="input-medium search-query" >
&nbsp;<button onclick="searchDormManage()" type="button" class="btn btn-info" >搜索</button>
</span>
</form>
<div>
<table class="table table-hover table-striped table-bordered">
<tr>
<th>编号</th>
<th>学号</th>
<th>姓名</th>
<th>性别</th>
<th>宿舍楼</th>
<th>寝室号</th>
<th>手机</th>
<th>操作</th>
</tr>
<tr v-for="(item,index) in studentManageList">
<td>{{index+1}}</td>
<td>{{item.stuNum}}</td>
<td>{{item.name}}</td>
<td>{{item.sex}}</td>
<td>{{item.dormBuildId==0?'暂未安排':item.dormBuildId+'栋'}}</td>
<td>{{item.dormName}}</td>
<td>{{item.tel}}</td>
<td><button class="btn btn-mini btn-info" type="button" @click="getStudentMangerById(item.studentId)" id="btn_edit" data-toggle="modal" data-target="#updateModal">修改</button>&nbsp;
<button class="btn btn-mini btn-danger" type="button" @click="studentManagerDeleteById(item.studentId)">删除</button></td>
</tr>
</table>
</div>
<div class="pagination pagination-centered">
<div class="pagination_box">
<button id="page_up" type="button" onclick="pageUp()" class="page_up">上一页</button>
<div class="page_cur">{{pagination.pageNum}}/{{pagination.pageTotal}}</div>
<button id="page_down" onclick="pageDown()" type="button" class="page_down">下一页</button>
</div>
</div>
</div>
</div>
</div>
<!---->
<div class="copywrite">
<div class="container">
<p>版权声明此系统来自于公众号【C you again】使用过程中请注明来源欢迎大家学习参考
<a href="https://cyouagain.cn/">公众号官网,点击查看更细系统源码</a> |
<a href="https://gzh.cyouagain.cn/">热文推荐</a>
</p>
</div>
</div>
<!--------------------------------------添加的模糊框------------------------>
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<!-- 模态框Modal -->
<div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true">
<div id="addStudentManage_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="myModalLabel">
添加学生
</h4>
</div>
<div class="modal-body">
<!---------------------表单-------------------->
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">学号</label>
<div class="col-sm-7">
<input v-model="studentManage.stuNum" type="text" class="form-control" id="addStuNum" required="required" name="stuNum"
placeholder="请输入学号">
<label class="control-label" for="addUserName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">密码</label>
<div class="col-sm-7">
<input type="password" class="form-control" id="addPassword" required="required" name="password"
placeholder="请输入密码">
<label class="control-label" for="addPassword" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">重复密码</label>
<div class="col-sm-7">
<input v-model="studentManage.password" type="password" class="form-control" id="addPassword2" required="required" name=""
onBlur="checkPassword('add')" placeholder="请输入密码">
<label class="control-label" for="addPassword" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">姓名</label>
<div class="col-sm-7">
<input v-model="studentManage.name" type="text" class="form-control" id="addName" required="required" name="name"
placeholder="请输入姓名">
<label class="control-label" for="addName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">性别</label>
<div class="col-sm-7">
<select v-model="studentManage.sex" class="form-control" id="addSex" name="sex">
<option value="0"></option>
<option value="1" ></option>
</select>
<label class="control-label" for="addSex" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">宿舍楼</label>
<div class="col-sm-7">
<input v-model="studentManage.dormBuildId" type="text" class="form-control" id="addDormBuildId" required="required" name="dormBuildId"
placeholder="请输入宿舍楼">
<label class="control-label" for="tel" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">寝室号</label>
<div class="col-sm-7">
<input v-model="studentManage.dormName" type="text" class="form-control" id="addDormName" required="required" name="dormName"
placeholder="请输入寝室号">
<label class="control-label" for="tel" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">联系电话</label>
<div class="col-sm-7">
<input v-model="studentManage.tel" type="text" class="form-control" id="addTel" required="required" name="tel"
placeholder="请输入电话">
<label class="control-label" for="tel" style="display: none;"></label>
</div>
</div>
<!---------------------表单-------------------->
</div>
<div class="modal-footer">
<button onclick="exit()" type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" onclick="addStudentManageMsg()" class="btn btn-primary hidden_btn">
添加
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!--------------------------------------添加的模糊框------------------------>
<!------------------------------ 修改模态框Modal ---------------------------------->
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<div class="modal fade" id="updateModal" tabindex="-1" role="dialog" aria-labelledby="updateModalLabel"
aria-hidden="true">
<div id="getStudentMangerById_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="updateModalLabel">
修改宿管信息
</h4>
</div>
<div class="modal-body">
<!---------------------表单-------------------->
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">学号</label>
<div class="col-sm-7">
<input v-model="studentManage.stuNum" type="text" class="form-control" id="addStuNum" required="required" name="stuNum"
placeholder="请输入学号">
<label class="control-label" for="addUserName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">密码</label>
<div class="col-sm-7">
<input type="password" class="form-control" id="editPassword" required="required" name="password"
placeholder="请输入密码">
<label class="control-label" for="addPassword" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">重复密码</label>
<div class="col-sm-7">
<input v-model="studentManage.password" type="password" class="form-control" id="addPassword2" required="required" name=""
onBlur="checkPassword('add')" placeholder="请输入密码">
<label class="control-label" for="addPassword" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">姓名</label>
<div class="col-sm-7">
<input v-model="studentManage.name" type="text" class="form-control" id="addName" required="required" name="name"
placeholder="请输入姓名">
<label class="control-label" for="addName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">性别</label>
<div class="col-sm-7">
<select v-model="studentManage.sex" class="form-control" id="addSex" name="sex">
<option value="0"></option>
<option value="1" ></option>
</select>
<label class="control-label" for="addSex" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">宿舍楼</label>
<div class="col-sm-7">
<input v-model="studentManage.dormBuildId" type="text" class="form-control" id="addDormBuildId" required="required" name="dormBuildId"
placeholder="请输入宿舍楼">
<label class="control-label" for="tel" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">寝室号</label>
<div class="col-sm-7">
<input v-model="studentManage.dormName" type="text" class="form-control" id="addDormName" required="required" name="dormName"
placeholder="请输入寝室号">
<label class="control-label" for="tel" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">联系电话</label>
<div class="col-sm-7">
<input v-model="studentManage.tel" type="text" class="form-control" id="addTel" required="required" name="tel"
placeholder="请输入电话">
<label class="control-label" for="tel" style="display: none;"></label>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" onclick="updataStudentManageMsg()" class="btn btn-primary">
修改
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!-------------------------------修改的模态框------------------------------->
<script src="../js/vue/admin_studentManage.js"></script>
<script src="../js/vue/admin_loginManage.js"></script>
</body>
</html>

File diff suppressed because it is too large Load Diff

@ -0,0 +1,166 @@
* {
margin: 0;
padding: 0;
}
body {
/* background-image: linear-gradient(to left, rgba(255, 0, 149, 0.2), rgba(0, 247, 255, 0.2)), url(../img/bg.jpg); */
background-color: rgb(1,112,254);
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
z-index:-2000;
}
#bg{
background-repeat: no-repeat;
background-attachment: fixed;
background-size:cover;
position:fixed;
width:100%;
height:100%;
z-index:-1000;
opacity:0.8;
}
.login-box {
width: 60%;
position: absolute;
left: 50%;
height: 25em;
top: 50%;
margin-top: -12.5em;
margin-left: -30%;
}
.login-box .bg_title{
width: 100%;
font-weight: bold;
font-size: 2em;
text-align: center;
margin-bottom: 1.2em;
background-color: #4dc47d;
color: white;
float: left;
opacity: 0.8;
}
.login-box .admin,
.login-box .dormManage,
.login-box .student{
width: 30%;
height: 75%;
margin-left: 2.3%;
float: left;
opacity: 0.8;
}
.login-box .admin .titel,
.login-box .dormManage .titel,
.login-box .student .titel{
width: 100%;
height: 15%;
float: left;
line-height: 3em;
text-align: center;
color: white;
font-weight: bold;
font-size: 1em;
background-color: #4dc47d;
}
.login-box .admin .content,
.login-box .dormManage .content,
.login-box .student .content{
background-color: white;
width: 100%;
height: 100%;
}
.login-box .admin .content ul,
.login-box .dormManage .content ul,
.login-box .student .content ul{
width: 100%;
height: 82%;
}
.login-box .admin .content li,
.login-box .dormManage .content li,
.login-box .student .content li{
width: 100%;
font-size:15px;
margin-top: 8px;
float: left;
list-style: none;
text-align:center;
}
.login-box .admin .content button,
.login-box .dormManage .content button,
.login-box .student .content button{
width: 100px;
height: 30px;
float: left;
bottom: 10px;
margin-left: 70px;
color: white;
border: none;
background-color: #4dc47d;
border-radius: 5px;
}
.box2{
display: none
}
.login-box .content{
width: 100%;
margin-left: 0;
}
.content .left{
width: 50%;
height: 100%;
float: left;
background-color: white;
}
.content .right{
width: 50%;
height: 100%;
float: left;
background-color: white;
}
.right ul li{
width: 100%;
height: 25px;
margin-top: 25px;
}
.right ul li input{
height: 25px;
border-radius: 5px;
border: 2px solid #4dc47d;
}
.right .button{
position: relative;
top: 25px;
left: 82px;
}
.right .a{
position: relative;
top: 50px;
left: 35px;
}

@ -0,0 +1,193 @@
.data_list {
border: 1px solid #E5E5E5;
padding: 10px;
background-color: #FDFDFD;
width: 96%;
margin-left:40px;
}
.data_list .data_list_title{
font-size: 15px;
font-weight: bold;
border-bottom: 1px solid #E5E5E5;
padding-bottom: 10px;
padding-top: 5px;
}
.data_list .data_list_title img{
vertical-align: top;
}
.data_list .form-search .btn{
display: inline-block;
padding: 4px 12px;
margin-bottom: 0;
font-size: 14px;
line-height: 20px;
text-align: center;
vertical-align: middle;
border: 1px solid #cccccc;
cursor: pointer;
border-radius: 4px;
color: #ffffff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
background-color: #4dc47d;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.data_list .data_search select{
display: inline-block;
margin-bottom: 0;
vertical-align: middle;
background-color: #ffffff;
border: 1px solid #cccccc;
}
select, input[type="file"] {
height: 30px;
line-height: 30px;
}
imput{
outline: none;
outline: medium;
}
select,input{
border-radius: 4px;
}
.data_list .diary_datas ul{
list-style-type: none;
}
.data_list .diary_datas ul li{
margin-top: 5px;
}
.data_list .datas{
padding: 5px;
}
.data_list .datas ul {
list-style-type: none;
}
.data_list .datas ul li {
margin-top: 5px;
}
.data_list .user_image{
text-align: center;
}
.data_list .user_image img{
padding-top:10px;
width: 200px;;
height: 250px;;
}
.data_list .nickName , .data_list .userSign{
text-align: center;
}
.data_list .diary_title{
margin-top:20px;
text-align: center;
}
.data_list .diary_info{
text-align: center;
}
.data_list .diary_content{
margin-top:20px;
}
.data_list .diary_action{
margin-top:20px;
}
.data_list .diary_type{
margin-top:10px;
}
.data_list .diary_title{
margin-top:20px;
text-align: center;
}
.data_list .data_list_title .dormBuild_add{
float: right;
margin-right: 20px;
}
.data_list .data_form{
margin-top:20px;
}
.form-search{
margin-top:5px;
margin-bottom: 5px;
}
.data_search{
float:right;
}
.select_form {
margin-top: 5px;
margin-bottom: 5px;
}
.data_select {
float: right;
}
.pagination .pagination_box{
width:14em;
height:2em;
float:right;
}
.pagination .pagination_box .page_up,
.pagination .pagination_box .page_down{
width:5em;
background-color:#4dc47d;
color:white;
border-radius: 3px;
border:none;
}
.pagination .pagination_box .page_cur{
width:4em;
background-color:#F0EEF5;
}
.pagination .pagination_box .page_up,
.pagination .pagination_box .page_cur,
.pagination .pagination_box .page_down{
float:left;
height:100%;
line-height:2em;
text-align:center;
}
.edit_dorm{
border: 1px solid #E5E5E5;
padding: 0;
background-color: #FDFDFD;
width: 100%;
margin-left: 0;
}
.dropdown .dropdown-menu li{
width:100%;
}
.dropdown .dropdown-menu li a{
text-align:center;
}

@ -0,0 +1,238 @@
*{
padding: 0;
}
h4,
h5,
h6,
h1,
h2,
h3 {
margin: 0;
}
ul,
ol {
margin: 0;
padding: 0;
}
p {
margin: 0;
}
html,
body {
font-family: 'OpenSans-Regular';
font-size: 100%;
}
@font-face {
font-family: 'OpenSans-Regular';
src: url(../fonts/OpenSans-Regular.ttf)format('truetype');
}
@font-face {
font-family: 'Ubuntu-Medium';
src: url(../fonts/Ubuntu-Medium.ttf) format('truetype');
}
body a {
transition: 0.5s all;
-webkit-transition: 0.5s all;
-moz-transition: 0.5s all;
-o-transition: 0.5s all;
-ms-transition: 0.5s all;
}
/*-- banner --*/
.banner {
background: url(../img/banner.jpg) no-repeat;
background-size: cover;
min-height: 270px;
}
.logo {
float: left;
margin-left: 5em;
width: 14em;
height: 5em;
background-color: #4dc47d;
}
.logo a{
display:block;
width:100%;
height:100%;
color:white;
text-decoration:none;
font-size:25px;
font-weight:blod;
line-height:70px;
text-align:center;
}
.top-menu {
float: right;
background: #4dc47d;
margin: 13em 0 0 0;
padding: 0 11em 0 0em;
}
.top-menu ul li {
display: inline-block;
}
.top-menu ul li a {
display: block;
color: #181a1b;
font-size: 1.1em;
padding: 1em 1em;
text-decoration: none;
}
.top-menu ul li.active a,
.top-menu ul li a:hover {
color: #fff;
}
.center-conent {
padding: 3em 0;
}
.center-content{
width: 90%;
height: 100%;
float: left;
margin-left: 5%;
/* background-color: #169FE6; */
}
.center-content .left{
width: 23%;
height: 100%;
float: left;
/* background-color: red; */
}
.center-content .right{
width: 77%;
float: left;
height: 100%;
margin-top: 20px;
/* background-color: blue; */
}
.center-content .left .gongGao{
margin-top: 20px;
width: 100%;
float: left;
}
.center-content .left .gongGao .title{
width: 100%;
height: 40px;
text-align: center;
background-color: #4dc47d;
color: #fff;
font-size: 20px;
line-height: 40px;
}
.center-content .left .gongGao .context{
width: 100%;
min-height: 150px;
background-color: #FDFDFD;
color: black;
font-size: 16px;
padding:10px;
}
.center-content .left .gongGao .import{
height: 150px;
}
.center-content .left .gongGao .context marquee label{
font-size:14px;
font-weight:normal;
}
.center-content .left .gongGao .context a{
display: block;
margin-top: 5px;
}
.center-content .left .container{
width: 100%;
}
/*-- footer --*/
.copywrite {
background: #4dc47d;
width: 100%;
height: 50px;
float: left;
}
.copywrite .container{
width:100%;
height:100%
}
.copywrite p {
display: inline-block;
margin-left: auto;
margin-right: auto;
color: #fff;
font-size: 1em;
text-align: left;
margin-top:20px;
margin-left:170px;
}
.copywrite p a {
color: #fff;
}
@media (max-width: 1024px) {
.logo {
width: 17%
}
.logo img {
background-size: 100%;
width: 100%
}
.top-menu {
padding: 0 5em 0 2em;
}
.top-menu ul li a {
font-size: 0.95em;
}
.banner {
min-height: 200px;
}
}
.center-content .right .data_list .wele{
width:100%;
font-size: 40px;
}
.center-content .right .data_list .list-content{
margin-top:20px;
}
.center-content .right .data_list .list-content .quanxian{
font-size:30px;
}
.center-content .right .data_list .list-content li{
font-size:20px;
list-style: none;
margin-top:20px;
}

@ -0,0 +1,258 @@
<!DOCTYPE HTML>
<html>
<head>
<title>公众号【C you again】 宿管首页</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<link href="../css/style.css" rel='stylesheet' type='text/css' />
<link href="../css/dorm.css" rel='stylesheet' type='text/css' />
<link href="../css/bootstrap/bootstrap.css" rel='stylesheet' type='text/css' />
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/bootstrap-dropdown.min.js"></script>
<script src="../js/vue/vue.js"></script>
<script src="../js/vue/axios.min.js"></script>
</head>
<body >
<!-- banner -->
<div class="banner" >
<div class="header">
<div class="logo" id="session_app">
<a href="javascript:window.location.reload();">{{login.userName}}</a>
</div>
<div class="top-menu">
<ul class="navig">
<li class="active">
<a href="javascript:window.location.reload();">首页</a>
</li>
<li >
<a href="studentManage.html">学生信息</a>
</li>
<li>
<a href="recordManage.html">考勤信息</a>
</li>
<li>
<a href="punchClockManage.html">打卡信息</a>
</li>
<li class="dropdown">
<a href="#" class="" role="button" data-hover="dropdown">我的</a>
<ul class="dropdown-menu">
<li onclick="my()"><a href="#updateinfo" data-toggle="modal">个人资料</a></li>
<li><a href="#updatepwd" data-toggle="modal">修改密码</a></li>
<li><a href="javascript:exitSys();">退出</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<!---->
<!-- -->
<div class="center-content" id="app">
<div class="left">
<div class="gongGao">
<div class="title">公 告</div>
<div class="context import">
<marquee width="100%" height="100%" direction="up" scrolldelay="300">
<div v-for="item in noticeList">
<label>发布人:{{item.noticePerson}}</label><br>
<label>发布时间:{{item.date}}</label><br>
<label>{{item.content}}</label><br>
<label>-------------------------------------------</label><br>
</div>
</marquee>
</div>
</div>
<div class="gongGao">
<div class="title">友 情 链 接</div>
<div class="context">
<a href="https://blog.csdn.net/qq_40625778">》CSDN技术分享</a>
<a href="https://gzh.cyouagain.cn/">》热门文章推荐</a>
<a href="https://y0ahx3.coding-pages.com/">》个人博客,系统源码大全</a>
<a href="https://www.cnblogs.com/cafuc20160512056/">》博客园,技术分享</a>
<a href="https://www.jianshu.com/u/33531987c9a7">》简书,技术分享</a>
</div>
</div>
<div class="gongGao">
<div class="title">源 码 下 载</div>
<div class="context">
<div style="font-size:14px; width: 100%; height: 400px;margin-bottom: 20px;">
<div style="padding: 5px; color: black">
<label style="font-size:15px;font-weight: normal;">下载源码请到公众号C you again</label><br />
<label style="font-size:15px;font-weight: normal;">1、求职者面试题、面试经验、面试技巧</label><br />
<label style="font-size:15px;font-weight: normal;">2、职场人技术分享、程序人生</label><br />
<label style="font-size:15px;font-weight: normal;">3、学生党Java从入门到精通PDF版教程、数据结构与算法、各类系统实战教程</label><br />
<label style="font-size:15px;font-weight: normal;">4、其它PPT模板、简历模板、计算机使用技术及技巧</label>
</div>
<img width="160px" style="margin-left:50px;" src="../img/gzh.jpg" />
</div>
</div>
</div>
</div>
<div class="right">
<div class="data_list">
<div class="wele">宿舍管理员,欢迎你登录寝室管理系统</div>
<div class="list-content">
<div class="quanxian">你拥有以下权限</div>
<ul>
<li>1、查看公告</li>
<li>2、查看、删除自己管理的学生</li>
<li>3、添加、修改、删除考勤记录</li>
<li>4、查看学生打卡记录</li>
<li>5、查看、修改个人信息</li>
</ul>
</div>
</div>
</div>
</div>
<!---->
<div class="copywrite">
<div class="container">
<p>版权声明此系统来自于公众号【C you again】使用过程中请注明来源欢迎大家学习参考
<a href="https://cyouagain.cn/">公众号官网,点击查看更细系统源码</a> |
<a href="https://gzh.cyouagain.cn/">热文推荐</a>
</p>
</div>
</div>
<!-------------------------个人资料模糊框------------------------------------->
<form class="form-horizontal" method="get" action="#"> <!--保证样式水平不混乱-->
<!-- 模态框Modal -->
<div class="modal fade" id="updateinfo" tabindex="-1" role="dialog" aria-labelledby="ModalLabel" aria-hidden="true">
<div id="user_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="ModalLabel">
个人资料
</h4>
</div>
<div class="modal-body">
<!--正文-->
<input type="hidden" name="tip" value="2">
<input type="hidden" name="url" value="admin/index">
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">用户名</label>
<div class="col-sm-7">
<input v-model="user.userName" type="text" class="form-control" placeholder="请输入用户名"
>
<label class="control-label" for="name" style="display: none"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">真实姓名</label>
<div class="col-sm-7">
<input v-model="user.name" type="text" class="form-control" id="name" name="name" placeholder="请输入您的真实姓名">
<label class="control-label" for="name" style="display: none"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">手机号</label>
<div class="col-sm-7">
<input v-model="user.tel" type="text" class="form-control" id="phone" name="tel" placeholder="请输入您的手机号">
<label class="control-label" for="phone" style="display: none"></label>
</div>
</div>
<!--正文-->
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button onclick="editMyMsg()" class="btn btn-primary">
修改
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!-------------------------------------------------------------->
<!-------------------------------------------------------------->
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<!-- 模态框Modal -->
<div class="modal fade" id="updatepwd" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true">
<div id="updatepwd_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="myModalLabel">
修改密码
</h4>
</div>
<div class="modal-body">
<!--正文-->
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">原密码</label>
<div class="col-sm-7">
<input required="required" onBlur="checkedPassword()" type="password" class="form-control" name="password" id="oldPwd"
placeholder="请输入原密码">
<label class="control-label" for="oldPwd" style="display: none"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">新密码</label>
<div class="col-sm-7">
<input required="required" type="password" class="form-control" name="password2" id="newPwd"
placeholder="请输入新密码">
<label class="control-label" for="newPwd" style="display: none"></label>
</div>
</div>
<!--正文-->
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" onclick="editPassword()" class="btn btn-primary">
修改
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!-------------------------------------------------------------->
<!-------------------------------修改的模态框------------------------------->
<script src="../js/vue/dormManage_dormManage.js"></script>
<script src="../js/vue/dormManage_loginManage.js"></script>
</body>
</html>

@ -0,0 +1,166 @@
<!DOCTYPE HTML>
<html>
<head>
<title>公众号【C you again】宿管端端 打卡记录</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<link href="../css/style.css" rel='stylesheet' type='text/css' />
<link href="../css/dorm.css" rel='stylesheet' type='text/css' />
<link href="../css/bootstrap/bootstrap.css" rel='stylesheet' type='text/css' />
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/vue/vue.js"></script>
<script src="../js/vue/axios.min.js"></script>
</head>
<body >
<!-- banner -->
<div class="banner" >
<div class="header">
<div class="logo" id="session_app">
<a href="javascript:window.location.reload();">{{login.userName}}</a>
</div>
<div class="top-menu">
<ul class="navig">
<li>
<a href="dormManage_index.html">首页</a>
</li>
<li>
<a href="studentManage.html">学生信息</a>
</li>
<li>
<a href="recordManage.html">考勤信息</a>
</li>
<li class="active">
<a href="#">打卡信息</a>
</li>
</ul>
</div>
</div>
</div>
<!---->
<!-- -->
<div class="center-content" id="app">
<div class="left">
<div class="gongGao">
<div class="title">公 告</div>
<div class="context import">
<marquee width="100%" height="100%" direction="up" scrolldelay="300">
<div v-for="item in noticeList">
<label>发布人:{{item.noticePerson}}</label><br>
<label>发布时间:{{item.date}}</label><br>
<label>{{item.content}}</label><br>
<label>-------------------------------------------</label><br>
</div>
</marquee>
</div>
</div>
<div class="gongGao">
<div class="title">友 情 链 接</div>
<div class="context">
<a href="https://blog.csdn.net/qq_40625778">》CSDN技术分享</a>
<a href="https://gzh.cyouagain.cn/">》热门文章推荐</a>
<a href="https://y0ahx3.coding-pages.com/">》个人博客,系统源码大全</a>
<a href="https://www.cnblogs.com/cafuc20160512056/">》博客园,技术分享</a>
<a href="https://www.jianshu.com/u/33531987c9a7">》简书,技术分享</a>
</div>
</div>
<div class="gongGao">
<div class="title">源 码 下 载</div>
<div class="context">
<div style="font-size:14px; width: 100%; height: 400px;margin-bottom: 20px;">
<div style="padding: 5px; color: black">
<label style="font-size:15px;font-weight: normal;">下载源码请到公众号C you again</label><br />
<label style="font-size:15px;font-weight: normal;">1、求职者面试题、面试经验、面试技巧</label><br />
<label style="font-size:15px;font-weight: normal;">2、职场人技术分享、程序人生</label><br />
<label style="font-size:15px;font-weight: normal;">3、学生党Java从入门到精通PDF版教程、数据结构与算法、各类系统实战教程</label><br />
<label style="font-size:15px;font-weight: normal;">4、其它PPT模板、简历模板、计算机使用技术及技巧</label>
</div>
<img width="160px" style="margin-left:50px;" src="../img/gzh.jpg" />
</div>
</div>
</div>
</div>
<div class="right">
<div class="data_list">
<div class="data_list_title">
打卡记录
</div>
<form name="myForm" class="form-search" method="post" action="#">
<span class="data_search">
&nbsp;<input v-model="search.key" id="s_dormManagerText" name="s_dormManagerText" type="date" style="width:120px;height: 30px;" class="input-medium search-query" >
&nbsp;<button onclick="searchRecordMsg()" type="button" class="btn btn-info" >搜索</button>
</span>
</form>
<div>
<table class="table table-hover table-striped table-bordered">
<tr>
<th>编号</th>
<th>发起日期</th>
<th>发起人</th>
<th>打卡主题</th>
<th>打卡说明</th>
<th>学生学号</th>
<th>学生姓名</th>
<th>宿舍楼</th>
<th>寝室号</th>
<th>手机</th>
<th>是否打卡</th>
<th>打卡内容</th>
</tr>
<tr v-for="(item,index) in punchClockRecordManageList">
<td>{{index+1}}</td>
<td>{{item.punchClockDate}}</td>
<td>{{item.punchClockPerson}}</td>
<td>{{item.punchClockTheme}}</td>
<td>{{item.punchClockDetail}}</td>
<td>{{item.stuNum}}</td>
<td>{{item.name}}</td>
<td>{{item.dormBuildId==0?'暂未安排':item.dormBuildId+'栋'}}</td>
<td>{{item.dormName}}</td>
<td>{{item.tel}}</td>
<td>{{item.record==true?'已打卡':'未打卡'}}</td>
<td>{{item.punckClockContent}}</td>
</tr>
</table>
</div>
<div class="pagination pagination-centered">
<div class="pagination_box">
<button id="page_up" type="button" onclick="pageUp()" class="page_up">上一页</button>
<div class="page_cur">{{pagination.pageNum}}/{{pagination.pageTotal}}</div>
<button id="page_down" onclick="pageDown()" type="button" class="page_down">下一页</button>
</div>
</div>
</div>
</div>
</div>
<!---->
<div class="copywrite">
<div class="container">
<p>版权声明此系统来自于公众号【C you again】使用过程中请注明来源欢迎大家学习参考
<a href="https://cyouagain.cn/">公众号官网,点击查看更细系统源码</a> |
<a href="https://gzh.cyouagain.cn/">热文推荐</a>
</p>
</div>
</div>
<script src="../js/vue/dormManage_punchClockRecordManage.js"></script>
<script src="../js/vue/dormManage_loginManage.js"></script>
</body>
</html>

@ -0,0 +1,262 @@
<!DOCTYPE HTML>
<html>
<head>
<title>公众号【C you again】考勤管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<link href="../css/style.css" rel='stylesheet' type='text/css' />
<link href="../css/dorm.css" rel='stylesheet' type='text/css' />
<link href="../css/bootstrap/bootstrap.css" rel='stylesheet' type='text/css' />
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/vue/vue.js"></script>
<script src="../js/vue/axios.min.js"></script>
<script src="../js/jquerysession.js"></script>
</head>
<body >
<!-- banner -->
<div class="banner" >
<div class="header">
<div class="logo" id="session_app">
<a href="javascript:window.location.reload();">{{login.userName}}</a>
</div>
<div class="top-menu">
<ul class="navig">
<li>
<a href="dormManage_index.html">首页</a>
</li>
<li>
<a href="studentManage.html">学生信息</a>
</li>
<li class="active">
<a href="#">考勤信息</a>
</li>
<li>
<a href="punchClockManage.html">打卡信息</a>
</li>
</ul>
</div>
</div>
</div>
<!---->
<!-- -->
<div class="center-content" id="app">
<div class="left">
<div class="gongGao">
<div class="title">公 告</div>
<div class="context import">
<marquee width="100%" height="100%" direction="up" scrolldelay="300">
<div v-for="item in noticeList">
<label>发布人:{{item.noticePerson}}</label><br>
<label>发布时间:{{item.date}}</label><br>
<label>{{item.content}}</label><br>
<label>-------------------------------------------</label><br>
</div>
</marquee>
</div>
</div>
<div class="gongGao">
<div class="title">友 情 链 接</div>
<div class="context">
<a href="https://blog.csdn.net/qq_40625778">》CSDN技术分享</a>
<a href="https://gzh.cyouagain.cn/">》热门文章推荐</a>
<a href="https://y0ahx3.coding-pages.com/">》个人博客,系统源码大全</a>
<a href="https://www.cnblogs.com/cafuc20160512056/">》博客园,技术分享</a>
<a href="https://www.jianshu.com/u/33531987c9a7">》简书,技术分享</a>
</div>
</div>
<div class="gongGao">
<div class="title">源 码 下 载</div>
<div class="context">
<div style="font-size:14px; width: 100%; height: 400px;margin-bottom: 20px;">
<div style="padding: 5px; color: black">
<label style="font-size:15px;font-weight: normal;">下载源码请到公众号C you again</label><br />
<label style="font-size:15px;font-weight: normal;">1、求职者面试题、面试经验、面试技巧</label><br />
<label style="font-size:15px;font-weight: normal;">2、职场人技术分享、程序人生</label><br />
<label style="font-size:15px;font-weight: normal;">3、学生党Java从入门到精通PDF版教程、数据结构与算法、各类系统实战教程</label><br />
<label style="font-size:15px;font-weight: normal;">4、其它PPT模板、简历模板、计算机使用技术及技巧</label>
</div>
<img width="160px" style="margin-left:50px;" src="../img/gzh.jpg" />
</div>
</div>
</div>
</div>
<div class="right">
<div class="data_list">
<div class="data_list_title">
考勤管理
</div>
<form name="myForm" class="form-search" method="post" action="#">
<button onclick="addRecordJILU()" type="button" class="btn btn-primary" id="btn_add" data-toggle="modal"
data-target="#addModal">添加记录</button>
<span class="data_search">
<select v-model="search.filter" id="searchType" name="searchType" style="width: 80px;">
<option value="studentName">姓名</option>
<option value="studentNumber">学号</option>
<option value="dormName">寝室号</option>
</select>
&nbsp;<input v-model="search.key" id="s_dormManagerText" name="s_dormManagerText" type="text" style="width:120px;height: 30px;" class="input-medium search-query" >
&nbsp;<button onclick="searchDormManage()" type="button" class="btn btn-info" >搜索</button>
</span>
</form>
<div>
<table class="table table-hover table-striped table-bordered">
<tr>
<th>编号</th>
<th>日期</th>
<th>学号</th>
<th>姓名</th>
<th>宿舍楼</th>
<th>寝室号</th>
<th>记录</th>
<th>操作</th>
</tr>
<tr v-for="(item,index) in recordMsgList">
<td>{{index+1}}</td>
<td>{{item.date}}</td>
<td>{{item.studentNumber}}</td>
<td>{{item.studentName}}</td>
<td>{{item.dormBuildId==0?'暂未安排':item.dormBuildId+'栋'}}</td>
<td>{{item.dormName}}</td>
<td>{{item.detail}}</td>
<td><button class="btn btn-mini btn-info" type="button" @click="getRecordById(item.recordId)" id="btn_edit" data-toggle="modal" data-target="#updateModal">修改</button>&nbsp;
<button class="btn btn-mini btn-danger" type="button" @click="recordManagerDeleteById(item.recordId)">删除</button></td>
</tr>
</table>
</div>
<div class="pagination pagination-centered">
<div class="pagination_box">
<button id="page_up" type="button" onclick="pageUp()" class="page_up">上一页</button>
<div class="page_cur">{{pagination.pageNum}}/{{pagination.pageTotal}}</div>
<button id="page_down" onclick="pageDown()" type="button" class="page_down">下一页</button>
</div>
</div>
</div>
</div>
</div>
<!---->
<div class="copywrite">
<div class="container">
<p>版权声明此系统来自于公众号【C you again】使用过程中请注明来源欢迎大家学习参考
<a href="https://cyouagain.cn/">公众号官网,点击查看更细系统源码</a> |
<a href="https://gzh.cyouagain.cn/">热文推荐</a>
</p>
</div>
</div>
<!--------------------------------------添加的模糊框------------------------>
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<!-- 模态框Modal -->
<div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true">
<div id="addRecordMsg_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="myModalLabel">
添加记录
</h4>
</div>
<div class="modal-body">
<!---------------------表单-------------------->
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">添加学生</label>
<div class="col-sm-7">
<select v-model="stuIndex" class="form-control" id="addSex" name="sex">
<option value="-1">请选择学生</option>
<option v-for="(item,index) in studentManageList" v-bind:value="index">{{item.name}}</option>
</select>
<label class="control-label" for="addSex" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">记录</label>
<div class="col-sm-7">
<input v-model="recordMsg.detail" type="text" class="form-control" id="addName" required="required" name="name"
placeholder="请输入记录">
<label class="control-label" for="addName" style="display: none;"></label>
</div>
</div>
<!---------------------表单-------------------->
</div>
<div class="modal-footer">
<button onclick="exit()" type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" onclick="addRecordMsg()" class="btn btn-primary hidden_btn">
添加
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!--------------------------------------添加的模糊框------------------------>
<!------------------------------ 修改模态框Modal ---------------------------------->
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<div class="modal fade" id="updateModal" tabindex="-1" role="dialog" aria-labelledby="updateModalLabel"
aria-hidden="true">
<div id="getRecordMsgById_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="updateModalLabel">
修改考勤记录信息
</h4>
</div>
<div class="modal-body">
<!---------------------表单-------------------->
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">考勤信息</label>
<div class="col-sm-7">
<input v-model="recordMsg.detail" type="text" class="form-control" id="addStuNum" required="required" name="stuNum"
placeholder="请输入考勤信息">
<label class="control-label" for="addUserName" style="display: none;"></label>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" onclick="updataRecordMsg()" class="btn btn-primary">
修改
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!-------------------------------修改的模态框------------------------------->
<script src="../js/vue/dormManage_recordManage.js"></script>
<script src="../js/vue/dormManage_loginManage.js"></script>
</body>
</html>

@ -0,0 +1,380 @@
<!DOCTYPE HTML>
<html>
<head>
<title>公众号【C you again】学生管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<link href="../css/style.css" rel='stylesheet' type='text/css' />
<link href="../css/dorm.css" rel='stylesheet' type='text/css' />
<link href="../css/bootstrap/bootstrap.css" rel='stylesheet' type='text/css' />
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/vue/vue.js"></script>
<script src="../js/vue/axios.min.js"></script>
<script src="../js/jquerysession.js"></script>
</head>
<body >
<!-- banner -->
<div class="banner" >
<div class="header">
<div class="logo" id="session_app">
<a href="javascript:window.location.reload();">{{login.userName}}</a>
</div>
<div class="top-menu">
<ul class="navig">
<li>
<a href="dormManage_index.html">首页</a>
</li>
<li class="active">
<a href="#">学生信息</a>
</li>
<li>
<a href="recordManage.html">考勤信息</a>
</li>
<li>
<a href="punchClockManage.html">打卡信息</a>
</li>
</ul>
</div>
</div>
</div>
<!---->
<!-- -->
<div class="center-content" id="app">
<div class="left">
<div class="gongGao">
<div class="title">公 告</div>
<div class="context import">
<marquee width="100%" height="100%" direction="up" scrolldelay="300">
<div v-for="item in noticeList">
<label>发布人:{{item.noticePerson}}</label><br>
<label>发布时间:{{item.date}}</label><br>
<label>{{item.content}}</label><br>
<label>-------------------------------------------</label><br>
</div>
</marquee>
</div>
</div>
<div class="gongGao">
<div class="title">友 情 链 接</div>
<div class="context">
<a href="https://blog.csdn.net/qq_40625778">》CSDN技术分享</a>
<a href="https://gzh.cyouagain.cn/">》热门文章推荐</a>
<a href="https://y0ahx3.coding-pages.com/">》个人博客,系统源码大全</a>
<a href="https://www.cnblogs.com/cafuc20160512056/">》博客园,技术分享</a>
<a href="https://www.jianshu.com/u/33531987c9a7">》简书,技术分享</a>
</div>
</div>
<div class="gongGao">
<div class="title">源 码 下 载</div>
<div class="context">
<div style="font-size:14px; width: 100%; height: 400px;margin-bottom: 20px;">
<div style="padding: 5px; color: black">
<label style="font-size:15px;font-weight: normal;">下载源码请到公众号C you again</label><br />
<label style="font-size:15px;font-weight: normal;">1、求职者面试题、面试经验、面试技巧</label><br />
<label style="font-size:15px;font-weight: normal;">2、职场人技术分享、程序人生</label><br />
<label style="font-size:15px;font-weight: normal;">3、学生党Java从入门到精通PDF版教程、数据结构与算法、各类系统实战教程</label><br />
<label style="font-size:15px;font-weight: normal;">4、其它PPT模板、简历模板、计算机使用技术及技巧</label>
</div>
<img width="160px" style="margin-left:50px;" src="../img/gzh.jpg" />
</div>
</div>
</div>
</div>
<div class="right">
<div class="data_list">
<div class="data_list_title">
学生信息
</div>
<form name="myForm" class="form-search" method="post" action="#">
<span class="data_search">
<select v-model="search.filter" id="searchType" name="searchType" style="width: 80px;">
<option value="name">姓名</option>
<option value="stuNum">学号</option>
<option value="dormName">寝室号</option>
</select>
&nbsp;<input v-model="search.key" id="s_dormManagerText" name="s_dormManagerText" type="text" style="width:120px;height: 30px;" class="input-medium search-query" >
&nbsp;<button onclick="searchDormManage()" type="button" class="btn btn-info" >搜索</button>
</span>
</form>
<div>
<table class="table table-hover table-striped table-bordered">
<tr>
<th>编号</th>
<th>学号</th>
<th>姓名</th>
<th>性别</th>
<th>宿舍楼</th>
<th>寝室号</th>
<th>手机</th>
<th>操作</th>
</tr>
<tr v-for="(item,index) in studentManageList">
<td>{{index+1}}</td>
<td>{{item.stuNum}}</td>
<td>{{item.name}}</td>
<td>{{item.sex}}</td>
<td>{{item.dormBuildId==0?'暂未安排':item.dormBuildId+'栋'}}</td>
<td>{{item.dormName}}</td>
<td>{{item.tel}}</td>
<td>
<button class="btn btn-mini btn-danger" type="button" @click="studentMsgDeleteById(item.studentId)">删除</button></td>
</tr>
</table>
</div>
<div class="pagination pagination-centered">
<div class="pagination_box">
<button id="page_up" type="button" onclick="pageUp()" class="page_up">上一页</button>
<div class="page_cur">{{pagination.pageNum}}/{{pagination.pageTotal}}</div>
<button id="page_down" onclick="pageDown()" type="button" class="page_down">下一页</button>
</div>
</div>
</div>
</div>
</div>
<!---->
<div class="copywrite">
<div class="container">
<p>版权声明此系统来自于公众号【C you again】使用过程中请注明来源欢迎大家学习参考
<a href="https://cyouagain.cn/">公众号官网,点击查看更细系统源码</a> |
<a href="https://gzh.cyouagain.cn/">热文推荐</a>
</p>
</div>
</div>
<!--------------------------------------添加的模糊框------------------------>
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<!-- 模态框Modal -->
<div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true">
<div id="addStudentManage_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="myModalLabel">
添加学生
</h4>
</div>
<div class="modal-body">
<!---------------------表单-------------------->
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">学号</label>
<div class="col-sm-7">
<input v-model="studentManage.stuNum" type="text" class="form-control" id="addStuNum" required="required" name="stuNum"
placeholder="请输入学号">
<label class="control-label" for="addUserName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">密码</label>
<div class="col-sm-7">
<input type="password" class="form-control" id="addPassword" required="required" name="password"
placeholder="请输入密码">
<label class="control-label" for="addPassword" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">重复密码</label>
<div class="col-sm-7">
<input v-model="studentManage.password" type="password" class="form-control" id="addPassword2" required="required" name=""
onBlur="checkPassword('add')" placeholder="请输入密码">
<label class="control-label" for="addPassword" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">姓名</label>
<div class="col-sm-7">
<input v-model="studentManage.name" type="text" class="form-control" id="addName" required="required" name="name"
placeholder="请输入姓名">
<label class="control-label" for="addName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">性别</label>
<div class="col-sm-7">
<select v-model="studentManage.sex" class="form-control" id="addSex" name="sex">
<option value="0"></option>
<option value="1" ></option>
</select>
<label class="control-label" for="addSex" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">宿舍楼</label>
<div class="col-sm-7">
<input v-model="studentManage.dormBuildId" type="text" class="form-control" id="addDormBuildId" required="required" name="dormBuildId"
placeholder="请输入宿舍楼">
<label class="control-label" for="tel" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">寝室号</label>
<div class="col-sm-7">
<input v-model="studentManage.dormName" type="text" class="form-control" id="addDormName" required="required" name="dormName"
placeholder="请输入寝室号">
<label class="control-label" for="tel" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">联系电话</label>
<div class="col-sm-7">
<input v-model="studentManage.tel" type="text" class="form-control" id="addTel" required="required" name="tel"
placeholder="请输入电话">
<label class="control-label" for="tel" style="display: none;"></label>
</div>
</div>
<!---------------------表单-------------------->
</div>
<div class="modal-footer">
<button onclick="exit()" type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" onclick="addStudentManageMsg()" class="btn btn-primary hidden_btn">
添加
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!--------------------------------------添加的模糊框------------------------>
<!------------------------------ 修改模态框Modal ---------------------------------->
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<div class="modal fade" id="updateModal" tabindex="-1" role="dialog" aria-labelledby="updateModalLabel"
aria-hidden="true">
<div id="getStudentMangerById_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="updateModalLabel">
修改宿管信息
</h4>
</div>
<div class="modal-body">
<!---------------------表单-------------------->
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">学号</label>
<div class="col-sm-7">
<input v-model="studentManage.stuNum" type="text" class="form-control" id="addStuNum" required="required" name="stuNum"
placeholder="请输入学号">
<label class="control-label" for="addUserName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">密码</label>
<div class="col-sm-7">
<input type="password" class="form-control" id="editPassword" required="required" name="password"
placeholder="请输入密码">
<label class="control-label" for="addPassword" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">重复密码</label>
<div class="col-sm-7">
<input v-model="studentManage.password" type="password" class="form-control" id="addPassword2" required="required" name=""
onBlur="checkPassword('add')" placeholder="请输入密码">
<label class="control-label" for="addPassword" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">姓名</label>
<div class="col-sm-7">
<input v-model="studentManage.name" type="text" class="form-control" id="addName" required="required" name="name"
placeholder="请输入姓名">
<label class="control-label" for="addName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">性别</label>
<div class="col-sm-7">
<select v-model="studentManage.sex" class="form-control" id="addSex" name="sex">
<option value="0"></option>
<option value="1" ></option>
</select>
<label class="control-label" for="addSex" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">宿舍楼</label>
<div class="col-sm-7">
<input v-model="studentManage.dormBuildId" type="text" class="form-control" id="addDormBuildId" required="required" name="dormBuildId"
placeholder="请输入宿舍楼">
<label class="control-label" for="tel" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">寝室号</label>
<div class="col-sm-7">
<input v-model="studentManage.dormName" type="text" class="form-control" id="addDormName" required="required" name="dormName"
placeholder="请输入寝室号">
<label class="control-label" for="tel" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">联系电话</label>
<div class="col-sm-7">
<input v-model="studentManage.tel" type="text" class="form-control" id="addTel" required="required" name="tel"
placeholder="请输入电话">
<label class="control-label" for="tel" style="display: none;"></label>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" onclick="updataStudentManageMsg()" class="btn btn-primary">
修改
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!-------------------------------修改的模态框------------------------------->
<script src="../js/vue/dormManage_studentManage.js"></script>
<script src="../js/vue/dormManage_loginManage.js"></script>
</body>
</html>

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 543 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

@ -0,0 +1,62 @@
//判断是否是PC端
window.onload=function(){
isPc();
}
function isPc(){
var sUserAgent = navigator.userAgent.toLowerCase();
if (/iphone|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mobile/.test(sUserAgent)) {
}
//PC端
else{
var bg_pc =["0.jpg", "1.jpg", "2.jpg","3.jpg","4.jpg","5.jpg"]; //(设定想要显示的图片)
var length=bg_pc.length;
var imgPath="dorm/img/bg_pc/";
var pc=$("#bg");
$("#body").css({
backgroundImage:"linear-gradient(to left, rgba(255, 0, 149, 0.2), rgba(0, 247, 255, 0.2)),url("+imgPath+bg_pc[getIndex(length)]+")"
});
setInterval(function (){time(pc,bg_pc,length,imgPath)},5000);//循环调用time1()函数时间间隔为2000ms
}
}
function time(object,arr,length,imgPath){
object.fadeOut(1000,function(){
object.css({
backgroundImage:"linear-gradient(to left, rgba(255, 0, 149, 0.2), rgba(0, 247, 255, 0.2)),url("+imgPath+arr[getIndex(length)]+")"
});
})
object.fadeIn(1500);
}
function getIndex(length){
return Math.floor(Math.random()*length);
}
function move(titel,role){
if(role=='admin'){
$("#role").val("admin")
}
if(role=="dormManager"){
$("#role").val("dormManager")
}
if(role=='student'){
$("#role").val("student")
}
$(".role_titel").text(titel)
$(".box1").slideToggle('slow',function(){
$(".box2").slideToggle()
})
}

@ -0,0 +1,3 @@
(function(e,t,n){var r=e();e.fn.dropdownHover=function(n){r=r.add(this.parent());return this.each(function(){var i=e(this),s=i.parent(),o={delay:500,instantlyCloseOthers:!0},u={delay:e(this).data("delay"),instantlyCloseOthers:e(this).data("close-others")},a=e.extend(!0,{},o,n,u),f;s.hover(function(e){if(!s.hasClass("open")&&!i.is(e.target))return!0;a.instantlyCloseOthers===!0&&r.removeClass("open");t.clearTimeout(f);s.addClass("open")},function(){f=t.setTimeout(function(){s.removeClass("open")},a.delay)});i.hover(function(){a.instantlyCloseOthers===!0&&r.removeClass("open");t.clearTimeout(f);s.addClass("open")});s.find(".dropdown-submenu").each(function(){var n=e(this),r;n.hover(function(){t.clearTimeout(r);n.children(".dropdown-menu").show();n.siblings().children(".dropdown-menu").hide()},function(){var e=n.children(".dropdown-menu");r=t.setTimeout(function(){e.hide()},a.delay)})})})};e(document).ready(function(){e('[data-hover="dropdown"]').dropdownHover()})})(jQuery,this);

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

2020
js/jquery.fancybox.js vendored

File diff suppressed because it is too large Load Diff

4
js/jquery.min.js vendored

File diff suppressed because one or more lines are too long

133
js/jquerysession.js vendored

@ -0,0 +1,133 @@
(function($){
var cookieExpireTime = 1209600; // cookie项过期时间 2周
$.session = {
_id: null,
_cookieCache: undefined,
_init: function()
{
//if (!window.name) {
// window.name = Math.random();
//}
//this._id = window.name;
// 如果id设置为动态会导致浏览器不断生成cookie进而导致取值有问题
this._id = 'sessionID';
this._initCache();
// See if we've changed protcols
var matches = (new RegExp(this._generatePrefix() + "=([^;]+);")).exec(document.cookie);
if (matches && document.location.protocol !== matches[1]) {
this._clearSession();
for (var key in this._cookieCache) {
try {
window.sessionStorage.setItem(key, this._cookieCache[key]);
} catch (e) {};
}
}
document.cookie = this._generatePrefix() + "=" + document.location.protocol + ';path=/;expires=' + (new Date((new Date).getTime() + 28800000 + cookieExpireTime)).toUTCString(); // 28800000 含义:世界时间+8天=北京时间
},
_generatePrefix: function()
{
return '__session:' + this._id + ':';
},
_initCache: function()
{
var cookies = document.cookie.split(';');
this._cookieCache = {};
for (var i in cookies) {
var kv = cookies[i].split('=');
if ((new RegExp(this._generatePrefix() + '.+')).test(kv[0]) && kv[1]) {
this._cookieCache[kv[0].split(':', 3)[2]] = kv[1];
}
}
},
_setFallback: function(key, value, onceOnly)
{
var cookie = this._generatePrefix() + key + "=" + value + ";path=/";
if (onceOnly) { // 只一次设置项,为其添加过期时间,过期自动删除
cookie += ";expires=" + (new Date(Date.now() + 28800000 + cookieExpireTime)).toUTCString();
}
document.cookie = cookie;
this._cookieCache[key] = value;
return this;
},
_getFallback: function(key)
{
if (!this._cookieCache) {
this._initCache();
}
return this._cookieCache[key];
},
_clearFallback: function()
{
for (var i in this._cookieCache) {
document.cookie = this._generatePrefix() + i + '=;path=/;expires=Thu, 01 Jan 1970 00:00:01 GMT;';
}
this._cookieCache = {};
},
_deleteFallback: function(key)
{
document.cookie = this._generatePrefix() + key + '=;path=/;expires=Thu, 01 Jan 1970 00:00:01 GMT;'; // 把有效时间设置为过期
delete this._cookieCache[key];
},
get: function(key)
{
return window.sessionStorage.getItem(key) || this._getFallback(key);
},
set: function(key, value, onceOnly)
{
try {
window.sessionStorage.setItem(key, value);
} catch (e) {}
this._setFallback(key, value, onceOnly || false);
return this;
},
'delete': function(key){
return this.remove(key);
},
remove: function(key)
{
try {
window.sessionStorage.removeItem(key);
} catch (e) {};
this._deleteFallback(key);
return this;
},
_clearSession: function()
{
try {
window.sessionStorage.clear();
} catch (e) {
for (var i in window.sessionStorage) {
window.sessionStorage.removeItem(i);
}
}
},
clear: function()
{
this._clearSession();
this._clearFallback();
return this;
}
};
$.session._init();
})(jQuery);

@ -0,0 +1,8 @@
/*! http://responsiveslides.com v1.54 by @viljamis */
(function(c,I,B){c.fn.responsiveSlides=function(l){var a=c.extend({auto:!0,speed:500,timeout:4E3,pager:!1,nav:!1,random:!1,pause:!1,pauseControls:!0,prevText:"Previous",nextText:"Next",maxwidth:"",navContainer:"",manualControls:"",namespace:"rslides",before:c.noop,after:c.noop},l);return this.each(function(){B++;var f=c(this),s,r,t,m,p,q,n=0,e=f.children(),C=e.size(),h=parseFloat(a.speed),D=parseFloat(a.timeout),u=parseFloat(a.maxwidth),g=a.namespace,d=g+B,E=g+"_nav "+d+"_nav",v=g+"_here",j=d+"_on",
w=d+"_s",k=c("<ul class='"+g+"_tabs "+d+"_tabs' />"),x={"float":"left",position:"relative",opacity:1,zIndex:2},y={"float":"none",position:"absolute",opacity:0,zIndex:1},F=function(){var b=(document.body||document.documentElement).style,a="transition";if("string"===typeof b[a])return!0;s=["Moz","Webkit","Khtml","O","ms"];var a=a.charAt(0).toUpperCase()+a.substr(1),c;for(c=0;c<s.length;c++)if("string"===typeof b[s[c]+a])return!0;return!1}(),z=function(b){a.before(b);F?(e.removeClass(j).css(y).eq(b).addClass(j).css(x),
n=b,setTimeout(function(){a.after(b)},h)):e.stop().fadeOut(h,function(){c(this).removeClass(j).css(y).css("opacity",1)}).eq(b).fadeIn(h,function(){c(this).addClass(j).css(x);a.after(b);n=b})};a.random&&(e.sort(function(){return Math.round(Math.random())-0.5}),f.empty().append(e));e.each(function(a){this.id=w+a});f.addClass(g+" "+d);l&&l.maxwidth&&f.css("max-width",u);e.hide().css(y).eq(0).addClass(j).css(x).show();F&&e.show().css({"-webkit-transition":"opacity "+h+"ms ease-in-out","-moz-transition":"opacity "+
h+"ms ease-in-out","-o-transition":"opacity "+h+"ms ease-in-out",transition:"opacity "+h+"ms ease-in-out"});if(1<e.size()){if(D<h+100)return;if(a.pager&&!a.manualControls){var A=[];e.each(function(a){a+=1;A+="<li><a href='#' class='"+w+a+"'>"+a+"</a></li>"});k.append(A);l.navContainer?c(a.navContainer).append(k):f.after(k)}a.manualControls&&(k=c(a.manualControls),k.addClass(g+"_tabs "+d+"_tabs"));(a.pager||a.manualControls)&&k.find("li").each(function(a){c(this).addClass(w+(a+1))});if(a.pager||a.manualControls)q=
k.find("a"),r=function(a){q.closest("li").removeClass(v).eq(a).addClass(v)};a.auto&&(t=function(){p=setInterval(function(){e.stop(!0,!0);var b=n+1<C?n+1:0;(a.pager||a.manualControls)&&r(b);z(b)},D)},t());m=function(){a.auto&&(clearInterval(p),t())};a.pause&&f.hover(function(){clearInterval(p)},function(){m()});if(a.pager||a.manualControls)q.bind("click",function(b){b.preventDefault();a.pauseControls||m();b=q.index(this);n===b||c("."+j).queue("fx").length||(r(b),z(b))}).eq(0).closest("li").addClass(v),
a.pauseControls&&q.hover(function(){clearInterval(p)},function(){m()});if(a.nav){g="<a href='#' class='"+E+" prev'>"+a.prevText+"</a><a href='#' class='"+E+" next'>"+a.nextText+"</a>";l.navContainer?c(a.navContainer).append(g):f.after(g);var d=c("."+d+"_nav"),G=d.filter(".prev");d.bind("click",function(b){b.preventDefault();b=c("."+j);if(!b.queue("fx").length){var d=e.index(b);b=d-1;d=d+1<C?n+1:0;z(c(this)[0]===G[0]?b:d);if(a.pager||a.manualControls)r(c(this)[0]===G[0]?b:d);a.pauseControls||m()}});
a.pauseControls&&d.hover(function(){clearInterval(p)},function(){m()})}}if("undefined"===typeof document.body.style.maxWidth&&l.maxwidth){var H=function(){f.css("width","100%");f.width()>u&&f.css("width",u)};H();c(I).bind("resize",function(){H()})}})}})(jQuery,this,0);

@ -0,0 +1,81 @@
/**
*
*/
window.onload=function(){
getSession({role:"admin"});
}
/*--------------------个人--------------------*/
function my(){
console.log(this.session_vue.login.adminId)
var that=this;
axios.post('../../getMyMsgById',this.session_vue.login).then(function (res) {
that.user_vue.user=res.data;
}).catch(function (error) {
alert(error);
});
}
function editMyMsg(){
var admin=this.user_vue.user;
that=this;
axios.post('../../updateMyMsgById',admin).then(function (res) {
console.log(res)
if(res.data.result==true){
window.location.reload()
}
}).catch(function (error) {
alert(error);
});
}
function checkedPassword(){
my();
var password= this.user_vue.user.password;
var oldPwd=$("#oldPwd").val().trim();
if(password != null && password == oldPwd){
}
else{
alert("原密码不正确")
console.log(password)
console.log(oldPwd)
$("#oldPwd").val('')
}
}
function editPassword(){
var newPwd=$("#newPwd").val().trim();
this.user_vue.user.password=newPwd;
var admin =this.user_vue.user;
console.log(admin)
axios.post('../../updatePsd',admin).then(function (res) {
console.log(res)
if(res.data.result==true){
window.location.reload();
}
}).catch(function (error) {
alert(error);
});
}
/*--------------------个人--------------------*/
var user_vue=new Vue({
el:'#user_app',
data:{
user:{
}
}
});

@ -0,0 +1,223 @@
/**
*
*/
var DORMBuildId;
window.onload=function(){
getSession({role:"admin"});
var that=this;
getBuildManage()
}
//获取BuildMange
function getBuildManage(){
console.log("num",this.vue.pagination.pageNum)
var that=this;
axios.get('../../getBuildManage?pageNum='+that.vue.pagination.pageNum+'&pageSize='+that.vue.pagination.pageSize+'&filter='+this.vue.search.filter+"&key="+this.vue.search.key).then(function (res) {
that.vue.buildManageList=res.data.rows;
that.vue.pagination.pageTotal=Math.ceil(res.data.total/that.vue.pagination.pageSize);
that.vue.search.filter="dormBuildName";
that.vue.search.key=""
console.log(res)
}).catch(function (error) {
alert(error);
});
}
//根据获取BuildManId BuildManage
function getBuildMangerById(dormBuildId){
var that=this;
axios.get('../../getBuildMangerById',{
params:{
dormBuildId:dormBuildId
}
}).then(function (res) {
that.getBuildMangerById_vue.buildManage=res.data;
}).catch(function (error) {
alert(error);
});
}
function addBuildManageMsg(){
var buildManage=this.addBuildManage_vue.buildManage;
axios.post('../../addBuildManage', buildManage, {headers: {'Content-Type': 'application/json;charset=UTF-8'}})
.then(function (response) {
if(response.data.result==true){
this.addBuildManage_vue.buildManage={};
window.location.reload();
}
}).catch(function (error) {
console.log(error);
});
}
//根据Id更新
function updataBuildManageMsg(){
var buildManage=this.getBuildMangerById_vue.buildManage;
axios.post('../../updataBuildManageById', buildManage, {headers: {'Content-Type': 'application/json;charset=UTF-8'}})
.then(function (response) {
if(response.data.result==true){
this.getBuildMangerById_vue.buildManage={};
window.location.reload();
}
}).catch(function (error) {
console.log(error);
});
}
//根据Id删除
function buildManagerDeleteById(dormBuildId){
var that=this;
axios.get('../../buildManagerDeleteById?dormBuildId='+dormBuildId).then(function (res) {
console.log(res)
if(res.data.result==true){
window.location.reload();
}
}).catch(function (error) {
alert(error);
});
}
//根据宿舍楼id获取宿管信息
function getDormMangerByBuildId(dormBuildId){
var that=this;
DORMBuildId=dormBuildId;
axios.get('../../getDormMangerByBuildId?dormBuildId='+dormBuildId).then(function (res) {
console.log(res)
that.getDormManageByBuildId_vue.dormManage=res.data;
}).catch(function (error) {
alert(error);
});
var that=this;
axios.get('../../getDormManage2').then(function (res) {
that.getDormManageByBuildId_vue.optionsDormManage=res.data;
console.log(res)
}).catch(function (error) {
alert(error);
});
}
function addDormManageToBuild(){
var dormManId=this.getDormManageByBuildId_vue.optionKey;
if(dormManId !=-1){
axios.get('../../addDormManageToBuild?dormBuildId='+DORMBuildId+'&dormManId='+dormManId).then(function (res) {
if(res.data.result==true){
getDormMangerByBuildId(DORMBuildId)
}
}).catch(function (error) {
alert(error);
});
}
else{
alert("你选择了无效值")
}
}
function removeaDormManageToBuild(dormManId){
axios.get('../../removeaDormManageToBuild?dormManId='+dormManId).then(function (res) {
if(res.data.result==true){
getDormMangerByBuildId(DORMBuildId)
}
}).catch(function (error) {
alert(error);
});
}
//查询
function searchBuildManage(){
console.log(this.vue.search);
getBuildManage();
}
//用户点击退出
function exit(){
this.addBuildManage_vue.buildManage={};
}
//分页
function pageUp(){
if(this.vue.pagination.pageNum>1){
this.vue.pagination.pageNum--;
getBuildManage();
}
else{
alert("就是第一页")
}
}
function pageDown(){
if(this.vue.pagination.pageNum<this.vue.pagination.pageTotal){
this.vue.pagination.pageNum++;
getBuildManage();
}
else{
alert("已经是最后一页")
}
}
var addBuildManage_vue=new Vue({
el:'#addBuildManage_app',
data:{
buildManage:{
}
}
});
var vue=new Vue({
el:'#app',
data:{
buildManageList:[],
search:{
filter:"dormBuildName",
key:""
},
pagination:{
pageNum:1,
pageSize:17,
pageTotal:0
}
},
methods:{
getBuildMangerById:function(dormBuildId){
getBuildMangerById(dormBuildId)
},
buildManagerDeleteById:function(dormBuildId){
buildManagerDeleteById(dormBuildId);
},
getDormMangerByBuildId:function(dormBuildId){
getDormMangerByBuildId(dormBuildId)
}
}
});
var getBuildMangerById_vue=new Vue({
el:'#getBuildMangerById_app',
data:{
buildManage:{}
}
});
var getDormManageByBuildId_vue=new Vue({
el:'#getDormManageByBuildId_app',
data:{
dormManage:{},
optionsDormManage:[],
optionKey:-1
},
methods:{
removeaDormManageToBuild:function(dormManId){
removeaDormManageToBuild(dormManId)
}
}
});

@ -0,0 +1,206 @@
/**
*
*/
window.onload=function(){
getSession({role:"admin"});
var that=this;
getDormManage()
}
//获取dormMange
function getDormManage(){
console.log("num",this.vue.pagination.pageNum)
var that=this;
axios.get('../../getDormManage?pageNum='+that.vue.pagination.pageNum+'&pageSize='+that.vue.pagination.pageSize+'&filter='+this.vue.search.filter+"&key="+this.vue.search.key).then(function (res) {
that.vue.dormManageList=res.data.rows;
that.vue.pagination.pageTotal=Math.ceil(res.data.total/that.vue.pagination.pageSize);
that.vue.search.filter="name";
that.vue.search.key=""
console.log(res)
}).catch(function (error) {
alert(error);
});
}
//根据获取dormManId DormManage
function getDormMangerById(dormManId){
var that=this;
axios.get('../../getDormMangerById',{
params:{
dormManId:dormManId
}
}).then(function (res) {
that.getDormMangerById_vue.dormManage=res.data;
that.getDormMangerById_vue.dormManage.sex=="男"? that.getDormMangerById_vue.dormManage.sex="0":that.getDormMangerById_vue.dormManage.sex="1"
$("#editPassword").val(that.getDormMangerById_vue.dormManage.password);
}).catch(function (error) {
alert(error);
});
}
//校验密码
function checkPassword(status){
if(status=="add"){
if(this.addDormManage.dormManage.password!=null && this.addDormManage.dormManage.password.trim()!="" && (this.addDormManage.dormManage.password.trim()==$("#addPassword").val().trim())){
$(".hidden_btn").css({
display:"inline-block"
})
}
else{
$(".hidden_btn").css({
display:"none"
})
this.addDormManage.dormManage.password="";
$("#addPassword").val("");
alert("两次密码输入不一致");
}
}
if(status=="edit"){
if(this.getDormMangerById_vue.dormManage.password!=null && this.getDormMangerById_vue.dormManage.password.trim()!="" && (this.getDormMangerById_vue.dormManage.password.trim()==$("#editPassword").val().trim())){
$(".hidden_btn").css({
display:"inline-block"
})
}
else{
$(".hidden_btn").css({
display:"none"
})
this.getDormMangerById_vue.dormManage.password="";
$("#editPassword").val("");
alert("两次密码输入不一致");
}
}
}
function addDormManageMsg(){
var dormManage=this.addDormManage.dormManage;
dormManage.sex==0?dormManage.sex="男":dormManage.sex="女";
axios.post('../../addDormManage', dormManage, {headers: {'Content-Type': 'application/json;charset=UTF-8'}})
.then(function (response) {
if(response.data.result==true){
this.addDormManage.dormManage={};
this.addDormManage.dormManage.sex="0";
window.location.reload();
}
}).catch(function (error) {
console.log(error);
});
}
//根据Id更新
function updataDormManageMsg(){
var dormManage=this.getDormMangerById_vue.dormManage;
dormManage.sex==0?dormManage.sex="男":dormManage.sex="女";
axios.post('../../updataDormManageById', dormManage, {headers: {'Content-Type': 'application/json;charset=UTF-8'}})
.then(function (response) {
if(response.data.result==true){
this.getDormMangerById_vue.dormManage={};
this.getDormMangerById_vue.dormManage.sex="0";
window.location.reload();
}
}).catch(function (error) {
console.log(error);
});
}
//根据Id删除
function dormManagerDeleteById(dormManId){
var that=this;
axios.get('../../dormManagerDeleteById?dormManId='+dormManId).then(function (res) {
console.log(res)
if(res.data.result==true){
window.location.reload();
}
}).catch(function (error) {
alert(error);
});
}
//查询
function searchDormManage(){
console.log(this.vue.search);
getDormManage();
}
//用户点击退出
function exit(){
this.addDormManage.dormManage={};
this.addDormManage.dormManage.sex="0";
$("#addPassword").val('')
}
//分页
function pageUp(){
if(this.vue.pagination.pageNum>1){
this.vue.pagination.pageNum--;
getDormManage();
}
else{
alert("就是第一页")
}
}
function pageDown(){
if(this.vue.pagination.pageNum<this.vue.pagination.pageTotal){
this.vue.pagination.pageNum++;
getDormManage();
}
else{
alert("已经是最后一页")
}
}
var addDormManage=new Vue({
el:'#addDormManage_app',
data:{
dormManage:{
userName:"",
password:"",
name:"",
sex:"0",
tel:""
}
}
});
var vue=new Vue({
el:'#app',
data:{
dormManageList:[],
search:{
filter:"name",
key:""
},
pagination:{
pageNum:1,
pageSize:17,
pageTotal:0
}
},
methods:{
getDormMangerById:function(dormManId){
getDormMangerById(dormManId)
},
dormManagerDeleteById:function(dormManId){
dormManagerDeleteById(dormManId);
}
}
});
var getDormMangerById_vue=new Vue({
el:'#getDormMangerById_app',
data:{
dormManage:{}
}
});

@ -0,0 +1,49 @@
/**
*
*/
//获取session
function getSession(role){
var that=this;
axios.post('../../getSession',role).then(function (res) {
if(res.data[0] !=null){
that.session_vue.login=res.data[0][0];
sessionStorage.removeItem("userName");
sessionStorage.setItem("userName",that.session_vue.login.userName);
}else{
alert("未登录");
window.location.replace('../../')
}
}).catch(function (error) {
alert(error);
});
}
//用户退出
function exitSys(){
var that=this;
axios.get('../../exitSys?exit=admin').then(function (res) {
if(res.data.result==true){
window.location.replace("../../")
console.log("注销成功")
}
else{
alert("注销失败");
window.location.reload();
}
}).catch(function (error) {
alert(error);
});
}
var session_vue=new Vue({
el:"#session__app",
data:{
login:{
userName:""
}
}
});

@ -0,0 +1,155 @@
/**
* 公众号C you again
*/
window.onload=function(){
getSession({role:"admin"});
var that=this;
getNoticeManage()
}
//获取studentManage
function getNoticeManage(){
var that=this;
axios.get('../../getNoticeManage?pageNum='+that.vue.pagination.pageNum+'&pageSize='+that.vue.pagination.pageSize+'&filter='+this.vue.search.filter+"&key="+this.vue.search.key).then(function (res) {
that.vue.noticeManageList=res.data.rows;
that.vue.pagination.pageTotal=Math.ceil(res.data.total/that.vue.pagination.pageSize);
that.vue.search.filter="date";
that.vue.search.key=""
console.log(res)
}).catch(function (error) {
alert(error);
});
}
//根据获取dormManId DormManage
function getNoticeMangerById(noticeId){
var that=this;
axios.get('../../getNoticeMangerById',{
params:{
noticeId:noticeId
}
}).then(function (res) {
that.getNoticeMangerById_vue.noticeManage=res.data;
}).catch(function (error) {
alert(error);
});
}
function addNoticeManageMsg(){
var noticeManage=this.addNoticeManage_vue.noticeManage;
axios.post('../../addNoticeManage', noticeManage, {headers: {'Content-Type': 'application/json;charset=UTF-8'}})
.then(function (response) {
if(response.data.result==true){
this.addNoticeManage_vue.noticeManage={};
window.location.reload();
}
}).catch(function (error) {
console.log(error);
});
}
//根据Id更新
function updataNoticeManageMsg(){
var noticeManage=this.getNoticeMangerById_vue.noticeManage;
axios.post('../../updataNoticeManageById', noticeManage, {headers: {'Content-Type': 'application/json;charset=UTF-8'}})
.then(function (response) {
if(response.data.result==true){
this.getNoticeMangerById_vue.noticeManage={};
window.location.reload();
}
}).catch(function (error) {
console.log(error);
});
}
//根据Id删除
function noticeManagerDeleteById(noticeId){
var that=this;
axios.get('../../noticeManagerDeleteById?noticeId='+noticeId).then(function (res) {
console.log(res)
if(res.data.result==true){
window.location.reload();
}
}).catch(function (error) {
alert(error);
});
}
//查询
function searchNoticeManage(){
console.log(this.vue.search);
getNoticeManage();
}
//用户点击退出
function exit(){
this.addNoticeManage_vue.noticeManage={};
}
//分页
function pageUp(){
if(this.vue.pagination.pageNum>1){
this.vue.pagination.pageNum--;
getStudentManage();
}
else{
alert("就是第一页")
}
}
function pageDown(){
if(this.vue.pagination.pageNum<this.vue.pagination.pageTotal){
this.vue.pagination.pageNum++;
getStudentManage();
}
else{
alert("已经是最后一页")
}
}
var addNoticeManage_vue=new Vue({
el:'#addNoticeManage_app',
data:{
noticeManage:{
}
}
});
var vue=new Vue({
el:'#app',
data:{
noticeManageList:[],
search:{
filter:"date",
key:""
},
pagination:{
pageNum:1,
pageSize:17,
pageTotal:0
}
},
methods:{
getNoticeMangerById:function(noticeId){
getNoticeMangerById(noticeId)
},
noticeManagerDeleteById:function(noticeId){
noticeManagerDeleteById(noticeId);
}
}
});
var getNoticeMangerById_vue=new Vue({
el:'#getNoticeMangerById_app',
data:{
noticeManage:{}
}
});

@ -0,0 +1,157 @@
/**
* 公众号C you again
*/
window.onload=function(){
getSession({role:"admin"});
var that=this;
getPunchClockManage()
}
//获取studentManage
function getPunchClockManage(){
var that=this;
axios.get('../../getPunchClockManage?pageNum='+that.vue.pagination.pageNum+'&pageSize='+that.vue.pagination.pageSize+'&filter='+this.vue.search.filter+"&key="+this.vue.search.key).then(function (res) {
that.vue.punchClockManageList=res.data.rows;
that.vue.pagination.pageTotal=Math.ceil(res.data.total/that.vue.pagination.pageSize);
that.vue.search.filter="date";
that.vue.search.key=""
console.log(res)
}).catch(function (error) {
alert(error);
});
}
//获取
function getPunchClockMangerById(id){
var that=this;
axios.get('../../getPunchClockMangerById',{
params:{
id:id
}
}).then(function (res) {
that.getPunchClockMangerById_vue.punchClockManage=res.data;
}).catch(function (error) {
alert(error);
});
}
function addPunchClockManageMsg(){
this.addPunchClockManage_vue.punchClockManage.person=sessionStorage.getItem("userName");
var punchClockManage=this.addPunchClockManage_vue.punchClockManage;
axios.post('../../addPunchClockManageMsg', punchClockManage, {headers: {'Content-Type': 'application/json;charset=UTF-8'}})
.then(function (response) {
if(response.data.result==true){
this.addPunchClockManage_vue.punchClockManage={};
window.location.reload();
}
}).catch(function (error) {
console.log(error);
});
}
//根据Id更新
function updataPunchClockManageMsg(){
var punchClockManage=this.getPunchClockMangerById_vue.punchClockManage;
axios.post('../../updataPunchClockManageMsgById', punchClockManage, {headers: {'Content-Type': 'application/json;charset=UTF-8'}})
.then(function (response) {
if(response.data.result==true){
this.getPunchClockMangerById_vue.punchClockManage={};
window.location.reload();
}
}).catch(function (error) {
console.log(error);
});
}
//根据Id删除
function punchClockManagerDeleteById(id){
var that=this;
axios.get('../../punchClockManagerDeleteById?id='+id).then(function (res) {
console.log(res)
if(res.data.result==true){
window.location.reload();
}
}).catch(function (error) {
alert(error);
});
}
//查询
function searchNoticeManage(){
console.log(this.vue.search);
getPunchClockManage();
}
//用户点击退出
function exit(){
this.addPunchClockManage_vue.punchClockManage={};
}
//分页
function pageUp(){
if(this.vue.pagination.pageNum>1){
this.vue.pagination.pageNum--;
getPunchClockManage();
}
else{
alert("就是第一页")
}
}
function pageDown(){
if(this.vue.pagination.pageNum<this.vue.pagination.pageTotal){
this.vue.pagination.pageNum++;
getPunchClockManage();
}
else{
alert("已经是最后一页")
}
}
var addPunchClockManage_vue=new Vue({
el:'#addPunchClockManage_app',
data:{
punchClockManage:{
}
}
});
var vue=new Vue({
el:'#app',
data:{
punchClockManageList:[],
search:{
filter:"date",
key:""
},
pagination:{
pageNum:1,
pageSize:17,
pageTotal:0
}
},
methods:{
getPunchClockMangerById:function(id){
getPunchClockMangerById(id)
},
punchClockManagerDeleteById:function(id){
punchClockManagerDeleteById(id);
}
}
});
var getPunchClockMangerById_vue=new Vue({
el:'#getPunchClockMangerById_app',
data:{
punchClockManage:{}
}
});

@ -0,0 +1,203 @@
/**
*
*/
window.onload=function(){
getSession({role:"admin"});
var that=this;
getRecordManage()
}
//获取studentManage
function getRecordManage(){
console.log("num",this.vue.pagination.pageNum)
var that=this;
axios.get('../../getRecordManage?pageNum='+that.vue.pagination.pageNum+'&pageSize='+that.vue.pagination.pageSize+'&filter='+this.vue.search.filter+"&key="+this.vue.search.key).then(function (res) {
that.vue.recordManageList=res.data.rows;
that.vue.pagination.pageTotal=Math.ceil(res.data.total/that.vue.pagination.pageSize);
that.vue.search.filter="studentName";
that.vue.search.key=""
console.log(res)
}).catch(function (error) {
alert(error);
});
}
//根据获取dormManId DormManage
function getStudentMangerById(studentId){
var that=this;
axios.get('../../getStudentMangerById',{
params:{
studentId:studentId
}
}).then(function (res) {
that.getStudentMangerById_vue.studentManage=res.data;
that.getStudentMangerById_vue.studentManage.sex=="男"? that.getStudentMangerById_vue.studentManage.sex="0":that.getStudentMangerById_vue.studentManage.sex="1"
$("#editPassword").val(that.getStudentMangerById_vue.studentManage.password);
}).catch(function (error) {
alert(error);
});
}
//校验密码
function checkPassword(status){
if(status=="add"){
if(this.addStudentManage_vue.studentManage.password!=null && this.addStudentManage_vue.studentManage.password.trim()!="" && (this.addStudentManage_vue.studentManage.password.trim()==$("#addPassword").val().trim())){
$(".hidden_btn").css({
display:"inline-block"
})
}
else{
$(".hidden_btn").css({
display:"none"
})
this.addStudentManage_vue.studentManage.password="";
$("#addPassword").val("");
alert("两次密码输入不一致");
}
}
if(status=="edit"){
if(this.getStudentMangerById_vue.studentManage.password!=null && this.getStudentMangerById_vue.studentManage.password.trim()!="" && (this.getStudentMangerById_vue.studentManage.password.trim()==$("#editPassword").val().trim())){
$(".hidden_btn").css({
display:"inline-block"
})
}
else{
$(".hidden_btn").css({
display:"none"
})
this.getStudentMangerById_vue.studentManage.password="";
$("#editPassword").val("");
alert("两次密码输入不一致");
}
}
}
function addStudentManageMsg(){
var studentManage=this.addStudentManage_vue.studentManage;
studentManage.sex==0?studentManage.sex="男":studentManage.sex="女";
axios.post('../../addStudentManage', studentManage, {headers: {'Content-Type': 'application/json;charset=UTF-8'}})
.then(function (response) {
if(response.data.result==true){
this.addStudentManage_vue.studentManage={};
this.addStudentManage_vue.studentManage.sex="0";
window.location.reload();
}
}).catch(function (error) {
console.log(error);
});
}
//根据Id更新
function updataStudentManageMsg(){
var studentManage=this.getStudentMangerById_vue.studentManage;
studentManage.sex==0?studentManage.sex="男":studentManage.sex="女";
axios.post('../../updataStudentManageById', studentManage, {headers: {'Content-Type': 'application/json;charset=UTF-8'}})
.then(function (response) {
if(response.data.result==true){
this.getStudentMangerById_vue.studentManage={};
this.getStudentMangerById_vue.studentManage.sex="0";
window.location.reload();
}
}).catch(function (error) {
console.log(error);
});
}
//根据Id删除
function recordManagerDeleteById(recordId){
var that=this;
axios.get('../../recordManagerDeleteById?recordId='+recordId).then(function (res) {
console.log(res)
if(res.data.result==true){
window.location.reload();
}
}).catch(function (error) {
alert(error);
});
}
//查询
function searchRecordManage(){
console.log(this.vue.search);
getRecordManage();
}
//用户点击退出
function exit(){
this.addStudentManage_vue.studentManage={};
this.addStudentManage_vue.studentManage.sex="0";
$("#addPassword").val('')
}
//分页
function pageUp(){
if(this.vue.pagination.pageNum>1){
this.vue.pagination.pageNum--;
getRecordManage();
}
else{
alert("就是第一页")
}
}
function pageDown(){
if(this.vue.pagination.pageNum<this.vue.pagination.pageTotal){
this.vue.pagination.pageNum++;
getRecordManage();
}
else{
alert("已经是最后一页")
}
}
var addStudentManage_vue=new Vue({
el:'#addStudentManage_app',
data:{
studentManage:{
stuNum:"",
password:"",
name:"",
sex:"0",
dormBuildId:null,
dormName:"",
tel:""
}
}
});
var vue=new Vue({
el:'#app',
data:{
recordManageList:[],
search:{
filter:"studentName",
key:""
},
pagination:{
pageNum:1,
pageSize:17,
pageTotal:0
}
},
methods:{
recordManagerDeleteById:function(recordId){
recordManagerDeleteById(recordId);
}
}
});
var getStudentMangerById_vue=new Vue({
el:'#getStudentMangerById_app',
data:{
studentManage:{}
}
});

@ -0,0 +1,205 @@
/**
*
*/
window.onload=function(){
getSession({role:"admin"});
var that=this;
getStudentManage()
}
//获取studentManage
function getStudentManage(){
console.log("num",this.vue.pagination.pageNum)
var that=this;
axios.get('../../getStudentManage?pageNum='+that.vue.pagination.pageNum+'&pageSize='+that.vue.pagination.pageSize+'&filter='+this.vue.search.filter+"&key="+this.vue.search.key).then(function (res) {
that.vue.studentManageList=res.data.rows;
that.vue.pagination.pageTotal=Math.ceil(res.data.total/that.vue.pagination.pageSize);
that.vue.search.filter="name";
that.vue.search.key=""
console.log(res)
}).catch(function (error) {
alert(error);
});
}
//根据获取dormManId DormManage
function getStudentMangerById(studentId){
var that=this;
axios.get('../../getStudentMangerById',{
params:{
studentId:studentId
}
}).then(function (res) {
that.getStudentMangerById_vue.studentManage=res.data;
that.getStudentMangerById_vue.studentManage.sex=="男"? that.getStudentMangerById_vue.studentManage.sex="0":that.getStudentMangerById_vue.studentManage.sex="1"
$("#editPassword").val(that.getStudentMangerById_vue.studentManage.password);
}).catch(function (error) {
alert(error);
});
}
//校验密码
function checkPassword(status){
if(status=="add"){
if(this.addStudentManage_vue.studentManage.password!=null && this.addStudentManage_vue.studentManage.password.trim()!="" && (this.addStudentManage_vue.studentManage.password.trim()==$("#addPassword").val().trim())){
$(".hidden_btn").css({
display:"inline-block"
})
}
else{
$(".hidden_btn").css({
display:"none"
})
this.addStudentManage_vue.studentManage.password="";
$("#addPassword").val("");
alert("两次密码输入不一致");
}
}
if(status=="edit"){
if(this.getStudentMangerById_vue.studentManage.password!=null && this.getStudentMangerById_vue.studentManage.password.trim()!="" && (this.getStudentMangerById_vue.studentManage.password.trim()==$("#editPassword").val().trim())){
$(".hidden_btn").css({
display:"inline-block"
})
}
else{
$(".hidden_btn").css({
display:"none"
})
this.getStudentMangerById_vue.studentManage.password="";
$("#editPassword").val("");
alert("两次密码输入不一致");
}
}
}
function addStudentManageMsg(){
var studentManage=this.addStudentManage_vue.studentManage;
studentManage.sex==0?studentManage.sex="男":studentManage.sex="女";
axios.post('../../addStudentManage', studentManage, {headers: {'Content-Type': 'application/json;charset=UTF-8'}})
.then(function (response) {
if(response.data.result==true){
this.addStudentManage_vue.studentManage={};
this.addStudentManage_vue.studentManage.sex="0";
window.location.reload();
}
}).catch(function (error) {
console.log(error);
});
}
//根据Id更新
function updataStudentManageMsg(){
var studentManage=this.getStudentMangerById_vue.studentManage;
studentManage.sex==0?studentManage.sex="男":studentManage.sex="女";
axios.post('../../updataStudentManageById', studentManage, {headers: {'Content-Type': 'application/json;charset=UTF-8'}})
.then(function (response) {
if(response.data.result==true){
this.getStudentMangerById_vue.studentManage={};
this.getStudentMangerById_vue.studentManage.sex="0";
window.location.reload();
}
}).catch(function (error) {
console.log(error);
});
}
//根据Id删除
function studentManagerDeleteById(studentId){
var that=this;
axios.get('../../studentManagerDeleteById?studentId='+studentId).then(function (res) {
console.log(res)
if(res.data.result==true){
window.location.reload();
}
}).catch(function (error) {
alert(error);
});
}
//查询
function searchDormManage(){
console.log(this.vue.search);
getStudentManage();
}
//用户点击退出
function exit(){
this.addStudentManage_vue.studentManage={};
this.addStudentManage_vue.studentManage.sex="0";
$("#addPassword").val('')
}
//分页
function pageUp(){
if(this.vue.pagination.pageNum>1){
this.vue.pagination.pageNum--;
getStudentManage();
}
else{
alert("就是第一页")
}
}
function pageDown(){
if(this.vue.pagination.pageNum<this.vue.pagination.pageTotal){
this.vue.pagination.pageNum++;
getStudentManage();
}
else{
alert("已经是最后一页")
}
}
var addStudentManage_vue=new Vue({
el:'#addStudentManage_app',
data:{
studentManage:{
stuNum:"",
password:"",
name:"",
sex:"0",
dormBuildId:null,
dormName:"",
tel:""
}
}
});
var vue=new Vue({
el:'#app',
data:{
studentManageList:[],
search:{
filter:"name",
key:""
},
pagination:{
pageNum:1,
pageSize:17,
pageTotal:0
}
},
methods:{
getStudentMangerById:function(studentId){
getStudentMangerById(studentId)
},
studentManagerDeleteById:function(studentId){
studentManagerDeleteById(studentId);
}
}
});
var getStudentMangerById_vue=new Vue({
el:'#getStudentMangerById_app',
data:{
studentManage:{}
}
});

File diff suppressed because one or more lines are too long

@ -0,0 +1,101 @@
/**
*
*/
window.onload=function(){
getSession({role:"dormManager"});
//获取公告
getNoticeAll();
}
function getNoticeAll(){
var that=this;
axios.post('../../getNoticeAll').then(function (res) {
that.vue.noticeList=res.data;
console.log(that.vue.noticeList)
}).catch(function (error) {
alert(error);
});
}
/*--------------------个人--------------------*/
function my(){
console.log(this.session_vue.login)
var that=this;
axios.post('../../dorm_getMyMsgById',this.session_vue.login).then(function (res) {
that.user_vue.user=res.data;
}).catch(function (error) {
alert(error);
});
}
function editMyMsg(){
var admin=this.user_vue.user;
axios.post('../../dorm_updateMyMsgById',admin).then(function (res) {
console.log(res)
if(res.data.result==true){
window.location.reload()
}
}).catch(function (error) {
alert(error);
});
}
function checkedPassword(){
my();
var password= this.user_vue.user.password;
var oldPwd=$("#oldPwd").val().trim();
if(password != null && password == oldPwd){
}
else{
alert("原密码不正确")
console.log(password)
console.log(oldPwd)
$("#oldPwd").val('')
}
}
function editPassword(){
var newPwd=$("#newPwd").val().trim();
this.user_vue.user.password=newPwd;
var admin =this.user_vue.user;
console.log(admin)
axios.post('../../dorm_updatePsd',admin).then(function (res) {
console.log(res)
if(res.data.result==true){
window.location.reload();
}
}).catch(function (error) {
alert(error);
});
}
/*--------------------个人--------------------*/
var user_vue=new Vue({
el:'#user_app',
data:{
user:{
}
}
});
var vue=new Vue({
el:'#app',
data:{
noticeList:[]
}
});

@ -0,0 +1,49 @@
/**
*
*/
//获取session
function getSession(role){
var that=this;
axios.post('../../getSession',role).then(function (res) {
if(res.data[0] !=null){
that.session_vue.login=res.data[0][0];
sessionStorage.removeItem("dormBuildId");
sessionStorage.setItem("dormBuildId",that.session_vue.login.dormBuildId);
}else{
alert("未登录");
window.location.replace('../../')
}
}).catch(function (error) {
alert(error);
});
}
//用户退出
function exitSys(){
var that=this;
axios.get('../../exitSys?exit=dormManager').then(function (res) {
if(res.data.result==true){
window.location.replace("../../")
console.log("注销成功")
}
else{
alert("注销失败");
window.location.reload();
}
}).catch(function (error) {
alert(error);
});
}
var session_vue=new Vue({
el:"#session_app",
data:{
login:{
userName:""
}
}
});

@ -0,0 +1,98 @@
/**
*
*/
var dormBuildId;
window.onload=function(){
getSession({role:"dormManager"});
//获取公告
getNoticeAll();
dormBuildId=sessionStorage.getItem("dormBuildId");
var that=this;
getPunchClockRecordMsgByDormBuildId()
}
function getNoticeAll(){
var that=this;
axios.post('../../getNoticeAll').then(function (res) {
that.vue.noticeList=res.data;
console.log(that.vue.noticeList)
}).catch(function (error) {
alert(error);
});
}
//根据学号获取考勤记录
function getPunchClockRecordMsgByDormBuildId(){
console.log("num",this.vue.pagination.pageNum)
var that=this;
axios.get('../../getPunchClockRecordMsgByDormBuildId?pageNum='+that.vue.pagination.pageNum+'&pageSize='+that.vue.pagination.pageSize+'&filter='+this.vue.search.filter+"&key="+this.vue.search.key+'&dormBuildId='+dormBuildId).then(function (res) {
that.vue.punchClockRecordManageList=res.data.rows;
that.vue.pagination.pageTotal=Math.ceil(res.data.total/that.vue.pagination.pageSize);
that.vue.search.filter="date";
that.vue.search.key=""
console.log(res)
}).catch(function (error) {
alert(error);
});
}
//查询
function searchRecordMsg(){
getPunchClockRecordMsgByDormBuildId();
}
//用户点击退出
function exit(){
this.addStudentManage_vue.studentManage={};
this.addStudentManage_vue.studentManage.sex="0";
$("#addPassword").val('')
}
//分页
function pageUp(){
if(this.vue.pagination.pageNum>1){
this.vue.pagination.pageNum--;
getPunchClockRecordMsgByDormBuildId();
}
else{
alert("就是第一页")
}
}
function pageDown(){
if(this.vue.pagination.pageNum<this.vue.pagination.pageTotal){
this.vue.pagination.pageNum++;
getPunchClockRecordMsgByDormBuildId();
}
else{
alert("已经是最后一页")
}
}
var vue=new Vue({
el:'#app',
data:{
punchClockRecordManageList:[],
search:{
filter:"date",
key:""
},
pagination:{
pageNum:1,
pageSize:17,
pageTotal:0
},
noticeList:[]
},
methods:{
recordManagerDeleteById:function(recordId){
recordManagerDeleteById(recordId);
}
}
});

@ -0,0 +1,190 @@
/**
*
*/
var dormBuildId;
window.onload=function(){
var login=getSession({role:"dormManager"});
dormBuildId=sessionStorage.getItem("dormBuildId");
getRecordMsg();
//获取公告
getNoticeAll();
}
function getNoticeAll(){
var that=this;
axios.post('../../getNoticeAll').then(function (res) {
that.vue.noticeList=res.data;
console.log(that.vue.noticeList)
}).catch(function (error) {
alert(error);
});
}
function addRecordJILU(){
that=this;
axios.get('../../getStudentMsgByBuildId?pageNum='+1+'&pageSize='+100+'&filter='+''+"&key="+''+"&dormBuildId="+dormBuildId).then(function (res) {
that.addRecordMsg_vue.studentManageList=res.data.rows;
console.log(res)
}).catch(function (error) {
alert(error);
});
}
function addRecordMsg(){
var that=this;
var stuIndex=this.addRecordMsg_vue.stuIndex;
this.addRecordMsg_vue.recordMsg.studentNumber=this.addRecordMsg_vue.studentManageList[stuIndex].stuNum;
this.addRecordMsg_vue.recordMsg.studentName=this.addRecordMsg_vue.studentManageList[stuIndex].name;
this.addRecordMsg_vue.recordMsg.dormName=this.addRecordMsg_vue.studentManageList[stuIndex].dormName;
this.addRecordMsg_vue.recordMsg.dormBuildId=dormBuildId;
this.addRecordMsg_vue.recordMsg.date=new Date(this.addRecordMsg_vue.recordMsg.date)
console.log(this.addRecordMsg_vue.recordMsg)
axios.post('../../addRecordMsg', this.addRecordMsg_vue.recordMsg, {headers: {'Content-Type': 'application/json;charset=UTF-8'}})
.then(function (response) {
if(response.data.result==true){
that.addRecordMsg_vue.recordMsg={};
window.location.reload();
}
}).catch(function (error) {
console.log(error);
});
}
//获取studentManage
function getRecordMsg(){
console.log("num",this.vue.pagination.pageNum)
var that=this;
axios.get('../../getRecordMsg?pageNum='+that.vue.pagination.pageNum+'&pageSize='+that.vue.pagination.pageSize+'&filter='+this.vue.search.filter+"&key="+this.vue.search.key+"&dormBuildId="+dormBuildId).then(function (res) {
that.vue.recordMsgList=res.data.rows;
that.vue.pagination.pageTotal=Math.ceil(res.data.total/that.vue.pagination.pageSize);
that.vue.search.filter="studentName";
that.vue.search.key=""
}).catch(function (error) {
alert(error);
});
}
//根据获取dormManId DormManage
function getRecordById(recordId){
var that=this;
axios.get('../../getRecordById',{
params:{
recordId:recordId
}
}).then(function (res) {
that.getRecordMsgById_vue.recordMsg=res.data;
}).catch(function (error) {
alert(error);
});
}
//根据Id更新
function updataRecordMsg(){
var that=this;
var recordMsg=this.getRecordMsgById_vue.recordMsg;
axios.post('../../updataRecordMsg', recordMsg, {headers: {'Content-Type': 'application/json;charset=UTF-8'}})
.then(function (response) {
if(response.data.result==true){
that.getRecordMsgById_vue.recordMsg={};
window.location.reload();
}
}).catch(function (error) {
console.log(error);
});
}
//根据Id删除
function recordManagerDeleteById(recordId){
var that=this;
axios.get('../../recordManagerDeleteById1?recordId='+recordId).then(function (res) {
console.log(res)
if(res.data.result==true){
window.location.reload();
}
}).catch(function (error) {
alert(error);
});
}
//查询
function searchDormManage(){
console.log(this.vue.search);
getRecordMsg();
}
//用户点击退出
function exit(){
this.addRecordMsg_vue.studentManageList={};
this.addRecordMsg_vue.stuId=-1;
}
//分页
function pageUp(){
if(this.vue.pagination.pageNum>1){
this.vue.pagination.pageNum--;
getRecordMsg();
}
else{
alert("就是第一页")
}
}
function pageDown(){
if(this.vue.pagination.pageNum<this.vue.pagination.pageTotal){
this.vue.pagination.pageNum++;
getRecordMsg();
}
else{
alert("已经是最后一页")
}
}
var addRecordMsg_vue=new Vue({
el:'#addRecordMsg_app',
data:{
recordMsg:{
},
studentManageList:{},
stuIndex:-1
}
});
var vue=new Vue({
el:'#app',
data:{
recordMsgList:[],
search:{
filter:"studentName",
key:""
},
pagination:{
pageNum:1,
pageSize:17,
pageTotal:0
},
noticeList:[]
},
methods:{
getRecordById:function(recordId){
getRecordById(recordId)
},
recordManagerDeleteById:function(recordId){
recordManagerDeleteById(recordId);
}
}
});
var getRecordMsgById_vue=new Vue({
el:'#getRecordMsgById_app',
data:{
recordMsg:{}
}
});

@ -0,0 +1,124 @@
/**
*
*/
var dormBuildId;
window.onload=function(){
getSession({role:"dormManager"});
dormBuildId=sessionStorage.getItem("dormBuildId");
var that=this;
getStudentManage()
//获取公告
getNoticeAll();
}
function getNoticeAll(){
var that=this;
axios.post('../../getNoticeAll').then(function (res) {
that.vue.noticeList=res.data;
console.log(that.vue.noticeList)
}).catch(function (error) {
alert(error);
});
}
//获取studentManage
function getStudentManage(){
var that=this;
axios.get('../../getStudentMsgByBuildId?pageNum='+that.vue.pagination.pageNum+'&pageSize='+that.vue.pagination.pageSize+'&filter='+this.vue.search.filter+"&key="+this.vue.search.key+"&dormBuildId="+dormBuildId).then(function (res) {
that.vue.studentManageList=res.data.rows;
that.vue.pagination.pageTotal=Math.ceil(res.data.total/that.vue.pagination.pageSize);
that.vue.search.filter="name";
that.vue.search.key=""
console.log(res)
}).catch(function (error) {
alert(error);
});
}
//根据Id删除
function studentMsgDeleteById(studentId){
var that=this;
axios.get('../../studentMsgDeleteById?studentId='+studentId).then(function (res) {
console.log(res)
if(res.data.result==true){
window.location.reload();
}
}).catch(function (error) {
alert(error);
});
}
//查询
function searchDormManage(){
console.log(this.vue.search);
getStudentManage();
}
//用户点击退出
function exit(){
this.addStudentManage_vue.studentManage={};
this.addStudentManage_vue.studentManage.sex="0";
$("#addPassword").val('')
}
//分页
function pageUp(){
if(this.vue.pagination.pageNum>1){
this.vue.pagination.pageNum--;
getStudentManage();
}
else{
alert("就是第一页")
}
}
function pageDown(){
if(this.vue.pagination.pageNum<this.vue.pagination.pageTotal){
this.vue.pagination.pageNum++;
getStudentManage();
}
else{
alert("已经是最后一页")
}
}
var addStudentManage_vue=new Vue({
el:'#addStudentManage_app',
data:{
studentManage:{
stuNum:"",
password:"",
name:"",
sex:"0",
dormBuildId:null,
dormName:"",
tel:""
}
}
});
var vue=new Vue({
el:'#app',
data:{
studentManageList:[],
search:{
filter:"name",
key:""
},
pagination:{
pageNum:1,
pageSize:17,
pageTotal:0
},
noticeList:[]
},
methods:{
studentMsgDeleteById:function(studentId){
studentMsgDeleteById(studentId);
}
}
});

@ -0,0 +1,69 @@
/**
* 公众号C you again
* 个人博客:cyouagain.cn
* 登录管理
*
*/
//登录
function login(){
var login=this.login_vue.login;
login.role=$("#role").val();
if(login.userName !=null && login.userName.trim()!=''){
if(login.password != null && login.password.trim()!=''){
login_fun()
}
else{
alert("密码不能为空")
}
}
else{
alert("用户名不能为空")
}
}
function login_fun(){
var login=this.login_vue.login;
axios.post('login',login).then(function (res) {
if(res.data.length===1){
//用户存在
var url="";
this.login_vue.login={};
if(login.role=="admin"){
url="dorm/admin/admin_index.html";
}
if(login.role=="dormManager"){
url="dorm/dormManager/dormManage_index.html"
}
if(login.role=="student"){
url="dorm/student/student_index.html"
}
window.location.replace(url);
}
else{
this.login_vue.login={}
alert("用户不存在或密码错误,请认真检查")
}
}).catch(function (error) {
alert(error);
});
}
var login_vue=new Vue({
el:'#login_app',
data:{
login:{
userName:"",
password:"",
role:""
}
}
})

@ -0,0 +1,49 @@
/**
*
*/
//获取session
function getSession(role){
var that=this;
axios.post('../../getSession',role).then(function (res) {
if(res.data[0] !=null){
that.session_vue.login=res.data[0][0];
sessionStorage.removeItem("studentNumber");
sessionStorage.setItem("studentNumber",that.session_vue.login.stuNum);
}else{
alert("未登录");
window.location.replace('../../')
}
}).catch(function (error) {
alert(error);
});
}
//用户退出
function exitSys(){
var that=this;
axios.get('../../exitSys?exit=student').then(function (res) {
if(res.data.result==true){
window.location.replace("../../")
console.log("注销成功")
}
else{
alert("注销失败");
window.location.reload();
}
}).catch(function (error) {
alert(error);
});
}
var session_vue=new Vue({
el:"#session_app",
data:{
login:{
name:""
}
}
});

@ -0,0 +1,130 @@
/**
*
*/
var studentNumber;
window.onload=function(){
getSession({role:"student"});
studentNumber=sessionStorage.getItem("studentNumber");
getNoticeAll()
var that=this;
getPunchClockRecordMsgByStuNum()
}
function getNoticeAll(){
var that=this;
axios.post('../../getNoticeAll').then(function (res) {
that.vue.noticeList=res.data;
console.log(that.vue.noticeList)
}).catch(function (error) {
alert(error);
});
}
//根据学号获取
function getPunchClockRecordMsgByStuNum(){
var that=this;
axios.get('../../getPunchClockRecordMsgByStuNum?pageNum='+that.vue.pagination.pageNum+'&pageSize='+that.vue.pagination.pageSize+'&filter='+this.vue.search.filter+"&key="+this.vue.search.key+'&studentNumber='+studentNumber).then(function (res) {
that.vue.punchClockRecordManageList=res.data.rows;
that.vue.pagination.pageTotal=Math.ceil(res.data.total/that.vue.pagination.pageSize);
that.vue.search.filter="date";
that.vue.search.key=""
console.log(res)
}).catch(function (error) {
alert(error);
});
}
function getPunckColcokRecordById(id){
var that=this;
axios.get('../../getPunckColcokRecordById?id='+id).then(function (res) {
that.punckClockRecordById_vue.punckClockRecordMasg=res.data;
}).catch(function (error) {
console.log(error);
});
}
function updataPunchClockRecordMsg(){
var punckClockRecordMasg=this.punckClockRecordById_vue.punckClockRecordMasg;
axios.post('../../updataPunchClockRecordMsg', punckClockRecordMasg, {headers: {'Content-Type': 'application/json;charset=UTF-8'}})
.then(function (response) {
if(response.data.result==true){
console.log($("#"+punckClockRecordMasg.id))
$("#"+punckClockRecordMasg.id).attr("disabled","disabled");
this.punckClockRecordById_vue.punckClockRecordMasg={};
window.location.reload();
}
}).catch(function (error) {
console.log(error);
});
}
//查询
function searchRecordMsg(){
getPunchClockRecordMsgByStuNum();
}
//用户点击退出
function exit(){
this.addStudentManage_vue.studentManage={};
this.addStudentManage_vue.studentManage.sex="0";
$("#addPassword").val('')
}
//分页
function pageUp(){
if(this.vue.pagination.pageNum>1){
this.vue.pagination.pageNum--;
getPunchClockRecordMsgByStuNum();
}
else{
alert("就是第一页")
}
}
function pageDown(){
if(this.vue.pagination.pageNum<this.vue.pagination.pageTotal){
this.vue.pagination.pageNum++;
getPunchClockRecordMsgByStuNum();
}
else{
alert("已经是最后一页")
}
}
var vue=new Vue({
el:'#app',
data:{
punchClockRecordManageList:[],
search:{
filter:"date",
key:""
},
pagination:{
pageNum:1,
pageSize:17,
pageTotal:0
},
noticeList:[]
},
methods:{
getPunckColcokRecordById:function(id){
getPunckColcokRecordById(id);
}
}
});
var punckClockRecordById_vue=new Vue({
el:'#punckClockRecordById_app',
data:{
punckClockRecordMasg:{}
}
});

@ -0,0 +1,94 @@
/**
*
*/
var studentNumber;
window.onload=function(){
getSession({role:"student"});
studentNumber=sessionStorage.getItem("studentNumber");
getNoticeAll();
var that=this;
getRecordMsgByStuNum()
}
function getNoticeAll(){
var that=this;
axios.post('../../getNoticeAll').then(function (res) {
that.vue.noticeList=res.data;
console.log(that.vue.noticeList)
}).catch(function (error) {
alert(error);
});
}
//根据学号获取考勤记录
function getRecordMsgByStuNum(){
console.log("num",this.vue.pagination.pageNum)
var that=this;
axios.get('../../getRecordMMsgByStuNum?pageNum='+that.vue.pagination.pageNum+'&pageSize='+that.vue.pagination.pageSize+'&filter='+this.vue.search.filter+"&key="+this.vue.search.key+'&studentNumber='+studentNumber).then(function (res) {
that.vue.recordManageList=res.data.rows;
that.vue.pagination.pageTotal=Math.ceil(res.data.total/that.vue.pagination.pageSize);
that.vue.search.filter="date";
that.vue.search.key=""
console.log(res)
}).catch(function (error) {
alert(error);
});
}
//查询
function searchRecordMsg(){
getRecordMsgByStuNum();
}
//用户点击退出
function exit(){
this.addStudentManage_vue.studentManage={};
this.addStudentManage_vue.studentManage.sex="0";
$("#addPassword").val('')
}
//分页
function pageUp(){
if(this.vue.pagination.pageNum>1){
this.vue.pagination.pageNum--;
getRecordMsgByStuNum();
}
else{
alert("就是第一页")
}
}
function pageDown(){
if(this.vue.pagination.pageNum<this.vue.pagination.pageTotal){
this.vue.pagination.pageNum++;
getRecordMsgByStuNum();
}
else{
alert("已经是最后一页")
}
}
var vue=new Vue({
el:'#app',
data:{
recordManageList:[],
search:{
filter:"date",
key:""
},
pagination:{
pageNum:1,
pageSize:17,
pageTotal:0
},
noticeList:[]
},
methods:{
}
});

@ -0,0 +1,100 @@
/**
*
*/
window.onload=function(){
getSession({role:"student"});
//获取公告
getNoticeAll();
}
function getNoticeAll(){
var that=this;
axios.post('../../getNoticeAll').then(function (res) {
that.vue.noticeList=res.data;
console.log(that.vue.noticeList)
}).catch(function (error) {
alert(error);
});
}
/*--------------------个人--------------------*/
function my(){
console.log(this.session_vue.login)
var that=this;
axios.post('../../student_getMyMsgById',this.session_vue.login).then(function (res) {
that.user_vue.user=res.data;
console.log(that.user_vue.user)
}).catch(function (error) {
alert(error);
});
}
function editMyMsg(){
var student=this.user_vue.user;
axios.post('../../student_updateMyMsgById',student).then(function (res) {
console.log(res)
if(res.data.result==true){
window.location.reload()
}
}).catch(function (error) {
alert(error);
});
}
function checkedPassword(){
my();
var password= this.user_vue.user.password;
var oldPwd=$("#oldPwd").val().trim();
if(password != null && password == oldPwd){
}
else{
alert("原密码不正确")
console.log(password)
console.log(oldPwd)
$("#oldPwd").val('')
}
}
function editPassword(){
var newPwd=$("#newPwd").val().trim();
this.user_vue.user.password=newPwd;
var student =this.user_vue.user;
axios.post('../../student_updatePsd',student).then(function (res) {
console.log(res)
if(res.data.result==true){
window.location.reload();
}
}).catch(function (error) {
alert(error);
});
}
/*--------------------个人--------------------*/
var user_vue=new Vue({
el:'#user_app',
data:{
user:{
}
}
});
var vue=new Vue({
el:'#app',
data:{
noticeList:[]
}
});

File diff suppressed because it is too large Load Diff

@ -0,0 +1,107 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
<title>公众号C you again的主页,毕业设计,IT技术分享</title>
<meta name="description" content="公众号C you again专注于IT技术分享资源免费分享IT技术分享,源码分享,PPT模板,简历模板,编程语言,程序人生,Java,数据结构,算法,PTA,C语言,C++,html,游戏">
<meta name="keywords" content="公众号C you again,IT技术,微信公众号,公众号平台,订阅号,公众号文章投稿,毕业设计,课程设计,Java教程,图书管理系统,贪吃蛇,人力资源管理系统,基于SSM的客户管理系统,OA办公系统,基于java的企业进销存管理系统,ERP仓库管理系统,机票管理系统,JavaWeb权限管理系统,基于MVC的寝室管理系统,JavaWeb订餐系统,商城系统,学生信息管理系统,SSM框架,SSH框架,数据库,Mysql,Redis,JDk,PPT模板,简历模板,编程语言,程序人生,Java,JDK,web,Jsp,Servlet,Tomcat,JDBC,数据结构,算法,PTA,C语言,C++,html,游戏,photoshop">
<link rel="stylesheet" type="text/css" href="dorm/css/cya.css">
<script src="dorm/js/vue/vue.js"></script>
<script src="dorm/js/vue/axios.min.js"></script>
<script src="dorm/js/jquery.min.js"></script>
<script src="dorm/js/bg.js"></script>
</head>
<body id="body">
<div id="bg"></div>
<div class="login-box box1" >
<div class="bg_title">欢 迎 你 访 问 寝 室 管 理 平 台</div>
<div class="admin">
<div class="admin-titel titel">我是系统管理员</div>
<div class="admin-content content">
<ul>
<li>公告管理</li>
<li>宿舍楼管理</li>
<li>寝室管理</li>
<li>学生管理</li>
<li>考勤、打卡管理</li>
</ul>
<button onclick="move('我是系统管理员','admin')" type="button">点我登录</button>
</div>
</div>
<div class="dormManage">
<div class="dormManage-titel titel">我是宿舍管理员</div>
<div class="dormManage-content content">
<ul>
<li>查看公告</li>
<li>查看、删除自己管理的学生</li>
<li>添加、修改、删除考勤记录</li>
<li>查看学生打卡记录</li>
<li>查看、修改个人信息</li>
</ul>
<button onclick="move('我是宿舍管理员','dormManager')" type="button">点我登录</button>
</div>
</div>
<div class="student">
<div class="student-titel titel">我是学生</div>
<div class="student-content content">
<ul>
<li>查看公告</li>
<li>查看考勤记录</li>
<li>完成打卡任务,查看打卡记录</li>
<li>查看、修改个人信息</li>
</ul>
<button onclick="move('我是学生','student')" type="button">点我登录</button>
</div>
</div>
</div>
<div class="login-box box2" >
<div class="bg_title">欢 迎 你 访 问 寝 室 管 理 平 台</div>
<div class="student content">
<div class="student-titel titel role_titel"></div>
<div class="student-content content">
<div class="left">
<ul>
<li>系统管理员用户名【admin】密码【cya】</li>
<li>宿舍管理员用户名【dorm】密码【cya】</li>
<li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;用户名【002】密码【cya】</li>
<li>关注公众号【C you again】获取更多源码</li>
<li>
<img width="32%" src="dorm/img/gzh.jpg" />
</li>
</ul>
</div>
<div class="right" id="login_app">
<ul>
<li></li>
<li>
用户名:<input required="required" v-model="login.userName" type="text" placeholder="输入用户名"/>
</li>
<li>
&nbsp;&nbsp;&nbsp;码:<input required="required" v-model="login.password" type="password" placeholder="输入密码"/>
<input id="role" type="hidden" />
</li>
<button onclick="login()" class="button">登录</button>
<li class="a">
<a href=""> 重新选择角色</a> &nbsp;&nbsp;
<a href="https://cyouagain.cn/" target="_blank" > 源码大全</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<script src="dorm/js/vue/loginManage.js"></script>
</body>
</html>

@ -0,0 +1,212 @@
<!DOCTYPE HTML>
<html>
<head>
<title>公众号【C you again】学生端 打卡记录</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<link href="../css/style.css" rel='stylesheet' type='text/css' />
<link href="../css/dorm.css" rel='stylesheet' type='text/css' />
<link href="../css/bootstrap/bootstrap.css" rel='stylesheet' type='text/css' />
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/vue/vue.js"></script>
<script src="../js/vue/axios.min.js"></script>
</head>
<body >
<!-- banner -->
<div class="banner" >
<div class="header">
<div class="logo" id="session_app">
<a href="javascript:window.location.reload();">{{login.name}}</a>
</div>
<div class="top-menu">
<ul class="navig">
<li>
<a href="student_index.html">首页</a>
</li>
<li >
<a href="recordManage.html">考勤记录</a>
</li>
<li class="active">
<a href="#">打卡记录</a>
</li>
</ul>
</div>
</div>
</div>
<!---->
<!-- -->
<div class="center-content" id="app">
<div class="left">
<div class="gongGao">
<div class="title">公 告</div>
<div class="context import">
<marquee width="100%" height="100%" direction="up" scrolldelay="300">
<div v-for="item in noticeList">
<label>发布人:{{item.noticePerson}}</label><br>
<label>发布时间:{{item.date}}</label><br>
<label>{{item.content}}</label><br>
<label>-------------------------------------------</label><br>
</div>
</marquee>
</div>
</div>
<div class="gongGao">
<div class="title">友 情 链 接</div>
<div class="context">
<a href="https://blog.csdn.net/qq_40625778">》CSDN技术分享</a>
<a href="https://gzh.cyouagain.cn/">》热门文章推荐</a>
<a href="https://y0ahx3.coding-pages.com/">》个人博客,系统源码大全</a>
<a href="https://www.cnblogs.com/cafuc20160512056/">》博客园,技术分享</a>
<a href="https://www.jianshu.com/u/33531987c9a7">》简书,技术分享</a>
</div>
</div>
<div class="gongGao">
<div class="title">源 码 下 载</div>
<div class="context">
<div style="font-size:14px; width: 100%; height: 400px;margin-bottom: 20px;">
<div style="padding: 5px; color: black">
<label style="font-size:15px;font-weight: normal;">下载源码请到公众号C you again</label><br />
<label style="font-size:15px;font-weight: normal;">1、求职者面试题、面试经验、面试技巧</label><br />
<label style="font-size:15px;font-weight: normal;">2、职场人技术分享、程序人生</label><br />
<label style="font-size:15px;font-weight: normal;">3、学生党Java从入门到精通PDF版教程、数据结构与算法、各类系统实战教程</label><br />
<label style="font-size:15px;font-weight: normal;">4、其它PPT模板、简历模板、计算机使用技术及技巧</label>
</div>
<img width="160px" style="margin-left:50px;" src="../img/gzh.jpg" />
</div>
</div>
</div>
</div>
<div class="right">
<div class="data_list">
<div class="data_list_title">
打卡记录
</div>
<form name="myForm" class="form-search" method="post" action="#">
<span class="data_search">
&nbsp;<input v-model="search.key" id="s_dormManagerText" name="s_dormManagerText" type="date" style="width:120px;height: 30px;" class="input-medium search-query" >
&nbsp;<button onclick="searchRecordMsg()" type="button" class="btn btn-info" >搜索</button>
</span>
</form>
<div>
<table class="table table-hover table-striped table-bordered">
<tr>
<th>编号</th>
<th>发起日期</th>
<th>发起人</th>
<th>打卡主题</th>
<th>打卡说明</th>
<th>学生姓名</th>
<th>学生学号</th>
<th>是否打卡</th>
<th>打卡内容</th>
<th>操作</th>
</tr>
<tr v-for="(item,index) in punchClockRecordManageList">
<td>{{index+1}}</td>
<td>{{item.punchClockDate}}</td>
<td>{{item.punchClockPerson}}</td>
<td>{{item.punchClockTheme}}</td>
<td>{{item.punchClockDetail}}</td>
<td>{{item.name}}</td>
<td>{{item.stuNum}}</td>
<td>{{item.record==true?'已打卡':'未打卡'}}</td>
<td>{{item.punckClockContent}}</td>
<td>
<button v-if="item.record==true" disabled="disabled" class="btn btn-mini btn-info" type="button" @click="getPunckColcokRecordById(item.id)" data-toggle="modal" data-target="#updateModal">去打卡</button>
<button v-else v-bind:id="item.id" class="btn btn-mini btn-info" type="button" @click="getPunckColcokRecordById(item.id)" data-toggle="modal" data-target="#updateModal">去打卡</button>&nbsp;
</td>
</tr>
</table>
</div>
<div class="pagination pagination-centered">
<div class="pagination_box">
<button id="page_up" type="button" onclick="pageUp()" class="page_up">上一页</button>
<div class="page_cur">{{pagination.pageNum}}/{{pagination.pageTotal}}</div>
<button id="page_down" onclick="pageDown()" type="button" class="page_down">下一页</button>
</div>
</div>
</div>
</div>
</div>
<!---->
<div class="copywrite">
<div class="container">
<p>版权声明此系统来自于公众号【C you again】使用过程中请注明来源欢迎大家学习参考
<a href="https://cyouagain.cn/">公众号官网,点击查看更细系统源码</a> |
<a href="https://gzh.cyouagain.cn/">热文推荐</a>
</p>
</div>
</div>
<!------------------------------ 修改模态框Modal ---------------------------------->
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<div class="modal fade" id="updateModal" tabindex="-1" role="dialog" aria-labelledby="updateModalLabel"
aria-hidden="true">
<div id="punckClockRecordById_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="updateModalLabel">
填写打卡信息
</h4>
</div>
<div class="modal-body">
<!---------------------表单-------------------->
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">打卡说明</label>
<div class="col-sm-7">
<input readonly="readonly" v-model="punckClockRecordMasg.punchClockDetail" type="text" class="form-control" id="addStuNum" required="required" name="stuNum"
placeholder="">
<label class="control-label" for="addUserName" style="display: none;"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">打卡内容</label>
<div class="col-sm-7">
<input v-model="punckClockRecordMasg.punckClockContent" type="text" class="form-control" id="addNotice" required="required" name="notice"
placeholder="请输入打卡内容">
<label class="control-label" for="addNotice" style="display: none;"></label>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" onclick="updataPunchClockRecordMsg()" class="btn btn-primary">
修改
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!-------------------------------修改的模态框------------------------------->
<script src="../js/vue/student_punchClockRecordManage.js"></script>
<script src="../js/vue/student_loginManage.js"></script>
</body>
</html>

@ -0,0 +1,154 @@
<!DOCTYPE HTML>
<html>
<head>
<title>公众号【C you again】学生端 考勤记录</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<link href="../css/style.css" rel='stylesheet' type='text/css' />
<link href="../css/dorm.css" rel='stylesheet' type='text/css' />
<link href="../css/bootstrap/bootstrap.css" rel='stylesheet' type='text/css' />
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/vue/vue.js"></script>
<script src="../js/vue/axios.min.js"></script>
</head>
<body >
<!-- banner -->
<div class="banner" >
<div class="header">
<div class="logo" id="session_app">
<a href="javascript:window.location.reload();">{{login.name}}</a>
</div>
<div class="top-menu">
<ul class="navig">
<li>
<a href="student_index.html">首页</a>
</li>
<li class="active">
<a href="#">考勤记录</a>
</li>
<li>
<a href="punchClockManage.html">打卡记录</a>
</li>
</ul>
</div>
</div>
</div>
<!---->
<!-- -->
<div class="center-content" id="app">
<div class="left">
<div class="gongGao">
<div class="title">公 告</div>
<div class="context import">
<marquee width="100%" height="100%" direction="up" scrolldelay="300">
<div v-for="item in noticeList">
<label>发布人:{{item.noticePerson}}</label><br>
<label>发布时间:{{item.date}}</label><br>
<label>{{item.content}}</label><br>
<label>-------------------------------------------</label><br>
</div>
</marquee>
</div>
</div>
<div class="gongGao">
<div class="title">友 情 链 接</div>
<div class="context">
<a href="https://blog.csdn.net/qq_40625778">》CSDN技术分享</a>
<a href="https://gzh.cyouagain.cn/">》热门文章推荐</a>
<a href="https://y0ahx3.coding-pages.com/">》个人博客,系统源码大全</a>
<a href="https://www.cnblogs.com/cafuc20160512056/">》博客园,技术分享</a>
<a href="https://www.jianshu.com/u/33531987c9a7">》简书,技术分享</a>
</div>
</div>
<div class="gongGao">
<div class="title">源 码 下 载</div>
<div class="context">
<div style="font-size:14px; width: 100%; height: 400px;margin-bottom: 20px;">
<div style="padding: 5px; color: black">
<label style="font-size:15px;font-weight: normal;">下载源码请到公众号C you again</label><br />
<label style="font-size:15px;font-weight: normal;">1、求职者面试题、面试经验、面试技巧</label><br />
<label style="font-size:15px;font-weight: normal;">2、职场人技术分享、程序人生</label><br />
<label style="font-size:15px;font-weight: normal;">3、学生党Java从入门到精通PDF版教程、数据结构与算法、各类系统实战教程</label><br />
<label style="font-size:15px;font-weight: normal;">4、其它PPT模板、简历模板、计算机使用技术及技巧</label>
</div>
<img width="160px" style="margin-left:50px;" src="../img/gzh.jpg" />
</div>
</div>
</div>
</div>
<div class="right">
<div class="data_list">
<div class="data_list_title">
考勤记录
</div>
<form name="myForm" class="form-search" method="post" action="#">
<span class="data_search">
&nbsp;<input v-model="search.key" id="s_dormManagerText" name="s_dormManagerText" type="date" style="width:120px;height: 30px;" class="input-medium search-query" >
&nbsp;<button onclick="searchRecordMsg()" type="button" class="btn btn-info" >搜索</button>
</span>
</form>
<div>
<table class="table table-hover table-striped table-bordered">
<tr>
<th>编号</th>
<th>日期</th>
<th>姓名</th>
<th>学号</th>
<th>宿舍楼</th>
<th>寝室号</th>
<th>说明</th>
</tr>
<tr v-for="(item,index) in recordManageList">
<td>{{index+1}}</td>
<td>{{item.date}}</td>
<td>{{item.studentName}}</td>
<td>{{item.studentNumber}}</td>
<td>{{item.dormBuildId==0?'暂未安排':item.dormBuildId+'栋'}}</td>
<td>{{item.dormName}}</td>
<td>{{item.detail}}</td>
</tr>
</table>
</div>
<div class="pagination pagination-centered">
<div class="pagination_box">
<button id="page_up" type="button" onclick="pageUp()" class="page_up">上一页</button>
<div class="page_cur">{{pagination.pageNum}}/{{pagination.pageTotal}}</div>
<button id="page_down" onclick="pageDown()" type="button" class="page_down">下一页</button>
</div>
</div>
</div>
</div>
</div>
<!---->
<div class="copywrite">
<div class="container">
<p>版权声明此系统来自于公众号【C you again】使用过程中请注明来源欢迎大家学习参考
<a href="https://cyouagain.cn/">公众号官网,点击查看更细系统源码</a> |
<a href="https://gzh.cyouagain.cn/">热文推荐</a>
</p>
</div>
</div>
<script src="../js/vue/student_recordManage.js"></script>
<script src="../js/vue/student_loginManage.js"></script>
</body>
</html>

@ -0,0 +1,254 @@
<!DOCTYPE HTML>
<html>
<head>
<title>公众号【C you again】 student首页</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<link href="../css/style.css" rel='stylesheet' type='text/css' />
<link href="../css/dorm.css" rel='stylesheet' type='text/css' />
<link href="../css/bootstrap/bootstrap.css" rel='stylesheet' type='text/css' />
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/bootstrap-dropdown.min.js"></script>
<script src="../js/vue/vue.js"></script>
<script src="../js/vue/axios.min.js"></script>
</head>
<body >
<!-- banner -->
<div class="banner" >
<div class="header">
<div class="logo" id="session_app">
<a href="javascript:window.location.reload();">{{login.name}}</a>
</div>
<div class="top-menu">
<ul class="navig">
<li class="active">
<a href="javascript:window.location.reload();">首页</a>
</li>
<li>
<a href="recordManage.html">考勤记录</a>
</li>
<li>
<a href="punchClockManage.html">打卡记录</a>
</li>
<li class="dropdown">
<a href="#" class="" role="button" data-hover="dropdown">我的</a>
<ul class="dropdown-menu">
<li onclick="my()"><a href="#updateinfo" data-toggle="modal">个人资料</a></li>
<li><a href="#updatepwd" data-toggle="modal">修改密码</a></li>
<li><a href="javascript:exitSys();">退出</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<!---->
<!-- -->
<div class="center-content" id="app">
<div class="left">
<div class="gongGao">
<div class="title">公 告</div>
<div class="context import">
<marquee width="100%" height="100%" direction="up" scrolldelay="300">
<div v-for="item in noticeList">
<label>发布人:{{item.noticePerson}}</label><br>
<label>发布时间:{{item.date}}</label><br>
<label>{{item.content}}</label><br>
<label>-------------------------------------------</label><br>
</div>
</marquee>
</div>
</div>
<div class="gongGao">
<div class="title">友 情 链 接</div>
<div class="context">
<a href="https://blog.csdn.net/qq_40625778">》CSDN技术分享</a>
<a href="https://gzh.cyouagain.cn/">》热门文章推荐</a>
<a href="https://y0ahx3.coding-pages.com/">》个人博客,系统源码大全</a>
<a href="https://www.cnblogs.com/cafuc20160512056/">》博客园,技术分享</a>
<a href="https://www.jianshu.com/u/33531987c9a7">》简书,技术分享</a>
</div>
</div>
<div class="gongGao">
<div class="title">源 码 下 载</div>
<div class="context">
<div style="font-size:14px; width: 100%; height: 400px;margin-bottom: 20px;">
<div style="padding: 5px; color: black">
<label style="font-size:15px;font-weight: normal;">下载源码请到公众号C you again</label><br />
<label style="font-size:15px;font-weight: normal;">1、求职者面试题、面试经验、面试技巧</label><br />
<label style="font-size:15px;font-weight: normal;">2、职场人技术分享、程序人生</label><br />
<label style="font-size:15px;font-weight: normal;">3、学生党Java从入门到精通PDF版教程、数据结构与算法、各类系统实战教程</label><br />
<label style="font-size:15px;font-weight: normal;">4、其它PPT模板、简历模板、计算机使用技术及技巧</label>
</div>
<img width="160px" style="margin-left:50px;" src="../img/gzh.jpg" />
</div>
</div>
</div>
</div>
<div class="right">
<div class="data_list">
<div class="wele">普通用户,欢迎你登录寝室管理系统</div>
<div class="list-content">
<div class="quanxian">你拥有以下权限</div>
<ul>
<li>1、查看公告</li>
<li>2、查看考勤记录</li>
<li>3、完成打卡任务查看打卡记录</li>
<li>4、查看、修改个人信息</li>
</ul>
</div>
</div>
</div>
</div>
<!---->
<div class="copywrite">
<div class="container">
<p>版权声明此系统来自于公众号【C you again】使用过程中请注明来源欢迎大家学习参考
<a href="https://cyouagain.cn/">公众号官网,点击查看更细系统源码</a> |
<a href="https://gzh.cyouagain.cn/">热文推荐</a>
</p>
</div>
</div>
<!-------------------------个人资料模糊框------------------------------------->
<form class="form-horizontal" method="get" action="#"> <!--保证样式水平不混乱-->
<!-- 模态框Modal -->
<div class="modal fade" id="updateinfo" tabindex="-1" role="dialog" aria-labelledby="ModalLabel" aria-hidden="true">
<div id="user_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="ModalLabel">
个人资料
</h4>
</div>
<div class="modal-body">
<!--正文-->
<input type="hidden" name="tip" value="2">
<input type="hidden" name="url" value="admin/index">
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">学号</label>
<div class="col-sm-7">
<input readonly="readonly" v-model="user.stuNum" type="text" class="form-control" placeholder="请输入用户名"
>
<label class="control-label" for="name" style="display: none"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">真实姓名</label>
<div class="col-sm-7">
<input v-model="user.name" type="text" class="form-control" id="name" name="name" placeholder="请输入您的真实姓名">
<label class="control-label" for="name" style="display: none"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">手机号</label>
<div class="col-sm-7">
<input v-model="user.tel" type="text" class="form-control" id="phone" name="tel" placeholder="请输入您的手机号">
<label class="control-label" for="phone" style="display: none"></label>
</div>
</div>
<!--正文-->
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button onclick="editMyMsg()" class="btn btn-primary">
修改
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!-------------------------------------------------------------->
<!-------------------------------------------------------------->
<form class="form-horizontal" method="post" action="#"> <!--保证样式水平不混乱-->
<!-- 模态框Modal -->
<div class="modal fade" id="updatepwd" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
aria-hidden="true">
<div id="updatepwd_app" class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
&times;
</button>
<h4 class="modal-title" id="myModalLabel">
修改密码
</h4>
</div>
<div class="modal-body">
<!--正文-->
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">原密码</label>
<div class="col-sm-7">
<input required="required" onBlur="checkedPassword()" type="password" class="form-control" name="password" id="oldPwd"
placeholder="请输入原密码">
<label class="control-label" for="oldPwd" style="display: none"></label>
</div>
</div>
<div class="form-group">
<label for="firstname" class="col-sm-3 control-label">新密码</label>
<div class="col-sm-7">
<input required="required" type="password" class="form-control" name="password2" id="newPwd"
placeholder="请输入新密码">
<label class="control-label" for="newPwd" style="display: none"></label>
</div>
</div>
<!--正文-->
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>
<button type="button" onclick="editPassword()" class="btn btn-primary">
修改
</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
</form>
<!-------------------------------------------------------------->
<!-------------------------------修改的模态框------------------------------->
<script src="../js/vue/student_studentManage.js"></script>
<script src="../js/vue/student_loginManage.js"></script>
</body>
</html>
Loading…
Cancel
Save