Commit 14633119 authored by linxin's avatar linxin

add

parent 4a103584
...@@ -331,6 +331,7 @@ export default { ...@@ -331,6 +331,7 @@ export default {
vm.user_bp_class = res.info.user_bp_class vm.user_bp_class = res.info.user_bp_class
vm.bp_id = res.info.user_bp_id vm.bp_id = res.info.user_bp_id
window.sessionStorage.setItem('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_name = res.info.user_bp_name
vm.user_bp_type = res.info.user_bp_type vm.user_bp_type = res.info.user_bp_type
vm.user_phone = res.info.user_phone vm.user_phone = res.info.user_phone
......
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
}, },
goHome () { goHome () {
this.$router.replace({ this.$router.replace({
name: 'HomePage', name: 'MyInfo',
}) })
}, },
pay () { pay () {
......
...@@ -84,7 +84,7 @@ export default { ...@@ -84,7 +84,7 @@ export default {
methods: { methods: {
goHome () { goHome () {
this.$router.replace({ this.$router.replace({
name: 'HomePage', name: 'MyInfo',
}) })
}, },
getRent () { getRent () {
......
...@@ -38,7 +38,7 @@ export default { ...@@ -38,7 +38,7 @@ export default {
data () { data () {
return { return {
date: null, date: null,
userName: this.$route.params.userName, userName: window.sessionStorage.getItem('bp_name'),
isShow: false, isShow: false,
name: null, name: null,
money: this.$route.params.money, money: this.$route.params.money,
...@@ -46,11 +46,6 @@ export default { ...@@ -46,11 +46,6 @@ export default {
}, },
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
next(vm => { 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 vm.name = from.name
window.sessionStorage.setItem('money', vm.money) window.sessionStorage.setItem('money', vm.money)
}) })
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
let vm = this let vm = this
let url = process.env.basePath + 'my_repayment_query' let url = process.env.basePath + 'my_repayment_query'
let param = { let param = {
user_phone:"13149628296", user_phone:window.localStorage.getItem('user_phone'),
} }
vm.hlsPopup.showLoading('数据加载中,请稍后!') vm.hlsPopup.showLoading('数据加载中,请稍后!')
vm.hlsHttp.post(url, param).then(function (res) { 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