From 6848dc2ab618f5e8fe01067b921d217dd8929c5f Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Thu, 27 Oct 2022 17:29:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=96=B0=E5=A2=9E=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 5 +++++ .../center/Piabodata/Customerportrait/Receivedetailabout.vue | 1 + pages/center/prohibited/details.vue | 3 ++- pages/mine/details.vue | 1 + pages/mine/details2.vue | 1 + 5 files changed, 10 insertions(+), 1 deletion(-) diff --git a/App.vue b/App.vue index af4e312..5856433 100644 --- a/App.vue +++ b/App.vue @@ -24,6 +24,11 @@ }, methods: { + + addLookingCount() { + this.$u.post('/api/user/addLookingCount', { house: uni.getStorageSync('buildingID').id }) + }, + // 时分秒转换为秒 TIMEEVENT(e) { var time = e; diff --git a/pages/center/Piabodata/Customerportrait/Receivedetailabout.vue b/pages/center/Piabodata/Customerportrait/Receivedetailabout.vue index b19dea7..8d162fa 100644 --- a/pages/center/Piabodata/Customerportrait/Receivedetailabout.vue +++ b/pages/center/Piabodata/Customerportrait/Receivedetailabout.vue @@ -469,6 +469,7 @@ }, onLoad(options) { + this.addLookingCount() uni.$on('Receivedetailabouts', info => { console.log('我监听收到了', info) this.init(info, 'seek') diff --git a/pages/center/prohibited/details.vue b/pages/center/prohibited/details.vue index 89e23a6..75753ee 100644 --- a/pages/center/prohibited/details.vue +++ b/pages/center/prohibited/details.vue @@ -280,6 +280,7 @@ } }, onLoad(option) { + this.addLookingCount() this.status = option.status; this.customerId = option.customerId; this.stateisshow = option.stateisshow; @@ -518,7 +519,7 @@ }); }) }, - + // 展示确认无效原因输入框 showTagValid() { this.tagValidShow = true diff --git a/pages/mine/details.vue b/pages/mine/details.vue index 79fcb0a..9e8e9e6 100644 --- a/pages/mine/details.vue +++ b/pages/mine/details.vue @@ -275,6 +275,7 @@ }, onLoad(options) { + this.addLookingCount() let menu = uni.getStorageSync('weapp_session_Menu_data'); this.eqLog = menu.findIndex(item=>item.name=='设备日志'); diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue index 02057e7..28d3205 100644 --- a/pages/mine/details2.vue +++ b/pages/mine/details2.vue @@ -782,6 +782,7 @@ } }, onLoad(options) { + this.addLookingCount() this.LOADING = true let menu = uni.getStorageSync('weapp_session_Menu_data'); this.eqLog = menu.findIndex(item => item.name == '设备日志');