|
@@ -27,6 +27,9 @@
|
|
|
<template v-if="column.dataIndex === 'generateType'">
|
|
|
{{ generateTypeFilter(record.generateType) }}
|
|
|
</template>
|
|
|
+ <template v-if="column.dataIndex === 'formMode'">
|
|
|
+ {{ formModeFilter(record.formMode) }}
|
|
|
+ </template>
|
|
|
<template v-if="column.dataIndex === 'action'">
|
|
|
<a @click="genPreviewRef.onOpen(record)">预览</a>
|
|
|
<a-divider type="vertical" />
|
|
@@ -96,6 +99,11 @@
|
|
|
ellipsis: true
|
|
|
},
|
|
|
{
|
|
|
+ title: '表单模式',
|
|
|
+ dataIndex: 'formMode',
|
|
|
+ ellipsis: true
|
|
|
+ },
|
|
|
+ {
|
|
|
title: '操作',
|
|
|
dataIndex: 'action',
|
|
|
align: 'center',
|
|
@@ -136,6 +144,19 @@
|
|
|
]
|
|
|
return array.find((f) => f.value === text).label
|
|
|
}
|
|
|
+ const formModeFilter = (text) => {
|
|
|
+ const array = [
|
|
|
+ {
|
|
|
+ label: '弹窗',
|
|
|
+ value: 'dialog'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '内嵌',
|
|
|
+ value: 'inside'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ return array.find((f) => f.value === text)?.label || text
|
|
|
+ }
|
|
|
const tablePrefixFilter = (text) => {
|
|
|
const array = [
|
|
|
{
|