Browse Source

项目新增字段

autoSR1012
douzhuo 2 years ago
parent
commit
6848dc2ab6
5 changed files with 10 additions and 1 deletions
  1. +5
    -0
      App.vue
  2. +1
    -0
      pages/center/Piabodata/Customerportrait/Receivedetailabout.vue
  3. +2
    -1
      pages/center/prohibited/details.vue
  4. +1
    -0
      pages/mine/details.vue
  5. +1
    -0
      pages/mine/details2.vue

+ 5
- 0
App.vue View File

@@ -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;


+ 1
- 0
pages/center/Piabodata/Customerportrait/Receivedetailabout.vue View File

@@ -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')


+ 2
- 1
pages/center/prohibited/details.vue View File

@@ -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


+ 1
- 0
pages/mine/details.vue View File

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


+ 1
- 0
pages/mine/details2.vue View File

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


Loading…
Cancel
Save