|
|
@ -57,7 +57,8 @@ |
|
|
|
</el-tabs> |
|
|
|
|
|
|
|
<div class="goldStatistics"> |
|
|
|
退款总金币数:{{ format3((stats.permanentGolds + stats.freeGolds + stats.taskGolds).toFixed(2)) |
|
|
|
退款总金币数:{{ |
|
|
|
format3((stats.permanentGolds + stats.freeGolds + stats.taskGolds).toFixed(2)) |
|
|
|
}}金币 |
|
|
|
永久金币:{{ format3(stats.permanentGolds.toFixed(2)) }}金币 |
|
|
|
免费金币:{{ format3(stats.freeGolds.toFixed(2)) }}金币 |
|
|
@ -118,15 +119,17 @@ |
|
|
|
{{ row.auditTime ? moment(row.auditTime).format('YYYY-MM-DD HH:mm:ss') : '--' }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column v-if="checkTab === 'pending' && (hasrefundWaitThough || hasrefundWaitReject)&&hasrefundWaitShow" fixed="right" |
|
|
|
<el-table-column v-if="checkTab === 'pending' && (hasrefundWaitThough || hasrefundWaitReject)&&hasrefundWaitShow" |
|
|
|
fixed="right" |
|
|
|
prop="operation" label="操作" width="150px"> |
|
|
|
<template #default="scope"> |
|
|
|
<div class="operation"> |
|
|
|
<el-popconfirm title="确定要通过此条记录吗?" @confirm="handleApprove(scope.row)"> |
|
|
|
<template #reference> |
|
|
|
<el-button v-if="hasrefundWaitThough" :disabled="clicked || cancelClicked" type="primary" text> |
|
|
|
<el-link :underline="false" class="pass-btn" v-if="hasrefundWaitThough" |
|
|
|
:disabled="clicked || cancelClicked" type="primary"> |
|
|
|
通过 |
|
|
|
</el-button> |
|
|
|
</el-link> |
|
|
|
</template> |
|
|
|
<template #actions="{ confirm, cancel }"> |
|
|
|
<el-button size="small" @click="cancel">取消</el-button> |
|
|
@ -135,16 +138,18 @@ |
|
|
|
</el-button> |
|
|
|
</template> |
|
|
|
</el-popconfirm> |
|
|
|
<el-button v-if="hasrefundWaitReject" :disabled="clicked || cancelClicked" type="primary" text |
|
|
|
<el-link :underline="false" class="reject-btn" v-if="hasrefundWaitReject" |
|
|
|
:disabled="clicked || cancelClicked" type="primary" |
|
|
|
@click="showRejectDialog(scope.row)"> |
|
|
|
驳回 |
|
|
|
</el-button> |
|
|
|
</el-link> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<el-pagination class="pagination" v-model:current-page="pagination.pageNum" v-model:page-size="pagination.pageSize" |
|
|
|
layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" @size-change="handlePageSizeChange" |
|
|
|
layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" |
|
|
|
@size-change="handlePageSizeChange" |
|
|
|
@current-change="handleCurrentChange"></el-pagination> |
|
|
|
</el-card> |
|
|
|
|
|
|
@ -173,6 +178,7 @@ import { useAdminStore } from "@/store/index.js"; |
|
|
|
import {storeToRefs} from "pinia"; |
|
|
|
import dayjs from "dayjs"; |
|
|
|
import {permissionMapping, hasMenuPermission} from "@/utils/menuTreePermission.js" |
|
|
|
|
|
|
|
const adminStore = useAdminStore(); |
|
|
|
const {adminData, menuTree} = storeToRefs(adminStore); |
|
|
|
const defaultTime = [ |
|
|
|