Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
ybf
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
xulili
ybf
Commits
350d1e3c
Commit
350d1e3c
authored
Feb 05, 2020
by
Z
Browse files
Options
Browse Files
Download
Plain Diff
Z: Dot: search done.
parents
51b4e13e
3b805be3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
counter.vue
ybf_admin/src/pages/in/contact/counter.vue
+9
-10
No files found.
ybf_admin/src/pages/in/contact/counter.vue
View file @
350d1e3c
...
@@ -134,7 +134,7 @@ export default {
...
@@ -134,7 +134,7 @@ export default {
tableHeight
:
window
.
innerHeight
*
0.5
,
tableHeight
:
window
.
innerHeight
*
0.5
,
page
:{
page
:{
currentPage
:
1
,
currentPage
:
1
,
size
:
2
0
,
size
:
1
0
,
total
:
0
total
:
0
},
},
form
:{
form
:{
...
@@ -146,13 +146,13 @@ export default {
...
@@ -146,13 +146,13 @@ export default {
};
};
},
},
mounted
()
{
mounted
()
{
this
.
getList
()
this
.
getList
Data
()
},
},
methods
:
{
methods
:
{
getList
()
{
getList
Data
()
{
let
param
=
{}
let
param
=
{}
let
_this
=
this
let
_this
=
this
param
.
keyWords
=
this
.
form
.
keyWords
?
this
.
form
.
key
w
ords
:
0
param
.
keyWords
=
this
.
form
.
keyWords
?
this
.
form
.
key
W
ords
:
0
param
.
pageNum
=
this
.
page
.
currentPage
param
.
pageNum
=
this
.
page
.
currentPage
getList
(
param
).
then
(
res
=>
{
getList
(
param
).
then
(
res
=>
{
if
(
res
.
result
==
'fail'
){
if
(
res
.
result
==
'fail'
){
...
@@ -160,7 +160,8 @@ export default {
...
@@ -160,7 +160,8 @@ export default {
_this
.
tableData
=
[]
_this
.
tableData
=
[]
}
}
if
(
res
.
result
==
'success'
){
if
(
res
.
result
==
'success'
){
_this
.
tableData
=
res
.
data
.
adminShops
_this
.
tableData
=
res
.
data
.
adminShops
.
list
_this
.
page
.
total
=
Number
(
res
.
data
.
adminShops
.
total
)
}
}
})
})
},
},
...
@@ -219,15 +220,13 @@ export default {
...
@@ -219,15 +220,13 @@ export default {
this
.
counterDialog
=
false
this
.
counterDialog
=
false
},
},
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
this
.
page
.
currentPage
=
val
this
.
getListData
()
},
},
//搜索 根据搜索条件查询
//搜索 根据搜索条件查询
handleSearch
(){
handleSearch
(){
this
.
getList
()
this
.
getList
Data
()
},
},
},
},
/* mounted() {
/* mounted() {
this.$nextTick(() => {
this.$nextTick(() => {
...
...
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