From 239552e9863f48fee24086fe9ef20a0babafb646 Mon Sep 17 00:00:00 2001 From: yyc <1477138655@qq.com> Date: Fri, 16 Jun 2023 18:46:38 +0800 Subject: [PATCH] =?UTF-8?q?otc=E8=AE=A2=E5=8D=95=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/otc/otcAppealOrder.js | 12 +- src/api/otc/otcCurrencyCoin.js | 53 ++++ src/api/system/user.js | 2 +- src/views/otc/otcAppealConfig/index.vue | 28 +- src/views/otc/otcAppealOrder/index.vue | 207 ++++++++++++--- src/views/otc/otcCoin/index.vue | 96 ++++--- src/views/otc/otcCurrencyCoin/index.vue | 339 ++++++++++++++++++++++++ src/views/otc/otcOrder/index.vue | 5 + src/views/otc/otcPaymentType/index.vue | 215 ++++++++++----- src/views/otc/otcSysDict/index.vue | 94 +++---- src/views/system/role/index.vue | 2 +- src/views/system/user/index.vue | 2 +- 12 files changed, 840 insertions(+), 215 deletions(-) create mode 100644 src/api/otc/otcCurrencyCoin.js create mode 100644 src/views/otc/otcCurrencyCoin/index.vue diff --git a/src/api/otc/otcAppealOrder.js b/src/api/otc/otcAppealOrder.js index b0c8234..3f8f1eb 100644 --- a/src/api/otc/otcAppealOrder.js +++ b/src/api/otc/otcAppealOrder.js @@ -35,6 +35,16 @@ export function updateOtcAppealOrder(data) { }) } +// 审核OTC申诉订单 +export function appleOtcAppealOrder(data) { + return request({ + url: '/otc/otcAppealOrder/audit', + method: 'put', + data: data + }) +} + + // 删除OTC申诉订单 export function delOtcAppealOrder(id) { return request({ @@ -50,4 +60,4 @@ export function exportOtcAppealOrder(query) { method: 'get', params: query }) -} \ No newline at end of file +} diff --git a/src/api/otc/otcCurrencyCoin.js b/src/api/otc/otcCurrencyCoin.js new file mode 100644 index 0000000..b951b55 --- /dev/null +++ b/src/api/otc/otcCurrencyCoin.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询法币信息列表 +export function listOtcCurrencyCoin(query) { + return request({ + url: '/otc/otcCurrencyCoin/list', + method: 'get', + params: query + }) +} + +// 查询法币信息详细 +export function getOtcCurrencyCoin(coin) { + return request({ + url: '/otc/otcCurrencyCoin/' + coin, + method: 'get' + }) +} + +// 新增法币信息 +export function addOtcCurrencyCoin(data) { + return request({ + url: '/otc/otcCurrencyCoin', + method: 'post', + data: data + }) +} + +// 修改法币信息 +export function updateOtcCurrencyCoin(data) { + return request({ + url: '/otc/otcCurrencyCoin', + method: 'put', + data: data + }) +} + +// 删除法币信息 +export function delOtcCurrencyCoin(coin) { + return request({ + url: '/otc/otcCurrencyCoin/' + coin, + method: 'delete' + }) +} + +// 导出法币信息 +export function exportOtcCurrencyCoin(query) { + return request({ + url: '/otc/otcCurrencyCoin/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/src/api/system/user.js b/src/api/system/user.js index f2f76ef..2bfa18e 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -129,7 +129,7 @@ export function updateAuthRole(data) { // 查询部门下拉树结构 export function deptTreeSelect() { return request({ - url: '/system/user/deptTree', + url: '/system/dept/treeselect', method: 'get' }) } diff --git a/src/views/otc/otcAppealConfig/index.vue b/src/views/otc/otcAppealConfig/index.vue index 9273274..832e044 100644 --- a/src/views/otc/otcAppealConfig/index.vue +++ b/src/views/otc/otcAppealConfig/index.vue @@ -68,7 +68,7 @@ - + diff --git a/src/views/otc/otcOrder/index.vue b/src/views/otc/otcOrder/index.vue index f20eabd..4ec9fd0 100644 --- a/src/views/otc/otcOrder/index.vue +++ b/src/views/otc/otcOrder/index.vue @@ -146,6 +146,11 @@ --> + + +