Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-portal-fe
·
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
陶雨
9 years ago
Commit
f69adb97b9de6a379c4dac3b776b2a3dccba7ab2
1 parent
5df2162f
修复公告管理列表不能翻页的bug
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
client/js/notice/noticeManage.js
server/interface/noticeManage.js
client/js/notice/noticeManage.js
View file @
f69adb9
...
...
@@ -52,7 +52,7 @@ var $ = require('jquery'),
toast
:
function
(
url
,
item
,
hint
)
{
var
e
=
new
common
.
edit
(
"#baseform"
,
{
bucket
:
"yhb-img01"
});
common
.
dialog
.
confirm
(
hint
,
var
dialog
=
common
.
dialog
.
confirm
(
hint
,
common
.
util
.
__template
(
$
(
"#template"
).
html
(),
item
),
function
()
{
e
.
submit
(
url
,
function
(
option
)
{
...
...
@@ -63,10 +63,12 @@ var $ = require('jquery'),
+
'","url":"'
+
$
(
"#url"
).
val
()
+
'"}'
;
}
option
.
success
=
function
()
{
dialog
.
close
();
g
.
reload
();
};
option
.
error
=
function
(){};
});
return
false
;
});
e
.
init
();
...
...
server/interface/noticeManage.js
View file @
f69adb9
...
...
@@ -14,6 +14,8 @@ exports.res = [
method
:
'POST'
,
url
:
'/notice/getList'
,
params
:
[
{
name
:
'page'
,
type
:
'number'
},
{
name
:
'size'
,
type
:
'number'
},
{
name
:
'title'
,
type
:
'string'
},
{
name
:
'position'
,
type
:
'Number'
},
{
name
:
'showChannel'
,
type
:
'string'
}
...
...
Please
register
or
login
to post a comment