Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-psd
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 8a9a50dd
authored
Jun 27, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复分页BUG
1 parent
82f4f5c6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
src/views/Chat/library.vue
src/views/Chat/paper.vue
src/views/Chat/library.vue
View file @
8a9a50d
...
...
@@ -141,10 +141,12 @@ export default {
},
/**话术 */
async
getChatLibraryList
()
{
const
{
params
,
list
,
$refs
:
{
scrollView
}
}
=
this
this
.
showLoading
()
try
{
const
{
params
,
list
}
=
this
,
{
data
,
count
}
=
await
marketingApi
.
getChatLibraryList
(
params
),
const
{
data
,
count
}
=
await
marketingApi
.
getChatLibraryList
(
params
),
val
=
params
.
scriptContent
||
''
,
rex
=
new
RegExp
(
val
,
'g'
)
data
.
length
&&
data
.
map
(
e
=>
{
...
...
@@ -159,7 +161,7 @@ export default {
this
.
list
=
list
.
concat
(
data
)
this
.
total
=
count
this
.
hideLoading
()
this
.
$refs
.
scrollView
.
loading
=
false
if
(
scrollView
)
scrollView
.
loading
=
false
}
catch
(
error
)
{
this
.
hideLoading
()
}
...
...
src/views/Chat/paper.vue
View file @
8a9a50d
...
...
@@ -137,10 +137,12 @@ export default {
},
methods
:
{
async
getActivityReportLogList
()
{
const
{
params
,
list
,
$refs
:
{
scrollView
}
}
=
this
this
.
showLoading
()
try
{
const
{
params
,
list
}
=
this
,
{
data
,
count
}
=
await
entmicroApi
.
getActivityReportLogList
(
params
)
const
{
data
,
count
}
=
await
entmicroApi
.
getActivityReportLogList
(
params
)
this
.
list
=
list
.
concat
(
data
)
this
.
total
=
count
this
.
hideLoading
()
...
...
@@ -148,7 +150,7 @@ export default {
this
.
hideLoading
()
}
this
.
flag
=
true
this
.
$refs
.
scrollView
.
loading
=
false
if
(
scrollView
)
scrollView
.
loading
=
false
},
handleViewImage
(
i
)
{
this
.
paperInfo
=
i
...
...
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