fix:历史账单界面按钮添加
This commit is contained in:
@@ -3,6 +3,11 @@ import { ref, h } from 'vue'
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import type { TableColumnsType } from 'ant-design-vue'
|
||||
import { Tag as ATag, Table as ATable } from 'ant-design-vue'
|
||||
import { useRouter } from 'vue-router';
|
||||
const router = useRouter();
|
||||
const handleBack = () => {
|
||||
router.push('/billing/billservice');
|
||||
};
|
||||
|
||||
const { t } = useI18n();
|
||||
interface BillDetail {
|
||||
@@ -154,7 +159,12 @@ const columns: TableColumnsType = [
|
||||
|
||||
<template>
|
||||
<div class="p-4">
|
||||
<div class="text-lg font-bold mb-4">{{ t('page.histories.Historicalbilling') }}</div>
|
||||
<div class="text-lg font-bold mb-4 flex justify-between items-center">
|
||||
<span>{{ t('page.histories.Historicalbilling') }}</span>
|
||||
<a-button @click="handleBack">
|
||||
{{ t('page.login.common.back') }}
|
||||
</a-button>
|
||||
</div>
|
||||
<ATable
|
||||
:columns="columns"
|
||||
:data-source="billData"
|
||||
|
||||
Reference in New Issue
Block a user