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

修改bug

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