fix: 修复问题

This commit is contained in:
陈狼 2025-03-02 11:59:53 +08:00
parent 03757950e4
commit 3c29cf610f
1 changed files with 3 additions and 2 deletions

View File

@ -75,8 +75,8 @@
<a-table-column title="订单编号" data-index="order_number"></a-table-column> <a-table-column title="订单编号" data-index="order_number"></a-table-column>
<a-table-column title="操作"> <a-table-column title="操作">
<template #cell="{ record }"> <template #cell="{ record }">
<a-button @click="handleNotBlock(record)">拒绝</a-button> <a-button v-if="status == 1" @click="handleNotBlock(record)">拒绝</a-button>
<a-button @click="handleBlock(record)">同意</a-button> <a-button v-if="status == 1" @click="handleBlock(record)">同意</a-button>
</template> </template>
</a-table-column> </a-table-column>
</template> </template>
@ -111,6 +111,7 @@ import { PaginationProps,TableChangeExtra } from '@arco-design/web-vue';
import { lists,pushMoney } from '@/api/withdraw'; import { lists,pushMoney } from '@/api/withdraw';
import { Modal } from '@arco-design/web-vue'; import { Modal } from '@arco-design/web-vue';
import { Message } from '@arco-design/web-vue'; import { Message } from '@arco-design/web-vue';
import { status } from 'nprogress';
const queryParams = ref({ const queryParams = ref({
username: "", username: "",