|
@@ -31,7 +31,6 @@
|
|
|
<el-table height="100%" :data="esmParams" style="width: 100%" size="small" border
|
|
|
v-if="this.scoutMode === 1">
|
|
|
<el-table-column width="120" prop="key" label="属性"></el-table-column>
|
|
|
- <el-table-column width="90" prop="value" label="值"></el-table-column>
|
|
|
<el-table-column label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
<el-switch v-if="scope.row.key == '开关机状态'" active-text="开" inactive-text="关"
|
|
@@ -40,26 +39,27 @@
|
|
|
<el-option v-for="item in esmModes" :key="item.value" :label="item.label" :value="item.value">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
- <el-input v-if="scope.row.key == '干扰参数1'" v-model="currentESMParam.disturb1"></el-input>
|
|
|
- <el-input v-if="scope.row.key == '干扰参数2'" v-model="currentESMParam.disturb2"></el-input>
|
|
|
- <el-input v-if="scope.row.key == '干扰参数3'" v-model="currentESMParam.disturb3"></el-input>
|
|
|
+ <el-input v-if="scope.row.key == '干扰参数1'||scope.row.key == '最小频率'" v-model="currentESMParam.disturb1"></el-input>
|
|
|
+ <el-input v-if="scope.row.key == '干扰参数2'||scope.row.key == '最大频率'" v-model="currentESMParam.disturb2"></el-input>
|
|
|
+ <el-input v-if="scope.row.key == '干扰参数3'||scope.row.key == '发射功率'" v-model="currentESMParam.disturb3"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
|
|
|
</el-card>
|
|
|
</el-col>
|
|
|
- <el-col :span="14" style="height: 100%">
|
|
|
+ <el-col :span="9" style="height: 100%">
|
|
|
<el-card class="radar">
|
|
|
<div slot="header" class="clearfix">
|
|
|
- <span>目标状态显示</span>
|
|
|
- </div>
|
|
|
- <div class="echarts-box">
|
|
|
- <div id="radarEchart"></div>
|
|
|
+ <span>半实物设备状态</span>
|
|
|
</div>
|
|
|
+ <el-table height="100%" border size="small" :data="sdrStatus">
|
|
|
+ <el-table-column prop="key" align="left" label="属性" width="130"></el-table-column>
|
|
|
+ <el-table-column prop="value" align="right" label="值"></el-table-column>
|
|
|
+ </el-table>
|
|
|
</el-card>
|
|
|
</el-col>
|
|
|
- <el-col :span="4" style="height: 100%">
|
|
|
+ <el-col :span="9" style="height: 100%">
|
|
|
<el-card class="tableHeight">
|
|
|
<div slot="header" class="clearfix">
|
|
|
<span>电子攻击工作状态</span>
|
|
@@ -107,7 +107,6 @@ export default {
|
|
|
"init",
|
|
|
"platforms",
|
|
|
"esmInstances",
|
|
|
- "esmStatus",
|
|
|
"commScoutParams",
|
|
|
"commScoutData",
|
|
|
"platformID",
|
|
@@ -209,7 +208,7 @@ export default {
|
|
|
uRrWorkModeBoolean: true,
|
|
|
currentESMParam: {
|
|
|
uRrPowerOn: true,
|
|
|
- uRrWorkMode: 0,
|
|
|
+ uRrWorkMode: "",
|
|
|
dScanAzCentDeg: 0,
|
|
|
dScanAzWidthDeg: 0,
|
|
|
dScanElCentDeg: 0,
|
|
@@ -273,6 +272,20 @@ export default {
|
|
|
label: "距离拖引干扰",
|
|
|
},
|
|
|
],
|
|
|
+ esmStatus: [
|
|
|
+ { key: "开机状态", value: "未知" },
|
|
|
+ { key: "连接方式", value: "未知" },
|
|
|
+ { key: "开机时间", value: "未知" },
|
|
|
+ { key: "干扰策略", value: "未知" },
|
|
|
+
|
|
|
+ ],
|
|
|
+ sdrStatus: [
|
|
|
+ { key: "平台状态", value: "未知" },
|
|
|
+ { key: "服务状态", value: "未知" },
|
|
|
+ { key: "干扰策略", value: "未知" },
|
|
|
+ { key: "抗干扰策略", value: "未知" },
|
|
|
+
|
|
|
+ ],
|
|
|
esmParams: [
|
|
|
{ key: "开关机状态", value: "打开" },
|
|
|
{ key: "干扰样式", value: "噪声调幅干扰" },
|
|
@@ -376,7 +389,55 @@ export default {
|
|
|
.then(response => {
|
|
|
this.esmData = response.data
|
|
|
})
|
|
|
-
|
|
|
+ axios.get(`http://localhost:5100/api/platform/${this.platformID}/getECMStatusByID`)
|
|
|
+ .then(response => {
|
|
|
+ this.esmStatus[0].value = response.data.startUp
|
|
|
+ this.esmStatus[1].value = response.data.connect
|
|
|
+ this.esmStatus[2].value = response.data.openTime
|
|
|
+ this.esmStatus[3].value = response.data.jamingPolicy
|
|
|
+ if(response.data.jamingPolicy=="噪声压制干扰"){
|
|
|
+ this.esmParams[2].key = "最小频率"
|
|
|
+ this.esmParams[3].key = "最大频率"
|
|
|
+ this.esmParams[4].key = "发射功率"
|
|
|
+ this.esmModes = [
|
|
|
+ {
|
|
|
+ value: "噪声调频干扰",
|
|
|
+ label: "噪声调频干扰",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: "噪声调幅干扰",
|
|
|
+ label: "噪声调幅干扰",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: "噪声直放干扰",
|
|
|
+ label: "噪声直放干扰",
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ else if(response.data.jamingPolicy=="欺骗干扰"){
|
|
|
+ this.esmModes = [
|
|
|
+ {
|
|
|
+ value: "多假目标干扰",
|
|
|
+ label: "多假目标干扰",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: "速度拖引干扰",
|
|
|
+ label: "速度拖引干扰",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: "距离拖引干扰",
|
|
|
+ label: "距离拖引干扰",
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ })
|
|
|
+ axios.get(`http://localhost:5100/api/platform/${this.platformID}/getSdrStatusByID`)
|
|
|
+ .then(response => {
|
|
|
+ this.sdrStatus[0].value = response.data.platformStatus
|
|
|
+ this.sdrStatus[1].value = response.data.serviceStatus
|
|
|
+ this.sdrStatus[2].value = response.data.jamingPolicy
|
|
|
+ this.sdrStatus[3].value = response.data.investingPolicy
|
|
|
+ })
|
|
|
},
|
|
|
echartsInit() {
|
|
|
this.$echarts
|