Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-quality
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 81874781
authored
Mar 21, 2024
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
988da00f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
8 deletions
src/api/modules/quality.js
src/views/qualityManage/dialogueDetail.vue
src/views/qualityManage/index.vue
src/api/modules/quality.js
View file @
8187478
...
@@ -35,10 +35,12 @@ const conversationPage = params => {
...
@@ -35,10 +35,12 @@ const conversationPage = params => {
sign
:
true
sign
:
true
})
})
}
}
/** 获取园区店列表 - 园区店 */
/** 获取园区店列表 - 园区店 */
const
listShop4sByRef
=
params
=>
{
const
listShop4sByRef
=
params
=>
{
params
.
method
=
`scrm.api.boutiquecoupon.rop.router.twoCityTale`
params
.
method
=
`scrm.api.boutiquecoupon.rop.router.twoCityTale`
params
.
routerMethod
=
`dj.api.scenemerchantref.
listShop4sByRef
`
params
.
routerMethod
=
`dj.api.scenemerchantref.
queryShopRefByPartnerShopPage
`
return
http
({
return
http
({
url
:
'rop-scrm-boutiquecoupon/router'
,
url
:
'rop-scrm-boutiquecoupon/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
...
src/views/qualityManage/dialogueDetail.vue
View file @
8187478
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
<div
class=
"dialogue"
>
<div
class=
"dialogue"
>
<div
class=
"record"
>
<div
class=
"record"
>
<audio
id=
"audio1"
>
<audio
id=
"audio1"
>
<!--
<source
src=
"https://glsk-oss.oss-cn-shenzhen.aliyuncs.com/quality/file.mp3"
type=
"audio/mpeg"
/>
-->
<source
:src=
"detailObj.fileUrl"
type=
"audio/mpeg"
/>
<source
:src=
"detailObj.fileUrl"
type=
"audio/mpeg"
/>
<source
:src=
"detailObj.fileUrl"
type=
"audio/ogg"
/>
<source
:src=
"detailObj.fileUrl"
type=
"audio/ogg"
/>
您的浏览器不支持 audio 标签。
您的浏览器不支持 audio 标签。
...
@@ -25,8 +26,8 @@
...
@@ -25,8 +26,8 @@
<div
class=
"record-info"
>
<div
class=
"record-info"
>
<div
class=
"dialog"
>
<div
class=
"dialog"
>
<template
v-for=
"item in dialogList"
>
<template
v-for=
"item in dialogList"
>
<div
class=
"dialog-detail
"
:key=
"item.id"
>
<div
:class=
"
{ 'dialog-detail': true, 'nth-child': item.role % 2 === 1 }
" :key="item.id">
<div
class=
"name"
>
{{
item
.
role
}}
</div>
<div
class=
"name"
>
角色
{{
(
item
.
role
%
2
)
+
1
}}
</div>
<div
class=
"dig-content"
@
click=
"currentDialog(item)"
>
<div
class=
"dig-content"
@
click=
"currentDialog(item)"
>
{{
item
.
content
}}
{{
item
.
content
}}
</div>
</div>
...
@@ -249,7 +250,7 @@ export default {
...
@@ -249,7 +250,7 @@ export default {
text-align
:
left
;
text-align
:
left
;
}
}
}
}
:nth-child
(
2n
)
{
.nth-child
{
text-align
:
right
;
text-align
:
right
;
.dig-content
{
.dig-content
{
display
:
inline-block
;
display
:
inline-block
;
...
...
src/views/qualityManage/index.vue
View file @
8187478
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
</div>
</div>
</GLCombiForm>
</GLCombiForm>
<GLTable
ref=
"qualityTable"
:getListApi=
"getListApi"
:searchForm=
"searchFormSearch"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
:pageConf=
"pageConf"
:noDataImg=
"url"
>
<GLTable
ref=
"qualityTable"
:getListApi=
"getListApi"
:searchForm=
"searchFormSearch"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
:pageConf=
"pageConf"
:noDataImg=
"url"
@
setTableFinishFun=
"setTableFinishFun"
>
<div
slot=
"store"
slot-scope=
"scope"
>
<div
slot=
"store"
slot-scope=
"scope"
>
<template
v-if=
"scope.scope.storeList && scope.scope.storeList.length > 1"
>
<template
v-if=
"scope.scope.storeList && scope.scope.storeList.length > 1"
>
<span>
{{
scope
.
scope
.
storeList
.
slice
(
0
,
1
).
join
(
''
)
}}
</span>
<span>
{{
scope
.
scope
.
storeList
.
slice
(
0
,
1
).
join
(
''
)
}}
</span>
...
@@ -230,7 +230,7 @@ export default {
...
@@ -230,7 +230,7 @@ export default {
},
},
{
{
label
:
'归属服务商'
,
label
:
'归属服务商'
,
addHtml
:
'service'
,
//
addHtml: 'service',
width
:
'180px'
,
width
:
'180px'
,
prop
:
'serviceMerchantNo'
prop
:
'serviceMerchantNo'
},
},
...
@@ -355,10 +355,12 @@ export default {
...
@@ -355,10 +355,12 @@ export default {
getServiceStore
()
{
getServiceStore
()
{
this
.
$apis
.
quality
this
.
$apis
.
quality
.
listShop4sByRef
({
.
listShop4sByRef
({
yqMerchantId
:
this
.
$globalState
.
session
.
merchantId
currentPage
:
1
,
pageSize
:
99999
,
partnerMerchantId
:
this
.
$globalState
.
session
.
merchantId
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
this
.
baseData
.
storeIdList
=
res
||
[]
this
.
baseData
.
storeIdList
=
res
.
list
||
[]
this
.
getOptionsList
()
this
.
getOptionsList
()
})
})
},
},
...
@@ -396,6 +398,11 @@ export default {
...
@@ -396,6 +398,11 @@ export default {
m
m
}
}
},
},
setTableFinishFun
(
data
)
{
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
data
[
i
].
serviceMerchantNo
=
this
.
$globalState
.
session
.
merchantName
}
},
beforeSearchFn
()
{
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
return
new
Promise
(
resolve
=>
{
this
.
searchFormSearch
=
deepClone
(
this
.
searchForm
)
this
.
searchFormSearch
=
deepClone
(
this
.
searchForm
)
...
...
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