|
|
|
@ -31,6 +31,11 @@ Component({ |
|
|
|
if(!this.data.message.redirectInfo || !this.data.message.redirectInfo.targetView){ |
|
|
|
return |
|
|
|
} |
|
|
|
if(util.isEmpty(e.currentTarget.id)){ |
|
|
|
|
|
|
|
this.setData({ notice: false }) |
|
|
|
return |
|
|
|
} |
|
|
|
readMessage({ idList: [this.data.message.id] }).then(result => { |
|
|
|
if(this.data.message.redirectInfo.targetView == 'factoryCustomerDetail'){// 新建客户
|
|
|
|
this.setData({ notice: false }) |
|
|
|
|