feat: vxe tree table

This commit is contained in:
xingyu4j
2022-11-04 10:54:52 +08:00
parent eb5870f35e
commit 1c1cafdc7f
3 changed files with 235 additions and 429 deletions

View File

@ -131,8 +131,6 @@ const submitForm: VxeFormEvents.Submit = async () => {
min-height="320"
show-zoom
resize
remember
storage
transfer
show-footer
>
@ -144,7 +142,6 @@ const submitForm: VxeFormEvents.Submit = async () => {
:data="formData"
:items="formItems"
:rules="rules"
@submit="submitForm"
/>
<Descriptions
v-if="actionType === 'detail'"
@ -159,5 +156,15 @@ const submitForm: VxeFormEvents.Submit = async () => {
</template>
</Descriptions>
</template>
<template #footer>
<vxe-button
v-if="['create', 'update'].includes(actionType)"
status="primary"
@click="submitForm"
>
{{ t('action.save') }}
</vxe-button>
<vxe-button @click="dialogVisible = false">{{ t('dialog.close') }}</vxe-button>
</template>
</vxe-modal>
</template>