From 75e69a41f0089941a0868994a55c08d18d8de504 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E9=98=94?= Date: Wed, 13 Nov 2024 17:41:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8C=87=E6=A0=87=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E7=9A=84=E8=B6=8B=E5=8A=BF=E5=88=86=E6=9E=90=E7=9A=84?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/dataset/RepIndexSet/index.ts | 8 +- src/router/index.ts | 52 ++--- .../IndexSearchServiceMs.vue | 4 +- .../components/DrillingOrAnalysis.vue | 5 +- .../components/TrendAnalysis.vue | 187 +++++++++++++++++- 5 files changed, 225 insertions(+), 31 deletions(-) diff --git a/src/api/dataset/RepIndexSet/index.ts b/src/api/dataset/RepIndexSet/index.ts index fe8fb8b..1cb6b94 100644 --- a/src/api/dataset/RepIndexSet/index.ts +++ b/src/api/dataset/RepIndexSet/index.ts @@ -88,4 +88,10 @@ export const RepIndexSetDrilling = (data: any) => { //获取父级机构信息/RepIndexSet/spi/dataset/RepIndexSet/RepIndexSetDrillingQuery export const RepIndexSetDrillingQuery = (data: any) => { return request.postJson({ url: '/RepIndexSet/spi/dataset/RepIndexSet/RepIndexSetDrillingQuery', data }); -}; \ No newline at end of file +}; + +//趋势分析的获取趋势接口/RepIndexSet/spi/dataset/RepIndexSet/RepIndexTrendAnalysis +export const RepIndexTrendAnalysis = (data:any) => { + return request.postJson({url:'/RepIndexSet/spi/dataset/RepIndexSet/RepIndexTrendAnalysis',data}) +} + diff --git a/src/router/index.ts b/src/router/index.ts index d07a1ef..ec682de 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -16,31 +16,7 @@ export const constantRouterMap: AppRouteRecordRaw[] = [ hidden: true } }, - { - path: '/dashboard', - component: Layout, - redirect: '/dashboard/home', - name: 'Dashboard', - menuId: 'Dashboard', - meta: { - title: '首页', - icon: 'ant-design:home-outlined', - hidden: true, - }, - children: [ - { - path: 'home', - component: () => import('@/views/csck/CsckWorkFlow/CsckWorkFlow.vue'), - name: 'Home', - menuId: 'Home', - meta: { - title: '待办任务', - affix: true, - hidden: true, - }, - }, - ], - }, + { path: '/redirect', component: Layout, @@ -192,6 +168,31 @@ export const constantRouterMap: AppRouteRecordRaw[] = [ ]; export const asyncRouterMap: AppRouteRecordRaw[] = [ + { + path: '/dashboard', + component: Layout, + redirect: '/dashboard/home', + name: 'Dashboard', + menuId: 'Dashboard', + meta: { + title: '首页', + icon: 'ant-design:home-outlined', + hidden: true, + }, + children: [ + { + path: 'home', + component: () => import('@/views/dataset/IndexMannageMs/IndexMannageMs.vue'), + name: 'IndexMannageMs', + menuId: 'IndexMannageMs', + meta: { + title: '指标管理', + affix: true, + hidden: true, + }, + }, + ], + }, /*---------------------案例预警start------------------------*/ { path: '/caseManage', @@ -207,6 +208,7 @@ export const asyncRouterMap: AppRouteRecordRaw[] = [ sort:1, }, children: [ + { path: 'LargScaleCaseDeal', component: () => import('@/views/amld/LargScaleCaseDeal/LargScaleCaseDeal.vue'), diff --git a/src/views/dataset/IndexSearchServiceMs/IndexSearchServiceMs.vue b/src/views/dataset/IndexSearchServiceMs/IndexSearchServiceMs.vue index 9a3c470..0e91a63 100644 --- a/src/views/dataset/IndexSearchServiceMs/IndexSearchServiceMs.vue +++ b/src/views/dataset/IndexSearchServiceMs/IndexSearchServiceMs.vue @@ -139,7 +139,7 @@ const tableColumns = reactive([ action(data.row,'DrillingByOrgan','按机构钻取','indexValue')}>
按机构钻取
- + action(data.row,'TrendAnalysis','趋势分析','indexValue')}>
趋势分析
@@ -166,7 +166,7 @@ const tableColumns = reactive([ action(data.row,'DrillingByOrgan','按机构钻取','prevPeriodValue')}>
按机构钻取
- + action(data.row,'TrendAnalysis','趋势分析','prevPeriodValue')}>
趋势分析
diff --git a/src/views/dataset/IndexSearchServiceMs/components/DrillingOrAnalysis.vue b/src/views/dataset/IndexSearchServiceMs/components/DrillingOrAnalysis.vue index 9a8cbe6..3693c40 100644 --- a/src/views/dataset/IndexSearchServiceMs/components/DrillingOrAnalysis.vue +++ b/src/views/dataset/IndexSearchServiceMs/components/DrillingOrAnalysis.vue @@ -9,8 +9,8 @@ - - + + + \ No newline at end of file