Commit 15b33cc4 authored by 罗林杰's avatar 罗林杰

修改bug

parent 9767ed82
......@@ -66,3 +66,11 @@ export function exportMemGoldCoinFlow(query) {
responseType: 'blob'
})
}
// 会员消费记录表
export function queryMemGoldCoinFollowList(query) {
return request({
url: '/memGoldCoinFlow/queryMemGoldCoinFollowList',
method: 'get',
params: query
})
}
......@@ -75,3 +75,10 @@ export function listMessageList(query) {
params: query
})
}
export function delMessageList(businessId) {
return request({
url: '/memLeaveMessage/delete/' + businessId,
method: 'delete'
})
}
......@@ -98,11 +98,16 @@
{{ scope.row.orderId || '-' }}
</template>
</el-table-column>
<el-table-column label="用户" prop="userNickName" :show-overflow-tooltip="true">
<el-table-column label="发起用户" prop="userNickName" :show-overflow-tooltip="true">
<template slot-scope="scope">
{{ scope.row.userNickName || '-' }}
</template>
</el-table-column>
<el-table-column label="目标用户" prop="userNickName" :show-overflow-tooltip="true">
<template slot-scope="scope">
{{ scope.row.targetNickName || '-' }}
</template>
</el-table-column>
<el-table-column label="备注" prop="remarks" :show-overflow-tooltip="true">
<template slot-scope="scope">
{{ scope.row.remarks || '-' }}
......
......@@ -417,7 +417,11 @@ import { parseTime } from '@/utils'
import { getDataCache, setDataCache } from '@/assets/js/filterData'
import { getOptions } from '@/utils/options'
import { listMemInfo } from '@/api/contentManagement/memInfo'
import { addMemGoldCoinFlow, listMemGoldCoinFlow } from '@/api/contentManagement/memGoldCoinFlow'
import {
addMemGoldCoinFlow,
listMemGoldCoinFlow,
queryMemGoldCoinFollowList
} from '@/api/contentManagement/memGoldCoinFlow'
export default {
name: 'Index',
......@@ -750,7 +754,7 @@ export default {
} else {
this.rechargeForm.balance = row.goldCoinsCount
}
listMemGoldCoinFlow(this.memGoldCoinFlowQueryParams).then(
queryMemGoldCoinFollowList(this.memGoldCoinFlowQueryParams).then(
response => {
this.memGoldCoinFlowList = response.data
this.memGoldCoinFlowTotal = response.total
......@@ -922,7 +926,13 @@ export default {
this.rechargeForm.count = ''
},
rechargeSubmitForm() {
addMemGoldCoinFlow(this.rechargeForm).then(response => {
const form = {
memberId: this.rechargeForm.memberId,
balance: this.rechargeForm.balance,
actionType: this.rechargeForm.actionType,
type: this.rechargeForm.type
}
addMemGoldCoinFlow(form).then(response => {
if (response.code === 200) {
this.rechargeOpen = false
this.rechargeForm.count = ''
......
......@@ -115,7 +115,7 @@
</template>
<script>
import { delOpmBlackList, listMessageList } from '@/api/contentManagement/opmBlackList'
import {delMessageList, delOpmBlackList, listMessageList} from '@/api/contentManagement/opmBlackList'
import commonField from '@/utils/commonField'
export default {
name: 'OpmBlackList',
......@@ -211,7 +211,7 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(function() {
return delOpmBlackList(id)
return delMessageList(id)
}).then(() => {
this.getList()
this.$message({
......
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