From 960b33fa24c47a330e51a2c24859d681ae62caeb Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期四, 16 四月 2026 10:09:49 +0800
Subject: [PATCH] 重构任务与库存模型,增强日志管理与区域接口

---
 Code Management/PDA-FG/pages/index/index.vue |   41 -----------------------------------------
 1 files changed, 0 insertions(+), 41 deletions(-)

diff --git a/Code Management/PDA-FG/pages/index/index.vue b/Code Management/PDA-FG/pages/index/index.vue
index dad74ef..1e901f3 100644
--- a/Code Management/PDA-FG/pages/index/index.vue
+++ b/Code Management/PDA-FG/pages/index/index.vue
@@ -64,47 +64,6 @@
 		},
 
 		methods: {
-			asyncChange(e) {
-				if (this.isChanging) return;
-				this.isChanging = true;
-
-
-				// 鍏堟樉绀簂oading鐘舵��
-				this.$refs.uToast.show({
-					title: '姝e湪鍒囨崲妯″紡...',
-					type: 'loading',
-					duration: 1000
-				});
-
-				this.$u.post('/api/PDA/AutoStatus?auto='+( e ? 'true' : 'false'), {}).then(result => {
-					console.log(result);
-					if (result) {
-						this.value = e; // 鍙湁鍦ㄨ姹傛垚鍔熷悗鎵嶆洿鏂板疄闄呭��
-						this.switchValue = e; // 鍚屾switch鐨勭姸鎬�
-						this.$refs.uToast.show({
-							title: '妯″紡鍒囨崲鎴愬姛',
-							type: 'success',
-							duration: 1000
-						});
-					} else {
-						this.switchValue = !e; // 璇锋眰澶辫触鍒欐仮澶峴witch鐘舵��
-						this.$refs.uToast.show({
-							title: '妯″紡鍒囨崲澶辫触',
-							type: 'error',
-							duration: 1000
-						});
-					}
-				}).catch(error => {
-					this.switchValue = !e; // 璇锋眰澶辫触鍒欐仮澶峴witch鐘舵��
-					this.$refs.uToast.show({
-						title: '璇锋眰鍑洪敊',
-						type: 'error',
-						duration: 1000
-					});
-				}).finally(() => {
-					this.isChanging = false;
-				});
-			},
 			AndroidCheckUpdate: function() {
 				var _this = this;
 				uni.request({

--
Gitblit v1.9.3