diff --git a/src/i18n/zh-CN.js b/src/i18n/zh-CN.js index 58105013..789f50f8 100644 --- a/src/i18n/zh-CN.js +++ b/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 = '新增' diff --git a/src/router/index.js b/src/router/index.js index 314a89b5..edcfb020 100644 --- a/src/router/index.js +++ b/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: "主入口布局", @@ -233,18 +227,18 @@ router.beforeEach((to, from, next) => { id: "22213213", name: "基础信息", url: "visual/basicinfo/basicInfoMain", - children: [ - { - url: "/visual/basicinfo/basicInfoMain", - name: "基础信息", - id: "5feawfwaefwa5", - }, - { - url: "/visual/basicinfo/basicInfoMain", - name: "人员类别分析", - id: "5fwaefwaefawef5", - }, - ], + // children: [ + // // { + // // url: "/visual/basicinfo/basicInfoMain", + // // name: "基础信息", + // // id: "5feawfwaefwa5", + // // }, + // // { + // // url: "/visual/basicinfo/basicInfoMain", + // // name: "人员类别分析", + // // id: "5fwaefwaefawef5", + // // }, + // ], }, { icon: "icon-setting", @@ -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"]); diff --git a/src/views/pages/indexWork.vue b/src/views/pages/index.vue similarity index 100% rename from src/views/pages/indexWork.vue rename to src/views/pages/index.vue