From 4f5549cd814eeaecd0ff04de62452d8d5fb4cbc5 Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期四, 21 九月 2023 15:13:27 +0800
Subject: [PATCH] 9.21

---
 src/view/index.vue |   30 ++++++++----------------------
 1 files changed, 8 insertions(+), 22 deletions(-)

diff --git a/src/view/index.vue b/src/view/index.vue
index 95ba3db..27b1664 100644
--- a/src/view/index.vue
+++ b/src/view/index.vue
@@ -91,7 +91,7 @@
 	}
 
 	.left .box i {
-		font-size: 32px;
+		font-size: 24px;
 		margin-bottom: 8px;
 	}
 
@@ -209,7 +209,6 @@
 		height: 100%;
 	}
 </style>
-<style></style>
 <template>
 	<div class="all">
 		<div class="title">
@@ -260,7 +259,7 @@
 			</div>
 			<div class="component_view">
 				<component class="com_index" v-for="(com, index) in tabs" :is="com.u" :key="upIndex + '|' + index"
-					v-show="com.k == tabActive">
+					v-show="com.k == tabActive" @removeAllTab="removeAllTab">
 				</component>
 			</div>
 		</div>
@@ -359,12 +358,6 @@
 								u: ""
 							},
 							{
-								k: 16,
-								v: "鍥炲崟绠$悊",
-								i: "font icon-shouye",
-								u: ""
-							},
-							{
 								k: 17,
 								v: "鍗婃垚鍝佸簱瀛�",
 								i: "font icon-shouye",
@@ -414,7 +407,7 @@
 							},
 							{
 								k: 6,
-								v: "鎴愬搧妫�楠�",
+								v: "浜у搧妫�楠�",
 								i: "font icon-shouye",
 								u: "finishedProductInspection"
 							},
@@ -473,12 +466,6 @@
 								u: "record-content"
 							},
 							{
-								k: 24,
-								v: "鑷椤圭洰缁存姢",
-								i: "font icon-shouye",
-								u: "self-inspection"
-							},
-							{
 								k: 25,
 								v: "鎶�鏈寚鏍囩淮鎶�",
 								i: "font icon-shouye",
@@ -501,12 +488,6 @@
 								v: "鐗╂枡娓呭崟缁存姢",
 								i: "font icon-shouye",
 								u: "mbom"
-							},
-							{
-								k: 30,
-								v: "鐢熶骇宸ヨ壓缁存姢",
-								i: "font icon-shouye",
-								u: "equipmentmaintain"
 							}
 						]
 					}
@@ -560,6 +541,7 @@
 					u: "index-index"
 				}]
 			},
+			
 			upTabActive(num) {
 				this.tabActive = num;
 				this.activeP = num;
@@ -576,6 +558,10 @@
 				sessionStorage.clear();
 				localStorage.removeItem("autoenter");
 				this.$router.push("/enter");
+			},
+			removeAllTab(){
+				this.upIndex++
+				this.$message.warning('鏁版嵁鍙樺姩杈冨ぇ,椤甸潰鑷姩鏇存柊!')
 			}
 		}
 	};

--
Gitblit v1.9.3