Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/H5/threeSide
| | |
| | | this.form.avatar = this.imgUrls[0]; |
| | | if (this.detail) { |
| | | await edit(this.form); |
| | | this.loading = false; |
| | | } else { |
| | | await apply(this.form); |
| | | this.loading = false; |
| | | } |
| | | this.$refs.savePop.showPopup(); |
| | | this.loading = false; |
| | | } catch (error) { |
| | | uni.showToast({ |
| | | title: '提交失败,请重试', |
| | |
| | | <view class="flex a-center"> |
| | | <view class="msg mr-19" @click="changeActive(1)" :class="isactive == 1 ? 'active' : ''"> |
| | | 消息 |
| | | <view class="tips"> |
| | | <view v-if="noreadlist.length > 0" class="tips"> |
| | | {{ noreadlist.length }} |
| | | </view> |
| | | </view> |
| | | <view class="representative" @click="changeActive(2)" :class="isactive == 2 ? 'active' : ''"> |
| | | 待办 |
| | | <view class="tips"> |
| | | <view v-if="noreadlists.length > 0" class="tips"> |
| | | {{ noreadlists.length }} |
| | | </view> |
| | | </view> |
| | |
| | | |
| | | return new Promise(function(resolve, reject) { |
| | | let token = uni.getStorageSync('token') |
| | | token = |
| | | 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOjE2MjAzLCJ0eXBlIjoxLCJleHAiOjE3NDM1NTY3NTAsImNyZWF0ZWQiOjE3NDIyNjA3NTA2NTV9.YeZ0Bh4gbS0gFddM3NhpiCLJARF6tzeIEAjoGvDhMusFpH1CM6MWnDMtS2iVkmbF0aCrij4N5Ub9HlUqwReASw' |
| | | uni.setStorageSync('token', token) |
| | | token = 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOjE2MjAxLCJ0eXBlIjoxLCJleHAiOjE3NDM1NTY2NzYsImNyZWF0ZWQiOjE3NDIyNjA2NzY0MTJ9.GWvz0-m7-R6mz-gEICWywIV_lhc5vKU0_KUJN4MxxY8qa8_1Q_n-tzPSDltiu8cwAEBbsn8QZ4N4MHwzukDzIA' |
| | | uni.setStorageSync('token',token) |
| | | let header = { |
| | | 'content-type': type ? 'application/x-www-form-urlencoded;charset=UTF-8' : 'application/json', |
| | | 'Authorization': token, |