|
|
@ -169,7 +169,8 @@ |
|
|
|
width="80" |
|
|
|
label="音频"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<img class="img-voice" |
|
|
|
<img @click="handleShowVoice(scope.row.voiceList[0])" |
|
|
|
class="img-voice" |
|
|
|
v-if="scope.row.voiceList&&scope.row.voiceList.length>0" |
|
|
|
src="@/assets/img/icon-voice.png" /> |
|
|
|
|
|
|
@ -261,7 +262,7 @@ |
|
|
|
@click="handleWatch(scope.row)" |
|
|
|
type="text" |
|
|
|
size="small">查看</el-button> |
|
|
|
<!-- ="scope.row.status==='closed_case' && scope.row.satisfactionName" --> |
|
|
|
|
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
@ -290,6 +291,30 @@ |
|
|
|
@dialogOk="handleEditSuccess" /> |
|
|
|
</div> |
|
|
|
|
|
|
|
<el-dialog :title="'播放语音'" |
|
|
|
:visible.sync="showVoice" |
|
|
|
width="40%" |
|
|
|
top="5vh" |
|
|
|
append-to-body |
|
|
|
class="dialog-h" |
|
|
|
:close-on-click-modal="false"> |
|
|
|
<div class="dialog-h-content scroll-h"> |
|
|
|
<div style="display:flex;justify-content:center;margin:50px"> |
|
|
|
|
|
|
|
<audio controls> |
|
|
|
<source :src="selVoiceUrl" |
|
|
|
type="" /> |
|
|
|
</audio> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="resi-btns"> |
|
|
|
<el-button size="small" |
|
|
|
@click="showVoice=false">取消</el-button> |
|
|
|
|
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
@ -384,7 +409,8 @@ export default { |
|
|
|
eventDetailData: {}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
showVoice: false, |
|
|
|
selVoiceUrl: '', |
|
|
|
}; |
|
|
|
}, |
|
|
|
computed: { |
|
|
@ -518,6 +544,11 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
//显示语音窗口 |
|
|
|
handleShowVoice (url) { |
|
|
|
this.selVoiceUrl = url |
|
|
|
this.showVoice = true |
|
|
|
}, |
|
|
|
|
|
|
|
handleClose () { |
|
|
|
this.pageType = "list"; |
|
|
|