diff --git a/front/src/router/index.js b/front/src/router/index.js index 8f3e1d09..47c429c7 100644 --- a/front/src/router/index.js +++ b/front/src/router/index.js @@ -85,7 +85,7 @@ export const constantRoutes = [ { path: '/', component: Layout, - redirect: '/home', + redirect: whoShow.itShowXiHaiAn ? '/DetailsPageconetent' : '/home', meta: { title: '能力管理平台编目', icon: 'apps-line', diff --git a/front/src/views/home/DetailsPageconetent.vue b/front/src/views/home/DetailsPageconetent.vue index 6929f236..b17ab6b2 100644 --- a/front/src/views/home/DetailsPageconetent.vue +++ b/front/src/views/home/DetailsPageconetent.vue @@ -12,55 +12,32 @@
模糊搜索 - + - -
-
- +
+ {{ - item.name + - '(' + - (globalData.data.filter((val) => val.type === item.name)[0] - .count || '0') + - ')' + item.name + + '(' + + (globalData.data.filter((val) => val.type === item.name)[0] + .count || '0') + + ')' }} @@ -69,89 +46,45 @@
-