Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
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
高淑倩
7-Eleven
Commits
34963d01
Commit
34963d01
authored
Oct 22, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kpi
parent
397fe907
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
kpi.js
src/shoppingGuid/page/pages/kpi/kpi.js
+6
-8
No files found.
src/shoppingGuid/page/pages/kpi/kpi.js
View file @
34963d01
...
@@ -41,19 +41,17 @@ wxService.page({
...
@@ -41,19 +41,17 @@ wxService.page({
const
query
=
{
const
query
=
{
type
:
current
,
type
:
current
,
brandId
:
app
.
globalData
.
brandId
,
brandId
:
app
.
globalData
.
brandId
,
pageSize
,
//
pageSize,
pageNo
,
//
pageNo,
}
}
wxService
.
post
(
`/marketing/shoppingguide/task/page`
,
query
).
then
(
res
=>
{
wxService
.
post
(
`/marketing/shoppingguide/task/page
?pageSize=
${
pageSize
}
&pageNo=
${
pageNo
}
`
,
query
).
then
(
res
=>
{
if
(
res
)
{
if
(
res
)
{
const
{
result
,
data
}
=
res
.
data
const
{
result
,
data
}
=
res
.
data
if
(
result
==
0
)
{
if
(
result
==
0
)
{
wx
.
hideLoading
()
wx
.
hideLoading
()
// pageNo == 1? [...data.content]: [...this.data.couponList,...data.content],
this
.
setData
({
list
:
pageNo
==
1
?
[...
data
.
content
]:
[...
this
.
data
.
list
,...
data
.
content
],
// this.setData({
})
// cartList:
// })
}
}
}
}
})
})
...
...
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