feat(custom): \!
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-05 20:29:06 +08:00
parent 25c836c008
commit 57ff4e3cb1
3 changed files with 26 additions and 22 deletions

View File

@@ -242,10 +242,14 @@ const columns = ref([
render: (row) => h('span', `${row.price}元`),
},
{
title: '积分抵扣',
title: '抵扣后价格(元)',
key: 'discount_price',
align: 'center',
},
{
title: '积分抵扣',
key: 'exchange',
align: 'center',
slot: 'discount_price',
render: (row) => h('span', `${row.discount_price}`),
},
{
title: '支付方式',

View File

@@ -4,12 +4,12 @@
<n-col :span="24">
<div flex>
<n-card w-500>
<n-statistic label="订单流水(积分" tabular-nums>
<n-statistic label="订单流水(" tabular-nums>
<n-number-animation :from="0" :to="cardData.total" />
</n-statistic>
</n-card>
<n-card ml-10 w-500>
<n-statistic label="订单服务费(积分" tabular-nums>
<n-statistic label="订单服务费(" tabular-nums>
<n-number-animation :from="0" :to="cardData.service" />
</n-statistic>
</n-card>
@@ -139,13 +139,13 @@ const getList = async () => {
key: 'oid',
align: 'center',
},
// {
// title: '用户名称',
// key: 'user_name',
// align: 'center',
// },
{
title: '用户名称',
key: 'user_name',
align: 'center',
},
{
title: '上次留存积分',
title: '上次留存余额',
key: 'balance',
align: 'center',
},
@@ -155,13 +155,13 @@ const getList = async () => {
align: 'center',
},
{
title: '获取积分',
title: '获取余额',
key: 'number',
align: 'center',
},
{
title: '时间',
key: 'record_time',
key: 'add_time',
align: 'center',
},
]
@@ -174,18 +174,18 @@ const getList = async () => {
align: 'center',
},
{
title: '上次留存积分',
title: '上次留存余额',
key: 'balance',
align: 'center',
},
{
title: '扣除积分',
title: '扣除余额',
key: 'record_number',
align: 'center',
},
{
title: '时间',
key: 'record_time',
key: 'add_time',
align: 'center',
},
]
@@ -198,18 +198,18 @@ const getList = async () => {
align: 'center',
},
{
title: '上次留存积分',
title: '上次留存余额',
key: 'balance',
align: 'center',
},
{
title: '获取积分',
title: '获取余额',
key: 'record_number',
align: 'center',
},
{
title: '时间',
key: 'record_time',
key: 'add_time',
align: 'center',
},
]

View File

@@ -1,12 +1,12 @@
const Layout = () => import('@/layout/index.vue')
export default {
name: '积分管理',
name: '余额管理',
path: '/settlement',
component: Layout,
redirect: 'jf_list',
meta: {
title: '积分管理',
title: '余额管理',
icon: 'mdi:account-multiple',
order: 10,
},
@@ -16,7 +16,7 @@ export default {
path: 'jf_list',
component: () => import('./jf_list/index.vue'),
meta: {
title: '积分明细',
title: '余额明细',
icon: 'mdi:account-multiple',
order: 10,
},