feat: 部门管理

This commit is contained in:
kailong321200875
2023-08-05 14:13:42 +08:00
parent 5fc57bdb08
commit 28d0785be8
17 changed files with 655 additions and 60 deletions

View File

@@ -0,0 +1,20 @@
<script setup lang="ts">
import { PropType } from 'vue'
import type { TableData } from '@/api/table/types'
import { Descriptions, DescriptionsSchema } from '@/components/Descriptions'
defineProps({
currentRow: {
type: Object as PropType<Nullable<TableData>>,
default: () => null
},
detailSchema: {
type: Array as PropType<DescriptionsSchema[]>,
default: () => []
}
})
</script>
<template>
<Descriptions :schema="detailSchema" :data="currentRow || {}" />
</template>