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
ff0fef12
authored
Oct 16, 2025
by
gongyang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
提交代码
parent
df2cf883
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
26 deletions
public/js/Message/systemUpdate.js
public/js/Message/systemUpdate.js
View file @
ff0fef12
...
...
@@ -25,31 +25,29 @@ layui.use(['jquery','element', 'layer', 'form','table','laypage','laydate','laye
form
.
render
();
//数据表格渲染
var
dataList
=
function
(){
table
.
render
({
elem
:
'#systemUpdateList'
,
url
:
'/msgapi/systemUpdateList'
,
page
:
true
,
limit
:
20
,
id
:
'table'
,
cols
:
[[
//表头
{
type
:
'checkbox'
,
width
:
50
,
align
:
'center'
,
fixed
:
'left'
},
{
field
:
'smue_id'
,
title
:
'序号'
,
align
:
'center'
,
width
:
100
},
{
field
:
'update_time'
,
title
:
'更新日期'
,
align
:
'center'
,
width
:
150
},
{
field
:
'system_name'
,
title
:
'更新系统'
,
align
:
'center'
,
width
:
150
},
{
field
:
'version_num'
,
title
:
'版本号'
,
align
:
'center'
,
width
:
150
},
{
field
:
'update_type'
,
title
:
'更新类型'
,
align
:
'center'
,
width
:
150
},
{
field
:
'update_title'
,
title
:
'更新标题'
,
align
:
'center'
,
width
:
150
},
{
field
:
'update_content'
,
title
:
'更新内容'
,
align
:
'center'
,
width
:
150
},
{
field
:
'product_user'
,
title
:
'产品负责人'
,
align
:
'center'
,
width
:
150
},
{
field
:
'code_user'
,
title
:
'技术负责人'
,
align
:
'center'
,
width
:
180
},
{
field
:
'test_user'
,
title
:
'测试负责人'
,
align
:
'center'
,
width
:
180
},
{
field
:
'bulletin_count'
,
title
:
'公告发送次数'
,
align
:
'center'
,
width
:
180
},
{
field
:
'email_count'
,
title
:
'邮件发送次数'
,
align
:
'center'
,
width
:
180
},
{
field
:
'active'
,
toolbar
:
'#active'
,
title
:
'操作'
,
align
:
'center'
,
width
:
150
,
fixed
:
'right'
}
]]
});
};
var
dataList
=
table
.
render
({
elem
:
'#systemUpdateList'
,
url
:
'/msgapi/systemUpdateList'
,
page
:
true
,
limit
:
20
,
id
:
'table'
,
cols
:
[[
//表头
{
type
:
'checkbox'
,
width
:
50
,
align
:
'center'
,
fixed
:
'left'
},
{
field
:
'smue_id'
,
title
:
'序号'
,
align
:
'center'
,
width
:
100
},
{
field
:
'update_time'
,
title
:
'更新日期'
,
align
:
'center'
,
width
:
150
},
{
field
:
'system_name'
,
title
:
'更新系统'
,
align
:
'center'
,
width
:
150
},
{
field
:
'version_num'
,
title
:
'版本号'
,
align
:
'center'
,
width
:
150
},
{
field
:
'update_type'
,
title
:
'更新类型'
,
align
:
'center'
,
width
:
150
},
{
field
:
'update_title'
,
title
:
'更新标题'
,
align
:
'center'
,
width
:
150
},
{
field
:
'update_content'
,
title
:
'更新内容'
,
align
:
'center'
,
width
:
150
},
{
field
:
'product_user'
,
title
:
'产品负责人'
,
align
:
'center'
,
width
:
150
},
{
field
:
'code_user'
,
title
:
'技术负责人'
,
align
:
'center'
,
width
:
180
},
{
field
:
'test_user'
,
title
:
'测试负责人'
,
align
:
'center'
,
width
:
180
},
{
field
:
'bulletin_count'
,
title
:
'公告发送次数'
,
align
:
'center'
,
width
:
180
},
{
field
:
'email_count'
,
title
:
'邮件发送次数'
,
align
:
'center'
,
width
:
180
},
{
field
:
'active'
,
toolbar
:
'#active'
,
title
:
'操作'
,
align
:
'center'
,
width
:
150
,
fixed
:
'right'
}
]]
});
dataList
();
...
...
@@ -74,7 +72,6 @@ layui.use(['jquery','element', 'layer', 'form','table','laypage','laydate','laye
alert
(
1
);
// 获取选中数据
var
checkStatus
=
table
.
checkStatus
(
'systemUpdateList'
);
// checkStatus包含两个属性:data(选中的数组)和isAll(是否全选)
if
(
checkStatus
.
data
.
length
===
0
){
layer
.
msg
(
'请先选择数据'
);
...
...
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