|
@@ -52,11 +52,12 @@
|
|
|
<el-col :span="12" 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="5" style="height: 100%">
|
|
@@ -217,6 +218,13 @@ export default {
|
|
|
SignalWidth: null,
|
|
|
SideGain: null,
|
|
|
},
|
|
|
+ sdrStatus: [
|
|
|
+ { key: "平台状态", value: "未知" },
|
|
|
+ { key: "服务状态", value: "未知" },
|
|
|
+ { key: "干扰策略", value: "未知" },
|
|
|
+ { key: "抗干扰策略", value: "未知" },
|
|
|
+
|
|
|
+ ],
|
|
|
AntiJamStyles: [
|
|
|
{
|
|
|
value: 0,
|
|
@@ -393,6 +401,16 @@ export default {
|
|
|
this.$store.commit("app/SET_RADAR_STATUS", defaultStatus);
|
|
|
}
|
|
|
}
|
|
|
+ axios.get(`http://localhost:5100/api/platform/${this.platformID}/getSdrStatusByID`)
|
|
|
+ .then(response => {
|
|
|
+ console.log(response.data)
|
|
|
+ console.log(this.sdrStatus)
|
|
|
+ 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
|
|
|
+ console.log(this.sdrStatus)
|
|
|
+ })
|
|
|
},
|
|
|
echartsInit() {
|
|
|
this.$echarts
|