+
+
+
+
+
+
+
+
+
+
+
+
+
+ 帮助文档
+
+
+
+ 退出登录
+
+
+
+
+
+
{{ nickname }}
+
{{ dept }}
+
+
+
-
\ No newline at end of file
+
diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue
index bac19f28..81fac875 100644
--- a/src/layout/components/Sidebar/index.vue
+++ b/src/layout/components/Sidebar/index.vue
@@ -48,11 +48,9 @@ export default {
computed: {
...mapState(['settings']),
...mapGetters(['sidebarRouters', 'sidebar', 'choicepart']),
- routeList() {
- // return [this.partList[this.choicepart]]
- // return [this.sidebarRouters[29]]
- return [this.sidebarRouters[this.choicepart]]
- },
+ routeList() {
+ return this.sidebarRouters;
+ },
activeMenu() {
const route = this.$route;
const { meta, path } = route;
diff --git a/src/router/index.js b/src/router/index.js
index 40189532..305eff0b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -71,7 +71,8 @@ export const constantRoutes = [
},
{
path: '/',
- component: () => import('@/views/choicePart'),
+ // component: () => import('@/views/choicePart'),
+ component: () => import('@/views/home'),
hidden: true,
meta: { requireToken: true }
},
diff --git a/src/settings.js b/src/settings.js
index 045f5eb3..17ef259c 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -13,7 +13,7 @@ module.exports = {
/**
* 是否显示顶部导航
*/
- topNav: false,
+ topNav: true,
/**
* 是否显示 tagsView
diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js
index 2da339e2..5cf38dfd 100644
--- a/src/store/modules/permission.js
+++ b/src/store/modules/permission.js
@@ -23,6 +23,7 @@ const permission = {
state.topbarRouters = routes
},
SET_SIDEBAR_ROUTERS: (state, routes) => {
+ console.log('=========:',routes)
state.sidebarRouters = routes
},
},
diff --git a/src/views/abnormalWarning/components/Navbar.vue b/src/views/abnormalWarning/components/Navbar.vue
new file mode 100644
index 00000000..cf022a9b
--- /dev/null
+++ b/src/views/abnormalWarning/components/Navbar.vue
@@ -0,0 +1,168 @@
+
+
+
+
+ MES产品化重构
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/abnormalWarning/components/NavbarRight.vue b/src/views/abnormalWarning/components/NavbarRight.vue
new file mode 100644
index 00000000..1e858dfd
--- /dev/null
+++ b/src/views/abnormalWarning/components/NavbarRight.vue
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 退出登录
+
+
+
+
+
+
{{ nickname }}
+
{{ dept }}
+
+
+
+
+
+
diff --git a/src/views/abnormalWarning/components/TopNav.vue b/src/views/abnormalWarning/components/TopNav.vue
new file mode 100644
index 00000000..7f29a740
--- /dev/null
+++ b/src/views/abnormalWarning/components/TopNav.vue
@@ -0,0 +1,267 @@
+
+
+
+
+
+
+
+
+
+
+
+ 更多菜单
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/abnormalWarning/index.vue b/src/views/abnormalWarning/index.vue
new file mode 100644
index 00000000..e1a7e61d
--- /dev/null
+++ b/src/views/abnormalWarning/index.vue
@@ -0,0 +1,49 @@
+
+
+
+
+
diff --git a/src/views/home/components/Navbar.vue b/src/views/home/components/Navbar.vue
new file mode 100644
index 00000000..d56bb4e6
--- /dev/null
+++ b/src/views/home/components/Navbar.vue
@@ -0,0 +1,167 @@
+
+
+
+
+ MES产品化重构
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/components/NavbarRight.vue b/src/views/home/components/NavbarRight.vue
new file mode 100644
index 00000000..848cd9bd
--- /dev/null
+++ b/src/views/home/components/NavbarRight.vue
@@ -0,0 +1,143 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 退出登录
+
+
+
+
+
+
{{ nickname }}
+
{{ dept }}
+
+
+
+
+
+
diff --git a/src/views/home/components/TopNav.vue b/src/views/home/components/TopNav.vue
new file mode 100644
index 00000000..95de0e58
--- /dev/null
+++ b/src/views/home/components/TopNav.vue
@@ -0,0 +1,267 @@
+
+
+
+
+
+
+
+
+
+
+
+ 更多菜单
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
new file mode 100644
index 00000000..d317f776
--- /dev/null
+++ b/src/views/home/index.vue
@@ -0,0 +1,416 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
(6.13-6.20)
+
+ 03:12AM
+ 2020.12.24
+
+
+
+
+
+
+ 生产总览
+
+
+
+ 9,301.01
+ 产量/千片
+
+
+ 94.34
+ 良品率/%
+
+
+ 29,301.01
+ 完成工单数量/千片
+
+
+ 1,340
+ 完成订单数量/个
+
+
+
+
+
+
+ 设备总览
+
+
+
+ 2,931
+ 设备总数/台
+
+
+ 931
+ 在线设备总数/台
+
+
+ 7
+ 故障设备总数/台
+
+
+ 0
+ 停机设备总数/台
+
+
+
+
+
+
+
+
+
+
{{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 工单监控
+
+
+
+
+ {{ item.name }}
+ {{ item.value }}%
+
+
+
+
+
+
+
+
+
+
+
+ © 中建材智能自动化研究院有限公司
+
+
+
+
+
+
+