refactor: Descriptions

This commit is contained in:
xingyu4j
2022-11-15 17:05:05 +08:00
parent cbd2815c8e
commit 70b8dcb174
24 changed files with 26 additions and 184 deletions

View File

@ -78,12 +78,6 @@ getList()
<XModal v-model="dialogVisible" :title="dialogTitle">
<!-- 对话框(详情) -->
<Descriptions :schema="allSchemas.detailSchema" :data="detailRef">
<template #userType="{ row }">
<DictTag :type="DICT_TYPE.USER_TYPE" :value="row.userType" />
</template>
<template #beginTime="{ row }">
<span>{{ dayjs(row.beginTime).format('YYYY-MM-DD HH:mm:ss') }}</span>
</template>
<template #duration="{ row }">
<span>{{ row.duration + 'ms' }}</span>
</template>