feat: use new desc comp

This commit is contained in:
xingyu4j
2025-10-21 11:40:42 +08:00
parent 284c47b721
commit de4ca0a5a4
50 changed files with 421 additions and 586 deletions

View File

@@ -179,21 +179,21 @@ export function useDetailFormSchema(): DescriptionItemSchema[] {
{
label: '请假类型',
field: 'type',
content: (data) =>
render: (val) =>
h(DictTag, {
type: DICT_TYPE.BPM_OA_LEAVE_TYPE,
value: data?.type,
value: val,
}),
},
{
label: '开始时间',
field: 'startTime',
content: (data) => formatDateTime(data?.startTime) as string,
render: (val) => formatDateTime(val) as string,
},
{
label: '结束时间',
field: 'endTime',
content: (data) => formatDateTime(data?.endTime) as string,
render: (val) => formatDateTime(val) as string,
},
{
label: '原因',