| @@ -24,6 +24,11 @@ | |||||
| }, | }, | ||||
| methods: { | methods: { | ||||
| addLookingCount() { | |||||
| this.$u.post('/api/user/addLookingCount', { house: uni.getStorageSync('buildingID').id }) | |||||
| }, | |||||
| // 时分秒转换为秒 | // 时分秒转换为秒 | ||||
| TIMEEVENT(e) { | TIMEEVENT(e) { | ||||
| var time = e; | var time = e; | ||||
| @@ -469,6 +469,7 @@ | |||||
| }, | }, | ||||
| onLoad(options) { | onLoad(options) { | ||||
| this.addLookingCount() | |||||
| uni.$on('Receivedetailabouts', info => { | uni.$on('Receivedetailabouts', info => { | ||||
| console.log('我监听收到了', info) | console.log('我监听收到了', info) | ||||
| this.init(info, 'seek') | this.init(info, 'seek') | ||||
| @@ -280,6 +280,7 @@ | |||||
| } | } | ||||
| }, | }, | ||||
| onLoad(option) { | onLoad(option) { | ||||
| this.addLookingCount() | |||||
| this.status = option.status; | this.status = option.status; | ||||
| this.customerId = option.customerId; | this.customerId = option.customerId; | ||||
| this.stateisshow = option.stateisshow; | this.stateisshow = option.stateisshow; | ||||
| @@ -518,7 +519,7 @@ | |||||
| }); | }); | ||||
| }) | }) | ||||
| }, | }, | ||||
| // 展示确认无效原因输入框 | // 展示确认无效原因输入框 | ||||
| showTagValid() { | showTagValid() { | ||||
| this.tagValidShow = true | this.tagValidShow = true | ||||
| @@ -275,6 +275,7 @@ | |||||
| }, | }, | ||||
| onLoad(options) { | onLoad(options) { | ||||
| this.addLookingCount() | |||||
| let menu = uni.getStorageSync('weapp_session_Menu_data'); | let menu = uni.getStorageSync('weapp_session_Menu_data'); | ||||
| this.eqLog = menu.findIndex(item=>item.name=='设备日志'); | this.eqLog = menu.findIndex(item=>item.name=='设备日志'); | ||||
| @@ -782,6 +782,7 @@ | |||||
| } | } | ||||
| }, | }, | ||||
| onLoad(options) { | onLoad(options) { | ||||
| this.addLookingCount() | |||||
| this.LOADING = true | this.LOADING = true | ||||
| let menu = uni.getStorageSync('weapp_session_Menu_data'); | let menu = uni.getStorageSync('weapp_session_Menu_data'); | ||||
| this.eqLog = menu.findIndex(item => item.name == '设备日志'); | this.eqLog = menu.findIndex(item => item.name == '设备日志'); | ||||