Browse Source

修改

branch0222
douzhuo 1 year ago
parent
commit
5a2d7736ca
6 changed files with 9 additions and 8 deletions
  1. +2
    -2
      App.vue
  2. +2
    -2
      env/cl.js
  3. +1
    -1
      pages/center/Piabodata/Customerportrait/Receivedetailabout.vue
  4. +1
    -1
      pages/center/prohibited/details.vue
  5. +2
    -1
      pages/mine/details.vue
  6. +1
    -1
      pages/mine/details2.vue

+ 2
- 2
App.vue View File

@@ -29,8 +29,8 @@
upDateBulidIngObj() {
this.bulidIngObj = uni.getStorageSync('buildingID')
},
addLookingCount() {
this.$u.post('/user/addLookingCount', { houseId: uni.getStorageSync('buildingID').id })
addLookingCount(id) {
this.$u.post('/user/addLookingCount', { houseId: uni.getStorageSync('buildingID').id, recordId: id })
},
// 时分秒转换为秒


+ 2
- 2
env/cl.js View File

@@ -1,5 +1,5 @@
const ENV_PATH = {
baseUrl: 'http://192.168.31.244:8080/autoSR/api', // 长龙
baseUrl: 'http://192.168.31.160:8080/autoSR/api', // 长龙
}

module.exports = ENV_PATH
module.exports = ENV_PATH

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

@@ -469,12 +469,12 @@
},

onLoad(options) {
this.addLookingCount()
uni.$on('Receivedetailabouts', info => {
console.log('我监听收到了', info)
this.init(info, 'seek')
})
this.customerId = options.customerId;
this.addLookingCount(options.customerId)
this.$zaudio.autoPlay = true

if (options.info && options.info.length > 0) {


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

@@ -280,9 +280,9 @@
}
},
onLoad(option) {
this.addLookingCount()
this.status = option.status;
this.customerId = option.customerId;
this.addLookingCount(option.customerId)
this.stateisshow = option.stateisshow;
this.itemobj = uni.getStorageSync('searchobj');
if (option.isMerge) this.isMerge = option.isMerge


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

@@ -275,12 +275,13 @@
},

onLoad(options) {
this.addLookingCount()
let menu = uni.getStorageSync('weapp_session_Menu_data');
this.eqLog = menu.findIndex(item=>item.name=='设备日志');
this.status = options.status;
this.customerId = options.customerId;
this.addLookingCount(options.customerId)
this.itemobj = uni.getStorageSync('searchobj');
this.stateisshow = options.stateisshow;


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

@@ -782,13 +782,13 @@
}
},
onLoad(options) {
this.addLookingCount()
this.LOADING = true
let menu = uni.getStorageSync('weapp_session_Menu_data');
this.eqLog = menu.findIndex(item => item.name == '设备日志');
this.status = options.status;
this.customerId = options.customerId;
this.visitParams.id = options.customerId;
this.addLookingCount(options.customerId)
this.KeyWordsfraction = options.wordFraction == 'undefined' ? 0 : options.wordFraction;
this.itemobj = uni.getStorageSync('searchobj');
this.stateisshow = options.stateisshow;


Loading…
Cancel
Save