-
+
Z7钻孔机
-
+
Z6钻孔机
上片: {{ lines.g3.drillingInput }}
@@ -94,37 +164,37 @@ const status = ref({
-
+
S7清洗机
-
+
S6清洗机
-
+
S7前储片台
-
+
S6前储片台
-
+
S7丝印机
-
+
S6丝印机
上片: {{ lines.g3.silkInput }}
@@ -132,13 +202,13 @@ const status = ref({
-
+
S7固化炉
-
+
S6固化炉
上片: {{ lines.g3.solidificationInput }}
@@ -146,13 +216,13 @@ const status = ref({
-
+
S7后储片台
-
+
S6后储片台
@@ -245,7 +315,7 @@ const status = ref({
-
+
Z5钻孔机
@@ -259,49 +329,49 @@ const status = ref({
-
+
Z3钻孔机
-
+
S5清洗机
-
+
S4清洗机
-
+
S3清洗机
-
+
S5前储片台
-
+
S4前储片台
-
+
S3前储片台
-
+
S5丝印机
@@ -315,7 +385,7 @@ const status = ref({
-
+
B3前储片台
-
+
B3清洗机
-
+
B3下片
-
+
B3后储片台
diff --git a/src/pages/AlertListPage.vue b/src/pages/AlertListPage.vue
index d88ca60..d68f884 100644
--- a/src/pages/AlertListPage.vue
+++ b/src/pages/AlertListPage.vue
@@ -3,32 +3,26 @@
import { ref } from "vue";
import { useWsStore } from "../store";
import Container from "../components/Base/Container.vue";
-const alarmList = ref([]);
-const store = useWsStore();
-alarmList.value = (store.data1.alarmArrList ?? [
- { id: 1, equipmentName: 'hallo', alarmLevel: 1, alarmDetails: 'asdf', productLine: 'A001', segment: '2' },
- { id: 1, equipmentName: 'fffff', alarmLevel: 1, alarmDetails: 'sda', productLine: 'A002', segment: '3' },
- { id: 1, equipmentName: 'aaaa', alarmLevel: 1, alarmDetails: 'dfd', productLine: 'A001', segment: '1' },
-]).map((item, index) => ({
+const store = useWsStore();
+const alarmList = ref((store.data1.alarmArrList || []).map((item, index) => ({
id: item.id,
eqName: item.equipmentName,
eqIndex: index + 1,
alarmGrade: item.alarmLevel,
alarmDetail: item.alarmDetails,
position: `${item.productLine} - ${item.segment}`,
-}));
-
-// store.$subscribe((mutation, state) => {
-// alarmList.value = state.data1.alarmArrList.map((item, index) => ({
-// id: item.id,
-// eqName: item.equipmentName,
-// eqIndex: index + 1,
-// alarmGrade: item.alarmLevel,
-// alarmDetail: item.alarmDetails,
-// position: `${item.productLine} - ${item.segment}`,
-// }));
-// });
+})));
+store.$subscribe((mutation, state) => {
+ alarmList.value = state.data1.alarmArrList.map((item, index) => ({
+ id: item.id,
+ eqName: item.equipmentName,
+ eqIndex: index + 1,
+ alarmGrade: item.alarmLevel,
+ alarmDetail: item.alarmDetails,
+ position: `${item.productLine} - ${item.segment}`,
+ }));
+});
// function handleIgnore() {
// alarmList.value.splice(0)
diff --git a/src/pages/AnnouncementPage.vue b/src/pages/AnnouncementPage.vue
index f14e198..c565cf1 100644
--- a/src/pages/AnnouncementPage.vue
+++ b/src/pages/AnnouncementPage.vue
@@ -48,7 +48,7 @@ const handleClose = () => {