diff --git a/base-ui/src/router/index.js b/base-ui/src/router/index.js index 8b88f880..3b3d0b4d 100644 --- a/base-ui/src/router/index.js +++ b/base-ui/src/router/index.js @@ -23,7 +23,7 @@ export const constantRoutes = [ }, { path: '/', - redirect: 'index' + redirect: 'login' }, { path: '/login', @@ -54,6 +54,7 @@ export const constantRoutes = [ }, ] }, + // 客户中心 { path: 'customer', component: Layout, @@ -166,51 +167,33 @@ export const constantRoutes = [ meta: { title: '审批中心' }, children: [ { - path: '/404', - component: () => import('@/views/404'), + path: '/approvalCenter/readWork', + component: () => import('@/views/approvalCenter/readWork.vue'), name: 'readWork', meta: {title: '已阅工作',noCache: true,} }, { - path: '/404', - component: () => import('@/views/404'), + path: '/approvalCenter/waitingWork', + component: () => import('@/views/approvalCenter/waitingWork.vue'), name: 'waitingWork', meta: {title: '待阅工作',noCache: true} }, { - path: '/404', - component: () => import('@/views/404'), + path: '/approvalCenter/alreadyHandledWork', + component: () => import('@/views/approvalCenter/alreadyHandledWork.vue'), name: 'alreadyHandledWork', meta: {title: '已办工作',noCache: true,} }, { - path: '/404', - component: () => import('@/views/404'), + path: '/approvalCenter/handledWork', + component: () => import('@/views/approvalCenter/handledWork.vue'), name: 'handledWork', meta: {title: '待办工作',noCache: true} } ] }, - { - path: 'messageCenter', - component: Layout, - meta: { title: '消息中心' }, - children: [ - { - path: 'cgsq/PurchaseApplicationManagement', - component: () => import('@/views/404'), - name: 'PurchaseApplicationManagement', - meta: {title: '未读消息',noCache: true,} - }, - { - path: 'xzgys', - component: () => import('@/views/404'), - name: 'supplierManagement', - meta: {title: '已读消息',noCache: true} - } - ] - }, - { + // 报表中心 + { path: 'reportCenter', component: Layout, meta: { title: '报表中心' }, @@ -222,26 +205,28 @@ export const constantRoutes = [ meta: {title: '销售报表',noCache: true,} }, { - path: 'reportCenter/goodsOnWay', + path: '/reportCenter/goodsOnWay', component: () => import('@/views/reportCenter/goodsOnWay.vue'), name: 'goodsOnWay', meta: {title: '在途商品管理表',noCache: true} } ] }, - { + // 风控管理 + { path: 'riskControlManagement', component: Layout, meta: { title: '风控管理' }, children: [ { - path: 'risk/thresholdAnalysis', + path: '/risk/thresholdAnalysis', component: () => import('@/views/risk/thresholdAnalysis.vue'), name: 'thresholdAnalysis', meta: {title: '阀值分析',noCache: true,} } ] }, + //监控中心 { path: '/monitoringCenter', component: Layout, @@ -256,6 +241,27 @@ export const constantRoutes = [ meta: { title: '视频监控' } }] }, + //消息中心 + { + path: 'messageCenter', + component: Layout, + meta: { title: '消息中心' }, + children: [ + { + path: '/messageCenter/unreadMessage', + component: () => import('@/views/messageCenter/unreadMessage.vue'), + name: 'unreadMessage', + meta: {title: '未读消息',noCache: true,} + }, + { + path: '/messageCenter/readMessage', + component: () => import('@/views/messageCenter/readMessage.vue'), + name: 'readMessage', + meta: {title: '已读消息',noCache: true} + } + ] + }, + // 系统管理 { path: 'systemManagement', component: Layout, diff --git a/base-ui/src/views/Home/Home.vue b/base-ui/src/views/Home/Home.vue index d1c0b2f0..e1ac369f 100644 --- a/base-ui/src/views/Home/Home.vue +++ b/base-ui/src/views/Home/Home.vue @@ -1,43 +1,488 @@ + - + diff --git a/base-ui/src/views/login/login.vue b/base-ui/src/views/login/login.vue index 04012549..8369e39a 100644 --- a/base-ui/src/views/login/login.vue +++ b/base-ui/src/views/login/login.vue @@ -1,8 +1,8 @@ - diff --git a/base-ui/src/views/risk/thresholdAnalysis.vue b/base-ui/src/views/risk/thresholdAnalysis.vue index 2d93b776..1150a7b0 100644 --- a/base-ui/src/views/risk/thresholdAnalysis.vue +++ b/base-ui/src/views/risk/thresholdAnalysis.vue @@ -33,8 +33,7 @@
- + @@ -114,7 +113,7 @@ ], queryParams: { current: 1, - size: 10, + size: 5, total: 0, params: { customerSid: '', @@ -319,7 +318,7 @@ resetQuery() { this.queryParams = { current: 1, - size: 10, + size: 5, total: 0, params: { customerSid: '',