|
|
@@ -186,7 +186,7 @@
|
|
|
<uni-popup ref="popup" :isMaskClick="false">
|
|
|
<view class="popup-content">
|
|
|
<view style="text-align: center">
|
|
|
- <text class="text" >选择会员编号</text>
|
|
|
+ <text class="text">选择会员编号</text>
|
|
|
</view>
|
|
|
<view v-for="item in numberList">
|
|
|
<view class="popupItem" :class="{'popupItemSelect':item.isSelect == true }" @click="SelectItem(item)"
|
|
|
@@ -209,15 +209,17 @@
|
|
|
</view>
|
|
|
</uni-popup>
|
|
|
</view>
|
|
|
-<!-- 确认迁移弹框 -->
|
|
|
+
|
|
|
+ <!-- 确认迁移弹框 -->
|
|
|
<uni-popup ref="popupMigrate" :isMaskClick="false">
|
|
|
<view class="popup-content">
|
|
|
<view style="text-align: center">
|
|
|
- <text class="text" >您确定要迁移资产?</text>
|
|
|
+ <view class="text">当前会员编号为{{ storageUserInfo.no }}</view>
|
|
|
+ <text class="text">是否确认找回到该账号下?</text>
|
|
|
</view>
|
|
|
- <view style="height:40px" ></view>
|
|
|
+ <view style="height:10px"></view>
|
|
|
<view class="button-popup">
|
|
|
- <button class="h-btn" style="background-color: #EEEEEE;" @click="this.$refs.popupMigrate.close()">取消</button>
|
|
|
+ <button class="h-btn" style="background-color: #EEEEEE;" @click="popupClose()">取消</button>
|
|
|
<view class="h-btn" style="background-color: #FFE05C;" @click="nextStep(4)"
|
|
|
:disabled="currentStep === steps.length - 1">
|
|
|
<text>确定</text>
|
|
|
@@ -230,6 +232,7 @@
|
|
|
|
|
|
<script>
|
|
|
import signature from '../components/sign/sign';
|
|
|
+
|
|
|
export default {
|
|
|
components: {
|
|
|
signature
|
|
|
@@ -239,7 +242,7 @@ export default {
|
|
|
isCommit: 0,
|
|
|
isSelect: false,
|
|
|
isShow: true,
|
|
|
- isMigrateClick:false,
|
|
|
+ isMigrateClick: false,
|
|
|
showCanvas: false,
|
|
|
numberList: [],
|
|
|
currentStep: 0,
|
|
|
@@ -311,6 +314,7 @@ export default {
|
|
|
signType: '',
|
|
|
signImg1: '',
|
|
|
tips2: '',
|
|
|
+ storageUserInfo:{},
|
|
|
rules: {
|
|
|
phone: [
|
|
|
{
|
|
|
@@ -380,8 +384,11 @@ export default {
|
|
|
},
|
|
|
|
|
|
onLoad() {
|
|
|
+ // 用户信息
|
|
|
+ this.storageUserInfo = uni.getStorageSync('userInfo')
|
|
|
// 获取服务条款数据
|
|
|
// this.getTermOfServiceByType();
|
|
|
+ // this.$refs.popupMigrate.open()
|
|
|
},
|
|
|
|
|
|
onUnload() {
|
|
|
@@ -396,10 +403,14 @@ export default {
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
+ popupClose(){
|
|
|
+ this.$refs.popupMigrate.close()
|
|
|
+ },
|
|
|
+
|
|
|
SelectItem(data) {
|
|
|
this.isSelect = true
|
|
|
this.userMemberInfo = data
|
|
|
- console.log(this.userMemberInfo,'33333333')
|
|
|
+ console.log(this.userMemberInfo, '33333333')
|
|
|
this.isCommit = this.userMemberInfo.isCommit
|
|
|
this.numberList.forEach(e => {
|
|
|
e.isSelect = false
|
|
|
@@ -450,7 +461,7 @@ export default {
|
|
|
uni.showLoading({
|
|
|
title: '正在获取验证码'
|
|
|
})
|
|
|
- this.$api.getSmsCode({phonenumber: this.userInfo.phone, auth: true}).then((res) => {
|
|
|
+ this.$api.getSmsCodeByType({phonenumber: this.userInfo.phone, auth: true, type: 1}).then((res) => {
|
|
|
uni.hideLoading();
|
|
|
// 这里此提示会被this.start()方法中的提示覆盖
|
|
|
uni.$u.toast('验证码已发送');
|
|
|
@@ -481,7 +492,7 @@ export default {
|
|
|
console.log(this.numberList, '1111111')
|
|
|
this.userMemberInfo = res.data.data[0]
|
|
|
this.isCommit = res.data.data[0].isCommit
|
|
|
- console.log(this.isCommit,'9999999999')
|
|
|
+ console.log(this.isCommit, '9999999999')
|
|
|
if (this.currentStep < this.steps.length - 1) {
|
|
|
this.currentStep++;
|
|
|
this.getOrderRechargeOldList()
|
|
|
@@ -560,9 +571,9 @@ export default {
|
|
|
if (this.isSelect === true) {
|
|
|
this.$refs.popup.close()
|
|
|
// this.getOldMember();
|
|
|
- if (this.currentServiceTab == 'orderTab1'){
|
|
|
+ if (this.currentServiceTab == 'orderTab1') {
|
|
|
this.getOrderRechargeOldList()
|
|
|
- }else {
|
|
|
+ } else {
|
|
|
this.getOrderConsumeLogOld();
|
|
|
}
|
|
|
if (this.currentStep < this.steps.length - 1) {
|
|
|
@@ -580,12 +591,12 @@ export default {
|
|
|
if (idx == 1) { // 点击查询数据
|
|
|
const userInfo = uni.getStorageSync('userInfo')
|
|
|
// console.log(userInfo,'绑定手机号')
|
|
|
- if (!userInfo.phone){
|
|
|
+ if (!userInfo.phone) {
|
|
|
uni.showModal({
|
|
|
- title:'温馨提示',
|
|
|
- content:'资产找回涉及资金安全,需绑定手机号才能进行查询,是否确认绑定手机号',
|
|
|
- success:res=>{
|
|
|
- if (res.confirm){
|
|
|
+ title: '温馨提示',
|
|
|
+ content: '资产找回涉及资金安全,需绑定手机号才能进行查询,是否确认绑定手机号',
|
|
|
+ success: res => {
|
|
|
+ if (res.confirm) {
|
|
|
uni.navigateTo({
|
|
|
url: '/myPages/setting/setting-telphone',
|
|
|
})
|