Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
Project
Project
Details
Activity
Releases
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
panyongping
uni-pdtravel
Commits
f9881f94
Commit
f9881f94
authored
Dec 17, 2024
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
电话回复处理
parent
a2afcd08
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
82 additions
and
69 deletions
+82
-69
complaintDetail.vue
...s/my/suggestComplaint/complaintDetail/complaintDetail.vue
+39
-32
suggestDetail.vue
pages/my/suggestComplaint/suggestDetail/suggestDetail.vue
+43
-37
No files found.
pages/my/suggestComplaint/complaintDetail/complaintDetail.vue
View file @
f9881f94
...
@@ -121,38 +121,45 @@ export default{
...
@@ -121,38 +121,45 @@ export default{
if
(
list
.
length
>
0
){
if
(
list
.
length
>
0
){
this
.
firstData
=
list
[
0
]
this
.
firstData
=
list
[
0
]
list
.
forEach
(
item
=>
{
list
.
forEach
(
item
=>
{
if
(
item
.
commentText
){
//游客发起数据
//游客发起
let
imgList1
=
[]
let
imgList
=
[]
let
imgList2
=
[]
item
.
commentImgList
.
forEach
(
item2
=>
{
item
.
commentImgList
.
forEach
(
item2
=>
{
if
(
item2
.
imgCommentType
==
0
){
if
(
item2
.
imgCommentType
==
0
){
//游客发送的图片
//游客发送的图片
imgList
.
push
(
item2
)
imgList1
.
push
(
item2
)
}
if
(
item2
.
imgCommentType
==
1
){
//商家发送的图片
imgList2
.
push
(
item2
)
}
}
})
})
this
.
detailList
.
push
({
this
.
detailList
.
push
({
title
:
'您发起投诉'
,
title
:
'您发起投诉'
,
text
:
item
.
commentText
,
text
:
item
.
commentText
,
time
:
item
.
createTime
,
time
:
item
.
createTime
,
imgList
imgList
:
imgList1
})
})
}
//商家回复数据
if
(
item
.
commentReply
){
if
(
item
.
handleType
===
0
){
//商家回复
//商家电话回复
let
imgList
=
[]
this
.
detailList
.
push
({
item
.
commentImgList
.
forEach
(
item2
=>
{
title
:
'商家回复'
,
if
(
item2
.
imgCommentType
==
1
){
text
:
item
.
commentReply
||
'客服已进行电话回复'
,
//商家发送的图片
time
:
item
.
updateTime
,
imgList
.
push
(
item2
)
imgList
:
imgList2
}
})
})
}
if
(
item
.
handleType
===
1
||
item
.
handleType
===
2
){
//商家文字回复,或者电话+文字回复
this
.
detailList
.
push
({
this
.
detailList
.
push
({
title
:
'商家回复'
,
title
:
'商家回复'
,
text
:
item
.
commentReply
,
text
:
item
.
commentReply
||
''
,
time
:
item
.
updateTime
,
time
:
item
.
updateTime
,
imgList
imgList
:
imgList2
})
})
}
}
})
})
this
.
detailList
.
reverse
()
this
.
detailList
.
reverse
()
}
}
...
...
pages/my/suggestComplaint/suggestDetail/suggestDetail.vue
View file @
f9881f94
...
@@ -67,38 +67,44 @@ export default{
...
@@ -67,38 +67,44 @@ export default{
if
(
list
.
length
>
0
){
if
(
list
.
length
>
0
){
this
.
firstData
=
list
[
0
]
this
.
firstData
=
list
[
0
]
list
.
forEach
(
item
=>
{
list
.
forEach
(
item
=>
{
if
(
item
.
commentText
){
//游客发起数据
//游客发起
let
imgList1
=
[]
let
imgList
=
[]
let
imgList2
=
[]
item
.
commentImgList
.
forEach
(
item2
=>
{
item
.
commentImgList
.
forEach
(
item2
=>
{
if
(
item2
.
imgCommentType
==
0
){
if
(
item2
.
imgCommentType
==
0
){
//游客发送的图片
//游客发送的图片
imgList
.
push
(
item2
)
imgList1
.
push
(
item2
)
}
if
(
item2
.
imgCommentType
==
1
){
//商家发送的图片
imgList2
.
push
(
item2
)
}
}
})
})
this
.
detailList
.
push
({
this
.
detailList
.
push
({
title
:
'您发起建议
'
,
title
:
'您发起投诉
'
,
text
:
item
.
commentText
,
text
:
item
.
commentText
,
time
:
item
.
createTime
,
time
:
item
.
createTime
,
imgList
imgList
:
imgList1
})
})
}
//商家回复数据
if
(
item
.
commentReply
){
if
(
item
.
handleType
===
0
){
//商家回复
this
.
detailList
.
push
({
let
imgList
=
[]
title
:
'商家回复'
,
item
.
commentImgList
.
forEach
(
item2
=>
{
text
:
item
.
commentReply
||
'客服已进行电话回复'
,
if
(
item2
.
imgCommentType
==
1
){
time
:
item
.
updateTime
,
//商家发送的图片
imgList
:
imgList2
imgList
.
push
(
item2
)
}
})
})
}
if
(
item
.
handleType
===
1
||
item
.
handleType
===
2
){
//商家文字回复,或者电话+文字回复
this
.
detailList
.
push
({
this
.
detailList
.
push
({
title
:
'商家回复'
,
title
:
'商家回复'
,
text
:
item
.
commentReply
,
text
:
item
.
commentReply
||
''
,
time
:
item
.
updateTime
,
time
:
item
.
updateTime
,
imgList
imgList
:
imgList2
})
})
}
}
})
})
this
.
detailList
.
reverse
()
this
.
detailList
.
reverse
()
}
}
...
...
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