|
@@ -243,11 +243,13 @@ Page({
|
|
updateMessage(params,id){
|
|
updateMessage(params,id){
|
|
var pages = getCurrentPages()
|
|
var pages = getCurrentPages()
|
|
var prepage = pages[pages.length-2]
|
|
var prepage = pages[pages.length-2]
|
|
- var product = {
|
|
|
|
- concernType : params.concernType,
|
|
|
|
- id:id,
|
|
|
|
- key:params.searchCondition,
|
|
|
|
- filePath:this.data.fileList[0]?.url
|
|
|
|
|
|
+ var product = prepage.data.product
|
|
|
|
+ product.concernType = params.concernType
|
|
|
|
+ product.id = id
|
|
|
|
+ product.key = params.searchCondition
|
|
|
|
+ product.filePath = this.data.fileList[0]?.url
|
|
|
|
+ if(this.data.funType == '监控'){
|
|
|
|
+ product.ifMonitor = true
|
|
}
|
|
}
|
|
prepage.setData({
|
|
prepage.setData({
|
|
product : product,
|
|
product : product,
|