http消费记录
This commit is contained in:
@@ -58,7 +58,6 @@ export default {
|
|||||||
get() {
|
get() {
|
||||||
this.$api.post(this.$api.phpURL + "http/admin/get_order_list", this.searchModel).then(res => {
|
this.$api.post(this.$api.phpURL + "http/admin/get_order_list", this.searchModel).then(res => {
|
||||||
this.retData = res;
|
this.retData = res;
|
||||||
console.log(res)
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
44
src/components/http/payments.vue
Normal file
44
src/components/http/payments.vue
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: "httprecharge",
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
retData:{
|
||||||
|
data:{
|
||||||
|
d:{
|
||||||
|
item:[],
|
||||||
|
pager:{}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
money:0
|
||||||
|
},
|
||||||
|
searchModel:{
|
||||||
|
PageIndex: 1,
|
||||||
|
}
|
||||||
|
};
|
||||||
|
},
|
||||||
|
created () {
|
||||||
|
this.$store.commit('setCurrentNav', 'HTTP>>原后台消费记录')
|
||||||
|
this.get()
|
||||||
|
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
search(){
|
||||||
|
this.searchModel.PageIndex=1;
|
||||||
|
this.get();
|
||||||
|
},
|
||||||
|
get() {
|
||||||
|
this.$api.post(this.$api.phpURL + "http/admin/get_payments", this.searchModel).then(res => {
|
||||||
|
alert();
|
||||||
|
});
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
@@ -32,6 +32,7 @@
|
|||||||
<el-table-column prop="ExpiredProductAccountCount" label="未过期数"></el-table-column>-->
|
<el-table-column prop="ExpiredProductAccountCount" label="未过期数"></el-table-column>-->
|
||||||
<!-- <el-table-column prop="ConsumeAmount" label="消费总额"></el-table-column> -->
|
<!-- <el-table-column prop="ConsumeAmount" label="消费总额"></el-table-column> -->
|
||||||
<el-table-column prop="RestAmount" label="余额"></el-table-column>
|
<el-table-column prop="RestAmount" label="余额"></el-table-column>
|
||||||
|
<el-table-column prop="ju_money" label="H币"></el-table-column>
|
||||||
<el-table-column prop="discount" label="折扣"></el-table-column>
|
<el-table-column prop="discount" label="折扣"></el-table-column>
|
||||||
<el-table-column prop="RestAmount" label="测试限额/领用数">
|
<el-table-column prop="RestAmount" label="测试限额/领用数">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
|||||||
@@ -319,6 +319,11 @@ let router = new Router({
|
|||||||
path: 'http/order',
|
path: 'http/order',
|
||||||
name: 'httporder',
|
name: 'httporder',
|
||||||
component: resolve => require(['@/components/http/order'], resolve)
|
component: resolve => require(['@/components/http/order'], resolve)
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'http/payments',
|
||||||
|
name: 'httppayments',
|
||||||
|
component: resolve => require(['@/components/http/payments'], resolve)
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user