|
@ -14,6 +14,7 @@ |
|
|
:tableFields="tableAllSchemas.tableFormColumns" |
|
|
:tableFields="tableAllSchemas.tableFormColumns" |
|
|
:tableData="tableData" |
|
|
:tableData="tableData" |
|
|
:tableFormRules="tableFormRules" |
|
|
:tableFormRules="tableFormRules" |
|
|
|
|
|
:isShowButton="isShowButton" |
|
|
@handleAddTable="handleAddTable" |
|
|
@handleAddTable="handleAddTable" |
|
|
@handleDeleteTable="handleDeleteTable" |
|
|
@handleDeleteTable="handleDeleteTable" |
|
|
@tableSelectionChange="tableSelectionChange" |
|
|
@tableSelectionChange="tableSelectionChange" |
|
@ -37,6 +38,11 @@ import ButtonBase from '@/components/XButton/src/ButtonBase.vue' |
|
|
import TableForm from '@/components/TableForm/src/TableForm.vue' |
|
|
import TableForm from '@/components/TableForm/src/TableForm.vue' |
|
|
|
|
|
|
|
|
const props = defineProps({ |
|
|
const props = defineProps({ |
|
|
|
|
|
// 是否显示TableForm 新增/删除按钮 |
|
|
|
|
|
isShowButton: { |
|
|
|
|
|
type: Boolean, |
|
|
|
|
|
default: true, |
|
|
|
|
|
}, |
|
|
// 校验rules |
|
|
// 校验rules |
|
|
rules: { |
|
|
rules: { |
|
|
type: Object, |
|
|
type: Object, |
|
|