Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
front-end-dev
techbook
Commits
fb8b4ed6
Commit
fb8b4ed6
authored
Feb 25, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报名列表
parent
36209e8e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
list.vue
src/views/mobile/activityApply/list.vue
+7
-0
searchResult.vue
src/views/mobile/activityApply/searchResult.vue
+7
-0
No files found.
src/views/mobile/activityApply/list.vue
View file @
fb8b4ed6
...
...
@@ -123,6 +123,13 @@
this
.
tableData
=
response
.
result
.
records
;
}
this
.
totalPage
=
response
.
result
.
total
;
if
(
response
.
result
.
pages
<
this
.
page
){
this
.
page
=
1
;
this
.
$store
.
dispatch
(
'applyListPageAction'
,{
path
:
this
.
$route
.
path
,
pars
:
this
.
page
});
if
(
response
.
result
.
pages
!=
0
){
this
.
getInitFunc
();
}
}
let
flags
=
(
this
.
page
>=
response
.
result
.
pages
)
?
false
:
true
;
this
.
isHaveMore
(
flags
);
}
else
{
...
...
src/views/mobile/activityApply/searchResult.vue
View file @
fb8b4ed6
...
...
@@ -146,6 +146,13 @@
}
this
.
total
=
response
.
result
.
total
;
this
.
searchVisible
=
true
;
if
(
response
.
result
.
pages
<
this
.
page
){
this
.
page
=
1
;
this
.
$store
.
dispatch
(
'applySearchListPageAction'
,{
path
:
this
.
$route
.
path
,
pars
:
this
.
page
});
if
(
response
.
result
.
pages
!=
0
){
this
.
getInitFunc
();
}
}
let
flags
=
(
this
.
page
>=
response
.
result
.
pages
)
?
false
:
true
;
this
.
isHaveMore
(
flags
);
if
(
response
.
result
.
total
==
0
){
...
...
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