From f4711865a8ea9566910bfcc6daa31795b89272a7 Mon Sep 17 00:00:00 2001
From: xwt <2740516069@qq.com>
Date: 星期三, 09 七月 2025 10:11:57 +0800
Subject: [PATCH] 来料检优化

---
 pages/QC/LLJ/Add.vue |   19 ++++---------------
 store/index.js       |    4 ++--
 2 files changed, 6 insertions(+), 17 deletions(-)

diff --git a/pages/QC/LLJ/Add.vue b/pages/QC/LLJ/Add.vue
index 3edd803..3f4ffb0 100644
--- a/pages/QC/LLJ/Add.vue
+++ b/pages/QC/LLJ/Add.vue
@@ -472,7 +472,7 @@
 
 										// 濡傛灉鏈夐〉闈㈣烦杞紝闇�瑕佺敤瀹氭椂鍣ㄥ欢杩�
 										setTimeout(() => {
-											uni.navigateTo({
+											uni.redirectTo({
 												url: 'List'
 											});
 										}, 2000); // 淇濇寔涓� duration 鐩稿悓鐨勬椂闀�
@@ -525,12 +525,7 @@
 								duration: 2000
 							})
 							// 濡傛灉鏈夐〉闈㈣烦杞紝闇�瑕佺敤瀹氭椂鍣ㄥ欢杩�
-							setTimeout(() => {
-								uni.navigateTo({
-									url: 'List'
-								});
-							}, 2000); // 淇濇寔涓� duration 鐩稿悓鐨勬椂闀�
-
+							setTimeout(() => {uni.navigateBack();}, 2000); // 淇濇寔涓� duration 鐩稿悓鐨勬椂闀�
 						} else {
 							uni.showModal({
 								title: "鎻愮ず",
@@ -1184,10 +1179,7 @@
 						this.destructionPopup = false;
 						this.$showMessage("淇濆瓨鎴愬姛");
 						setTimeout(() => {
-							// 璺宠浆鍒板垪琛ㄩ〉闈�
-							uni.navigateTo({
-								url: 'List'
-							});
+							this.init();
 						}, 2000);
 					}
 				})
@@ -1208,10 +1200,7 @@
 						this.destructionPopup = false;
 						this.$showMessage("娓呴櫎鎴愬姛");
 						setTimeout(() => {
-							// 璺宠浆鍒板垪琛ㄩ〉闈�
-							uni.navigateTo({
-								url: 'List'
-							});
+							this.init();
 						}, 2000);
 					}
 				})
diff --git a/store/index.js b/store/index.js
index 30e8402..5ce1bb6 100644
--- a/store/index.js
+++ b/store/index.js
@@ -10,10 +10,10 @@
 			networkFlag:'鍐呯綉', 
 			serverURLInt:'http://192.168.11.251:10055',//鏈嶅姟鍣ㄤ綋妫� 10.0.1.104:10054
 			serverURL:'http://localhost:10055',//鏈湴璋冭瘯鍦板潃
-			//serverAPI:'http://localhost:5184/api',//褰撳墠姝e湪浣跨敤鐨勬湇鍔″櫒,榛樿涓哄缃�  localhost
+			serverAPI:'http://localhost:5184/api',//褰撳墠姝e湪浣跨敤鐨勬湇鍔″櫒,榛樿涓哄缃�  localhost
 			//serverAPI:'http://192.168.1.22:10054/api',//褰撳墠姝e湪浣跨敤鐨勬湇鍔″櫒,榛樿涓哄缃�  10054涓烘寮廇PI
 			//serverAPI:'http://192.168.1.104:10055/api',//褰撳墠姝e湪浣跨敤鐨勬湇鍔″櫒,榛樿涓哄缃�  10055涓烘祴璇旳PI
-			serverAPI:'http://36.26.21.214:10055/api',
+			//serverAPI:'http://36.26.21.214:10055/api',
 		}
 	},
 	mutations: {

--
Gitblit v1.9.3