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 == '设备日志');