You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

256 lines
11 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!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>