This commit is contained in:
Air 2024-08-01 10:42:59 +08:00
parent e536e708ca
commit 5f1c578b5f
2 changed files with 11 additions and 5 deletions

View File

@ -89,8 +89,8 @@
</template>
<template #select="{ row }">
<t-space size="24px">
<t-button theme="default" v-if="row.if_xianshi==1" @click="openUrl(row.member_id)">详细信息</t-button>
<t-button theme="default" v-if="row.if_xianshi==0" @click="openUrl(row.member_id)">审核</t-button>
<t-button theme="default" v-if="row.if_xianshi==1||row.if_xianshi==2" @click="openUrl(row.member_id)">详细信息</t-button>
<t-button theme="default" v-if="row.if_xianshi==0||row.if_xianshi==3" @click="openUrl(row.member_id)">审核</t-button>
<t-button @click="()=>$router.push('/user/user_edit?id='+row.member_id)">编辑</t-button>
<t-popconfirm content="确认要删除吗?" @confirm="del(row)">
<t-button theme="warning">删除</t-button>

View File

@ -1,9 +1,10 @@
<template>
<div class="detail-base">
<t-card title="" :bordered="false" class="info-block" style="padding: 30px">
<t-steps :current="0" readonly>
<t-steps :current="0" readonly v-if="info.if_xianshi!=1">
<t-step-item title="信息审核" content="提交的信息审核"></t-step-item>
<t-step-item title="会费缴纳" content="等待会费缴纳"></t-step-item>
<t-step-item v-if="info.if_xianshi!=2" title="会费缴纳" content="等待会费缴纳"></t-step-item>
<t-step-item v-if="info.if_xianshi==2" status="error" title="已被拒绝" :content="info.result.content"></t-step-item>
<t-step-item title="成功入会" content="已成功入会"></t-step-item>
</t-steps>
<t-descriptions :column="3" bordered layout="horizontal" item-layout="horizontal" style="margin-top: 40px">
@ -159,6 +160,11 @@
<t-button theme="primary" size="large" style="margin-left: 20px">通过审核</t-button>
</t-popconfirm>
</div>
<div v-if="info.if_xianshi==3" style="text-align: center;margin-top: 50px">
<t-popconfirm content="确认已缴纳会费吗?" @confirm="tgSelect(1)">
<t-button theme="primary" size="large" style="margin-left: 20px">会费已缴纳</t-button>
</t-popconfirm>
</div>
</t-card>
</div>
</template>
@ -196,7 +202,7 @@ export default {
},
tgSelect(type){
this.$request
.post("/member/update",{member_id:this.member_id,if_xianshi:type,reason:this.reason})
.post("/member/examine",{member_id:this.member_id,if_xianshi:type,content:this.reason})
.then( (res) => {
console.log(res);
if (res.code==1){