|
@@ -46,14 +46,14 @@
|
|
</template>
|
|
</template>
|
|
<template #operation="{ record }">
|
|
<template #operation="{ record }">
|
|
<a-space>
|
|
<a-space>
|
|
- <a-button type="text" size="small" @click="handleRecharge(record)">{{
|
|
|
|
- $t('customer.recharge')
|
|
|
|
- }}
|
|
|
|
- </a-button>
|
|
|
|
- <a-button type="text" size="small" @click="handlePackageManagement(record)">{{
|
|
|
|
- $t('customer.packageManagement')
|
|
|
|
- }}
|
|
|
|
- </a-button>
|
|
|
|
|
|
+<!-- <a-button type="text" size="small" @click="handleRecharge(record)">{{-->
|
|
|
|
+<!-- $t('customer.recharge')-->
|
|
|
|
+<!-- }}-->
|
|
|
|
+<!-- </a-button>-->
|
|
|
|
+<!-- <a-button type="text" size="small" @click="handlePackageManagement(record)">{{-->
|
|
|
|
+<!-- $t('customer.packageManagement')-->
|
|
|
|
+<!-- }}-->
|
|
|
|
+<!-- </a-button>-->
|
|
<a-button type="text" size="small" @click="handleEdit(record)">{{
|
|
<a-button type="text" size="small" @click="handleEdit(record)">{{
|
|
$t('global.common.edit')
|
|
$t('global.common.edit')
|
|
}}
|
|
}}
|
|
@@ -80,19 +80,19 @@ const {t} = useI18n();
|
|
const loading = ref(false);
|
|
const loading = ref(false);
|
|
|
|
|
|
const columns = computed(() => [
|
|
const columns = computed(() => [
|
|
- {title: t('customer.id'), dataIndex: 'id'},
|
|
|
|
|
|
+ {title: t('customer.id'), dataIndex: 'id',width: 100},
|
|
// {title: t('customer.customerCode'), dataIndex: 'customerCode'},
|
|
// {title: t('customer.customerCode'), dataIndex: 'customerCode'},
|
|
- {title: t('customer.customerName'), dataIndex: 'name'},
|
|
|
|
|
|
+ {title: t('customer.customerName'), dataIndex: 'name',width: 120},
|
|
{title: t('customer.userAdmin'), dataIndex: 'username'},
|
|
{title: t('customer.userAdmin'), dataIndex: 'username'},
|
|
// {title: t('customer.accountBalance'), dataIndex: 'accountBalance'},
|
|
// {title: t('customer.accountBalance'), dataIndex: 'accountBalance'},
|
|
// {title: t('customer.paymentMethodName'), dataIndex: 'paymentMethod'},
|
|
// {title: t('customer.paymentMethodName'), dataIndex: 'paymentMethod'},
|
|
- {title: t('customer.customerStatus'), slotName: 'state'},
|
|
|
|
|
|
+ {title: t('customer.customerStatus'), slotName: 'state',width: 130},
|
|
// {title: t('customer.validPeriod'), dataIndex: 'validPeriod'},
|
|
// {title: t('customer.validPeriod'), dataIndex: 'validPeriod'},
|
|
// {title: t('customer.activeCards'), dataIndex: 'activeCards'},
|
|
// {title: t('customer.activeCards'), dataIndex: 'activeCards'},
|
|
- {title: t('customer.userTypeName'), dataIndex: 'userType'},
|
|
|
|
- {title: t('customer.startTime'), dataIndex: 'createdAt'},
|
|
|
|
- {title: t('customer.updateTime'), dataIndex: 'updatedAt'},
|
|
|
|
- // {title: t('global.common.operations'), slotName: 'operation', width: 250},
|
|
|
|
|
|
+ {title: t('customer.userTypeName'), dataIndex: 'userType',width: 100},
|
|
|
|
+ {title: t('customer.startTime'), dataIndex: 'createdAt',width: 200},
|
|
|
|
+ {title: t('customer.updateTime'), dataIndex: 'updatedAt',width: 200},
|
|
|
|
+ {title: t('global.common.operations'), slotName: 'operation', width: 150},
|
|
]);
|
|
]);
|
|
|
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|