Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust_web
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_web
Commits
80c107ac
Commit
80c107ac
authored
Feb 14, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改控制台分页
parent
14de890f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
7 deletions
+18
-7
control.vue
src/views/controlPlatform/control.vue
+18
-7
No files found.
src/views/controlPlatform/control.vue
View file @
80c107ac
...
...
@@ -102,7 +102,7 @@
<div
class=
"controlPlatform-footer"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"10"
>
<el-card
style=
"height:
393
px"
>
<el-card
style=
"height:
400
px"
>
<div
style=
"display: flex;justify-content: space-between"
>
<div
class=
"controlSpan_middle"
>
今日访问次数 top10
...
...
@@ -115,7 +115,7 @@
</el-card>
</el-col>
<el-col
:span=
"14"
>
<el-card
style=
"
min-height: 393
px"
>
<el-card
style=
"
height: 400
px"
>
<el-row>
<el-col
:span=
"12"
>
<div
class=
"end_title"
>
待审核动态
</div>
...
...
@@ -126,6 +126,7 @@
<el-table
class=
"table-list"
:data=
"tableList"
max-height=
"270"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"55"
/>
<el-table-column
label=
"发布人"
prop=
"createUser"
/>
...
...
@@ -143,6 +144,14 @@
</el-table-column>
</el-table>
</div>
<pagination
v-show=
"total>0"
layout=
"prev, next"
:total=
"total"
:page
.
sync=
"queryParams.page"
:limit
.
sync=
"queryParams.rows"
@
pagination=
"getList"
/>
</el-card>
</el-col>
</el-row>
...
...
@@ -303,6 +312,11 @@ export default {
articleExamStatusMonthYes
:
[],
range
:
0
,
tableList
:
[],
total
:
0
,
queryParams
:
{
page
:
1
,
rows
:
10
},
peopleNumber
:
[],
activityNumber
:
[],
visitCount
:
[],
...
...
@@ -363,12 +377,9 @@ export default {
},
methods
:
{
getList
()
{
const
queryParams
=
{
page
:
1
,
rows
:
10
}
listArticle
(
queryParams
).
then
(
res
=>
{
listArticle
(
this
.
queryParams
).
then
(
res
=>
{
this
.
tableList
=
res
.
data
this
.
total
=
res
.
total
})
},
getPeopleNumber
()
{
...
...
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