diff --git a/public/config.js b/public/config.js index 2d6d20f..6ae48ea 100644 --- a/public/config.js +++ b/public/config.js @@ -1,3 +1,3 @@ window.config = { - "base_url":"http://192.168.0.9:7101" -} \ No newline at end of file + "base_url":"http://192.168.0.3:7100" +} diff --git a/src/api/logpage.js b/src/api/logpage.js new file mode 100644 index 0000000..b486b92 --- /dev/null +++ b/src/api/logpage.js @@ -0,0 +1,10 @@ +import request from '@/utils/request' + + +export function getList(data) { + return request({ + url: '/api/list', + method: 'get', + params:data + }) +} diff --git a/src/api/order.js b/src/api/order.js index 27937c0..f741155 100644 --- a/src/api/order.js +++ b/src/api/order.js @@ -3,8 +3,8 @@ import request from '@/utils/request' export function getList(token) { return request({ - url: '/lzOrder/list', + url: '/api/lzOrder/list', method: 'get', - params: { token } + params: token }) } diff --git a/src/router/index.js b/src/router/index.js index 261c0a5..89c3464 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -70,6 +70,21 @@ export const constantRoutes = [ } ] }, + { + path: '/u8log', + component: Layout, + redirect: '/u8log', + name: 'u8log', + meta: { title: 'U8日志', icon: 'el-icon-s-help' }, + children: [ + { + path: 'errlist', + name: 'errlist', + component: () => import('@/views/logpage/index'), + meta: { title: 'U8日志', icon: 'table' } + } + ] + }, // 404 page must be placed at the end !!! { path: '*', redirect: '/404', hidden: true } diff --git a/src/views/logpage/index.vue b/src/views/logpage/index.vue new file mode 100644 index 0000000..e5897b7 --- /dev/null +++ b/src/views/logpage/index.vue @@ -0,0 +1,77 @@ + + + + + + + {{ scope.row.apiPk }} + + + + + {{ scope.row.tenant }} + + + + + {{ scope.row.reqParams }} + + + + + {{ scope.row.respContext }} + + + + + {{ scope.row.status }} + + + + + + {{ scope.row.createTime }} + + + + + + +