Commit 02b56c5e authored by liwei's avatar liwei

修改了bug

parent ad2cb64c
......@@ -214,15 +214,6 @@
});
}, 500)
} else {
// 判断是否已实名 this.realAuthFlag=1需要判断是否已实名 否则不校验
if (this.realAuthFlag === '1'){
if (uni.getStorageSync('userInfo').memRealAuthen !== '1'){
this.tipMsg = message.authenticationMsg;
this.isConfirm = true;
this.$refs.elm.showDialog();
return
}
}
isStopAccount().then(res => {
//如果flag=0 被禁用了 踢出该用户
if (res.data.data == '0') {
......@@ -232,11 +223,14 @@
url: "/pageslogin/index"
})
}else {
if (uni.getStorageSync('userInfo').memRealAuthen != '1'){
this.tipMsg = message.authenticationMsg;
this.isConfirm = true;
this.$refs.elm.showDialog();
return;
// 判断是否已实名 this.realAuthFlag=1需要判断是否已实名 否则不校验
if (this.realAuthFlag === '1'){
if (uni.getStorageSync('userInfo').memRealAuthen !== '1'){
this.tipMsg = message.authenticationMsg;
this.isConfirm = true;
this.$refs.elm.showDialog();
return
}
}
uni.navigateTo({
url: '/pagesUser/userInfo?memberId='+item.businessId
......
......@@ -68,6 +68,7 @@ import {activityDetail, addApplication, isApplication, pay} from "../api/activit
import ELM from '@/components/elm-toast/index.vue';
import {message} from "../common/message";
import "./css/detail.css"
import {getDict} from "../api/system/dict/data";
export default {
components: {
ELM
......@@ -94,6 +95,7 @@ export default {
onShow() {
this.getActivityDetail()
this.getUserInfo()
this.getRealAuthDict()
},
methods: {
//获取实名字典配置
......@@ -131,6 +133,7 @@ export default {
//校验token 如果没有token,跳到登录页进行登录
if (token && token !== '' && token != null){
// 判断是否已实名 this.realAuthFlag=1需要判断是否已实名 否则不校验
console.log('this.realAuthFlag',this.realAuthFlag)
if (this.realAuthFlag === '1'){
if (uni.getStorageSync('userInfo').memRealAuthen !== '1'){
this.tipMsg = message.authenticationMsg;
......
......@@ -277,14 +277,6 @@ export default{
if (token && token !== '' && token != null){
//已登录
// 判断是否已实名 this.realAuthFlag=1需要判断是否已实名 否则不校验
if (this.realAuthFlag === '1'){
if (uni.getStorageSync('userInfo').memRealAuthen !== '1'){
this.tipMsg = message.authenticationMsg;
this.isConfirm = true;
this.$refs.elm.showDialog();
return
}
}
isStopAccount().then(res => {
//如果flag=0 被禁用了 踢出该用户
if (res.data.data == '0') {
......@@ -294,11 +286,13 @@ export default{
url: "/pageslogin/index"
})
} else {
if (uni.getStorageSync('userInfo').memRealAuthen != '1'){
this.tipMsg = message.authenticationMsg;
this.isConfirm = true;
this.$refs.elm.showDialog();
return
if (this.realAuthFlag === '1'){
if (uni.getStorageSync('userInfo').memRealAuthen !== '1'){
this.tipMsg = message.authenticationMsg;
this.isConfirm = true;
this.$refs.elm.showDialog();
return
}
}
this.commentValue = ''
const params = {
......
......@@ -66,6 +66,7 @@ import {getBalance, payGoldCoins} from "../../api/user";
import {addApplication, pay} from "../../api/activity";
import ELM from '@/components/elm-toast/index.vue';
import {message} from "../../common/message";
import {getDict} from "../../api/system/dict/data";
let iapChannel = null // 苹果内部支付渠道
export default {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment