| | |
| | | 职位管理 |
| | | </view> |
| | | </view> |
| | | <view class="tool_item" @click="toPage('/otherPages/member/sendCompany/sendCompany')"> |
| | | <view class="tool_item" @click="toEnterprise"> |
| | | <image src="@/static/image/qiye.png" mode="aspectFit" class="item_img"></image> |
| | | <view class="tool_label"> |
| | | 我的企业 |
| | |
| | | }, |
| | | onShow: function() { |
| | | this.resourceBanner(); |
| | | this.isLogin = true; |
| | | |
| | | this.token = this.$db.get('userToken') ? this.$db.get('userToken') : '' |
| | | this.isLogin = this.token?true:false; |
| | | }, |
| | | onShareAppMessage: function() { |
| | | return { |
| | |
| | | }, |
| | | methods: { |
| | | tologin() { |
| | | uni.navigateTo({ |
| | | url: '/pages/login/index' |
| | | }) |
| | | if(this.isLogin){ |
| | | uni.navigateTo({ |
| | | url: '/pages/mine/mine' |
| | | }) |
| | | }else{ |
| | | uni.navigateTo({ |
| | | url: '/pages/login/index' |
| | | }) |
| | | } |
| | | }, |
| | | toOrder() { |
| | | uni.navigateTo({ |
| | |
| | | url: '/pages/release/index' |
| | | }) |
| | | }, |
| | | toEnterprise(){ |
| | | uni.navigateTo({ |
| | | url: '/pages/enterprise/index' |
| | | }) |
| | | }, |
| | | checkToken: function(t) {}, |
| | | |
| | | loginOutInit: function() {}, |