|
@@ -9,21 +9,19 @@
|
|
|
<image src="../../static/pages/images/userBg.png" class="wdbg" @click="jumpUrl('mine/userinfo/userinfo')">
|
|
<image src="../../static/pages/images/userBg.png" class="wdbg" @click="jumpUrl('mine/userinfo/userinfo')">
|
|
|
</image>
|
|
</image>
|
|
|
<view class="minec">
|
|
<view class="minec">
|
|
|
- <view class="minec-img" @click="jumpUrl('mine/set/index')">
|
|
|
|
|
|
|
+ <view class="minec-img" @click="jumpUrl('mine/userinfo/userinfo')">
|
|
|
<image :src="userInfos.avatar ? userInfos.avatar : '/static/pages/images/userimg.png'"
|
|
<image :src="userInfos.avatar ? userInfos.avatar : '/static/pages/images/userimg.png'"
|
|
|
mode="aspectFit" class="user"></image>
|
|
mode="aspectFit" class="user"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="mines" @click="jumpUrl('mine/set/index')" v-if="isLogin">
|
|
|
|
|
|
|
+ <view class="mines" @click="jumpUrl('mine/userinfo/userinfo')" v-if="isLogin">
|
|
|
<view class="ddflex">
|
|
<view class="ddflex">
|
|
|
{{ userInfos.nickName }}
|
|
{{ userInfos.nickName }}
|
|
|
- <!-- <image src="../../static/pages/images/rz_qy_h.png" class="auth-img"
|
|
|
|
|
- v-if="userInfos.authStatus == 2"></image>
|
|
|
|
|
- <image src="../../static/pages/images/rz_qy.png" class="auth-img" v-else></image>
|
|
|
|
|
- <image src="../../static/pages/images/rz_gr_h.png" class="auth-img"
|
|
|
|
|
- v-if="userInfos.companyStatus == 2"></image>
|
|
|
|
|
- <image src="../../static/pages/images/rz_gr.png" class="auth-img" v-else></image> -->
|
|
|
|
|
|
|
+ <view class="ddflex" style="font-size: 24rpx;font-weight: 400;" @click.stop="isShowBind=true" v-if="userInfos.userType!=1">
|
|
|
|
|
+ <image style="width: 23rpx;height: 22rpx;margin-right: 10rpx;" src="/static/images/bind.png" class="auth-img"></image>
|
|
|
|
|
+ 绑定工号
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
- <text class="edu" v-if="userInfos.mobile">{{ styleHintPhoneText(userInfos.mobile) }}</text>
|
|
|
|
|
|
|
+ <text class="edu" v-if="userInfos.mobile">{{ userInfos.mobile }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="flex" v-else><text class="login-btn" @click="jumpUrl('')">点击登录</text></view>
|
|
<view class="flex" v-else><text class="login-btn" @click="jumpUrl('')">点击登录</text></view>
|
|
|
<view class="rule dflex" @click="isSign == 0 || sign == 1 ? jumpUrl('') : signFun()" v-if="isShowSign">
|
|
<view class="rule dflex" @click="isSign == 0 || sign == 1 ? jumpUrl('') : signFun()" v-if="isShowSign">
|
|
@@ -121,7 +119,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="service-person-option ddflex">
|
|
<view class="service-person-option ddflex">
|
|
|
<image src="/static/pages/images/cy_hui.png"></image>
|
|
<image src="/static/pages/images/cy_hui.png"></image>
|
|
|
- <view>入司{{recommendCard.inDate?getAge(recommendCard.inDate):1}}年</view>
|
|
|
|
|
|
|
+ <view>入司{{recommendCard.inDate?getAgeFn(recommendCard.inDate):1}}年</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="service-person-option ddflex">
|
|
<view class="service-person-option ddflex">
|
|
|
<image src="/static/pages/images/fw_hui.png"></image>
|
|
<image src="/static/pages/images/fw_hui.png"></image>
|
|
@@ -212,7 +210,8 @@
|
|
|
复制微信号
|
|
复制微信号
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <bindJobnum v-if="isShowBind" @closeBind="closeBind()"></bindJobnum>
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -224,6 +223,7 @@
|
|
|
const route = require('../../utils/route');
|
|
const route = require('../../utils/route');
|
|
|
import foot from '../../components/nav-bar/index';
|
|
import foot from '../../components/nav-bar/index';
|
|
|
import footerCopyright from '../../components/footer-copyright/footer-copyright';
|
|
import footerCopyright from '../../components/footer-copyright/footer-copyright';
|
|
|
|
|
+ import bindJobnum from '../../components/bind-jobnum/index.vue';
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
data() {
|
|
data() {
|
|
@@ -264,13 +264,15 @@
|
|
|
isUpdateInfo: false, //更新用户信息
|
|
isUpdateInfo: false, //更新用户信息
|
|
|
isUpdateMobile: false, //绑定手机号
|
|
isUpdateMobile: false, //绑定手机号
|
|
|
recommendCard:{},
|
|
recommendCard:{},
|
|
|
- isShowCodePop:false
|
|
|
|
|
|
|
+ isShowCodePop:false,
|
|
|
|
|
+ isShowBind:false
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
components: {
|
|
components: {
|
|
|
foot,
|
|
foot,
|
|
|
- footerCopyright
|
|
|
|
|
|
|
+ footerCopyright,
|
|
|
|
|
+ bindJobnum
|
|
|
},
|
|
},
|
|
|
props: {},
|
|
props: {},
|
|
|
|
|
|
|
@@ -325,11 +327,6 @@
|
|
|
|
|
|
|
|
return getApp().globalData.unReadMessageNum;
|
|
return getApp().globalData.unReadMessageNum;
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
- styleHintPhoneText(phone) {
|
|
|
|
|
- var phones = util.styleHintPhoneText(phone);
|
|
|
|
|
- return phones;
|
|
|
|
|
- },
|
|
|
|
|
|
|
|
|
|
jumpUrl(url) {
|
|
jumpUrl(url) {
|
|
|
if (req.isLogins(true)) {
|
|
if (req.isLogins(true)) {
|
|
@@ -430,7 +427,9 @@
|
|
|
this.isUpdateMobile = e;
|
|
this.isUpdateMobile = e;
|
|
|
this.getMy();
|
|
this.getMy();
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
+ closeBind(){
|
|
|
|
|
+ this.isShowBind = false;
|
|
|
|
|
+ },
|
|
|
|
|
|
|
|
jumpConversation() {
|
|
jumpConversation() {
|
|
|
req.jumpConversation();
|
|
req.jumpConversation();
|
|
@@ -462,7 +461,8 @@
|
|
|
this.recommendCard = res
|
|
this.recommendCard = res
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
- getAge(date){
|
|
|
|
|
|
|
+ getAgeFn(date){
|
|
|
|
|
+ console.log('getAge',date)
|
|
|
return util.getAge(date)
|
|
return util.getAge(date)
|
|
|
},
|
|
},
|
|
|
// 拨打电话
|
|
// 拨打电话
|