资金明细显示备注

This commit is contained in:
wanyongkang
2020-10-30 17:06:07 +08:00
parent 35fb050db4
commit 6543bacdf1

View File

@@ -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> <template>
<div v-loading="loading"> <div v-loading="loading">
<div class="heior_box"> <div class="heior_box">
@@ -20,6 +28,7 @@
<el-table-column prop="RestAmount1" label="操做前余额"></el-table-column> <el-table-column prop="RestAmount1" label="操做前余额"></el-table-column>
<el-table-column prop="ScoreValue" 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="RestAmount2" label="操做后余额"></el-table-column>
<el-table-column prop="Remark" label="备注"></el-table-column>
</el-table> </el-table>
<div class="block"> <div class="block">
<el-pagination <el-pagination
@@ -35,56 +44,56 @@
</template> </template>
<script> <script>
export default { export default {
name: "userIndex", name: 'userIndex',
components: { components: {
cutTip: () => import("@/components/common/cutTip"), cutTip: () => import('@/components/common/cutTip'),
phoneHide: () => import("@/components/common/phonehide") phoneHide: () => import('@/components/common/phonehide')
}, },
data() { data () {
return { return {
loading: false, loading: false,
retData: { TotalCount: 0, Data: [] }, retData: { TotalCount: 0, Data: [] },
searchModel: { searchModel: {
PageIndex: 1, PageIndex: 1,
keyWord: "" keyWord: ''
}, },
detailAmountData: [], detailAmountData: [],
formatterCreateType(row, column, cellValue, index) { formatterCreateType (row, column, cellValue, index) {
switch (cellValue) { switch (cellValue) {
case 1: case 1:
return "管理员添加"; return '管理员添加'
case 2: case 2:
return "用户注册"; return '用户注册'
case 3: case 3:
return "淘宝注册"; return '淘宝注册'
} }
return ""; return ''
} }
}; }
}, },
created() { created () {
this.$store.commit("setCurrentNav", "订单管理>>资金明细"); this.$store.commit('setCurrentNav', '订单管理>>资金明细')
this.getAmountDetail(); this.getAmountDetail()
}, },
methods: { methods: {
search(){ search () {
this.searchModel.PageIndex=1; this.searchModel.PageIndex = 1
this.getAmountDetail(); this.getAmountDetail()
}, },
getAmountDetail() { getAmountDetail () {
this.loading = true; this.loading = true
this.$api this.$api
.get("baseinfo/v1/user/AmountDetails", this.searchModel) .get('baseinfo/v1/user/AmountDetails', this.searchModel)
.then(res => { .then(res => {
this.retData = res; this.retData = res
this.loading = false; this.loading = false
}); })
}, },
dataExport(){ dataExport () {
this.$api.getDownloadFile("/baseinfo/v1/user/ExportAmount", this.searchModel); this.$api.getDownloadFile('/baseinfo/v1/user/ExportAmount', this.searchModel)
} }
} }
}; }
</script> </script>
<style scoped> <style scoped>
</style> </style>