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 @@ ...@@ -26,38 +26,43 @@
<view class="text flex">{{item.content}}</view> <view class="text flex">{{item.content}}</view>
</view> </view>
<!-- 意图匹配 --> <!-- 意图匹配 -->
<block v-if="item.recordingCheckResult"> <block v-if="item.recordingCheckResultList && item.recordingCheckResultList.length">
<view :class="['detail-box',item.detailClassName]"> <template v-for="(i, ind) in item.recordingCheckResultList">
<view class="text-box"> <view
<view :class="['detail-box',i.detailClassName]"
class="btn" :key="`${index}_${ind}`"
@click="changeDetailClassName(item)" >
> <view class="text-box">
意图匹配 <view
<view class="arrow sprite-icon icon-suggestions-arrow"></view> class="btn"
</view> @click="changeDetailClassName(i)"
{{item.tagGroupName}} >
<view class="score">{{item.score}}分</view> 意图匹配
</view> <view class="arrow sprite-icon icon-suggestions-arrow"></view>
<view class="content-box">
<block v-if="!item.scriptRec">
<view class="suggestions-box no">
暂无建议
</view> </view>
</block> {{i.tagGroupName}}
<block v-else> <view class="score">{{i.score}}分</view>
<view class="suggestions-box"> </view>
<view class="title"> <view class="content-box">
<view class="sprite-icon icon-suggestions-icon"></view> <block v-if="!i.scriptRec">
话术建议 <view class="suggestions-box no">
暂无建议
</view> </view>
<view class="text"> </block>
<rich-text :nodes="item.scriptRec"></rich-text> <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>
</view> </block>
</block> </view>
</view> </view>
</view> </template>
</block> </block>
</block> </block>
<view class="safeAreaInset">到底了!</view> <view class="safeAreaInset">到底了!</view>
...@@ -189,14 +194,14 @@ export default { ...@@ -189,14 +194,14 @@ export default {
res.map(e => { res.map(e => {
e.time = this.formatTime(e.mergedOffset) e.time = this.formatTime(e.mergedOffset)
e.text_id = `text_${e.mergedOffset}` e.text_id = `text_${e.mergedOffset}`
if (e?.recordingCheckResult) { if (e?.recordingCheckResultList && e.recordingCheckResultList.length) {
e.detailClassName = 'down' e.recordingCheckResultList.map(i => {
if (e.recordingCheckResult.scriptRec) { i.detailClassName = 'down'
let [scriptRec] = JSON.parse(e.recordingCheckResult.scriptRec) if (i.scriptRec) {
e.scriptRec = scriptRec.replace(/\n/g, '<br>') let [scriptRec] = JSON.parse(i.scriptRec)
} i.scriptRec = scriptRec.replace(/\n/g, '<br>')
e.tagGroupName = e.recordingCheckResult.tagGroupName }
e.score = e.recordingCheckResult.score })
} }
}) })
this.dialogueList = res this.dialogueList = res
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<view class="reception-content-box flex"> <view class="reception-content-box flex">
<view class="reception-left-box"> <view class="reception-left-box">
<view class="customer-info"> <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>
<view class="brand-box flex"> <view class="brand-box flex">
<view class="brand flex">{{pageData.carModel}}</view> <view class="brand flex">{{pageData.carModel}}</view>
...@@ -261,6 +261,9 @@ export default { ...@@ -261,6 +261,9 @@ export default {
}] }]
}) })
this.qualityData = res 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!