Browse Source

Merge branch 'dev-shuju' of http://git.elinkit.com.cn:7070/r/epmet-oper-gov into dev-shuju

shibei_master
13176889840 4 years ago
parent
commit
3c6ced3dc1
  1. 6
      src/i18n/zh-CN.js
  2. 42
      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 = '新增'

42
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",
@ -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