提交 6e239183 authored 作者: matian's avatar matian

updates

上级 e0eb7d01
......@@ -18,7 +18,7 @@ const listOptions = $computed(() => {
{ label: '通话时间', prop: 'start_time' },
{ label: '时长', prop: 'call_duration' },
{ label: '作息', prop: 'agent_user_id_name' },
{ label: '录音', prop: 'record_download_uri' }
{ label: '录音', prop: 'record_download_uri', slots: 'record_download_uri', width: 300 }
],
data: zwsInfo.value.call_logs
}
......@@ -112,7 +112,14 @@ const handleView = () => {
</el-descriptions>
</AppCard>
<AppCard title="沟通信息">
<AppList v-bind="listOptions" ref="appList"></AppList>
<AppList v-bind="listOptions" ref="appList" style="overflow-x: auto">
<template #record_download_uri="{ row }">
<audio controls>
<source :src="row.record_download_uri" type="audio/mpeg" />
<embed :src="row.record_download_uri" />
</audio>
</template>
</AppList>
</AppCard>
<AppCard title="申请资料">
<el-button type="primary" @click="handleView" v-if="zwsInfo.profile !== null">点击查看</el-button>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论