From 1bcfda36d1d4c3141c07342a5bd727b0aefd2f7a Mon Sep 17 00:00:00 2001 From: whycq <123456> Date: 星期一, 16 五月 2022 23:19:04 +0800 Subject: [PATCH] # --- Monitor-APP/pages/index/index.vue | 19 +------------------ 1 files changed, 1 insertions(+), 18 deletions(-) diff --git a/Monitor-APP/pages/index/index.vue b/Monitor-APP/pages/index/index.vue index 33841ea..07bf884 100644 --- a/Monitor-APP/pages/index/index.vue +++ b/Monitor-APP/pages/index/index.vue @@ -297,7 +297,7 @@ // this.getYYY(); // this.getEEE(); this.animation(); - },3000) + },1000) }, onLoad() { // var that=this @@ -306,7 +306,6 @@ // }); }, methods: { - getError() { let that = this uni.request({ @@ -316,10 +315,8 @@ }, method:'GET', success(result) { - console.log(result) let res = result.data if (res.data && res.data !== "") { - console.log('鏈夊紓甯�') that.title = '' that.staNo = '' that.pakinShow = false @@ -329,10 +326,7 @@ } else { that.errorPaper = '' that.errorShow = false - console.log('鏃犲紓甯�') - console.log(that.pakinShow) if (that.pakinShow) { - console.log('鏃犲紓甯�,鏈夋嫞璐�') return; } else { that.move = true // 闅愯棌 @@ -350,19 +344,13 @@ }, method:'GET', success(result) { - console.log(result) var newsData = '' var str = '' let res = result.data if(res.data) { - console.log("鎷h揣锛屾湁鎷f枡") if (res.data[0].matDtos.length > 0) { - console.log("鏈夋嫞鏂�,闀垮害>8") - that.pakinShow = true that.pakinGun = true - // console.log(that.errorShow,that.pakinShow,that.pakinGun) - if (res.data[0].ioType === 101) { that.title = '鍏ㄦ澘鍑哄簱' } else if(res.data[0].ioType === 103) { @@ -374,25 +362,20 @@ newsData = newsData + str } if (that.errorShow) { - // that.pakinShow = false return; } else { that.newspaper = newsData that.move = false } if (res.data[0].matDtos.length <= 8) { - console.log("鏈夋嫞鏂�,闀垮害<=8") that.errorShow = true that.pakinShow = true that.pakinGun = false - } - console.log(that.errorShow,that.pakinShow,that.pakinGun) } else { that.move = true } } - } }) }, -- Gitblit v1.9.1