Commit fefcf818 by 胡悦

Merge branch 'SAAS+V4.54.0' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V4.54.0

2 parents 8b7b9046 12114830
......@@ -26,38 +26,43 @@
<view class="text flex">{{item.content}}</view>
</view>
<!-- 意图匹配 -->
<block v-if="item.recordingCheckResult">
<view :class="['detail-box',item.detailClassName]">
<view class="text-box">
<view
class="btn"
@click="changeDetailClassName(item)"
>
意图匹配
<view class="arrow sprite-icon icon-suggestions-arrow"></view>
</view>
{{item.tagGroupName}}
<view class="score">{{item.score}}分</view>
</view>
<view class="content-box">
<block v-if="!item.scriptRec">
<view class="suggestions-box no">
暂无建议
<block v-if="item.recordingCheckResultList && item.recordingCheckResultList.length">
<template v-for="(i, ind) in item.recordingCheckResultList">
<view
:class="['detail-box',i.detailClassName]"
:key="`${index}_${ind}`"
>
<view class="text-box">
<view
class="btn"
@click="changeDetailClassName(i)"
>
意图匹配
<view class="arrow sprite-icon icon-suggestions-arrow"></view>
</view>
</block>
<block v-else>
<view class="suggestions-box">
<view class="title">
<view class="sprite-icon icon-suggestions-icon"></view>
话术建议
{{i.tagGroupName}}
<view class="score">{{i.score}}分</view>
</view>
<view class="content-box">
<block v-if="!i.scriptRec">
<view class="suggestions-box no">
暂无建议
</view>
<view class="text">
<rich-text :nodes="item.scriptRec"></rich-text>
</block>
<block v-else>
<view class="suggestions-box">
<view class="title">
<view class="sprite-icon icon-suggestions-icon"></view>
话术建议
</view>
<view class="text">
<rich-text :nodes="i.scriptRec"></rich-text>
</view>
</view>
</view>
</block>
</block>
</view>
</view>
</view>
</template>
</block>
</block>
<view class="safeAreaInset">到底了!</view>
......@@ -189,14 +194,14 @@ export default {
res.map(e => {
e.time = this.formatTime(e.mergedOffset)
e.text_id = `text_${e.mergedOffset}`
if (e?.recordingCheckResult) {
e.detailClassName = 'down'
if (e.recordingCheckResult.scriptRec) {
let [scriptRec] = JSON.parse(e.recordingCheckResult.scriptRec)
e.scriptRec = scriptRec.replace(/\n/g, '<br>')
}
e.tagGroupName = e.recordingCheckResult.tagGroupName
e.score = e.recordingCheckResult.score
if (e?.recordingCheckResultList && e.recordingCheckResultList.length) {
e.recordingCheckResultList.map(i => {
i.detailClassName = 'down'
if (i.scriptRec) {
let [scriptRec] = JSON.parse(i.scriptRec)
i.scriptRec = scriptRec.replace(/\n/g, '<br>')
}
})
}
})
this.dialogueList = res
......
......@@ -17,7 +17,7 @@
<view class="reception-content-box flex">
<view class="reception-left-box">
<view class="customer-info">
<view class="name flex">{{pageData.customerName}}<view class="phone">{{pageData.phoneNumber}}</view>
<view class="name flex">{{pageData.customerName}}<view class="phone">{{desensitizePhoneNumber(pageData.phoneNumber)}}</view>
</view>
<view class="brand-box flex">
<view class="brand flex">{{pageData.carModel}}</view>
......@@ -261,6 +261,9 @@ export default {
}]
})
this.qualityData = res
},
desensitizePhoneNumber(phoneNumber){
return phoneNumber.replace(phoneNumber.slice(3,7),'****')
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!