解决服务指令去除周期类型引发的报错
This commit is contained in:
parent
73da2ab255
commit
aebb368cc6
|
|
@ -22,7 +22,7 @@
|
||||||
</video>
|
</video>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<span>{{ record[column.dataIndex] || '-' }}</span>
|
<span>{{ record[column.dataIndex] != null ? record[column.dataIndex] : '-' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
<!-- 新数据 -->
|
<!-- 新数据 -->
|
||||||
|
|
@ -41,7 +41,7 @@
|
||||||
</video>
|
</video>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<span>{{ record[column.dataIndex] || '-' }}</span>
|
<span>{{ record[column.dataIndex] != null ? record[column.dataIndex] : '-' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -71,9 +71,9 @@ const fieldLabels: Record<string, string> = {
|
||||||
directiveName: '服务指令',
|
directiveName: '服务指令',
|
||||||
tollPrice: '收费价格(元)',
|
tollPrice: '收费价格(元)',
|
||||||
comPrice: '提成价格(元)',
|
comPrice: '提成价格(元)',
|
||||||
cycleType_dictText: '',
|
|
||||||
serviceContent: '服务说明',
|
serviceContent: '服务说明',
|
||||||
serviceDuration: '服务时长(分钟)',
|
serviceDuration: '服务时长(分钟)',
|
||||||
|
timeoutDuration: '超时时长(分钟)',
|
||||||
mp3File: '语音文件',
|
mp3File: '语音文件',
|
||||||
mp4File: '视频文件',
|
mp4File: '视频文件',
|
||||||
previewFile: '预览图片(大)',
|
previewFile: '预览图片(大)',
|
||||||
|
|
@ -88,10 +88,10 @@ const displayFields = [
|
||||||
'categoryName',
|
'categoryName',
|
||||||
'typeName',
|
'typeName',
|
||||||
'directiveName',
|
'directiveName',
|
||||||
'cycleType_dictText',
|
|
||||||
'tollPrice',
|
'tollPrice',
|
||||||
'comPrice',
|
'comPrice',
|
||||||
'serviceDuration',
|
'serviceDuration',
|
||||||
|
'timeoutDuration',
|
||||||
'previewFile',
|
'previewFile',
|
||||||
'previewFileSmall',
|
'previewFileSmall',
|
||||||
'mp3File',
|
'mp3File',
|
||||||
|
|
@ -124,7 +124,9 @@ const columns = computed(() => [
|
||||||
ellipsis: false
|
ellipsis: false
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
setTimeout(()=>{
|
||||||
|
console.log("🌊 ~ tableData:", tableData)
|
||||||
|
},3000)
|
||||||
// 表格数据
|
// 表格数据
|
||||||
const tableData = computed(() => {
|
const tableData = computed(() => {
|
||||||
return displayFields.map(field => {
|
return displayFields.map(field => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue