pass-time-label to time-label

This commit is contained in:
Timi
2026-10-21 00:26:45 +08:00
parent db0431fbd5
commit 60bbe90160
24 changed files with 53 additions and 53 deletions
+3 -3
View File
@@ -66,7 +66,7 @@
<t-cell v-if="record.earnedPointValue !== undefined && record.earnedPointValue !== null" title="本次积分变化" :note="getPointValueText(record.earnedPointValue, pointLedgerChangeType)" />
<t-cell title="登记时间">
<template #note>
<pass-time-label :timestamp="record.registeredAt" underline />
<time-label :timestamp="record.registeredAt" underline />
</template>
</t-cell>
<t-cell title="登记人" :note="Text.display(record.operator?.nick || record.operator?.name)" />
@@ -82,7 +82,7 @@
<t-cell v-if="record.verificationStatus === 'VERIFIED'" title="核销人" :note="Text.display(record.verifier?.nick || record.verifier?.name)" />
<t-cell v-if="record.verificationStatus === 'VERIFIED'" title="核销时间">
<template #note>
<pass-time-label :timestamp="record.verifiedAt" underline />
<time-label :timestamp="record.verifiedAt" underline />
</template>
</t-cell>
</t-cell-group>
@@ -143,7 +143,7 @@
<script setup lang="ts">
import { DialogPlugin } from "tdesign-mobile-vue";
import { PassTimeLabel, Text } from "timi-web";
import { TimeLabel, Text } from "timi-web";
import { useUserStore, type Attachment } from "timi-web-api";
import EventRecordAPI from "@/api/EventRecordAPI";
import CustomerProfileCard from "@/components/CustomerProfileCard.vue";