Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 fc463b11
authored
Jul 09, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优秀话术
1 parent
d8e5a0ca
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
202 additions
and
112 deletions
src/common/constants.js
src/views/serviceCentre/longCourse/components/staffDetail.vue
src/views/serviceCentre/longCourse/longCourseCenter.vue
src/views/verbalTrickManage/index/ApprovalList.vue
src/views/verbalTrickManage/index/ExcellentList.vue
src/views/verbalTrickManage/index/NoPushedList.vue
src/views/verbalTrickManage/index/PushedList.vue
src/views/verbalTrickManage/index/components/detailDialog.vue
src/views/verbalTrickManage/index/components/otherDetail.vue
src/common/constants.js
View file @
fc463b1
...
@@ -1240,7 +1240,8 @@ export const channelTypeList = [
...
@@ -1240,7 +1240,8 @@ export const channelTypeList = [
// 预警管理 所属业务
// 预警管理 所属业务
export
const
businessSceneOpt
=
[
export
const
businessSceneOpt
=
[
{
confId
:
0
,
confValue
:
"延保/权益"
},
{
confId
:
0
,
confValue
:
"延保"
},
{
confId
:
2
,
confValue
:
"权益"
},
{
confId
:
1
,
confValue
:
"精品"
}
{
confId
:
1
,
confValue
:
"精品"
}
]
]
export
const
checkStautsOpt
=
[
export
const
checkStautsOpt
=
[
...
...
src/views/serviceCentre/longCourse/components/staffDetail.vue
View file @
fc463b1
...
@@ -31,7 +31,24 @@
...
@@ -31,7 +31,24 @@
<performance-status
:detailInfo=
"detailInfo"
></performance-status>
<performance-status
:detailInfo=
"detailInfo"
></performance-status>
<!-- 谈客能力-->
<!-- 谈客能力-->
<div
class=
"header"
>
谈客能力
</div>
<div
class=
"header"
>
谈客能力
</div>
<div
class=
"presentation"
></div>
<div
class=
"presentation"
>
<div
v-for=
"(item, index) in capacityList"
:key=
"index"
class=
"capacity-line"
>
<div
class=
"title"
>
{{ item.title }}
</div>
<div
class=
"capacity"
>
<div
class=
"capacity-item"
v-for=
"(child, seconds) in item.children"
:key=
"seconds"
>
{{ child.title }}
</div>
</div>
</div>
</div>
<!-- 学习情况 -->
<!-- 学习情况 -->
<learning-situation></learning-situation>
<learning-situation></learning-situation>
</div>
</div>
...
@@ -76,7 +93,7 @@ export default {
...
@@ -76,7 +93,7 @@ export default {
],
],
capacityList
:
[
capacityList
:
[
{
{
title
:
"弱项"
,
title
:
"弱项
:
"
,
children
:
[
children
:
[
{
{
title
:
"身份介绍:差"
,
title
:
"身份介绍:差"
,
...
@@ -102,6 +119,10 @@ export default {
...
@@ -102,6 +119,10 @@ export default {
{
{
title
:
"话题介入:一般"
,
title
:
"话题介入:一般"
,
key
:
"weakItem"
key
:
"weakItem"
},
{
title
:
"攻防能力:一般"
,
key
:
"weakItem"
}
}
]
]
}
}
...
@@ -158,5 +179,33 @@ export default {
...
@@ -158,5 +179,33 @@ export default {
}
}
}
}
}
}
.presentation
{
margin
:
20px
;
.capacity-line
{
display
:
flex
;
align-items
:
center
;
margin-bottom
:
16px
;
.title
{
color
:
#666666
;
font-size
:
14px
;
font-weight
:
400
;
width
:
138px
;
text-align
:
right
;
}
.capacity
{
display
:
flex
;
flex-wrap
:
wrap
;
align-items
:
center
;
.capacity-item
{
padding
:
6px
12px
;
background
:
#f2f3f5
;
color
:
#eb4e4e
;
font-size
:
14px
;
font-weight
:
400
;
margin-left
:
8px
;
}
}
}
}
}
}
</
style
>
</
style
>
src/views/serviceCentre/longCourse/longCourseCenter.vue
View file @
fc463b1
...
@@ -98,7 +98,7 @@ export default {
...
@@ -98,7 +98,7 @@ export default {
return
{
return
{
tab
:
[],
tab
:
[],
dropdownList
:
[],
dropdownList
:
[],
windowId
:
-
2
,
windowId
:
-
1
,
tabboxWidth
:
0
tabboxWidth
:
0
}
}
},
},
...
...
src/views/verbalTrickManage/index/ApprovalList.vue
View file @
fc463b1
...
@@ -130,7 +130,7 @@ export default {
...
@@ -130,7 +130,7 @@ export default {
},
},
{
{
label
:
"品牌"
,
label
:
"品牌"
,
prop
:
"s
ceneLabelName
"
,
prop
:
"s
onBrand
"
,
width
:
"80"
width
:
"80"
},
},
{
{
...
@@ -243,7 +243,7 @@ export default {
...
@@ -243,7 +243,7 @@ export default {
},
},
{
{
label
:
"品牌"
,
label
:
"品牌"
,
name
:
"s
tore
BrandId"
,
name
:
"s
on
BrandId"
,
type
:
"select"
,
type
:
"select"
,
// multiple: true,
// multiple: true,
isClear
:
true
,
isClear
:
true
,
...
...
src/views/verbalTrickManage/index/ExcellentList.vue
View file @
fc463b1
...
@@ -117,7 +117,7 @@ export default {
...
@@ -117,7 +117,7 @@ export default {
},
},
{
{
label
:
"品牌"
,
label
:
"品牌"
,
name
:
"s
tore
BrandId"
,
name
:
"s
on
BrandId"
,
type
:
"select"
,
type
:
"select"
,
// multiple: true,
// multiple: true,
isClear
:
true
,
isClear
:
true
,
...
...
src/views/verbalTrickManage/index/NoPushedList.vue
View file @
fc463b1
...
@@ -115,7 +115,7 @@ export default {
...
@@ -115,7 +115,7 @@ export default {
},
},
{
{
label
:
"品牌"
,
label
:
"品牌"
,
prop
:
"s
ceneLabelName
"
,
prop
:
"s
onBrand
"
,
width
:
"80"
width
:
"80"
},
},
{
{
...
@@ -161,7 +161,7 @@ export default {
...
@@ -161,7 +161,7 @@ export default {
},
},
{
{
label
:
"品牌"
,
label
:
"品牌"
,
name
:
"s
tore
BrandId"
,
name
:
"s
on
BrandId"
,
type
:
"select"
,
type
:
"select"
,
// multiple: true,
// multiple: true,
isClear
:
true
,
isClear
:
true
,
...
...
src/views/verbalTrickManage/index/PushedList.vue
View file @
fc463b1
...
@@ -125,7 +125,7 @@ export default {
...
@@ -125,7 +125,7 @@ export default {
},
},
{
{
label
:
"品牌"
,
label
:
"品牌"
,
prop
:
"s
ceneLabelName
"
,
prop
:
"s
onBrand
"
,
width
:
"80"
width
:
"80"
},
},
{
{
...
@@ -179,7 +179,7 @@ export default {
...
@@ -179,7 +179,7 @@ export default {
},
},
{
{
label
:
"品牌"
,
label
:
"品牌"
,
name
:
"s
tore
BrandId"
,
name
:
"s
on
BrandId"
,
type
:
"select"
,
type
:
"select"
,
// multiple: true,
// multiple: true,
isClear
:
true
,
isClear
:
true
,
...
...
src/views/verbalTrickManage/index/components/detailDialog.vue
View file @
fc463b1
...
@@ -7,17 +7,10 @@
...
@@ -7,17 +7,10 @@
>
>
<div
class=
"detail-content"
>
<div
class=
"detail-content"
>
<div
class=
"form_div"
>
<div
class=
"form_div"
>
<el-form
<el-form
class=
"edit-sub-block"
label-width=
"110px"
:inline=
"true"
>
class=
"edit-sub-block"
label-width=
"110px"
:inline=
"true"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<template
v-for=
"(item, index) in configData"
>
<template
v-for=
"(item, index) in configData"
>
<el-col
<el-col
:span=
"item.col ? item.col : 12"
:key=
"index"
>
:span=
"item.col ? item.col : 12"
:key=
"index"
>
<el-form-item
:label=
"item.title"
>
<el-form-item
:label=
"item.title"
>
<slot
<slot
v-if=
"item.addHtml"
v-if=
"item.addHtml"
...
@@ -31,17 +24,15 @@
...
@@ -31,17 +24,15 @@
></div>
></div>
{{
detailInfo
[
item
.
key
]
?
detailInfo
[
item
.
key
]
:
"-"
}}
{{
detailInfo
[
item
.
key
]
?
detailInfo
[
item
.
key
]
:
"-"
}}
</div>
</div>
</el-form-item></el-col>
</el-form-item></el-col
>
</
template
>
</
template
>
</el-row>
</el-row>
</el-form>
</el-form>
</div>
</div>
<div
class=
"operate-wrap"
>
<div
class=
"operate-wrap"
>
<div
class=
"title"
>
操作记录
</div>
<div
class=
"title"
>
操作记录
</div>
<div
<div
class=
"operate-list"
v-if=
"operateData.length > 0"
>
class=
"operate-list"
v-if=
"operateData.length > 0"
>
<div
<div
v-for=
"(item, index) in operateData"
v-for=
"(item, index) in operateData"
:key=
"index"
:key=
"index"
...
@@ -54,18 +45,17 @@
...
@@ -54,18 +45,17 @@
}}
</span>
}}
</span>
<span
class=
"result"
>
通过
</span>
<span
class=
"result"
>
通过
</span>
</div>
</div>
<div
:class=
"[
<div
:class=
"[
'content',
'content',
operateData.length == index + 1 ? 'last' : ''
operateData.length == index + 1 ? 'last' : ''
]"
>
]"
>
{{ item.staffName }}
<span>
{{ item.createdTime }}
</span>
{{ item.staffName }}
<span>
{{ item.createdTime }}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div
<div
v-else
class=
"empty"
>
暂无记录
</div>
v-else
class=
"empty"
>
暂无记录
</div>
</div>
</div>
</div>
</div>
</baseDialog>
</baseDialog>
...
@@ -88,24 +78,24 @@ export default {
...
@@ -88,24 +78,24 @@ export default {
},
},
computed
:
{
computed
:
{
dialogShow
:
{
dialogShow
:
{
get
()
{
get
()
{
return
this
.
visible
return
this
.
visible
},
},
set
(
val
)
{
set
(
val
)
{
this
.
$emit
(
"update:visible"
,
val
)
this
.
$emit
(
"update:visible"
,
val
)
}
}
}
}
},
},
watch
:
{
watch
:
{
id
(
val
)
{
id
(
val
)
{
if
(
val
)
this
.
getDetail
()
if
(
val
)
this
.
getDetail
()
}
}
},
},
mounted
()
{
mounted
()
{
this
.
getDetail
()
this
.
getDetail
()
this
.
getOperateList
()
this
.
getOperateList
()
},
},
data
()
{
data
()
{
return
{
return
{
operateData
:
[],
operateData
:
[],
configData
:
[
configData
:
[
...
@@ -173,13 +163,13 @@ export default {
...
@@ -173,13 +163,13 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
handleDetailClose
()
{
handleDetailClose
()
{
this
.
dialogShow
=
false
this
.
dialogShow
=
false
},
},
getDetail
()
{
getDetail
()
{
getRecordDetail
({
id
:
this
.
id
}).
then
((
res
)
=>
{
getRecordDetail
({
id
:
this
.
id
}).
then
((
res
)
=>
{
if
(
res
)
{
if
(
res
)
{
res
.
scene
=
res
.
scene
==
1
?
"精品"
:
"延保"
res
.
scene
=
res
.
scene
==
1
?
"精品"
:
res
.
scene
==
2
?
"权益"
:
"延保"
res
.
pushStatusName
=
res
.
pushStatus
==
1
?
"已推送"
:
"未推送"
res
.
pushStatusName
=
res
.
pushStatus
==
1
?
"已推送"
:
"未推送"
res
.
pushTime
=
res
.
pushTime
res
.
pushTime
=
res
.
pushTime
?
Util
.
dateFormate
(
res
.
pushTime
,
"YYYY/MM/DD HH:mm:ss"
)
?
Util
.
dateFormate
(
res
.
pushTime
,
"YYYY/MM/DD HH:mm:ss"
)
...
@@ -192,7 +182,7 @@ export default {
...
@@ -192,7 +182,7 @@ export default {
}
}
})
})
},
},
getOperateList
()
{
getOperateList
()
{
getOperateList
({
id
:
this
.
id
}).
then
((
res
)
=>
{
getOperateList
({
id
:
this
.
id
}).
then
((
res
)
=>
{
if
(
res
)
{
if
(
res
)
{
this
.
operateData
=
res
this
.
operateData
=
res
...
...
src/views/verbalTrickManage/index/components/otherDetail.vue
View file @
fc463b1
<
template
>
<
template
>
<baseDialog
:is-show
.
sync=
"dialogShow"
:config=
"dialogConfig.setting"
:dialog-config=
"dialogConfig.config"
<baseDialog
@
closeDialog=
"handleDetailClose"
>
:is-show
.
sync=
"dialogShow"
:config=
"dialogConfig.setting"
:dialog-config=
"dialogConfig.config"
@
closeDialog=
"handleDetailClose"
>
<div
class=
"detail-content"
>
<div
class=
"detail-content"
>
<div
class=
"form_div"
>
<div
class=
"form_div"
>
<el-form
class=
"edit-sub-block"
label-width=
"110px"
:inline=
"true"
>
<el-form
class=
"edit-sub-block"
label-width=
"110px"
:inline=
"true"
>
...
@@ -8,12 +12,20 @@
...
@@ -8,12 +12,20 @@
<template
v-for=
"(item, index) in configData"
>
<template
v-for=
"(item, index) in configData"
>
<el-col
:span=
"item.col ? item.col : 12"
:key=
"index"
>
<el-col
:span=
"item.col ? item.col : 12"
:key=
"index"
>
<el-form-item
:label=
"item.title"
>
<el-form-item
:label=
"item.title"
>
<slot
v-if=
"item.addHtml"
:name=
"item.addHtml"
:scope=
"scope.row"
/>
<slot
v-if=
"item.addHtml"
:name=
"item.addHtml"
:scope=
"scope.row"
/>
<div
v-else
>
<div
v-else
>
<div
v-if=
"item.className"
:class=
"[item.className(detailInfo)]"
></div>
<div
v-if=
"item.className"
:class=
"[item.className(detailInfo)]"
></div>
{{
detailInfo
[
item
.
key
]
?
detailInfo
[
item
.
key
]
:
"-"
}}
{{
detailInfo
[
item
.
key
]
?
detailInfo
[
item
.
key
]
:
"-"
}}
</div>
</div>
</el-form-item></el-col>
</el-form-item></el-col
>
</
template
>
</
template
>
</el-row>
</el-row>
</el-form>
</el-form>
...
@@ -21,18 +33,26 @@
...
@@ -21,18 +33,26 @@
<div
class=
"operate-wrap"
>
<div
class=
"operate-wrap"
>
<div
class=
"title"
>
操作记录
</div>
<div
class=
"title"
>
操作记录
</div>
<div
class=
"operate-list"
v-if=
"operateData.length > 0"
>
<div
class=
"operate-list"
v-if=
"operateData.length > 0"
>
<div
v-for=
"(item, index) in operateData"
:key=
"index"
class=
"operate-item"
>
<div
v-for=
"(item, index) in operateData"
:key=
"index"
class=
"operate-item"
>
<div
class=
"header"
>
<div
class=
"header"
>
<span
class=
"icon"
></span>
<span
class=
"icon"
></span>
<span
class=
"type"
>
{{
<span
class=
"type"
>
{{
item.type == 1 ? "标注分类" : "二次确认"
item.type == 1 ? "标注分类" : "二次确认"
}}
</span>
}}
</span>
<span
:class=
"['result', check_class[item.checkStatus]]"
>
{{ check_status[item.checkStatus] }}
</span>
<span
:class=
"['result', check_class[item.checkStatus]]"
>
{{
check_status[item.checkStatus]
}}
</span>
</div>
</div>
<div
:class=
"[
<div
'content',
:class=
"[
operateData.length == index + 1 ? 'last' : ''
'content',
]"
>
operateData.length == index + 1 ? 'last' : ''
]"
>
{{ item.staffName }}
<span>
{{ item.createdTime }}
</span>
{{ item.staffName }}
<span>
{{ item.createdTime }}
</span>
</div>
</div>
</div>
</div>
...
@@ -45,16 +65,16 @@
...
@@ -45,16 +65,16 @@
<
script
>
<
script
>
const
check_status
=
{
const
check_status
=
{
1
:
'通过'
,
1
:
"通过"
,
2
:
'通过'
,
2
:
"通过"
,
3
:
'驳回'
,
3
:
"驳回"
,
4
:
'驳回'
4
:
"驳回"
}
}
const
check_class
=
{
const
check_class
=
{
1
:
'green'
,
1
:
"green"
,
2
:
'green'
,
2
:
"green"
,
3
:
'red'
,
3
:
"red"
,
4
:
'red'
4
:
"red"
}
}
import
{
Util
,
deepClone
}
from
"@/common/util"
import
{
Util
,
deepClone
}
from
"@/common/util"
import
{
getRecordDetail
,
getOperateList
}
from
"@api/verbal"
import
{
getRecordDetail
,
getOperateList
}
from
"@api/verbal"
...
@@ -84,61 +104,91 @@ export default {
...
@@ -84,61 +104,91 @@ export default {
}
}
},
},
configData
()
{
configData
()
{
// 定义字段顺序模板
// 定义字段顺序模板
const
fieldOrder
=
[
const
fieldOrder
=
[
'className'
,
'scene'
,
'staffName'
,
'sceneLabelName'
,
'labelName'
,
"className"
,
'scriptTime'
,
'checkStatusName'
,
'firstChecker'
,
'updatedTime'
,
"scene"
,
'pushTime'
,
'sourceContent'
,
'polishContent'
"staffName"
,
];
"sceneLabelName"
,
"labelName"
,
"scriptTime"
,
"checkStatusName"
,
"firstChecker"
,
"updatedTime"
,
"pushTime"
,
"sourceContent"
,
"polishContent"
]
// 定义字段元数据映射
// 定义字段元数据映射
const
fieldMetadata
=
{
const
fieldMetadata
=
{
className
:
{
title
:
"分类名:"
},
className
:
{
title
:
"分类名:"
},
scene
:
{
title
:
"业务场景:"
},
scene
:
{
title
:
"业务场景:"
},
staffName
:
{
title
:
"话术来源:"
},
staffName
:
{
title
:
"话术来源:"
},
sceneLabelName
:
{
title
:
"场景标签:"
},
sceneLabelName
:
{
title
:
"场景标签:"
},
labelName
:
{
title
:
"优秀标签:"
},
labelName
:
{
title
:
"优秀标签:"
},
scriptTime
:
{
title
:
"萃取时间:"
},
scriptTime
:
{
title
:
"萃取时间:"
},
checkStatusName
:
{
checkStatusName
:
{
title
:
"状态:"
,
title
:
"状态:"
,
className
:
(
cellValue
)
=>
{
className
:
(
cellValue
)
=>
{
return
{
return
{
1
:
"yellowSpot"
,
1
:
"yellowSpot"
,
2
:
"greenSpot"
,
2
:
"greenSpot"
,
3
:
"redSpot"
,
3
:
"redSpot"
,
4
:
"redSpot"
,
4
:
"redSpot"
,
0
:
"yellowSpot"
0
:
"yellowSpot"
}[
cellValue
.
checkStatus
];
}[
cellValue
.
checkStatus
]
}
},
firstChecker
:
{
title
:
"确认人:"
},
updatedTime
:
{
title
:
"更新时间:"
},
pushTime
:
{
title
:
"推送时间:"
},
sourceContent
:
{
title
:
"原文内容:"
,
col
:
24
},
polishContent
:
{
title
:
"话术内容:"
,
col
:
24
}
}
}
},
firstChecker
:
{
title
:
"确认人:"
},
updatedTime
:
{
title
:
"更新时间:"
},
pushTime
:
{
title
:
"推送时间:"
},
sourceContent
:
{
title
:
"原文内容:"
,
col
:
24
},
polishContent
:
{
title
:
"话术内容:"
,
col
:
24
}
};
// 定义不同来源包含的字段
// 定义不同来源包含的字段
const
sourceFields
=
{
const
sourceFields
=
{
approval
:
[
approval
:
[
'className'
,
'scene'
,
'staffName'
,
'sceneLabelName'
,
'labelName'
,
"className"
,
'scriptTime'
,
'checkStatusName'
,
'firstChecker'
,
'sourceContent'
,
'polishContent'
"scene"
,
],
"staffName"
,
pushed
:
[
"sceneLabelName"
,
'className'
,
'scene'
,
'sceneLabelName'
,
'labelName'
,
"labelName"
,
'updatedTime'
,
'pushTime'
,
'sourceContent'
,
'polishContent'
"scriptTime"
,
],
"checkStatusName"
,
nopushed
:
[
"firstChecker"
,
'className'
,
'scene'
,
'sceneLabelName'
,
'labelName'
,
"sourceContent"
,
'updatedTime'
,
'sourceContent'
,
'polishContent'
"polishContent"
]
],
};
pushed
:
[
"className"
,
"scene"
,
"sceneLabelName"
,
"labelName"
,
"updatedTime"
,
"pushTime"
,
"sourceContent"
,
"polishContent"
],
nopushed
:
[
"className"
,
"scene"
,
"sceneLabelName"
,
"labelName"
,
"updatedTime"
,
"sourceContent"
,
"polishContent"
]
}
// 根据模板顺序过滤并构建配置
// 根据模板顺序过滤并构建配置
return
fieldOrder
return
fieldOrder
.
filter
(
fieldKey
=>
(
sourceFields
[
this
.
source
]
||
[]).
includes
(
fieldKey
))
.
filter
((
fieldKey
)
=>
.
map
(
fieldKey
=>
({
key
:
fieldKey
,
...
fieldMetadata
[
fieldKey
]
}));
(
sourceFields
[
this
.
source
]
||
[]).
includes
(
fieldKey
)
}
)
.
map
((
fieldKey
)
=>
({
key
:
fieldKey
,
...
fieldMetadata
[
fieldKey
]
}))
}
},
},
watch
:
{
watch
:
{
id
(
val
)
{
id
(
val
)
{
...
@@ -176,7 +226,7 @@ export default {
...
@@ -176,7 +226,7 @@ export default {
getDetail
()
{
getDetail
()
{
getRecordDetail
({
id
:
this
.
id
}).
then
((
res
)
=>
{
getRecordDetail
({
id
:
this
.
id
}).
then
((
res
)
=>
{
if
(
res
)
{
if
(
res
)
{
res
.
scene
=
res
.
scene
==
1
?
"精品"
:
"延保/权益
"
res
.
scene
=
res
.
scene
==
1
?
"精品"
:
res
.
scene
==
2
?
"权益"
:
"延保
"
// res.pushStatusName = res.pushStatus == 1 ? "已推送" : "未推送"
// res.pushStatusName = res.pushStatus == 1 ? "已推送" : "未推送"
res
.
checkStatusName
=
{
res
.
checkStatusName
=
{
1
:
"待核验"
,
1
:
"待核验"
,
...
...
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