...
|
...
|
@@ -13,12 +13,12 @@ |
|
|
|
|
|
<view class="infohead">
|
|
|
<view class="infoheadleft">
|
|
|
<view class="infotui">姓名</view>
|
|
|
<view class="infoji" v-if="token!=''">{{peopleinfo.username==''?'暂无':peopleinfo.username}}</view>
|
|
|
<view class="infotui">推荐人</view>
|
|
|
<view class="infoji" v-if="token!=''">{{peopleinfo.recommender==''?'暂无':peopleinfo.recommender}}</view>
|
|
|
<view class="infoji" v-else>{{company}}</view>
|
|
|
</view>
|
|
|
<view class="infoheadleft">
|
|
|
<view class="infotui">推荐人</view>
|
|
|
<view class="infotui">公司名称</view>
|
|
|
<view class="infoji" v-if="token!=''">{{peopleinfo.company_name==''?'暂无':peopleinfo.company_name}}</view>
|
|
|
<view class="infoji" v-else>{{tuijianren}}</view>
|
|
|
</view>
|
...
|
...
|
@@ -113,18 +113,18 @@ |
|
|
}, 1000)
|
|
|
|
|
|
|
|
|
} else if (token !=''&&re_id == 0) {
|
|
|
|
|
|
uni.showToast({
|
|
|
title: '请绑定客户',
|
|
|
icon: "none"
|
|
|
})
|
|
|
|
|
|
setTimeout(function() {
|
|
|
uni.navigateTo({
|
|
|
url: "/pages/binding/binding"
|
|
|
})
|
|
|
}, 1000)
|
|
|
// } else if (token !=''&&re_id == 0) {
|
|
|
//
|
|
|
// uni.showToast({
|
|
|
// title: '请绑定客户',
|
|
|
// icon: "none"
|
|
|
// })
|
|
|
//
|
|
|
// setTimeout(function() {
|
|
|
// uni.navigateTo({
|
|
|
// url: "/pages/binding/binding"
|
|
|
// })
|
|
|
// }, 1000)
|
|
|
}else {
|
|
|
let peopleinfo = this.peopleinfo;
|
|
|
peopleinfo = JSON.stringify(peopleinfo)
|
...
|
...
|
@@ -154,18 +154,18 @@ |
|
|
}, 1000)
|
|
|
|
|
|
|
|
|
} else if (token !=''&&re_id == 0) {
|
|
|
|
|
|
uni.showToast({
|
|
|
title: '请绑定客户',
|
|
|
icon: "none"
|
|
|
})
|
|
|
|
|
|
setTimeout(function() {
|
|
|
uni.navigateTo({
|
|
|
url: "/pages/binding/binding"
|
|
|
})
|
|
|
}, 1000)
|
|
|
// } else if (token !=''&&re_id == 0) {
|
|
|
//
|
|
|
// uni.showToast({
|
|
|
// title: '请绑定客户',
|
|
|
// icon: "none"
|
|
|
// })
|
|
|
//
|
|
|
// setTimeout(function() {
|
|
|
// uni.navigateTo({
|
|
|
// url: "/pages/binding/binding"
|
|
|
// })
|
|
|
// }, 1000)
|
|
|
}else {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/myshuju/myshuju'
|
...
|
...
|
@@ -190,18 +190,18 @@ |
|
|
}, 1000)
|
|
|
|
|
|
|
|
|
} else if (token !=''&&re_id == 0) {
|
|
|
|
|
|
uni.showToast({
|
|
|
title: '请绑定客户',
|
|
|
icon: "none"
|
|
|
})
|
|
|
|
|
|
setTimeout(function() {
|
|
|
uni.navigateTo({
|
|
|
url: "/pages/binding/binding"
|
|
|
})
|
|
|
}, 1000)
|
|
|
// } else if (token !=''&&re_id == 0) {
|
|
|
//
|
|
|
// uni.showToast({
|
|
|
// title: '请绑定客户',
|
|
|
// icon: "none"
|
|
|
// })
|
|
|
//
|
|
|
// setTimeout(function() {
|
|
|
// uni.navigateTo({
|
|
|
// url: "/pages/binding/binding"
|
|
|
// })
|
|
|
// }, 1000)
|
|
|
}else {
|
|
|
app.post("api/person/getUserInfo", '', 'get')
|
|
|
.then(res => {
|
...
|
...
|
@@ -232,18 +232,18 @@ |
|
|
}, 1000)
|
|
|
|
|
|
|
|
|
} else if (token !=''&&re_id == 0) {
|
|
|
|
|
|
uni.showToast({
|
|
|
title: '请绑定客户',
|
|
|
icon: "none"
|
|
|
})
|
|
|
|
|
|
setTimeout(function() {
|
|
|
uni.navigateTo({
|
|
|
url: "/pages/binding/binding"
|
|
|
})
|
|
|
}, 1000)
|
|
|
// } else if (token !=''&&re_id == 0) {
|
|
|
//
|
|
|
// uni.showToast({
|
|
|
// title: '请绑定客户',
|
|
|
// icon: "none"
|
|
|
// })
|
|
|
//
|
|
|
// setTimeout(function() {
|
|
|
// uni.navigateTo({
|
|
|
// url: "/pages/binding/binding"
|
|
|
// })
|
|
|
// }, 1000)
|
|
|
}else {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/xiaofeijilu/xiaofeijilu',
|
...
|
...
|
|