增加voiceId 显示

main
guofei 2024-12-04 15:21:33 +08:00
parent 076a71a240
commit da684dbb46
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@
<audio controls class="w-full" :src="row.url" @play="handleAudioPlay"></audio> <audio controls class="w-full" :src="row.url" @play="handleAudioPlay"></audio>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="speakerId" label="voiceId" width="120"> </el-table-column>
<el-table-column prop="status" label="状态"> <el-table-column prop="status" label="状态">
<template #default="{ row }"> <template #default="{ row }">
<el-tag :type="getStatusType(row.status)">{{ getStatusText(row.status) }}</el-tag> <el-tag :type="getStatusType(row.status)">{{ getStatusText(row.status) }}</el-tag>
@ -77,6 +78,7 @@ const fetchHistory = async () => {
status: item.status, status: item.status,
attempts: item.attempts, attempts: item.attempts,
createdAt: item.createdAt, createdAt: item.createdAt,
speakerId: item.speakerId,
})); }));
} catch (error) { } catch (error) {
console.error(error); console.error(error);