Merge branch 'dev' into test
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -242,10 +242,14 @@ const columns = ref([
|
|||||||
render: (row) => h('span', `${row.price}元`),
|
render: (row) => h('span', `${row.price}元`),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '积分抵扣',
|
title: '抵扣后价格(元)',
|
||||||
|
key: 'discount_price',
|
||||||
|
align: 'center',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '积分抵扣',
|
||||||
|
key: 'exchange',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
slot: 'discount_price',
|
|
||||||
render: (row) => h('span', `${row.discount_price}`),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '支付方式',
|
title: '支付方式',
|
||||||
|
|||||||
@@ -4,12 +4,12 @@
|
|||||||
<n-col :span="24">
|
<n-col :span="24">
|
||||||
<div flex>
|
<div flex>
|
||||||
<n-card w-500>
|
<n-card w-500>
|
||||||
<n-statistic label="订单流水(积分)" tabular-nums>
|
<n-statistic label="订单流水(元)" tabular-nums>
|
||||||
<n-number-animation :from="0" :to="cardData.total" />
|
<n-number-animation :from="0" :to="cardData.total" />
|
||||||
</n-statistic>
|
</n-statistic>
|
||||||
</n-card>
|
</n-card>
|
||||||
<n-card ml-10 w-500>
|
<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-number-animation :from="0" :to="cardData.service" />
|
||||||
</n-statistic>
|
</n-statistic>
|
||||||
</n-card>
|
</n-card>
|
||||||
@@ -139,13 +139,13 @@ const getList = async () => {
|
|||||||
key: 'oid',
|
key: 'oid',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
|
// {
|
||||||
|
// title: '用户名称',
|
||||||
|
// key: 'user_name',
|
||||||
|
// align: 'center',
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
title: '用户名称',
|
title: '上次留存余额',
|
||||||
key: 'user_name',
|
|
||||||
align: 'center',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '上次留存积分',
|
|
||||||
key: 'balance',
|
key: 'balance',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
@@ -155,13 +155,13 @@ const getList = async () => {
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '获取积分',
|
title: '获取余额',
|
||||||
key: 'number',
|
key: 'number',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '时间',
|
title: '时间',
|
||||||
key: 'record_time',
|
key: 'add_time',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
@@ -174,18 +174,18 @@ const getList = async () => {
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '上次留存积分',
|
title: '上次留存余额',
|
||||||
key: 'balance',
|
key: 'balance',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '扣除积分',
|
title: '扣除余额',
|
||||||
key: 'record_number',
|
key: 'record_number',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '时间',
|
title: '时间',
|
||||||
key: 'record_time',
|
key: 'add_time',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
@@ -198,18 +198,18 @@ const getList = async () => {
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '上次留存积分',
|
title: '上次留存余额',
|
||||||
key: 'balance',
|
key: 'balance',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '获取积分',
|
title: '获取余额',
|
||||||
key: 'record_number',
|
key: 'record_number',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '时间',
|
title: '时间',
|
||||||
key: 'record_time',
|
key: 'add_time',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
const Layout = () => import('@/layout/index.vue')
|
const Layout = () => import('@/layout/index.vue')
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: '积分管理',
|
name: '余额管理',
|
||||||
path: '/settlement',
|
path: '/settlement',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
redirect: 'jf_list',
|
redirect: 'jf_list',
|
||||||
meta: {
|
meta: {
|
||||||
title: '积分管理',
|
title: '余额管理',
|
||||||
icon: 'mdi:account-multiple',
|
icon: 'mdi:account-multiple',
|
||||||
order: 10,
|
order: 10,
|
||||||
},
|
},
|
||||||
@@ -16,7 +16,7 @@ export default {
|
|||||||
path: 'jf_list',
|
path: 'jf_list',
|
||||||
component: () => import('./jf_list/index.vue'),
|
component: () => import('./jf_list/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: '积分明细',
|
title: '余额明细',
|
||||||
icon: 'mdi:account-multiple',
|
icon: 'mdi:account-multiple',
|
||||||
order: 10,
|
order: 10,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user