diff --git a/.env.staging b/.env.staging index 361859f..3f732ea 100644 --- a/.env.staging +++ b/.env.staging @@ -1,8 +1,6 @@ # 页面标题 VUE_APP_TITLE = 若依管理系统 -NODE_ENV = production - # 测试环境配置 ENV = 'staging' diff --git a/package.json b/package.json index f7da146..cbc1e2f 100644 --- a/package.json +++ b/package.json @@ -45,8 +45,10 @@ "file-saver": "2.0.5", "fuse.js": "6.4.3", "highlight.js": "9.18.5", + "jquery": "^3.7.0", "js-beautify": "1.13.0", "js-cookie": "3.0.1", + "js-md5": "^0.7.3", "jsencrypt": "3.0.0-rc.1", "nprogress": "0.2.0", "quill": "1.3.7", diff --git a/src/api/otc/OtcStoreBondConfig.js b/src/api/otc/OtcStoreBondConfig.js new file mode 100644 index 0000000..90a5a05 --- /dev/null +++ b/src/api/otc/OtcStoreBondConfig.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询承兑商质押金费率配置列表 +export function listOtcStoreBondConfig(query) { + return request({ + url: '/otc/OtcStoreBondConfig/list', + method: 'get', + params: query + }) +} + +// 查询承兑商质押金费率配置详细 +export function getOtcStoreBondConfig(id) { + return request({ + url: '/otc/OtcStoreBondConfig/' + id, + method: 'get' + }) +} + +// 新增承兑商质押金费率配置 +export function addOtcStoreBondConfig(data) { + return request({ + url: '/otc/OtcStoreBondConfig', + method: 'post', + data: data + }) +} + +// 修改承兑商质押金费率配置 +export function updateOtcStoreBondConfig(data) { + return request({ + url: '/otc/OtcStoreBondConfig', + method: 'put', + data: data + }) +} + +// 删除承兑商质押金费率配置 +export function delOtcStoreBondConfig(id) { + return request({ + url: '/otc/OtcStoreBondConfig/' + id, + method: 'delete' + }) +} + +// 导出承兑商质押金费率配置 +export function exportOtcStoreBondConfig(query) { + return request({ + url: '/otc/OtcStoreBondConfig/export', + method: 'get', + params: query + }) +} \ No newline at end of file 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/otc/otcStoreBond.js b/src/api/otc/otcStoreBond.js new file mode 100644 index 0000000..47c5eda --- /dev/null +++ b/src/api/otc/otcStoreBond.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询承兑商保证金记录列表 +export function listOtcStoreBond(query) { + return request({ + url: '/otc/otcStoreBond/list', + method: 'get', + params: query + }) +} + +// 查询承兑商保证金记录详细 +export function getOtcStoreBond(id) { + return request({ + url: '/otc/otcStoreBond/' + id, + method: 'get' + }) +} + +// 新增承兑商保证金记录 +export function addOtcStoreBond(data) { + return request({ + url: '/otc/otcStoreBond', + method: 'post', + data: data + }) +} + +// 修改承兑商保证金记录 +export function updateOtcStoreBond(data) { + return request({ + url: '/otc/otcStoreBond', + method: 'put', + data: data + }) +} + +// 删除承兑商保证金记录 +export function delOtcStoreBond(id) { + return request({ + url: '/otc/otcStoreBond/' + id, + method: 'delete' + }) +} + +// 导出承兑商保证金记录 +export function exportOtcStoreBond(query) { + return request({ + url: '/otc/otcStoreBond/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/api/user/ad.js b/src/api/user/ad.js new file mode 100644 index 0000000..bb06858 --- /dev/null +++ b/src/api/user/ad.js @@ -0,0 +1,78 @@ +import request from '@/utils/request' + +// 查询广告文本内容列表 +export function listAd(query) { + return request({ + url: '/user/ad/list', + method: 'get', + params: query + }) +} +// 查询广告文本内容列表 +export function listHelp(query) { + return request({ + url: '/user/adHelp/list', + method: 'get', + params: query + }) +} + + + +// 查询广告文本内容详细 +export function getAd(id) { + return request({ + url: '/user/ad/' + id, + method: 'get' + }) +} + +// 新增广告文本内容 +export function addAd(data) { + return request({ + url: '/user/ad/add', + method: 'post', + data: data + }) +} + +// 修改广告文本内容 +export function updateAd(data) { + return request({ + url: '/user/ad/edit', + method: 'put', + data: data + }) +} + +// 修改广告文本内容 +export function changeStatus(id,dataStatus) { + const data={ + id, + dataStatus + } + return request({ + url: '/user/ad/edit', + method: 'put', + data: data + }) +} + + + +// 删除广告文本内容 +export function delAd(id) { + return request({ + url: '/user/ad/' + id, + method: 'delete' + }) +} + +// 导出广告文本内容 +export function exportAd(query) { + return request({ + url: '/user/ad/export', + method: 'get', + params: query + }) +} diff --git a/src/api/user/position.js b/src/api/user/position.js new file mode 100644 index 0000000..f9fc573 --- /dev/null +++ b/src/api/user/position.js @@ -0,0 +1,63 @@ +import request from '@/utils/request' + +// 查询广告位列表 +export function listAdPosition(query) { + return request({ + url: '/user/position/list', + method: 'get', + params: query + }) +} + + +// 查询广告位列表 +export function listAdPositionAll(query) { + return request({ + url: '/user/position/listAll', + method: 'get', + params: query + }) +} + +// 查询广告位详细 +export function getAdPosition(id) { + return request({ + url: '/user/position/' + id, + method: 'get' + }) +} + +// 新增广告位 +export function addAdPosition(data) { + return request({ + url: '/user/position', + method: 'post', + data: data + }) +} + +// 修改广告位 +export function updateAdPosition(data) { + return request({ + url: '/user/position', + method: 'put', + data: data + }) +} + +// 删除广告位 +export function delAdPosition(id) { + return request({ + url: '/user/position/' + id, + method: 'delete' + }) +} + +// 导出广告位 +export function exportAdPosition(query) { + return request({ + url: '/user/positionposition/export', + method: 'get', + params: query + }) +} diff --git a/src/api/user/walletAssetsRecord.js b/src/api/user/walletAssetsRecord.js new file mode 100644 index 0000000..ec067f4 --- /dev/null +++ b/src/api/user/walletAssetsRecord.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询钱包资金流水记录列表 +export function listWalletAssetsRecord(query) { + return request({ + url: '/user/walletAssetsRecord/list', + method: 'get', + params: query + }) +} + +// 查询钱包资金流水记录详细 +export function getWalletAssetsRecord(id) { + return request({ + url: '/user/walletAssetsRecord/' + id, + method: 'get' + }) +} + +// 新增钱包资金流水记录 +export function addWalletAssetsRecord(data) { + return request({ + url: '/user/walletAssetsRecord', + method: 'post', + data: data + }) +} + +// 修改钱包资金流水记录 +export function updateWalletAssetsRecord(data) { + return request({ + url: '/user/walletAssetsRecord', + method: 'put', + data: data + }) +} + +// 删除钱包资金流水记录 +export function delWalletAssetsRecord(id) { + return request({ + url: '/user/walletAssetsRecord/' + id, + method: 'delete' + }) +} + +// 导出钱包资金流水记录 +export function exportWalletAssetsRecord(query) { + return request({ + url: '/user/walletAssetsRecord/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/src/views/otc/OtcStoreBondConfig/index.vue b/src/views/otc/OtcStoreBondConfig/index.vue new file mode 100644 index 0000000..acc94db --- /dev/null +++ b/src/views/otc/OtcStoreBondConfig/index.vue @@ -0,0 +1,369 @@ + + + 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 @@