Browse Source

个人认证bug

devlop
mo-bai 4 years ago
parent
commit
a0719e3d56
7 changed files with 8 additions and 4 deletions
  1. 2
      App.vue
  2. 3
      manifest.json
  3. 1
      pages/mine/index.vue
  4. 4
      pages/page-view/index.vue
  5. BIN
      static/imgs/digital-workshops/个人中心.sketch
  6. BIN
      static/imgs/digital-workshops/验厂管理.sketch
  7. 2
      utils/hook.js

2
App.vue

@ -48,7 +48,9 @@ export default {
},
onShow: function () {
//
// #ifdef APP-PLUS
plus.runtime.setBadgeNumber(0)
// #endif
},
data() {
return {

3
manifest.json

@ -26,7 +26,8 @@
"modules" : {
"iBeacon" : {},
"Share" : {},
"Payment" : {}
"Payment" : {},
"Push" : {}
},
/* */
"distribute" : {

1
pages/mine/index.vue

@ -162,6 +162,7 @@ export default {
if (this.userInfo.fddEnterpriseStatus === fddEnterpriseStatus.UNCERTIFIED || this.userInfo.fddEnterpriseStatus === fddEnterpriseStatus.CERTIFIED_FAIL) {
getVerifyUrl({ enterpriseId: this.$store.state.companyInfo.id }).then((res) => {
if (res) {
console.log('res:', res)
// #ifdef APP-PLUS
go2('page-view', {
title: '实名认证',

4
pages/page-view/index.vue

@ -18,7 +18,7 @@ export default {
onLoad(option) {
if (option) {
this.url = decodeURIComponent(option.url)
this.params = JSON.parse(option.params)
this.params = option.params ? JSON.parse(option.params) : ''
console.log('params', option.params)
} else {
uni.showToast({
@ -57,7 +57,7 @@ export default {
}
//
if (data.type == 'certificatedSuccess') {
back()
go2('mine')
}
},
destroySocket() {

BIN
static/imgs/digital-workshops/个人中心.sketch

BIN
static/imgs/digital-workshops/验厂管理.sketch

2
utils/hook.js

@ -48,7 +48,7 @@ export function back() {
delta: 1
})
} else {
go2('digital-workshops')
go2('mine')
}
}

Loading…
Cancel
Save