Commit 12923787 authored by linxin's avatar linxin

test

parent 04495ad9
......@@ -26,12 +26,12 @@
<item>
<img slot="left-icon" src="@/assets/reimburseMyself/reimburse.png" class="left-icon">
<div slot="name">还款金额</div>
<div slot="content" class="money-font">{{list.orderamount | currency}}</div>
<div slot="content" class="money-font">{{ list.orderamount | currency }}</div>
</item>
<item>
<img slot="left-icon" src="" class="left-icon">
<div slot="name" class="time-font">还款时间</div>
<div slot="content" class="time-font">{{list.order_date}}</div>
<div slot="content" class="time-font">{{ list.order_date }}</div>
</item>
</list-item>
</section>
......@@ -40,42 +40,34 @@
</template>
<script>
export default {
data() {
export default {
data () {
return {
reimburseList: [],
keyWords: '',
}
},
created: function () {
},
mounted: function () {
},
updated: function () {
},
destroyed: function () {
},
beforeRouteEnter (to, from, next) {
next(vm => {
//if (from.name === 'MyInfo') {
// if (from.name === 'MyInfo') {
vm.getList()
// }
})
},
methods: {
godetail(e){
godetail (e) {
this.$router.push({
name:'ReimburseDetail',
params:{
order_id:e
}
name: 'ReimburseDetail',
params: {
order_id: e,
},
})
},
getList(){
getList () {
let vm = this
let url = process.env.basePath + 'my_repayment_query'
let param = {
user_phone:window.localStorage.getItem('user_phone'),
user_phone: window.localStorage.getItem('user_phone'),
}
vm.hlsPopup.showLoading('数据加载中,请稍后!')
vm.hlsHttp.post(url, param).then(function (res) {
......@@ -87,10 +79,9 @@
}
}
})
}
}
}
},
},
}
</script>
<style lang="less" rel="stylesheet">
......
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