Commit 524fb43e by caoyanzhi

update: 话术管理

parent e800b87a
......@@ -41,7 +41,7 @@
<div v-if="!Array.isArray(el.decisionItemRecordDTOList) || el.decisionItemRecordDTOList.length == 0" class="no-temp-data">暂无录音</div>
<template v-else>
<div v-for="item in el.decisionItemRecordDTOList" :key="item.id" class="sound-record">
<div class="temp-detail-desc">{{ item.knowledge }}</div>
<div class="temp-detail-desc">{{ item.knowledge || '--' }}</div>
<template v-if="item.realKnowledgeOssUrl">
<el-button type="text" @click="onPlay(item, `player-${el.decisionId}-${item.id}`)" :loading="item.playing">{{ item.playing ? '播放中...' : '播放' }}</el-button>
<audio :id="`player-${el.decisionId}-${item.id}`" :src="item.ttsKnowledgeOssUrl"></audio>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment