unknown
1 year ago
5 changed files with 77 additions and 9 deletions
-
11pages.json
-
30pages/indexEntry/enroll/enroll.vue
-
33pages/indexEntry/enroll/realName/realName.vue
-
4pages/indexEntry/enroll/registInfo/registInfo.vue
-
8store/modules/school.js
@ -1,10 +1,39 @@ |
|||||
<template> |
<template> |
||||
<view class="main"> |
|
||||
实名认证 |
|
||||
|
<view class="pageBgImg"> |
||||
|
<topNavbar title="实名认证"></topNavbar> |
||||
</view> |
</view> |
||||
</template> |
</template> |
||||
|
|
||||
<script> |
<script> |
||||
|
import { GetDetectInfoEnhanced } from '@/config/api.js' |
||||
|
export default { |
||||
|
onShow() { |
||||
|
// alert(1) |
||||
|
// alert(this.$store.state.school.BizToken) |
||||
|
this.GetDetectInfoEnhancedFn() |
||||
|
}, |
||||
|
onPullDownRefresh() { |
||||
|
this.GetDetectInfoEnhancedFn() |
||||
|
}, |
||||
|
methods: { |
||||
|
async GetDetectInfoEnhancedFn() { |
||||
|
// let BizToken = uni.getStorageSync('BizToken') |
||||
|
// alert(BizToken) |
||||
|
let obj = { |
||||
|
ruleId: 1, |
||||
|
redirectUrl: 'http://192.168.1.44:8002/h5/#/pages/indexEntry/enroll/registInfo/registInfo', |
||||
|
bizToken: this.$store.state.school.BizToken |
||||
|
} |
||||
|
const {data: res} = await GetDetectInfoEnhanced(obj) |
||||
|
let obj2 = JSON.parse(res) |
||||
|
|
||||
|
console.log(obj2) |
||||
|
alert('请求结果来了') |
||||
|
alert(obj2.Text.name) |
||||
|
// uni.setStorageSync(obj2) |
||||
|
}, |
||||
|
} |
||||
|
} |
||||
</script> |
</script> |
||||
|
|
||||
<style> |
<style> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue