|
@@ -29,20 +29,28 @@
|
|
|
<view class="right">-{{info.money}}</view>
|
|
|
</view>
|
|
|
<view class="two">
|
|
|
- <view class="left">状态</view>
|
|
|
- <view class="right">{{info.zhStatus}}</view>
|
|
|
+ <view class="left">审核处理人</view>
|
|
|
+ <view class="right">{{info.deal_person}}</view>
|
|
|
</view>
|
|
|
<view class="two">
|
|
|
- <view class="left">提现时间</view>
|
|
|
- <view class="right">{{info.time}}</view>
|
|
|
+ <view class="left">申请时间</view>
|
|
|
+ <view class="right">{{info.apply_time}}</view>
|
|
|
</view>
|
|
|
<view class="two">
|
|
|
- <view class="left">推荐人</view>
|
|
|
- <view class="right">{{info.inviter_name}}</view>
|
|
|
+ <view class="left">审核时间</view>
|
|
|
+ <view class="right">{{info.exam_time}}</view>
|
|
|
</view>
|
|
|
<view class="two">
|
|
|
- <view class="left">提现理由</view>
|
|
|
- <view class="right">{{info.zhSource}}</view>
|
|
|
+ <view class="left">申请理由</view>
|
|
|
+ <view class="right">{{info.apply_reason}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="two">
|
|
|
+ <view class="left">审核理由</view>
|
|
|
+ <view class="right">{{info.exam_reason}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="two">
|
|
|
+ <view class="left">审核状态</view>
|
|
|
+ <view class="right">{{info.zhStatus}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -58,8 +66,10 @@
|
|
|
type: '',
|
|
|
user: {},
|
|
|
info: {},
|
|
|
- // 状态
|
|
|
+ // 收益状态
|
|
|
statusList: [],
|
|
|
+ // 提现状态
|
|
|
+ cashstatusList: [],
|
|
|
// 来源
|
|
|
sourceList: [],
|
|
|
};
|
|
@@ -88,6 +98,12 @@
|
|
|
if (res.errcode == '0') {
|
|
|
that.$set(that, `sourceList`, res.data)
|
|
|
}
|
|
|
+ res = await that.$api(`/dictData`, 'GET', {
|
|
|
+ code: "cashOut_status"
|
|
|
+ });
|
|
|
+ if (res.errcode == '0') {
|
|
|
+ that.$set(that, `cashstatusList`, res.data)
|
|
|
+ }
|
|
|
},
|
|
|
// 监听用户是否登录
|
|
|
watchLogin() {
|
|
@@ -114,15 +130,10 @@
|
|
|
}
|
|
|
} else {
|
|
|
// 提现记录
|
|
|
- let arr = await that.$api(`/cashBack/${that.id}`, 'GET')
|
|
|
+ let arr = await that.$api(`/cashOut/${that.id}`, 'GET')
|
|
|
if (arr.errcode == '0') {
|
|
|
- let status = that.statusList.find(i => i.value == arr.data.status)
|
|
|
+ let status = that.cashstatusList.find(i => i.value == arr.data.status)
|
|
|
if (status) arr.data.zhStatus = status.label;
|
|
|
- let source = that.sourceList.find(i => i.value == arr.data.source)
|
|
|
- if (source) arr.data.zhSource = source.label;
|
|
|
- // 查询推荐人信息
|
|
|
- let res = await that.$api(`/user/${arr.data.inviter}`, 'GET');
|
|
|
- if (res.errcode == '0') arr.data.inviter_name = res.data.name
|
|
|
that.$set(that, `info`, arr.data)
|
|
|
}
|
|
|
}
|