From 990657fe0d1758b4dad84bc0fed6cfc4992e2b40 Mon Sep 17 00:00:00 2001 From: 杨成强 <whycq@gitblit> Date: 星期二, 17 一月 2023 11:21:49 +0800 Subject: [PATCH] Document update --- Monitor-APP/pages/home/home.vue | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/Monitor-APP/pages/home/home.vue b/Monitor-APP/pages/home/home.vue index 713af6f..2277f5f 100644 --- a/Monitor-APP/pages/home/home.vue +++ b/Monitor-APP/pages/home/home.vue @@ -217,7 +217,7 @@ <view class="flex-col info-box-text-item">鐩爣绔欙細{{infoText.staNo}}</view> <view class="flex-col info-box-text-item">鍟嗗搧缂栧彿锛歿{infoText.matnr}}</view> <view class="flex-col info-box-text-item">鍟嗗搧鍚嶇О锛歿{infoText.maknx}}</view> - <view class="flex-col info-box-text-item">鍟嗗搧瑙勬牸锛歿{infoText.specs}}</view> + <view class="flex-col info-box-text-item">瑙勬牸锛歿{infoText.specs}}</view> <view class="flex-col info-box-text-item">鏁伴噺锛歿{infoText.count}}</view> </view> </y-box> @@ -350,13 +350,13 @@ infoType: 0, text: '', infoText: { - title: '鍏ㄦ澘鍑哄簱', - staNo: "200", - matnr: "300", - maknx: "400", - specs: "500", - count: "600", - error: "鍒╃敤绔嬩綋浠撳簱璁惧鍙疄鐜颁粨搴撻珮灞傚悎鐞嗗寲銆佸瓨鍙栬嚜鍔ㄥ寲銆佹搷浣滅畝渚垮寲锛涖��" + title: '', + staNo: "", + matnr: "", + maknx: "", + specs: "", + count: "", + error: "" }, @@ -424,6 +424,7 @@ that.infoText.title = '妫�鏂欏嚭搴�' } that.infoText.staNo = res.data[0].staNo + that.infoText.matnr = res.data[0].matDtos[0].matnr that.infoText.specs = res.data[0].matDtos[0].specs that.infoText.maknx = res.data[0].matDtos[0].maknx that.infoText.count = res.data[0].matDtos[0].count @@ -476,6 +477,7 @@ that.infoText.title = '妫�鏂欏嚭搴�' } that.infoText.staNo = res.data[0].staNo + that.infoText.matnr = res.data[0].matDtos[0].matnr that.infoText.specs = res.data[0].matDtos[0].specs that.infoText.maknx = res.data[0].matDtos[0].maknx that.infoText.count = res.data[0].matDtos[0].count @@ -493,9 +495,11 @@ let that = this uni.request({ url: that.commonUrl + "/monitor/led/error", + data: {ledId:that.baseLedId}, method:"GET", success(result) { var res = result.data + console.log(res); if (res.data && res.data !== "") { var errorInfo = res.data if (that.infoType == 1) { -- Gitblit v1.9.1