diff --git a/src/api/player.js b/src/api/player.js index 5daeeb3..65029fb 100644 --- a/src/api/player.js +++ b/src/api/player.js @@ -48,3 +48,11 @@ export function getGameMall(data, cursor, pagesize) { data }) } + +export function getRecharge(data, cursor, pagesize) { + return request({ + url: '/player/rechargequery?cursor=' + cursor + '&page_size=' + pagesize, + method: 'post', + data + }) +} diff --git a/src/router/index.js b/src/router/index.js index 28df331..0f4f6bf 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -282,6 +282,12 @@ export const asyncRoutes = [ name: 'gamemallquery', meta: { title: '游戏内商品查询', pername: 'gamemallquery' }, hidden: false + }, { + path: 'rechargequery', + component: () => import('@/views/player/rechargequery'), + name: 'rechargequery', + meta: { title: '充值查询', pername: 'rechargequery' }, + hidden: false } ] }, { diff --git a/src/views/blockplayer/index.vue b/src/views/blockplayer/index.vue index 4780e25..d0bed2d 100644 --- a/src/views/blockplayer/index.vue +++ b/src/views/blockplayer/index.vue @@ -155,7 +155,6 @@ export default { // this.getList() }, handleUpdate(row) { - console.log(row) this.form.blocked = row.blocked this.form.account_id = row.account_id this.dialogStatus = 'update' @@ -189,16 +188,13 @@ export default { }) }, getList() { - console.log('curpage ', this.curpage) const data = { 'page_dto': { 'page': this.curpage, 'pageSize': this.page_size } } - console.log('data', data) getBlockPlayerList(data).then(response => { - console.log(response) this.blockplayerList = response.data this.totalpage = response.total_page this.curpage = response.cur_page @@ -228,7 +224,6 @@ export default { } }, createData() { - console.log('add ', this.form) this.$refs['form'].validate((valid) => { if (valid) { addBlockPlayer(this.form).then(response => { @@ -247,7 +242,6 @@ export default { }) }, updateData() { - console.log('update', this.form) this.$refs['form'].validate((valid) => { if (valid) { updateBlockPlayer(this.form).then(response => { diff --git a/src/views/player/rechargequery.vue b/src/views/player/rechargequery.vue new file mode 100644 index 0000000..ed62f7a --- /dev/null +++ b/src/views/player/rechargequery.vue @@ -0,0 +1,263 @@ + + + + + + + + + + + + 查询 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/whitelist/index.vue b/src/views/whitelist/index.vue index 72ce75e..20f0a7a 100644 --- a/src/views/whitelist/index.vue +++ b/src/views/whitelist/index.vue @@ -144,7 +144,6 @@ export default { // this.getList() }, handleUpdate(row) { - console.log(row) this.form.type = row.type this.form.account_id = row.account_id this.dialogStatus = 'update' @@ -178,16 +177,13 @@ export default { }) }, getList() { - console.log('curpage ', this.curpage) const data = { 'page_dto': { 'page': this.curpage, 'pageSize': this.page_size } } - console.log('data', data) getWhiteList(data).then(response => { - console.log(response) this.whitelist = response.data this.totalpage = response.total_page this.curpage = response.cur_page @@ -217,7 +213,6 @@ export default { } }, createData() { - console.log('add ', this.form) this.$refs['form'].validate((valid) => { if (valid) { addWhiteList(this.form).then(response => { diff --git a/src/views/whitelist/super.vue b/src/views/whitelist/super.vue index 76e775f..ec1bb88 100644 --- a/src/views/whitelist/super.vue +++ b/src/views/whitelist/super.vue @@ -118,7 +118,6 @@ export default { // this.getList() }, handleUpdate(row) { - console.log(row) this.form.enable = row.enable this.form.user_identity = row.user_identity this.dialogStatus = 'update' @@ -129,16 +128,13 @@ export default { }) }, getList() { - console.log('curpage ', this.curpage) const data = { 'page_dto': { 'page': this.curpage, 'pageSize': this.page_size } } - console.log('data', data) getSuperWhiteList(data).then(response => { - console.log(response) this.superwhitelist = response.data this.totalpage = response.total_page this.curpage = response.cur_page @@ -168,7 +164,6 @@ export default { } }, createData() { - console.log('add ', this.form) this.$refs['form'].validate((valid) => { if (valid) { addSuperWhiteList(this.form).then(response => { @@ -187,7 +182,6 @@ export default { }) }, updateData() { - console.log('update', this.form) this.$refs['form'].validate((valid) => { if (valid) { updateSuperWhiteList(this.form).then(response => {