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 c2ac4ddf
authored
Jun 17, 2024
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
18561f76
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
12 deletions
src/views/qualityManage/attackDetail.vue
src/views/qualityManage/dialogueDetail.vue
src/views/qualityManage/index.vue
src/views/qualityManage/qualityDetail.vue
src/views/qualityManage/recepDetail.vue
src/views/qualityManage/attackDetail.vue
View file @
c2ac4dd
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
</div>
</div>
<div
class=
"dialog-box"
>
<div
class=
"dialog-box"
>
<div
class=
"dialog-item"
v-for=
"(item, index) in defenceDetail.detailList"
:key=
"item.is"
>
<div
class=
"dialog-item"
v-for=
"(item, index) in defenceDetail.detailList"
:key=
"item.is"
>
<div
class=
"dialog-head"
>
<div
class=
"dialog-head"
@
click=
"handleMapping(item.mergedOffset)"
>
<img
class=
"attack-score"
src=
"@/assets/attack-score.png"
alt=
""
/>
<img
class=
"attack-score"
src=
"@/assets/attack-score.png"
alt=
""
/>
<div
class=
"text"
>
攻防得分
</div>
<div
class=
"text"
>
攻防得分
</div>
<div
class=
"score"
>
{{
item
.
defScore
?
item
.
defScore
:
'-'
}}
</div>
<div
class=
"score"
>
{{
item
.
defScore
?
item
.
defScore
:
'-'
}}
</div>
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
<img
src=
"@/assets/empty-2.png"
/>
<img
src=
"@/assets/empty-2.png"
/>
</div>
</div>
<div
class=
"text"
>
<div
class=
"text"
>
{{
detailObj
.
defence
===
1
?
'数据分析中,请稍等'
:
'未发现攻防
'
}}
{{
detailObj
.
defence
===
1
?
'数据分析中,请稍等'
:
detailObj
.
defence
===
3
?
'未发现攻防'
:
'未进行攻防识别
'
}}
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -111,6 +111,14 @@ export default {
...
@@ -111,6 +111,14 @@ export default {
this
.
getDefenceDetail
()
this
.
getDefenceDetail
()
},
},
methods
:
{
methods
:
{
handleMapping
(
time
)
{
Array
.
prototype
.
slice
.
call
(
this
.
$parent
.
$parent
.
$children
).
forEach
(
dom
=>
{
if
(
dom
.
currentDialog
){
dom
.
currentDialog
(
time
)
}
})
},
getDefenceDetail
()
{
getDefenceDetail
()
{
let
params
=
{
let
params
=
{
batchId
:
this
.
detailObj
.
id
batchId
:
this
.
detailObj
.
id
...
...
src/views/qualityManage/dialogueDetail.vue
View file @
c2ac4dd
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
</div>
</div>
<div
<div
class=
"dig-content"
class=
"dig-content"
@
click=
"currentDialog(item)"
@
click=
"currentDialog(item
.mergedOffset
)"
>
>
{{
item
.
content
}}
{{
item
.
content
}}
</div>
</div>
...
@@ -162,8 +162,8 @@ export default {
...
@@ -162,8 +162,8 @@ export default {
formatSrt
(
str
)
{
formatSrt
(
str
)
{
return
str
?.
replace
(
/
\n
/g
,
"<br/>"
)
||
''
return
str
?.
replace
(
/
\n
/g
,
"<br/>"
)
||
''
},
},
currentDialog
(
data
)
{
currentDialog
(
time
)
{
this
.
myAud
.
currentTime
=
data
.
mergedOffset
this
.
myAud
.
currentTime
=
time
},
},
toMinutesAndSeconds
(
seconds
)
{
toMinutesAndSeconds
(
seconds
)
{
let
minutes
=
Math
.
floor
(
seconds
/
60
)
let
minutes
=
Math
.
floor
(
seconds
/
60
)
...
...
src/views/qualityManage/index.vue
View file @
c2ac4dd
...
@@ -360,13 +360,13 @@ export default {
...
@@ -360,13 +360,13 @@ export default {
}
}
},
},
{
{
label
:
'
话术质检评
分/分'
,
label
:
'
质检得
分/分'
,
prop
:
'score'
,
prop
:
'score'
,
addHtml
:
'scoreHtml'
,
addHtml
:
'scoreHtml'
,
width
:
'170px'
,
width
:
'170px'
,
renderHeader
:
createElement
=>
{
renderHeader
:
createElement
=>
{
return
createElement
(
'div'
,
{
style
:
'margin-left:-10px'
},
[
return
createElement
(
'div'
,
{
style
:
'margin-left:-10px'
},
[
'
话术质检评
分/分'
,
'
质检得
分/分'
,
createElement
(
createElement
(
'el-tooltip'
,
'el-tooltip'
,
{
{
...
...
src/views/qualityManage/qualityDetail.vue
View file @
c2ac4dd
...
@@ -129,7 +129,7 @@ export default {
...
@@ -129,7 +129,7 @@ export default {
formatter
(
row
)
{
formatter
(
row
)
{
return
row
.
defence
===
2
return
row
.
defence
===
2
?
`<div class="num">
${
row
.
defencePoint
}
<span class="unit">分</span></div>`
?
`<div class="num">
${
row
.
defencePoint
}
<span class="unit">分</span></div>`
:
row
.
defence
===
1
:
row
.
defence
===
1
||
row
.
defence
===
0
||
row
.
defence
===
4
?
`<span style="font-size:22px;color:#999">分析中</span>`
?
`<span style="font-size:22px;color:#999">分析中</span>`
:
row
.
defence
===
3
:
row
.
defence
===
3
?
`<span style="font-size:22px;color:#999">未发现攻防</span>`
?
`<span style="font-size:22px;color:#999">未发现攻防</span>`
...
...
src/views/qualityManage/recepDetail.vue
View file @
c2ac4dd
...
@@ -64,13 +64,13 @@
...
@@ -64,13 +64,13 @@
</div>
</div>
<div
slot=
"defencePoint"
slot-scope=
"scope"
>
<div
slot=
"defencePoint"
slot-scope=
"scope"
>
<
template
v-if=
"scope.scope.defence === 2"
>
{{
scope
.
scope
.
defencePoint
?
scope
.
scope
.
defencePoint
:
'-'
}}
</
template
>
<
template
v-if=
"scope.scope.defence === 2"
>
{{
scope
.
scope
.
defencePoint
?
scope
.
scope
.
defencePoint
:
'-'
}}
</
template
>
<
template
v-else-if=
"scope.scope.defence === 1"
>
分析中
</
template
>
<
template
v-else-if=
"scope.scope.defence === 1
|| scope.scope.defence === 0 || scope.scope.defence === 4
"
>
分析中
</
template
>
<
template
v-else-if=
"scope.scope.defence === 3"
>
未发现攻防
</
template
>
<
template
v-else-if=
"scope.scope.defence === 3"
>
未发现攻防
</
template
>
<
template
v-else
>
-
</
template
>
<
template
v-else
>
-
</
template
>
</div>
</div>
<div
slot=
"customerTypeName"
slot-scope=
"scope"
>
<div
slot=
"customerTypeName"
slot-scope=
"scope"
>
<
template
v-if=
"scope.scope.defence === 2"
>
{{
scope
.
scope
.
customerTypeName
?
scope
.
scope
.
customerTypeName
:
'-'
}}
</
template
>
<
template
v-if=
"scope.scope.defence === 2"
>
{{
scope
.
scope
.
customerTypeName
?
scope
.
scope
.
customerTypeName
:
'-'
}}
</
template
>
<
template
v-else-if=
"scope.scope.defence === 1"
>
分析中
</
template
>
<
template
v-else-if=
"scope.scope.defence === 1
|| scope.scope.defence === 0 || scope.scope.defence === 4
"
>
分析中
</
template
>
<
template
v-else-if=
"scope.scope.defence === 3"
>
未知
</
template
>
<
template
v-else-if=
"scope.scope.defence === 3"
>
未知
</
template
>
<
template
v-else
>
-
</
template
>
<
template
v-else
>
-
</
template
>
</div>
</div>
...
@@ -167,8 +167,8 @@ export default {
...
@@ -167,8 +167,8 @@ export default {
},
},
{
{
label
:
'客户类型识别'
,
label
:
'客户类型识别'
,
prop
:
'customerTypeName
,
'
,
prop
:
'customerTypeName'
,
addHtml
:
'customerTypeName
,
'
addHtml
:
'customerTypeName'
},
},
{
{
label
:
'接待时长'
,
label
:
'接待时长'
,
...
...
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