reactor:统一 Description 命名为 Descriptions
This commit is contained in:
@@ -12,7 +12,7 @@ defineProps<{
|
||||
business: CrmBusinessApi.Business; // 商机信息
|
||||
}>();
|
||||
|
||||
const [BaseDescription] = useDescription({
|
||||
const [BaseDescriptions] = useDescription({
|
||||
componentProps: {
|
||||
title: '基本信息',
|
||||
bordered: false,
|
||||
@@ -22,7 +22,7 @@ const [BaseDescription] = useDescription({
|
||||
schema: useDetailBaseSchema(),
|
||||
});
|
||||
|
||||
const [SystemDescription] = useDescription({
|
||||
const [SystemDescriptions] = useDescription({
|
||||
componentProps: {
|
||||
title: '系统信息',
|
||||
bordered: false,
|
||||
@@ -35,8 +35,8 @@ const [SystemDescription] = useDescription({
|
||||
|
||||
<template>
|
||||
<div class="p-4">
|
||||
<BaseDescription :data="business" />
|
||||
<BaseDescriptions :data="business" />
|
||||
<Divider />
|
||||
<SystemDescription :data="business" />
|
||||
<SystemDescriptions :data="business" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -40,7 +40,7 @@ const business = ref<CrmBusinessApi.Business>({} as CrmBusinessApi.Business);
|
||||
const businessLogList = ref<SystemOperateLogApi.OperateLog[]>([]);
|
||||
const permissionListRef = ref<InstanceType<typeof PermissionList>>(); // 团队成员列表 Ref
|
||||
|
||||
const [Description] = useDescription({
|
||||
const [Descriptions] = useDescription({
|
||||
componentProps: {
|
||||
bordered: false,
|
||||
column: 4,
|
||||
@@ -134,7 +134,7 @@ onMounted(() => {
|
||||
</div>
|
||||
</template>
|
||||
<Card class="min-h-[10%]">
|
||||
<Description :data="business" />
|
||||
<Descriptions :data="business" />
|
||||
</Card>
|
||||
<Card class="mt-4 min-h-[60%]">
|
||||
<Tabs>
|
||||
|
||||
Reference in New Issue
Block a user