资金明细显示备注
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
<!--
|
||||
* @Descripttion: 123
|
||||
* @version: 123
|
||||
* @Author: kangkang
|
||||
* @Date: 2020-09-30 21:48:44
|
||||
* @LastEditors: kangkang
|
||||
* @LastEditTime: 2020-10-30 17:05:42
|
||||
-->
|
||||
<template>
|
||||
<div v-loading="loading">
|
||||
<div class="heior_box">
|
||||
@@ -20,6 +28,7 @@
|
||||
<el-table-column prop="RestAmount1" label="操做前余额"></el-table-column>
|
||||
<el-table-column prop="ScoreValue" label="金额"></el-table-column>
|
||||
<el-table-column prop="RestAmount2" label="操做后余额"></el-table-column>
|
||||
<el-table-column prop="Remark" label="备注"></el-table-column>
|
||||
</el-table>
|
||||
<div class="block">
|
||||
<el-pagination
|
||||
@@ -35,56 +44,56 @@
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: "userIndex",
|
||||
name: 'userIndex',
|
||||
components: {
|
||||
cutTip: () => import("@/components/common/cutTip"),
|
||||
phoneHide: () => import("@/components/common/phonehide")
|
||||
cutTip: () => import('@/components/common/cutTip'),
|
||||
phoneHide: () => import('@/components/common/phonehide')
|
||||
},
|
||||
data() {
|
||||
data () {
|
||||
return {
|
||||
loading: false,
|
||||
retData: { TotalCount: 0, Data: [] },
|
||||
searchModel: {
|
||||
PageIndex: 1,
|
||||
keyWord: ""
|
||||
keyWord: ''
|
||||
},
|
||||
detailAmountData: [],
|
||||
formatterCreateType(row, column, cellValue, index) {
|
||||
formatterCreateType (row, column, cellValue, index) {
|
||||
switch (cellValue) {
|
||||
case 1:
|
||||
return "管理员添加";
|
||||
return '管理员添加'
|
||||
case 2:
|
||||
return "用户注册";
|
||||
return '用户注册'
|
||||
case 3:
|
||||
return "淘宝注册";
|
||||
return '淘宝注册'
|
||||
}
|
||||
return "";
|
||||
return ''
|
||||
}
|
||||
};
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.$store.commit("setCurrentNav", "订单管理>>资金明细");
|
||||
this.getAmountDetail();
|
||||
created () {
|
||||
this.$store.commit('setCurrentNav', '订单管理>>资金明细')
|
||||
this.getAmountDetail()
|
||||
},
|
||||
methods: {
|
||||
search(){
|
||||
this.searchModel.PageIndex=1;
|
||||
this.getAmountDetail();
|
||||
search () {
|
||||
this.searchModel.PageIndex = 1
|
||||
this.getAmountDetail()
|
||||
},
|
||||
getAmountDetail() {
|
||||
this.loading = true;
|
||||
getAmountDetail () {
|
||||
this.loading = true
|
||||
this.$api
|
||||
.get("baseinfo/v1/user/AmountDetails", this.searchModel)
|
||||
.get('baseinfo/v1/user/AmountDetails', this.searchModel)
|
||||
.then(res => {
|
||||
this.retData = res;
|
||||
this.loading = false;
|
||||
});
|
||||
this.retData = res
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
dataExport(){
|
||||
this.$api.getDownloadFile("/baseinfo/v1/user/ExportAmount", this.searchModel);
|
||||
dataExport () {
|
||||
this.$api.getDownloadFile('/baseinfo/v1/user/ExportAmount', this.searchModel)
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user