feat(calls): callStatusLabel channel-aware + callTypeLabel WA + 补 WA/微信语音字段 label
call_status 极性随 channel 不同(phone 0未接/2接通;voice/WA 1接通/2未接通), 仅值 2 按 channel 分支。 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -160,7 +160,7 @@ onMounted(load)
|
||||
<template v-if="callType === 'voice_call'">
|
||||
<el-table-column label="通话信息" min-width="150">
|
||||
<template #default="{ row }">
|
||||
<div>通话状态:{{ callStatusLabel(row.call_status) }}</div>
|
||||
<div>通话状态:{{ callStatusLabel(row.call_status, row.channel) }}</div>
|
||||
<div class="yk-cell__sub">类型:{{ callTypeLabel(row.channel) }}</div>
|
||||
<div class="yk-cell__sub">来源:{{ cell(row, 'from') || '--' }}</div>
|
||||
</template>
|
||||
@@ -196,7 +196,7 @@ onMounted(load)
|
||||
<template v-if="callType === 'wa_voice_call'">
|
||||
<el-table-column label="状态" width="160">
|
||||
<template #default="{ row }">
|
||||
<div>{{ callStatusLabel(row.call_status) }}</div>
|
||||
<div>{{ callStatusLabel(row.call_status, row.channel) }}</div>
|
||||
<div class="yk-cell__sub">时长 {{ formatCallDuration(row.call_duration) }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -246,7 +246,7 @@ onMounted(load)
|
||||
<template #default="{ row }">{{ formatCallDuration(row.call_duration) }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="状态" width="90">
|
||||
<template #default="{ row }">{{ callStatusLabel(row.call_status) }}</template>
|
||||
<template #default="{ row }">{{ callStatusLabel(row.call_status, row.channel) }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="录音" width="100" align="center">
|
||||
<template #default="{ row }">
|
||||
|
||||
Reference in New Issue
Block a user