Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-customer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fb4e2f23
authored
Jul 21, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
3a6f81c1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletions
src/views/customer/record.vue
src/views/customer/record.vue
View file @
fb4e2f2
...
@@ -32,6 +32,8 @@
...
@@ -32,6 +32,8 @@
<
script
>
<
script
>
import
{
groupCustomer
}
from
'@/api'
import
{
groupCustomer
}
from
'@/api'
import
{
Notify
}
from
'vant'
import
{
Notify
}
from
'vant'
import
{
util
}
from
'../../utils'
import
{
mapActions
}
from
'vuex'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -48,6 +50,15 @@ export default {
...
@@ -48,6 +50,15 @@ export default {
this
.
getcustomerRecordList
()
this
.
getcustomerRecordList
()
},
},
methods
:
{
methods
:
{
...
mapActions
({
navigation
:
'navigation'
}),
//重新登录
reLogin
()
{
/**登录过期 重新登录 */
util
.
clearSessionId
()
this
.
navigation
()
},
getcustomerRecordList
()
{
getcustomerRecordList
()
{
let
list
=
this
.
recordList
let
list
=
this
.
recordList
groupCustomer
.
getcustomerRecordList
({
...
this
.
page
}).
then
(({
code
,
data
,
message
})
=>
{
groupCustomer
.
getcustomerRecordList
({
...
this
.
page
}).
then
(({
code
,
data
,
message
})
=>
{
...
@@ -58,7 +69,9 @@ export default {
...
@@ -58,7 +69,9 @@ export default {
if
(
data
.
list
==
0
&&
this
.
flag
)
{
if
(
data
.
list
==
0
&&
this
.
flag
)
{
this
.
$refs
.
scrollView
.
finished
=
true
this
.
$refs
.
scrollView
.
finished
=
true
}
}
}
else
{
}
else
if
(
code
==
21
)
{
this
.
reLogin
()
}
else
{
Notify
(
message
)
Notify
(
message
)
}
}
this
.
flag
=
true
this
.
flag
=
true
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment