支付订单审核和详情

master
wangdong 2 months ago
parent 1f7183de96
commit fe4be899f6
  1. 1
      src/config/router.config.js
  2. 4
      src/views/user/recharge/Index.vue

@ -543,6 +543,7 @@ export const asyncRouterMap = [
path: '/user/recharge/detail', path: '/user/recharge/detail',
component: () => import(/* webpackChunkName: "content" */ '@/views/user/recharge/Detail'), component: () => import(/* webpackChunkName: "content" */ '@/views/user/recharge/Detail'),
meta: { title: '充值详情', keepAlive: false, permission: ['/user/recharge/detail'] }, meta: { title: '充值详情', keepAlive: false, permission: ['/user/recharge/detail'] },
hidden: true,
}, },
{ {
path: '/user/balance/index', path: '/user/balance/index',

@ -58,7 +58,7 @@
</span> </span>
<!-- 状态 --> <!-- 状态 -->
<span slot="pay_status" slot-scope="text, item"> <span slot="pay_status" slot-scope="text, item">
<a-tag :color="text == 20 ? 'green' : (item.audit_status == 20 ? 'red' : '' )">{{ text == 20 ? '已支付' : (item.audit_status ? '已拒绝' : '待支付') }}</a-tag> <a-tag :color="text == 20 ? 'green' : '' ">{{ text == 20 ? '已支付' : '待支付' }}</a-tag>
</span> </span>
<!-- 状态 --> <!-- 状态 -->
<span slot="audit_status" slot-scope="text, item"> <span slot="audit_status" slot-scope="text, item">
@ -70,7 +70,7 @@
>详情</router-link >详情</router-link
> >
<a <a
v-if="item.pay_status !== 20" v-if="item.pay_status !== 20 && !item.audit_status"
@click="handleAudit(item)" @click="handleAudit(item)"
>审核</a >审核</a
> >

Loading…
Cancel
Save