Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
clique-web
Overview
Overview
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
clique
clique-web
Commits
474e4af3
Commit
474e4af3
authored
Jul 07, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 分页器
parent
e80f754b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
4 deletions
+21
-4
pointSystem.vue
src/view/companyGroup/membershipSystem/pointSystem.vue
+21
-4
No files found.
src/view/companyGroup/membershipSystem/pointSystem.vue
View file @
474e4af3
...
...
@@ -332,6 +332,23 @@ export default {
this
.
pageNum1
=
1
;
this
.
getIntefralInfo
();
},
handleSizeChange
(
pageSize
)
{
if
(
this
.
activeName
==
'first'
)
{
this
.
pageSize
=
pageSize
;
}
else
if
(
this
.
activeName
==
'second'
)
{
this
.
pageSize1
=
pageSize
;
}
this
.
handleCurrentChange
(
1
);
},
handleCurrentChange
(
pageNum
)
{
if
(
this
.
activeName
==
'first'
)
{
this
.
pageNum
=
pageNum
;
this
.
getPointInfo
();
}
else
if
(
this
.
activeName
==
'second'
)
{
this
.
pageNum1
=
pageNum
;
this
.
getIntefralInfo
();
}
},
// 新增
handleAdd
(
flag
)
{
if
(
!
this
.
tpnEditBool
)
{
...
...
@@ -395,6 +412,8 @@ export default {
let
param
=
{
requestProject
:
that
.
projectName
,
keyword
:
that
.
keywords
,
currPage
:
this
.
pageNum
,
pageSize
:
this
.
pageSize
,
strategyType
:
1
};
// postRequest('/api-admin/get-member-integral-setting', param)
...
...
@@ -423,8 +442,6 @@ export default {
// 6月迭代抖音修改
that
.
totalCount
=
resData
.
result
.
totalCount
;
that
.
pageSize
=
resData
.
result
.
pageSize
;
that
.
pageNum
=
resData
.
result
.
pageNum
;
that
.
achieveTableData
=
resData
.
result
.
result
;
that
.
achieveTableData
.
forEach
((
ele
,
index
)
=>
{
ele
.
integralGet
=
JSON
.
parse
(
ele
.
integralGet
);
...
...
@@ -444,6 +461,8 @@ export default {
var
params
=
{
requestProject
:
that
.
projectName
,
keyword
:
that
.
keywords1
,
currPage
:
this
.
pageNum1
,
pageSize
:
this
.
pageSize1
,
strategyType
:
2
}
postRequest
(
'/api-admin/query-integral-setting'
,
params
)
...
...
@@ -453,8 +472,6 @@ export default {
if
(
resData
.
errorCode
==
0
)
{
// 6月迭代修改
that
.
totalCount1
=
resData
.
result
.
totalCount
;
that
.
pageSize1
=
resData
.
result
.
pageSize
;
that
.
pageNum1
=
resData
.
result
.
pageNum
;
that
.
exchangeTableData
=
resData
.
result
.
result
;
that
.
exchangeTableData
.
forEach
((
ele
,
index
)
=>
{
ele
.
integralGet
=
JSON
.
parse
(
ele
.
integralGet
);
...
...
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