linwe
2024-12-27 a59ecf5410e8200789b42fd2b985e4ba36ee55f8
src/views/house/components/scanCodeAlarm.vue
@@ -108,6 +108,10 @@
      type: String,
      default: ''
    },
    residentIdSave: {
      type: String,
      default: ''
    }
  },
  //import引入的组件需要注入到对象中才能使用
  components: {},
@@ -150,7 +154,7 @@
    },
    init() {
      this.residentLoading = true
      getPoliceAlarmRecordsPage(123456, this.pageparm.pageSize, this.pageparm.current).then((res) => {
      getPoliceAlarmRecordsPage(this.residentIdSave, this.pageparm.pageSize, this.pageparm.current).then((res) => {
        this.dataList.total = res.data.data.total
        this.dataList.records = res.data.data.records
        this.residentLoading = false
@@ -168,8 +172,8 @@
    getImgUrls(imageUrls) {
      if (imageUrls && imageUrls != '' && imageUrls.length > 0) {
        imageUrls = imageUrls.split(',').filter(ele => ele != '').map(ele => {
          // return 'http://10.141.11.11/place/' + ele
          return 'https://srgdjczzxtpt.com:2080/gminio/jczz/' + ele
          return 'http://10.141.11.11/jczzMedia/' + ele
          // return 'https://srgdjczzxtpt.com:2080/gminio/jczz/' + ele
        })
      }
      return imageUrls || []