Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
李洋
/
消息系统
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
bce5ae4f
authored
Dec 01, 2022
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
新增通知管理-完成通知管理的基本页面开发
parent
b7d3b448
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
259 additions
and
0 deletions
app/Http/Controllers/MessageController.php
public/index.php
public/js/Message/systemUpdate.js
resources/views/message/systemBulletin.blade.php
resources/views/message/systemPreaching.blade.php
resources/views/message/systemUpdate.blade.php
app/Http/Controllers/MessageController.php
View file @
bce5ae4f
...
@@ -91,6 +91,9 @@ function Crumbs($menus, $uri)
...
@@ -91,6 +91,9 @@ function Crumbs($menus, $uri)
return
$ret
;
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
class
MessageController
extends
Controller
{
{
private
function
templateData
(
Request
$request
,
$id
,
$viewid
)
private
function
templateData
(
Request
$request
,
$id
,
$viewid
)
...
@@ -681,4 +684,36 @@ class MessageController extends Controller
...
@@ -681,4 +684,36 @@ class MessageController extends Controller
return
Config
(
'msgconfig.config_id_release'
);
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
public/index.php
View file @
bce5ae4f
...
@@ -7,6 +7,9 @@
...
@@ -7,6 +7,9 @@
* @author Taylor Otwell <taylorotwell@gmail.com>
* @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
| Register The Auto Loader
...
...
public/js/Message/systemUpdate.js
0 → 100755
View file @
bce5ae4f
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
();
});
resources/views/message/systemBulletin.blade.php
0 → 100644
View file @
bce5ae4f
<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>
resources/views/message/systemPreaching.blade.php
0 → 100644
View file @
bce5ae4f
<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>
resources/views/message/systemUpdate.blade.php
0 → 100644
View file @
bce5ae4f
<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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment