diff --git a/src/api/system/key.js b/src/api/system/key.js new file mode 100644 index 0000000..c295223 --- /dev/null +++ b/src/api/system/key.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询私钥申请列表 +export function listKey(query) { + return request({ + url: '/conflux/key/list', + method: 'get', + params: query + }) +} + +// 查询私钥申请详细 +export function getKey(id) { + return request({ + url: '/conflux/key/' + id, + method: 'get' + }) +} + +// 新增私钥申请 +export function addKey(data) { + return request({ + url: '/conflux/key', + method: 'post', + data: data + }) +} + +// 修改私钥申请 +export function updateKey(data) { + return request({ + url: '/conflux/key', + method: 'put', + data: data + }) +} + +// 删除私钥申请 +export function delKey(id) { + return request({ + url: '/conflux/key/' + id, + method: 'delete' + }) +} diff --git a/src/api/system/log.js b/src/api/system/log.js new file mode 100644 index 0000000..ba95148 --- /dev/null +++ b/src/api/system/log.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询nft日志列表 +export function listLog(query) { + return request({ + url: '/system/log/list', + method: 'get', + params: query + }) +} + +// 查询nft日志详细 +export function getLog(id) { + return request({ + url: '/system/log/' + id, + method: 'get' + }) +} + +// 新增nft日志 +export function addLog(data) { + return request({ + url: '/system/log', + method: 'post', + data: data + }) +} + +// 修改nft日志 +export function updateLog(data) { + return request({ + url: '/system/log', + method: 'put', + data: data + }) +} + +// 删除nft日志 +export function delLog(id) { + return request({ + url: '/system/log/' + id, + method: 'delete' + }) +} diff --git a/src/assets/logo/logo.png b/src/assets/logo/logo.png index e263760..1980b0f 100644 Binary files a/src/assets/logo/logo.png and b/src/assets/logo/logo.png differ diff --git a/src/views/contract/index.vue b/src/views/contract/index.vue index 0e4b3e5..e88a95e 100644 --- a/src/views/contract/index.vue +++ b/src/views/contract/index.vue @@ -40,7 +40,8 @@ size="mini" @click="handleAdd" v-hasPermi="['system:config:add']" - >新增 + >新增 + 修改 + >修改 + 删除 + >删除 + 导出 + >导出 + - - - - - + + + + + + + + + @@ -114,14 +124,26 @@ + + + - + - + - + + + + + + + + + +