|  | @@ -397,13 +397,11 @@ export default {
 | 
											
												
													
														|  |        if (this.activeName == 'alarmHost') {
 |  |        if (this.activeName == 'alarmHost') {
 | 
											
												
													
														|  |          this.$refs.addAlarmHostDialog.show(row.id,row.orgId, '报警主机', other = {});
 |  |          this.$refs.addAlarmHostDialog.show(row.id,row.orgId, '报警主机', other = {});
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  | -      if (this.activeName == 'talkDevice' || this.activeName == 'doorDevice') {
 |  | 
 | 
											
												
													
														|  | -        let str = this.activeName == 'talkDevice'?'对讲主机':'门禁主机';
 |  | 
 | 
											
												
													
														|  | -        this.$refs.addTalkHostDialog.show(row.id,row.orgId, str, other = {});
 |  | 
 | 
											
												
													
														|  | 
 |  | +      if (this.activeName == 'talkDevice') {
 | 
											
												
													
														|  | 
 |  | +        this.$refs.addTalkHostDialog.show(row.id,row.orgId, '对讲主机', other = {});
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  | -      if (this.activeName == 'talkDevice' || this.activeName == 'doorDevice') {
 |  | 
 | 
											
												
													
														|  | -        let str = this.activeName == 'talkDevice'?'对讲主机':'门禁主机';
 |  | 
 | 
											
												
													
														|  | -        this.$refs.addDoorHostDialog.show(row.id,row.orgId, str, other = {});
 |  | 
 | 
											
												
													
														|  | 
 |  | +      if (this.activeName == 'doorDevice') {
 | 
											
												
													
														|  | 
 |  | +        this.$refs.addDoorHostDialog.show(row.id,row.orgId, '门禁主机', other = {});
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      addHost(other = {}) {
 |  |      addHost(other = {}) {
 |