reactor:统一 Description 命名为 Descriptions
This commit is contained in:
@@ -12,7 +12,7 @@ defineProps<{
|
||||
contract: CrmContractApi.Contract; // 合同信息
|
||||
}>();
|
||||
|
||||
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="contract" />
|
||||
<BaseDescriptions :data="contract" />
|
||||
<Divider />
|
||||
<SystemDescription :data="contract" />
|
||||
<SystemDescriptions :data="contract" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -45,7 +45,7 @@ const validateOwnerUser = computed(
|
||||
);
|
||||
const validateWrite = computed(() => permissionListRef.value?.validateWrite);
|
||||
|
||||
const [Description] = useDescription({
|
||||
const [Descriptions] = useDescription({
|
||||
componentProps: {
|
||||
bordered: false,
|
||||
column: 4,
|
||||
@@ -125,7 +125,7 @@ onMounted(() => {
|
||||
</div>
|
||||
</template>
|
||||
<Card class="min-h-[10%]">
|
||||
<Description :data="contract" />
|
||||
<Descriptions :data="contract" />
|
||||
</Card>
|
||||
<Card class="mt-4 min-h-[60%]">
|
||||
<Tabs>
|
||||
|
||||
Reference in New Issue
Block a user