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
02e220b7
authored
Sep 02, 2020
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
675b4396
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
public/js/Message/templatelist.js
public/js/Message/templatelist.js
View file @
02e220b7
...
...
@@ -27,15 +27,11 @@ layui.use(['jquery','element', 'layer', 'form','table','laypage','laydate'], fun
//监听表单提交按钮
form
.
on
(
'submit(search)'
,
function
(
data
){
layer
.
confirm
(
'确定删除?'
,
function
(
index
){
//根据搜索条件 重载表单
msg_tpl_table
.
reload
({
where
:
data
.
field
,
//设定异步数据接口的额外参数,任意设
page
:
{
curr
:
1
//重新从第 1 页开始
}
});
layer
.
close
(
index
);
msg_tpl_table
.
reload
({
where
:
data
.
field
,
//设定异步数据接口的额外参数,任意设
page
:
{
curr
:
1
//重新从第 1 页开始
}
});
return
false
;
//阻止表单跳转。如果需要表单跳转,去掉这段即可。
...
...
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