能量,红包雨,提现筛选

This commit is contained in:
faiz 2024-12-03 17:39:40 +08:00
parent 987129ebff
commit b221e3944c
3 changed files with 32 additions and 10 deletions

View File

@ -30,10 +30,12 @@
class="selWidth"
@change="getList(1)"
>
<el-option label="全部" value="" />
<el-option label="审核中" value="0" />
<el-option label="已提现" value="1" />
<el-option label="已拒绝" value="-1" />
<el-option
v-for="(item, key) in status_name"
:label="item"
:value="key"
/>
</el-select>
</el-select>
</el-form-item>
<el-form-item label="提现方式:" prop="extract_type">
@ -136,7 +138,7 @@
<el-table-column label="审核状态" min-width="90">
<template slot-scope="scope">
<span class="spBlock">{{
scope.row.status | extractStatusFilter
status_name[scope.row.status]
}}</span>
<!-- <template v-if="scope.row.status === 0">
<el-button type="danger" icon="el-icon-close" size="mini" @click="onExamine(scope.row.extract_id)">未通过</el-button>
@ -144,6 +146,13 @@
</template> -->
</template>
</el-table-column>
<el-table-column label="失败原因" min-width="120">
<template slot-scope="scope">
<span class="spBlock">{{
scope.row.error_msg
}}</span>
</template>
</el-table-column>
<el-table-column label="拒绝原因" min-width="120">
<template slot-scope="scope">
<span class="spBlock">{{
@ -245,7 +254,7 @@
<div class="acea-row">
<div class="list">
<label class="name">审核状态</label
>{{ extractDetail.status | extractStatusFilter }}
>{{ status_name[extractDetail.status] }}
</div>
<div class="list">
<label class="name">审核时间</label
@ -300,6 +309,7 @@ export default {
},
fromList: fromList,
extractDetail: {},
status_name: [],
dialogVisible: false,
};
},
@ -458,6 +468,7 @@ export default {
.then((res) => {
this.tableData.data = res.data.list;
this.tableData.total = res.data.count;
this.status_name = res.data.status_name;
this.listLoading = false;
})
.catch((res) => {

View File

@ -13,6 +13,7 @@
<el-radio :label="11">实物</el-radio>
<el-radio :label="5">优惠券</el-radio>
<el-radio :label="2">铸源星</el-radio>
<el-radio :label="12">能量</el-radio>
<!-- <el-radio :label="6">站内商品</el-radio> -->
<!-- <el-radio :label="4"></el-radio> -->
<!-- <el-radio :label="3">折扣券</el-radio> -->
@ -43,6 +44,16 @@
>添加优惠券</el-button
>
</el-form-item>
<el-form-item label="能量数量" prop="num" v-if="formValidate.type == 12">
<el-input-number
:controls="false"
v-model="formValidate.num"
placeholder="请输入能量数量"
:max="9999999999"
:min="1"
style="width: 300px"
></el-input-number>
</el-form-item>
<el-form-item
:label="[3, 4].includes(formValidate.type) ? '金额信息' : '铸源星数量'"
prop="num"

View File

@ -605,10 +605,10 @@ export default {
// name: "",
// type: "3",
// },
// {
// name: "",
// type: "4",
// },
{
name: "红包雨",
type: "4",
},
],
title: "添加商品",
loading: false,