Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-app
Project
Project
Details
Activity
Releases
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
李伟
cust-app
Commits
d1fdbe36
Commit
d1fdbe36
authored
Dec 21, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了分页查询接口返参
parent
f266c402
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
20 deletions
+6
-20
activity.vue
pages/tab/activity.vue
+2
-2
index.vue
pages/tab/index.vue
+2
-3
list.vue
pagesNotice/notice/list.vue
+2
-15
No files found.
pages/tab/activity.vue
View file @
d1fdbe36
...
@@ -158,7 +158,7 @@ export default {
...
@@ -158,7 +158,7 @@ export default {
}
}
bannerList
(
query
).
then
(
res
=>
{
bannerList
(
query
).
then
(
res
=>
{
//将res.data.rows集合里的bannerPicture取出来,放到集合中
//将res.data.rows集合里的bannerPicture取出来,放到集合中
this
.
bannerList
=
res
.
data
.
rows
.
map
(
item
=>
item
.
bannerPicture
)
this
.
bannerList
=
res
.
data
.
data
.
map
(
item
=>
item
.
bannerPicture
)
}).
catch
(
e
=>
{
}).
catch
(
e
=>
{
console
.
log
(
e
)
console
.
log
(
e
)
})
})
...
@@ -170,7 +170,7 @@ export default {
...
@@ -170,7 +170,7 @@ export default {
rows
:
this
.
queryParam
.
rows
rows
:
this
.
queryParam
.
rows
}
}
activityList
(
query
).
then
(
res
=>
{
activityList
(
query
).
then
(
res
=>
{
this
.
activityList
=
res
.
data
.
rows
this
.
activityList
=
res
.
data
.
data
}).
catch
(
e
=>
{
}).
catch
(
e
=>
{
console
.
log
(
e
)
console
.
log
(
e
)
})
})
...
...
pages/tab/index.vue
View file @
d1fdbe36
...
@@ -270,7 +270,7 @@
...
@@ -270,7 +270,7 @@
}
}
bannerList
(
query
).
then
(
res
=>
{
bannerList
(
query
).
then
(
res
=>
{
//将res.data.rows集合里的bannerPicture取出来,放到集合中
//将res.data.rows集合里的bannerPicture取出来,放到集合中
this
.
bannerList
=
res
.
data
.
rows
.
map
(
item
=>
item
.
bannerPicture
)
this
.
bannerList
=
res
.
data
.
data
.
map
(
item
=>
item
.
bannerPicture
)
}).
catch
(
e
=>
{
}).
catch
(
e
=>
{
console
.
log
(
e
)
console
.
log
(
e
)
})
})
...
@@ -282,8 +282,7 @@
...
@@ -282,8 +282,7 @@
rows
:
this
.
queryParam
.
rows
rows
:
this
.
queryParam
.
rows
}
}
noticeList
(
query
).
then
(
res
=>
{
noticeList
(
query
).
then
(
res
=>
{
this
.
notice
=
res
.
data
.
rows
[
0
]
this
.
notice
=
res
.
data
.
data
[
0
]
console
.
log
(
'this.notice:'
,
this
.
notice
)
}).
catch
(
e
=>
{
}).
catch
(
e
=>
{
console
.
log
(
e
)
console
.
log
(
e
)
})
})
...
...
pagesNotice/notice/list.vue
View file @
d1fdbe36
...
@@ -24,20 +24,7 @@
...
@@ -24,20 +24,7 @@
page
:
1
,
page
:
1
,
rows
:
10
rows
:
10
},
},
noticeList
:
[
noticeList
:
[],
{
businessId
:
'1'
,
title
:
'通知公告1通知公告1通知公告1通知公告1通知公告1通知公告1通知公告1'
,
publishDate
:
'2021-07-07'
,
viewNum
:
10
},
{
businessId
:
'2'
,
title
:
'通知公告通知公告1通知公告1通知公告1通知公告1通知公告1通知公告12'
,
publishDate
:
'2021-07-07'
,
viewNum
:
10
}
],
}
}
},
},
onLoad
(){
onLoad
(){
...
@@ -68,7 +55,7 @@
...
@@ -68,7 +55,7 @@
rows
:
this
.
queryParam
.
rows
rows
:
this
.
queryParam
.
rows
}
}
noticeList
(
query
).
then
(
res
=>
{
noticeList
(
query
).
then
(
res
=>
{
this
.
noticeList
=
res
.
data
.
rows
this
.
noticeList
=
res
.
data
.
data
}).
catch
(
e
=>
{
}).
catch
(
e
=>
{
console
.
log
(
e
)
console
.
log
(
e
)
})
})
...
...
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