|
@@ -1474,30 +1474,30 @@ export default {
|
|
|
if(name === this.jsonData.redunit[i].name){
|
|
|
let disturb = 10
|
|
|
let src = ''
|
|
|
- for(let key in this.jsonData.redunit[i].components_json)
|
|
|
- {
|
|
|
- if(this.jsonData.redunit[i].components_json[key].method === '间接采样转发干扰')
|
|
|
+ let method = this.jsonData.redunit[i].components_json[this.jsonData.redunit[i].components_json['name']].properties.method
|
|
|
+ console.log("method",method)
|
|
|
+ if(method === '间接采样转发干扰')
|
|
|
{
|
|
|
disturb = disturb*2.0
|
|
|
src = require('@/assets/image/间接采样转发干扰.png')
|
|
|
}
|
|
|
- if(this.jsonData.redunit[i].components_json[key].method === '噪声调频干扰')
|
|
|
+ if(method === '噪声调频干扰')
|
|
|
{
|
|
|
src = require("@/assets/image/噪声调频干扰.png")
|
|
|
disturb = disturb*1.5
|
|
|
}
|
|
|
- if(this.jsonData.redunit[i].components_json[key].method === '噪声调幅干扰')
|
|
|
+ if(method === '噪声调幅干扰')
|
|
|
{
|
|
|
src = require("@/assets/image/噪声调幅干扰.png")
|
|
|
disturb = disturb*1.3
|
|
|
}
|
|
|
- if(this.jsonData.redunit[i].components_json[key].method === '噪声直放干扰')
|
|
|
+ if(method === '噪声直放干扰')
|
|
|
{
|
|
|
src = require("@/assets/image/射频噪声干扰.png")
|
|
|
disturb = disturb*1.8
|
|
|
}
|
|
|
|
|
|
- }
|
|
|
+
|
|
|
|
|
|
this.missileList[name] = {
|
|
|
disturb: disturb,
|