From 36909d121a6f1b4c3f4540b8c64c80e872d105ae Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期三, 28 五月 2025 15:12:32 +0800 Subject: [PATCH] # --- Monitor-APP/pages/index/data.js | 22 +++++----------------- 1 files changed, 5 insertions(+), 17 deletions(-) diff --git a/Monitor-APP/pages/index/data.js b/Monitor-APP/pages/index/data.js index dc0355a..390d266 100644 --- a/Monitor-APP/pages/index/data.js +++ b/Monitor-APP/pages/index/data.js @@ -30,12 +30,9 @@ // "emptyMk":false}]} getEEE() { var result = ycqdata.dataEEE - console.log(result) let that = this let res = result.data - console.log(res) if (res.data && res.data !== "") { - console.log('鏈夊紓甯�') that.title = '' that.staNo = '' that.pakinShow = false @@ -45,10 +42,7 @@ } else { that.errorPaper = '' that.errorShow = false - console.log('鏃犲紓甯�') - console.log(that.pakinShow) if (that.pakinShow) { - console.log('鏃犲紓甯�,鏈夋嫞璐�') return; } else { that.move = true // 闅愯棌 @@ -57,20 +51,14 @@ }, getYYY() { var result = ycqdata.dataYYY - console.log(result) let that = this var newsData = '' var str = '' let res = result.data - if(res.data) { - console.log("鎷h揣锛屾湁鎷f枡") + if(res.data && res.data !== null) { 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) { @@ -89,15 +77,15 @@ 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 - } + } + } else { + that.move = true } + }, \ No newline at end of file -- Gitblit v1.9.1