Commit bce5ae4f by Joneq

新增通知管理-完成通知管理的基本页面开发

parent b7d3b448
......@@ -91,6 +91,9 @@ function Crumbs($menus, $uri)
return $ret;
}
//TODO 上线之后去除注释这个notice ,5。0版本的缺陷 https://blog.csdn.net/weixin_44251615/article/details/93710829
ini_set("error_reporting","E_ALL & ~E_NOTICE");
class MessageController extends Controller
{
private function templateData(Request $request, $id, $viewid)
......@@ -681,4 +684,36 @@ class MessageController extends Controller
return Config('msgconfig.config_id_release');
}
}
//----------------------------------------通知管理----------------------------------------//
// 系统更新管理
private function systemUpdate(Request $request, $id, $viewid)
{
$data=[
'id'=>$id,
];
return view('common', $data);
}
//系统宣讲管理
private function systemPreaching(Request $request, $id, $viewid)
{
$data=[
'id'=>$id,
];
return view('common', $data);
}
//系统公告管理
private function systemBulletin(Request $request, $id, $viewid)
{
$data=[
'id'=>$id,
];
return view('common', $data);
}
}
\ No newline at end of file
......@@ -7,6 +7,9 @@
* @author Taylor Otwell <taylorotwell@gmail.com>
*/
//TODO 上线之后去除注释这个notice ,5。0版本的缺陷 https://blog.csdn.net/weixin_44251615/article/details/93710829
ini_set("error_reporting","E_ALL & ~E_NOTICE");
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
......
layui.use(['jquery','element', 'layer', 'form','table','laypage','laydate'], function(){
var $ = layui.$;
var element = layui.element;
var layer = layui.layer;
var form = layui.form;
var table = layui.table;
form.render();
});
<style>
.filter-label-left{
margin-left: 40px;
margin-top: 20px;
width: 150px;
}
.filter-select{
margin-top: 20px;
width: 150px;
}
</style>
<table id="bulletionList" lay-filter="bulletionList"></table>
<style>
.filter-label-left{
margin-left: 40px;
margin-top: 20px;
width: 150px;
}
.filter-select{
margin-top: 20px;
width: 150px;
}
</style>
<form class="layui-form layui-box" method="post">
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">更新日期</label>
<div class="layui-input-inline">
<input type="text" name="begin_time" value="" autocomplete="off" placeholder="选择开始时间" class="layui-input" id="begin_time" readonly>
</div>
<div class="layui-form-mid">-</div>
<div class="layui-input-inline">
<input type="text" name="end_time" value="" autocomplete="off" placeholder="选择结束时间" class="layui-input" id="end_time" readonly>
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">系统名称</label>
<div class="layui-input-inline">
<select name="system_name" lay-verify="" lay-search>
<option value=""></option>
</select>
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">宣讲部门</label>
<div class="layui-input-inline">
<select name="preach_department" lay-verify="" lay-search>
<option value=""></option>
</select>
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">宣讲人</label>
<div class="layui-input-inline">
<input type="text" name="preach_user" placeholder="填写宣讲人" autocomplete="off" class="layui-input">
</div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-btn-container" style="text-align: center; margin-top: 10px;">
<button lay-submit lay-filter="load" class="layui-btn" data-type="search">搜索</button>
<button type="button" class="layui-btn layui-btn-normal export">导出</button>
<!-- <button lay-submit lay-filter="load" class="layui-btn layui-btn-normal" data-type="export">导出</button> -->
</div>
</div>
</form>
<table id="orderList" lay-filter="orderList"></table>
<style>
.filter-label-left{
margin-left: 40px;
margin-top: 20px;
width: 150px;
}
.filter-select{
margin-top: 20px;
width: 150px;
}
</style>
<form class="layui-form layui-box" method="post">
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">更新日期</label>
<div class="layui-input-inline">
<input type="text" name="begin_time" value="" autocomplete="off" placeholder="选择开始时间" class="layui-input" id="begin_time" readonly>
</div>
<div class="layui-form-mid">-</div>
<div class="layui-input-inline">
<input type="text" name="end_time" value="" autocomplete="off" placeholder="选择结束时间" class="layui-input" id="end_time" readonly>
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">系统名称</label>
<div class="layui-input-inline">
<select name="system_name" lay-verify="" lay-search>
<option value=""></option>
</select>
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">更新类型</label>
<div class="layui-input-inline">
<select name="update_type" lay-verify="" lay-search>
<option value=""></option>
</select>
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">版本号码</label>
<div class="layui-input-inline">
<input type="text" name="version_num" placeholder="填写版本号码" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">更新标题</label>
<div class="layui-input-inline">
<input type="text" name="update_title" placeholder="填写更新标题" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">更新内容</label>
<div class="layui-input-inline">
<input type="text" name="update_content" placeholder="填写更新内容" autocomplete="off" class="layui-input">
</div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-btn-container" style="text-align: center; margin-top: 10px;">
<button lay-submit lay-filter="load" class="layui-btn" data-type="search">搜索</button>
<button type="button" class="layui-btn layui-btn-normal export">导出</button>
</div>
</div>
</form>
<table id="orderList" lay-filter="orderList"></table>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment