diff --git a/src/api/rl/changeBalance.js b/src/api/rl/changeBalance.js new file mode 100644 index 0000000..96b7d7d --- /dev/null +++ b/src/api/rl/changeBalance.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询余额变动列表 +export function listChangeBalance(query) { + return request({ + url: '/system/changeBalance/list', + method: 'get', + params: query + }) +} + +// 查询余额变动详细 +export function getChangeBalance(changeId) { + return request({ + url: '/system/changeBalance/' + changeId, + method: 'get' + }) +} + +// 新增余额变动 +export function addChangeBalance(data) { + return request({ + url: '/system/changeBalance', + method: 'post', + data: data + }) +} + +// 修改余额变动 +export function updateChangeBalance(data) { + return request({ + url: '/system/changeBalance', + method: 'put', + data: data + }) +} + +// 删除余额变动 +export function delChangeBalance(changeId) { + return request({ + url: '/system/changeBalance/' + changeId, + method: 'delete' + }) +} diff --git a/src/api/rl/withdraw.js b/src/api/rl/withdraw.js new file mode 100644 index 0000000..4df9197 --- /dev/null +++ b/src/api/rl/withdraw.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询提现记录列表 +export function listWithdraw(query) { + return request({ + url: '/system/withdraw/list', + method: 'get', + params: query + }) +} + +// 查询提现记录详细 +export function getWithdraw(id) { + return request({ + url: '/system/withdraw/' + id, + method: 'get' + }) +} + +// 新增提现记录 +export function addWithdraw(data) { + return request({ + url: '/system/withdraw', + method: 'post', + data: data + }) +} + +// 修改提现记录 +export function updateWithdraw(data) { + return request({ + url: '/system/withdraw', + method: 'put', + data: data + }) +} + +// 删除提现记录 +export function delWithdraw(id) { + return request({ + url: '/system/withdraw/' + id, + method: 'delete' + }) +} diff --git a/src/assets/icons/svg/cancel.svg b/src/assets/icons/svg/cancel.svg new file mode 100644 index 0000000..0b2feee --- /dev/null +++ b/src/assets/icons/svg/cancel.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/svg/rule.svg b/src/assets/icons/svg/rule.svg new file mode 100644 index 0000000..a9470b4 --- /dev/null +++ b/src/assets/icons/svg/rule.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/views/system/changeBalance/index.vue b/src/views/system/changeBalance/index.vue new file mode 100644 index 0000000..0fff3a7 --- /dev/null +++ b/src/views/system/changeBalance/index.vue @@ -0,0 +1,331 @@ + + + diff --git a/src/views/system/withdraw/index.vue b/src/views/system/withdraw/index.vue new file mode 100644 index 0000000..dac34a5 --- /dev/null +++ b/src/views/system/withdraw/index.vue @@ -0,0 +1,392 @@ + + +