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/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 b57eb4d..12946e6 100644 --- a/Monitor-APP/pages/home/home.vue +++ b/Monitor-APP/pages/home/home.vue @@ -201,10 +201,10 @@ vertical 婊戝姩鏂瑰悜鏄惁涓虹旱鍚� display-multiple-items 鍚屾椂鏄剧ず鐨勬粦鍧楁暟閲� --> <swiper class="swiper-body-main" vertical="true" - display-multiple-items="1" + display-multiple-items="2" circular="true" :autoplay="true" :interval="3000" :duration="2000"> <swiper-item class="swiper-item" v-for="(item,i) in swiperList" :key="i"> - <!-- <view style="width: 30%;">{{i+1}} / {{swiperList.length}}</view> --> + <view style="width: 30%;">{{i+1}} / {{swiperList.length}}</view> <!-- <view style="width: 30%;">鏂欏彿: {{item.matnr}}</view> --> <view style="width: 50%; font-size: 3vw;">鐗╂枡缂栫爜: {{item.matnr}}</view> <view style="width: 50%; font-size: 3vw;">鍚嶇О: {{item.maknx}}</view> @@ -213,6 +213,8 @@ <view style="width: 50%; font-size: 3vw;">瑙勬牸: {{item.specs}}</view> <view style="width: 50%; font-size: 3vw;">鎵规: {{item.batch}}</view> + <view style="width: 50%; font-size: 3vw;">閿�鍞崟鍙�: {{item.orderNo}}</view> + <view style="width: 50%; font-size: 3vw;">瀹㈡埛鍚嶇О: {{item.customer}}</view> <view style="width: 33%; font-size: 3vw;">鏁伴噺: {{item.count}}</view> @@ -402,10 +404,10 @@ const BasePort = uni.getStorageSync('BasePort'); const BaseCrnId = uni.getStorageSync('BaseCrnId'); const PROJ = uni.getStorageSync('UPROJ'); - that.baseUrl = "gtwcs" - that.baseIP = "10.0.100.120" + that.baseUrl = PROJ + that.baseIP = BaseIP that.baseLedId = BaseLedId - that.basePort = "8088" + that.basePort = BasePort that.baseCrnId = BaseCrnId that.webSockerInit(); }, @@ -419,8 +421,8 @@ // this.getDate2() // this.getInfo() // this.getError() - // // this.getInfo2() - // // this.getError2() + // this.getInfo2() + // this.getError2() // this.getUrl() this.controller() // this.statisticalModel() @@ -517,8 +519,10 @@ that.infoText.title = '绌烘墭鍏ュ簱' } else if(data.taskList[0].ioType === 110) { that.infoText.title = '绌烘墭鍑哄簱' - }else if(data.taskList[0].ioType === 104) { + } else if(data.taskList[0].ioType === 104) { that.infoText.title = '骞舵澘鍑哄簱' + }else if(data.taskList[0].ioType === 54) { + that.infoText.title = '骞舵澘鍏ュ簱' } that.infoText.barcode = data.taskList[0].barcode that.infoText.workNo = data.taskList[0].workNo -- Gitblit v1.9.1