http消费记录

This commit is contained in:
“wanyongkang”
2024-01-05 17:41:24 +08:00
parent ae00ff4642
commit afe27a75a4
4 changed files with 50 additions and 1 deletions

View File

@@ -58,7 +58,6 @@ export default {
get() {
this.$api.post(this.$api.phpURL + "http/admin/get_order_list", this.searchModel).then(res => {
this.retData = res;
console.log(res)
});
},
}

View 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>

View File

@@ -32,6 +32,7 @@
<el-table-column prop="ExpiredProductAccountCount" 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="ju_money" label="H币"></el-table-column>
<el-table-column prop="discount" label="折扣"></el-table-column>
<el-table-column prop="RestAmount" label="测试限额/领用数">
<template slot-scope="scope">

View File

@@ -319,6 +319,11 @@ let router = new Router({
path: 'http/order',
name: 'httporder',
component: resolve => require(['@/components/http/order'], resolve)
},
{
path: 'http/payments',
name: 'httppayments',
component: resolve => require(['@/components/http/payments'], resolve)
}
]
}