Commit 12923787 authored by linxin's avatar linxin

test

parent 04495ad9
...@@ -26,12 +26,12 @@ ...@@ -26,12 +26,12 @@
<item> <item>
<img slot="left-icon" src="@/assets/reimburseMyself/reimburse.png" class="left-icon"> <img slot="left-icon" src="@/assets/reimburseMyself/reimburse.png" class="left-icon">
<div slot="name">还款金额</div> <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>
<item> <item>
<img slot="left-icon" src="" class="left-icon"> <img slot="left-icon" src="" class="left-icon">
<div slot="name" class="time-font">还款时间</div> <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> </item>
</list-item> </list-item>
</section> </section>
...@@ -40,42 +40,34 @@ ...@@ -40,42 +40,34 @@
</template> </template>
<script> <script>
export default { export default {
data() { data () {
return { return {
reimburseList: [], reimburseList: [],
keyWords: '', keyWords: '',
} }
}, },
created: function () {
},
mounted: function () {
},
updated: function () {
},
destroyed: function () {
},
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
next(vm => { next(vm => {
//if (from.name === 'MyInfo') { // if (from.name === 'MyInfo') {
vm.getList() vm.getList()
// } // }
}) })
}, },
methods: { methods: {
godetail(e){ godetail (e) {
this.$router.push({ this.$router.push({
name:'ReimburseDetail', name: 'ReimburseDetail',
params:{ params: {
order_id:e order_id: e,
} },
}) })
}, },
getList(){ getList () {
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:window.localStorage.getItem('user_phone'), 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) {
...@@ -87,10 +79,9 @@ ...@@ -87,10 +79,9 @@
} }
} }
}) })
} },
},
} }
}
</script> </script>
<style lang="less" rel="stylesheet"> <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