Merge remote-tracking branch 'origin/master'

master
chaiyapeng 2024-08-23 21:56:10 +08:00
commit 23dd212295
3 changed files with 7 additions and 4 deletions

View File

@ -14,7 +14,7 @@ export function listUser(query) {
// 用户余额 // 用户余额
export function userRecharge(data) { export function userRecharge(data) {
return request({ return request({
url: '/user/alipay/recharge', url: '/money/alipay/recharge',
method: 'post', method: 'post',
params: data params: data
}) })
@ -23,7 +23,7 @@ export function userRecharge(data) {
// 查询用户余额 // 查询用户余额
export function userBalance(userId) { export function userBalance(userId) {
return request({ return request({
url: '/user/balance/' + userId, url: '/money/balance/' + userId,
method: 'get', method: 'get',
}) })
} }

View File

@ -14,7 +14,7 @@
<el-form-item label="规则状态"> <el-form-item label="规则状态">
<el-input v-model="engine.status"></el-input> <el-input v-model="engine.status"></el-input>
</el-form-item> </el-form-item>
<el-button @click="findSelectSourceList()"> <el-button @click="select()">
查询 查询
</el-button> </el-button>
</el-form> </el-form>
@ -263,6 +263,9 @@ export default {
this.download('engine/engine/export', { this.download('engine/engine/export', {
...this.engineReq ...this.engineReq
}, `source_${new Date().getTime()}.xlsx`) }, `source_${new Date().getTime()}.xlsx`)
},
select(){
this.findSelectSourceList();
} }
}, },
// - 访this", // - 访this",

View File

@ -7,7 +7,7 @@
label="用户余额" label="用户余额"
width="180"> width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<span style="margin-left: 10px">{{ scope.row.paymentAmount }}</span> <span style="margin-left: 10px">{{ scope.row.userBalance }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>