diff --git a/hw-ui/src/App.vue b/hw-ui/src/App.vue
index b92ea37..eccca0e 100644
--- a/hw-ui/src/App.vue
+++ b/hw-ui/src/App.vue
@@ -11,6 +11,15 @@ import ThemePicker from "@/components/ThemePicker";
export default {
name: "App",
components: { ThemePicker },
+ mounted() {
+ setInterval(()=>{
+ this.$notify.info({
+ title: '通知',
+ message: '通知公告',
+ duration: 0
+ });
+ },60*1000)
+ },
metaInfo() {
return {
title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
diff --git a/hw-ui/src/api/board/fifthFloor.js b/hw-ui/src/api/board/fifthFloor.js
index 3293824..fbacd55 100644
--- a/hw-ui/src/api/board/fifthFloor.js
+++ b/hw-ui/src/api/board/fifthFloor.js
@@ -1,7 +1,5 @@
import request from '@/utils/request'
-
-
// 获取计划
export function getProductPlans(query) {
return request({
diff --git a/hw-ui/src/api/board/laserLight.js b/hw-ui/src/api/board/laserLight.js
index 3293824..1836cfe 100644
--- a/hw-ui/src/api/board/laserLight.js
+++ b/hw-ui/src/api/board/laserLight.js
@@ -37,3 +37,12 @@ export function completeProductPlanDetail(query) {
data: query
})
}
+
+// 获取图纸
+export function getPlanDrawings(query) {
+ return request({
+ url: '/mes/api/getPlanDrawings',
+ method: 'get',
+ params: query
+ })
+}
diff --git a/hw-ui/src/components/TopNav/index.vue b/hw-ui/src/components/TopNav/index.vue
index 86a91c4..b72fc57 100644
--- a/hw-ui/src/components/TopNav/index.vue
+++ b/hw-ui/src/components/TopNav/index.vue
@@ -41,7 +41,7 @@ export default {
data() {
return {
// 顶部栏初始数
- visibleNumber: 5,
+ visibleNumber: 9,
// 当前激活菜单的 index
currentIndex: undefined
};
@@ -119,7 +119,7 @@ export default {
methods: {
// 根据宽度计算设置显示栏数
setVisibleNumber() {
- const width = document.body.getBoundingClientRect().width / 3;
+ const width = document.body.getBoundingClientRect().width / 2;
this.visibleNumber = parseInt(width / 85);
},
// 菜单选择事件
diff --git a/hw-ui/src/layout/components/Navbar.vue b/hw-ui/src/layout/components/Navbar.vue
index 9dffcf5..86a2a6b 100644
--- a/hw-ui/src/layout/components/Navbar.vue
+++ b/hw-ui/src/layout/components/Navbar.vue
@@ -3,7 +3,7 @@