Browse Source

优化一些问题

shibei_master
dai 4 years ago
parent
commit
3aa8dfc2a8
  1. 6
      src/i18n/zh-CN.js
  2. 30
      src/router/index.js
  3. 0
      src/views/pages/index.vue

6
src/i18n/zh-CN.js

@ -3,9 +3,9 @@ const t = {}
t.loading = '加载中...'
t.brand = {}
t.brand.lg = '党群e事通运营平台'
t.brand.mini = '党群'
t.brand.work = '党群e事通工作端'
t.brand.lg = '数字社区工作平台'
t.brand.mini = '数字'
t.brand.work = '数字社区工作平台'
t.brand.workMini = '工作端'
t.add = '新增'

30
src/router/index.js

@ -35,19 +35,13 @@ export const pageRoutes = [
{
path: "/",
name: "index",
redirect: {
name: "indexWork",
},
meta: {
title: "首页",
},
component: () => import("@/views/pages/index"),
},
{
path: "/indexWork",
component: () => import("@/views/pages/indexWork"),
name: "indexWork",
meta: {
title: "工作端首页",
redirect: {
name: "index",
},
},
];
@ -58,7 +52,7 @@ export const moduleRoutes = {
component: () => import("@/views/main"),
name: "main",
redirect: {
name: "home",
path: "/main/base-resi",
},
meta: {
title: "主入口布局",
@ -239,11 +233,11 @@ router.beforeEach((to, from, next) => {
name: "基础信息",
id: "5feawfwaefwa5",
},
{
url: "/visual/basicinfo/basicInfoMain",
name: "人员类别分析",
id: "5fwaefwaefawef5",
},
// {
// url: "/visual/basicinfo/basicInfoMain",
// name: "人员类别分析",
// id: "5fwaefwaefawef5",
// },
],
},
{
@ -278,7 +272,6 @@ router.beforeEach((to, from, next) => {
id: "distributionAnalyze",
},
],
},
{
icon: "icon-setting",
@ -296,7 +289,7 @@ router.beforeEach((to, from, next) => {
name: "区域化党建",
id: "5fwaefwaefawef588",
},
],
],
},
{
icon: "icon-setting",
@ -321,8 +314,7 @@ router.beforeEach((to, from, next) => {
id: "2221321fefefaewfa123",
name: "初心互助",
url: "visual/heart/index",
children: [
],
children: [],
},
];
fnAddDynamicMenuRoutes2(window.SITE_CONFIG["menuShujuList"]);

0
src/views/pages/indexWork.vue → src/views/pages/index.vue

Loading…
Cancel
Save