解决服务指令去除周期类型引发的报错
This commit is contained in:
parent
73da2ab255
commit
aebb368cc6
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue