diff --git a/src/api/invest/exchange.js b/src/api/invest/exchange.js new file mode 100644 index 0000000..1ac689e --- /dev/null +++ b/src/api/invest/exchange.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询交易所基础信息列表 +export function listExchange(query) { + return request({ + url: '/invest/exchange/list', + method: 'get', + params: query + }) +} + +// 查询交易所基础信息详细 +export function getExchange(id) { + return request({ + url: '/invest/exchange/' + id, + method: 'get' + }) +} + +// 新增交易所基础信息 +export function addExchange(data) { + return request({ + url: '/invest/exchange', + method: 'post', + data + }) +} + +// 修改交易所基础信息 +export function updateExchange(data) { + return request({ + url: '/invest/exchange', + method: 'put', + data + }) +} + +// 删除交易所基础信息 +export function delExchange(id) { + return request({ + url: '/invest/exchange/' + id, + method: 'delete' + }) +} diff --git a/src/api/invest/futureBaseInfor.js b/src/api/invest/futureBaseInfor.js new file mode 100644 index 0000000..7ad8711 --- /dev/null +++ b/src/api/invest/futureBaseInfor.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询期货基本合约列表 +export function listFutureBaseInfor(query) { + return request({ + url: '/invest/futureBaseInfor/list', + method: 'get', + params: query + }) +} + +// 查询期货基本合约详细 +export function getFutureBaseInfor(id) { + return request({ + url: '/invest/futureBaseInfor/' + id, + method: 'get' + }) +} + +// 新增期货基本合约 +export function addFutureBaseInfor(data) { + return request({ + url: '/invest/futureBaseInfor', + method: 'post', + data + }) +} + +// 修改期货基本合约 +export function updateFutureBaseInfor(data) { + return request({ + url: '/invest/futureBaseInfor', + method: 'put', + data + }) +} + +// 删除期货基本合约 +export function delFutureBaseInfor(id) { + return request({ + url: '/invest/futureBaseInfor/' + id, + method: 'delete' + }) +} diff --git a/src/api/invest/futureStandardInfor.js b/src/api/invest/futureStandardInfor.js new file mode 100644 index 0000000..9f5060b --- /dev/null +++ b/src/api/invest/futureStandardInfor.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询期货品种标准合约列表 +export function listFutureStandardInfor(query) { + return request({ + url: '/invest/futureStandardInfor/list', + method: 'get', + params: query + }) +} + +// 查询期货品种标准合约详细 +export function getFutureStandardInfor(id) { + return request({ + url: '/invest/futureStandardInfor/' + id, + method: 'get' + }) +} + +// 新增期货品种标准合约 +export function addFutureStandardInfor(data) { + return request({ + url: '/invest/futureStandardInfor', + method: 'post', + data + }) +} + +// 修改期货品种标准合约 +export function updateFutureStandardInfor(data) { + return request({ + url: '/invest/futureStandardInfor', + method: 'put', + data + }) +} + +// 删除期货品种标准合约 +export function delFutureStandardInfor(id) { + return request({ + url: '/invest/futureStandardInfor/' + id, + method: 'delete' + }) +} diff --git a/src/api/invest/stockBaseInfor.js b/src/api/invest/stockBaseInfor.js new file mode 100644 index 0000000..43c9d79 --- /dev/null +++ b/src/api/invest/stockBaseInfor.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询股票基础信息列表 +export function listStockBaseInfor(query) { + return request({ + url: '/invest/stockBaseInfor/list', + method: 'get', + params: query + }) +} + +// 查询股票基础信息详细 +export function getStockBaseInfor(id) { + return request({ + url: '/invest/stockBaseInfor/' + id, + method: 'get' + }) +} + +// 新增股票基础信息 +export function addStockBaseInfor(data) { + return request({ + url: '/invest/stockBaseInfor', + method: 'post', + data + }) +} + +// 修改股票基础信息 +export function updateStockBaseInfor(data) { + return request({ + url: '/invest/stockBaseInfor', + method: 'put', + data + }) +} + +// 删除股票基础信息 +export function delStockBaseInfor(id) { + return request({ + url: '/invest/stockBaseInfor/' + id, + method: 'delete' + }) +} diff --git a/src/views/invest/creditInstallmentHistory/index.vue b/src/views/invest/creditInstallmentHistory/index.vue index 07bd999..021a33d 100644 --- a/src/views/invest/creditInstallmentHistory/index.vue +++ b/src/views/invest/creditInstallmentHistory/index.vue @@ -121,15 +121,10 @@ --> - - + + + + diff --git a/src/views/invest/exchange/index.vue b/src/views/invest/exchange/index.vue new file mode 100644 index 0000000..d2a8d38 --- /dev/null +++ b/src/views/invest/exchange/index.vue @@ -0,0 +1,285 @@ + + + diff --git a/src/views/invest/futureBaseInfor/index.vue b/src/views/invest/futureBaseInfor/index.vue new file mode 100644 index 0000000..cd8c8c1 --- /dev/null +++ b/src/views/invest/futureBaseInfor/index.vue @@ -0,0 +1,371 @@ + + + diff --git a/src/views/invest/futureStandardInfor/index.vue b/src/views/invest/futureStandardInfor/index.vue new file mode 100644 index 0000000..0433218 --- /dev/null +++ b/src/views/invest/futureStandardInfor/index.vue @@ -0,0 +1,450 @@ + + + diff --git a/src/views/invest/stockBaseInfor/index.vue b/src/views/invest/stockBaseInfor/index.vue new file mode 100644 index 0000000..5886d9e --- /dev/null +++ b/src/views/invest/stockBaseInfor/index.vue @@ -0,0 +1,337 @@ + + +