feat: 字典标签支持取默认数据项
This commit is contained in:
@@ -85,9 +85,9 @@ onMounted(() => {
|
||||
<div class="card-cdr-item">
|
||||
<div>
|
||||
{{ t('views.dashboard.overview.userActivity.caller') }}:
|
||||
<span :title="item.data.callerParty">{{
|
||||
item.data.callerParty
|
||||
}}</span>
|
||||
<span :title="item.data.callerParty">
|
||||
{{ item.data.callerParty }}
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
{{ t('views.dashboard.overview.userActivity.called') }}:
|
||||
@@ -104,7 +104,7 @@ onMounted(() => {
|
||||
<div>
|
||||
{{ t('views.dashboard.overview.userActivity.result') }}:
|
||||
<span v-if="item.data.callType !== 'sms'">
|
||||
<DictTag :options="dict.cdrSipCode" :value="item.data.cause" />
|
||||
<DictTag :options="dict.cdrSipCode" :value="item.data.cause" value-option="0" />
|
||||
</span>
|
||||
<span v-else>
|
||||
{{ t('views.dashboard.overview.userActivity.resultOK') }}
|
||||
|
||||
Reference in New Issue
Block a user