From a59ecf5410e8200789b42fd2b985e4ba36ee55f8 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 27 Dec 2024 13:52:50 +0800
Subject: [PATCH] 入参替换
---
src/views/house/components/scanCodeAlarm.vue | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/views/house/components/scanCodeAlarm.vue b/src/views/house/components/scanCodeAlarm.vue
index 7327ee3..63b90e0 100644
--- a/src/views/house/components/scanCodeAlarm.vue
+++ b/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 || []
--
Gitblit v1.9.3