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 0512da2..18bc3f3 100644 --- a/src/views/otc/otcAppealConfig/index.vue +++ b/src/views/otc/otcAppealConfig/index.vue @@ -68,8 +68,8 @@ - - + + diff --git a/src/views/otc/otcOrder/index.vue b/src/views/otc/otcOrder/index.vue index f89cddf..7c4ac3c 100644 --- a/src/views/otc/otcOrder/index.vue +++ b/src/views/otc/otcOrder/index.vue @@ -13,8 +13,8 @@ - - + + - - - - - + + + + + + + + + + - + - - 新增 - - - 修改 - - - 删除 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - + + - - - + + + - + - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + @@ -146,6 +146,11 @@ --> + + + @@ -175,8 +180,8 @@ /> - - + + @@ -185,77 +190,95 @@ - + - + - + - - - - - + + - + + + + - - - + + + - - - 请选择字典生成 - + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + @@ -278,18 +301,32 @@ - - 请选择字典生成 - + + + + + + - + + @@ -320,8 +357,11 @@ export default { // 用户otc订单表格数据 otcOrderList: [], feeTypeOptions: [], - orderStatusOptions: [], - tradeTypeStatusOptions: [], + orderStatusOptions: [], + tradeTypeStatusOptions: [], + //申诉字典 + appealStatusOptions:[], + cancelTypeOptions:[], // 弹出层标题 title: "", // 是否显示弹出层 @@ -388,6 +428,12 @@ export default { this.getDicts("fee_type").then(response => { this.feeTypeOptions = response.data; }); + this.getDicts("appeal_status").then(response => { + this.appealStatusOptions = response.data; + }); + this.getDicts("cancel_type").then(response => { + this.cancelTypeOptions = response.data; + }); }, @@ -481,7 +527,7 @@ export default { getOtcOrder(id).then(response => { this.form = response.data; this.open = true; - this.title = "修改用户otc订单"; + this.title = "查询用户otc订单"; }); }, /** 提交按钮 */ diff --git a/src/views/otc/otcPaymentType/index.vue b/src/views/otc/otcPaymentType/index.vue index 7573a18..c0c8c8a 100644 --- a/src/views/otc/otcPaymentType/index.vue +++ b/src/views/otc/otcPaymentType/index.vue @@ -1,25 +1,34 @@