解决服务指令去除周期类型引发的报错

This commit is contained in:
1378012178@qq.com 2026-01-21 15:06:26 +08:00
parent 73da2ab255
commit aebb368cc6
1 changed files with 7 additions and 5 deletions

View File

@ -22,7 +22,7 @@
</video>
</template>
<template v-else>
<span>{{ record[column.dataIndex] || '-' }}</span>
<span>{{ record[column.dataIndex] != null ? record[column.dataIndex] : '-' }}</span>
</template>
</template>
<!-- 新数据 -->
@ -41,7 +41,7 @@
</video>
</template>
<template v-else>
<span>{{ record[column.dataIndex] || '-' }}</span>
<span>{{ record[column.dataIndex] != null ? record[column.dataIndex] : '-' }}</span>
</template>
</template>
</template>
@ -71,9 +71,9 @@ const fieldLabels: Record<string, string> = {
directiveName: '服务指令',
tollPrice: '收费价格(元)',
comPrice: '提成价格(元)',
cycleType_dictText: '',
serviceContent: '服务说明',
serviceDuration: '服务时长(分钟)',
timeoutDuration: '超时时长(分钟)',
mp3File: '语音文件',
mp4File: '视频文件',
previewFile: '预览图片(大)',
@ -88,10 +88,10 @@ const displayFields = [
'categoryName',
'typeName',
'directiveName',
'cycleType_dictText',
'tollPrice',
'comPrice',
'serviceDuration',
'timeoutDuration',
'previewFile',
'previewFileSmall',
'mp3File',
@ -124,7 +124,9 @@ const columns = computed(() => [
ellipsis: false
}
]);
setTimeout(()=>{
console.log("🌊 ~ tableData:", tableData)
},3000)
//
const tableData = computed(() => {
return displayFields.map(field => {