Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOOD
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
whb
9 years ago
Commit
7f5a002d4a9a40b3be1c7c9b785ea4fa26329c96
1 parent
f0928635
在线登记后台修改
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
res/js/admin/onlinereg.js
website/view/script/admin/onlinereg/index.php
res/js/admin/onlinereg.js
View file @
7f5a002
...
...
@@ -7,6 +7,24 @@ define('admin/onlinereg', function(require, exports){
$
(
"#form_pan"
).
remove
();
exports
.
index
=
function
()
{
//全选
$
(
"#all_check"
).
bind
(
"click"
,
function
()
{
if
(
$
(
this
).
attr
(
"checked"
))
{
$
.
each
(
$
(
"input[type=checkbox]"
),
function
(
i
,
obj
)
{
$
(
obj
).
attr
(
"checked"
,
1
);
});
}
else
{
$
.
each
(
$
(
"input[type=checkbox]"
),
function
(
i
,
obj
)
{
$
(
obj
).
attr
(
"checked"
,
false
);
});
}
});
//批量导出
$
(
".batch_export"
).
bind
(
"click"
,
function
()
{
...
...
website/view/script/admin/onlinereg/index.php
View file @
7f5a002
...
...
@@ -19,7 +19,7 @@
<button
class=
"btn batch_export"
style=
"margin-left:100px"
>
批量导出
</button>
</caption>
<thead>
<td
width=
"5%"
>
选择
</td>
<td
width=
"5%"
>
<input
type=
"checkbox"
id=
"all_check"
/>
选择
</td>
<td
width=
"5%"
>
ID
</td>
<td
width=
"5%"
>
品牌名称
</td>
<td
width=
"5%"
>
类型
</td>
...
...
@@ -133,7 +133,7 @@
<button
class=
"btn batch_export"
style=
"float:left;"
>
批量导出
</button>
</caption>
<thead>
<td
width=
"5%"
>
选择
</td>
<td
width=
"5%"
>
<input
type=
"checkbox"
id=
"all_check"
/>
选择
</td>
<td
width=
"5%"
>
ID
</td>
<td
width=
"5%"
>
品牌名称
</td>
<td
width=
"5%"
>
产品类型
</td>
...
...
@@ -229,7 +229,7 @@
<button
class=
"btn batch_export"
style=
"margin-left:100px"
>
批量导出
</button>
</caption>
<thead>
<td
width=
"5%"
>
选择
</td>
<td
width=
"5%"
>
<input
type=
"checkbox"
id=
"all_check"
/>
选择
</td>
<td
width=
"5%"
>
ID
</td>
<td
width=
"5%"
>
姓名
</td>
<td
width=
"5%"
>
类型
</td>
...
...
Please
register
or
login
to post a comment