fix tel no underline color
This commit is contained in:
@@ -31,7 +31,6 @@ function handleClick(event: MouseEvent): void {
|
||||
|
||||
<style scoped lang="less">
|
||||
.telephone-link {
|
||||
color: inherit;
|
||||
word-break: break-all;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -114,6 +114,14 @@ const isLoading = ref(false);
|
||||
const hasEventNumberValue = computed(() => eventRecord.value?.numberValue !== undefined && eventRecord.value?.numberValue !== null);
|
||||
const hasSubmittedPointValue = computed(() => eventRecord.value?.pointValue !== undefined && eventRecord.value?.pointValue !== null);
|
||||
const hasEarnedPointValue = computed(() => eventRecord.value?.earnedPointValue !== undefined && eventRecord.value?.earnedPointValue !== null);
|
||||
const isDeletedEventRevoke = computed(() => isDeletedEventRevokeLedger(ledger.value));
|
||||
|
||||
function isDeletedEventRevokeLedger(value?: PointLedger): boolean {
|
||||
const idempotencyKey = value?.idempotencyKey || "";
|
||||
return value?.changeType === "REVOKE"
|
||||
&& idempotencyKey.startsWith("GAO_EVENT_RECORD:")
|
||||
&& idempotencyKey.endsWith(":REVOKE");
|
||||
}
|
||||
|
||||
function getQueryText(key: string): string {
|
||||
const value = route.query[key];
|
||||
@@ -163,7 +171,7 @@ async function loadPageData(): Promise<void> {
|
||||
|
||||
isLoading.value = true;
|
||||
try {
|
||||
if (ledger.value.eventRecordId && canReadEventRecord.value) {
|
||||
if (ledger.value.eventRecordId && canReadEventRecord.value && !isDeletedEventRevoke.value) {
|
||||
eventRecord.value = await loadOptional(() => EventRecordAPI.detail(ledger.value!.eventRecordId!), "积分流水关联事件记录加载失败");
|
||||
}
|
||||
|
||||
@@ -313,6 +321,9 @@ function getRecordEmptyText(): string {
|
||||
if (ledger.value?.changeType === "ADJUST") {
|
||||
return "该流水为人工调整,未关联事件记录";
|
||||
}
|
||||
if (isDeletedEventRevoke.value) {
|
||||
return "该流水由删除登记记录触发,关联事件记录已删除";
|
||||
}
|
||||
return canReadEventRecord.value ? "未找到事件记录" : "暂无事件记录查看权限";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user