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
0f81ae81
Commit
0f81ae81
authored
Feb 05, 2020
by
Z
Browse files
Options
Browse Files
Download
Plain Diff
Z: Hot: pageNum api change fix.
parents
55fa3808
b3df9f32
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 @
0f81ae81
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
placeholder=
"请输入关键词"
placeholder=
"请输入关键词"
/>
/>
</el-form-item>
</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>
</el-form>
</div>
</div>
<el-table
<el-table
...
@@ -535,7 +535,7 @@ export default {
...
@@ -535,7 +535,7 @@ export default {
page
:
{
page
:
{
currentPage
:
1
,
currentPage
:
1
,
size
:
10
,
size
:
10
,
total
:
10
0
total
:
0
},
},
moveDialogShow
:
false
,
moveDialogShow
:
false
,
counterDialog
:
false
,
counterDialog
:
false
,
...
@@ -574,6 +574,7 @@ export default {
...
@@ -574,6 +574,7 @@ export default {
});
});
},
},
handleTreeClick
(
data
)
{
handleTreeClick
(
data
)
{
this
.
formData
.
keywords
=
''
this
.
title
=
data
.
name
this
.
title
=
data
.
name
if
(
data
.
shopId
)
{
if
(
data
.
shopId
)
{
this
.
groupId
=
data
.
shopId
this
.
groupId
=
data
.
shopId
...
@@ -627,6 +628,7 @@ export default {
...
@@ -627,6 +628,7 @@ export default {
this
.
handleTypeChange
(
val
,
ctPage
)
this
.
handleTypeChange
(
val
,
ctPage
)
},
},
getMailList
(
page
,
ctPage
)
{
getMailList
(
page
,
ctPage
)
{
this
.
formData
.
keywords
=
''
this
.
title
=
"全部"
this
.
title
=
"全部"
this
.
type
=
1
;
this
.
type
=
1
;
this
.
page
.
currentPage
=
ctPage
this
.
page
.
currentPage
=
ctPage
...
@@ -641,8 +643,9 @@ export default {
...
@@ -641,8 +643,9 @@ export default {
},
},
handleShopowner
()
{},
handleShopowner
()
{},
getNoGroupMember
(
page
,
ctPage
)
{
getNoGroupMember
(
page
,
ctPage
)
{
this
.
title
=
"未分组"
this
.
formData
.
keywords
=
''
this
.
page
.
currentPage
=
ctPage
this
.
page
.
currentPage
=
ctPage
this
.
title
=
"未分组"
this
.
type
=
2
;
this
.
type
=
2
;
let
params
=
{
let
params
=
{
pageNum
:
page
pageNum
:
page
...
@@ -650,7 +653,6 @@ export default {
...
@@ -650,7 +653,6 @@ export default {
getNoGroupMember
(
params
).
then
(
res
=>
{
getNoGroupMember
(
params
).
then
(
res
=>
{
this
.
tableData
=
res
.
data
.
list
;
this
.
tableData
=
res
.
data
.
list
;
this
.
page
.
total
=
this
.
totalNumber
=
this
.
wNumber
=
Number
(
res
.
data
.
total
);
this
.
page
.
total
=
this
.
totalNumber
=
this
.
wNumber
=
Number
(
res
.
data
.
total
);
});
});
},
},
handleMemberChange
(
val
)
{
handleMemberChange
(
val
)
{
...
@@ -671,12 +673,16 @@ export default {
...
@@ -671,12 +673,16 @@ export default {
this
.
getNoGroupMember
(
val
,
ctPage
)
this
.
getNoGroupMember
(
val
,
ctPage
)
}
else
if
(
this
.
type
==
3
)
{
}
else
if
(
this
.
type
==
3
)
{
this
.
getGroupMember
(
val
,
ctPage
)
this
.
getGroupMember
(
val
,
ctPage
)
}
else
if
(
this
.
type
==
4
)
{
this
.
handleSearch
(
val
,
ctPage
)
}
}
else
{
else
{
this
.
getStoreMember
(
val
,
ctPage
)
this
.
getStoreMember
(
val
,
ctPage
)
}
}
},
},
handleSearch
()
{
handleSearch
(
page
,
ctPage
)
{
this
.
type
=
4
this
.
page
.
currentPage
=
ctPage
switch
(
this
.
type
)
{
switch
(
this
.
type
)
{
case
1
:
case
1
:
this
.
counterId
=
0
;
this
.
counterId
=
0
;
...
@@ -690,16 +696,12 @@ export default {
...
@@ -690,16 +696,12 @@ export default {
}
}
let
params
=
{
let
params
=
{
keyWords
:
this
.
formData
.
keywords
,
keyWords
:
this
.
formData
.
keywords
,
stallId
:
this
.
counterId
stallId
:
this
.
counterId
,
pageNum
:
page
}
}
search
(
params
).
then
(
res
=>
{
search
(
params
).
then
(
res
=>
{
console
.
log
(
res
,
"搜索结果"
);
this
.
tableData
=
res
.
data
.
list
let
array
=
[]
this
.
page
.
total
=
Number
(
res
.
data
.
total
);
array
.
push
(
res
.
data
.
userInfo
)
console
.
log
(
array
,
"???"
);
this
.
tableData
=
array
;
this
.
page
.
total
=
1
})
})
}
}
}
}
...
...
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