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