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
d32a9f30
Commit
d32a9f30
authored
Feb 05, 2020
by
xd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
模糊查询分页调整
parent
2925dd6b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
15 deletions
+17
-15
mail.vue
ybf_admin/src/pages/in/contact/mail.vue
+17
-15
No files found.
ybf_admin/src/pages/in/contact/mail.vue
View file @
d32a9f30
...
...
@@ -63,7 +63,7 @@
placeholder=
"请输入关键词"
/>
</el-form-item>
<el-button
class=
"button buttondark"
size=
"small"
@
click=
"handleSearch"
>
搜索
</el-button>
<el-button
class=
"button buttondark"
size=
"small"
@
click=
"handleSearch
(1,1)
"
>
搜索
</el-button>
</el-form>
</div>
<el-table
...
...
@@ -535,7 +535,7 @@ export default {
page
:
{
currentPage
:
1
,
size
:
10
,
total
:
10
0
total
:
0
},
moveDialogShow
:
false
,
counterDialog
:
false
,
...
...
@@ -574,6 +574,7 @@ export default {
});
},
handleTreeClick
(
data
)
{
this
.
formData
.
keywords
=
''
this
.
title
=
data
.
name
if
(
data
.
shopId
)
{
this
.
groupId
=
data
.
shopId
...
...
@@ -627,6 +628,7 @@ export default {
this
.
handleTypeChange
(
val
,
ctPage
)
},
getMailList
(
page
,
ctPage
)
{
this
.
formData
.
keywords
=
''
this
.
title
=
"全部"
this
.
type
=
1
;
this
.
page
.
currentPage
=
ctPage
...
...
@@ -641,8 +643,9 @@ export default {
},
handleShopowner
()
{},
getNoGroupMember
(
page
,
ctPage
)
{
this
.
title
=
"未分组"
this
.
formData
.
keywords
=
''
this
.
page
.
currentPage
=
ctPage
this
.
title
=
"未分组"
this
.
type
=
2
;
let
params
=
{
pageNum
:
page
...
...
@@ -650,7 +653,6 @@ export default {
getNoGroupMember
(
params
).
then
(
res
=>
{
this
.
tableData
=
res
.
data
.
list
;
this
.
page
.
total
=
this
.
totalNumber
=
this
.
wNumber
=
Number
(
res
.
data
.
total
);
});
},
handleMemberChange
(
val
)
{
...
...
@@ -671,12 +673,16 @@ export default {
this
.
getNoGroupMember
(
val
,
ctPage
)
}
else
if
(
this
.
type
==
3
)
{
this
.
getGroupMember
(
val
,
ctPage
)
}
else
if
(
this
.
type
==
4
)
{
this
.
handleSearch
(
val
,
ctPage
)
}
else
{
this
.
getStoreMember
(
val
,
ctPage
)
}
},
handleSearch
()
{
handleSearch
(
page
,
ctPage
)
{
this
.
type
=
4
this
.
page
.
currentPage
=
ctPage
switch
(
this
.
type
)
{
case
1
:
this
.
counterId
=
0
;
...
...
@@ -690,16 +696,12 @@ export default {
}
let
params
=
{
keyWords
:
this
.
formData
.
keywords
,
stallId
:
this
.
counterId
stallId
:
this
.
counterId
,
pageNum
:
page
}
search
(
params
).
then
(
res
=>
{
console
.
log
(
res
,
"搜索结果"
);
let
array
=
[]
array
.
push
(
res
.
data
.
userInfo
)
console
.
log
(
array
,
"???"
);
this
.
tableData
=
array
;
this
.
page
.
total
=
1
this
.
tableData
=
res
.
data
.
list
this
.
page
.
total
=
Number
(
res
.
data
.
total
);
})
}
}
...
...
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