From 6c663b92b0078aa89657df22ec188dff65599f04 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期二, 21 十月 2025 17:24:38 +0800
Subject: [PATCH] 1
---
项目代码/PDA/pages/index/index.vue | 32 --------------------------------
1 files changed, 0 insertions(+), 32 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/index/index.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/index/index.vue"
index b2baced..06e2fd1 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/index/index.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/index/index.vue"
@@ -48,8 +48,6 @@
},
onLoad() {
this.getCurrentTree();
- this.Socketonline();
- this.GetAutoStatus();
},
beforeDestroy() {
if (this.intervalId) {
@@ -57,12 +55,6 @@
}
},
mounted() {
- this.Socketonline();
- this.GetAutoStatus();
- setInterval(() => {
- this.Socketonline();
- this.GetAutoStatus();
- }, 5000);
var print = uni.getStorageSync('printFloor');
if (print) {
@@ -172,30 +164,6 @@
this.$u.post('/api/Menu/getTreeMenu', {}).then(result => {
this.tree = result;
})
- },
- GetAutoStatus() {
- this.$u.post('/api/PDA/GetAutoStatus', {}).then(result => {
- if (result == false) {
- this.value = false;
- } else {
- this.value = true;
- }
- }).catch(error => {
- this.value = false;
- });
- },
- Socketonline() {
- this.$u.post('/api/PDA/Socketonline', {}).then(result => {
- if (result.data != null && result.data == false) {
- console.log(result);
- this.online = false;
- } else {
- this.online = true;
- }
- // = result;
- }).catch(error => {
- this.online = false;
- });
},
getTree(id, data, isRootId) {
this.datas.forEach((x) => {
--
Gitblit v1.9.3