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
3b805be3
Commit
3b805be3
authored
Feb 05, 2020
by
xulili
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
柜组列表搜索
parent
8d87583b
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 @
3b805be3
...
...
@@ -134,7 +134,7 @@ export default {
tableHeight
:
window
.
innerHeight
*
0.5
,
page
:{
currentPage
:
1
,
size
:
2
0
,
size
:
1
0
,
total
:
0
},
form
:{
...
...
@@ -146,13 +146,13 @@ export default {
};
},
mounted
()
{
this
.
getList
()
this
.
getList
Data
()
},
methods
:
{
getList
()
{
getList
Data
()
{
let
param
=
{}
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
getList
(
param
).
then
(
res
=>
{
if
(
res
.
result
==
'fail'
){
...
...
@@ -160,7 +160,8 @@ export default {
_this
.
tableData
=
[]
}
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 {
this
.
counterDialog
=
false
},
handleCurrentChange
(
val
)
{
console
.
log
(
`当前页:
${
val
}
`
);
this
.
page
.
currentPage
=
val
this
.
getListData
()
},
//搜索 根据搜索条件查询
handleSearch
(){
this
.
getList
()
this
.
getList
Data
()
},
},
/* mounted() {
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