gaoluyang
14 小时以前 cb9cd49627b65a4c0e137e08063271a8cefe1826
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<script lang="ts" setup>
import type { CrmBusinessApi } from '#/api/crm/business';
 
import { Divider } from 'ant-design-vue';
 
import { useDescription } from '#/components/description';
import { useFollowUpDetailSchema } from '#/views/crm/followup/data';
 
import { useDetailBaseSchema } from '../data';
 
defineProps<{
  business: CrmBusinessApi.Business; // 商机信息
}>();
 
const [BaseDescription] = useDescription({
  title: '基本信息',
  bordered: false,
  column: 4,
  class: 'mx-4',
  schema: useDetailBaseSchema(),
});
 
const [SystemDescription] = useDescription({
  title: '系统信息',
  bordered: false,
  column: 3,
  class: 'mx-4',
  schema: useFollowUpDetailSchema(),
});
</script>
 
<template>
  <div>
    <BaseDescription :data="business" />
    <Divider />
    <SystemDescription :data="business" />
  </div>
</template>