Commit 14633119 authored by linxin's avatar linxin

add

parent 4a103584
......@@ -331,6 +331,7 @@ export default {
vm.user_bp_class = res.info.user_bp_class
vm.bp_id = res.info.user_bp_id
window.sessionStorage.setItem('bp_id', res.info.user_bp_id)
window.sessionStorage.setItem('bp_name', res.info.user_bp_name)
vm.user_bp_name = res.info.user_bp_name
vm.user_bp_type = res.info.user_bp_type
vm.user_phone = res.info.user_phone
......
......@@ -82,7 +82,7 @@ export default {
},
goHome () {
this.$router.replace({
name: 'HomePage',
name: 'MyInfo',
})
},
pay () {
......
......@@ -84,7 +84,7 @@ export default {
methods: {
goHome () {
this.$router.replace({
name: 'HomePage',
name: 'MyInfo',
})
},
getRent () {
......
......@@ -38,7 +38,7 @@ export default {
data () {
return {
date: null,
userName: this.$route.params.userName,
userName: window.sessionStorage.getItem('bp_name'),
isShow: false,
name: null,
money: this.$route.params.money,
......@@ -46,11 +46,6 @@ export default {
},
beforeRouteEnter (to, from, next) {
next(vm => {
// if (vm.$route.params.name === 'FirstPay') {
// vm.isShow = false
// } else if (vm.$route.params.name === 'ContractRecord') {
// vm.isShow = true
// }
vm.name = from.name
window.sessionStorage.setItem('money', vm.money)
})
......
......@@ -75,7 +75,7 @@
let vm = this
let url = process.env.basePath + 'my_repayment_query'
let param = {
user_phone:"13149628296",
user_phone:window.localStorage.getItem('user_phone'),
}
vm.hlsPopup.showLoading('数据加载中,请稍后!')
vm.hlsHttp.post(url, param).then(function (res) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment