|
@@ -28,9 +28,14 @@
|
|
|
</el-checkbox-group>
|
|
|
</div>
|
|
|
<!-- 光标 -->
|
|
|
- <div v-if="BGshow" class="eigenvalue">
|
|
|
+ <div v-if="BGshow" class="eigenvalue eigenvalue--first">
|
|
|
<el-checkbox-group v-model="checkedGB" @change="handlecursor">
|
|
|
- <el-checkbox v-for="(item, index) in GBcheckList" :key="index" :label="item.val" :disabled="item.disabled">
|
|
|
+ <el-checkbox
|
|
|
+ v-for="(item, index) in GBcheckList"
|
|
|
+ :key="index"
|
|
|
+ :label="item.val"
|
|
|
+ :disabled="item.disabled"
|
|
|
+ >
|
|
|
{{ item.val }}
|
|
|
</el-checkbox>
|
|
|
</el-checkbox-group>
|
|
@@ -266,11 +271,21 @@ export default {
|
|
|
|
|
|
// 构建新的特征频率数据
|
|
|
const newFeatureLines = {
|
|
|
- Fr: this.checkedValues.includes("转速频率") ? this.envelopeList.fn_Gen : [],
|
|
|
- BPFI: this.checkedValues.includes("内圈故障频率") ? this.envelopeList.BPFI : [],
|
|
|
- BPFO: this.checkedValues.includes("外圈故障频率") ? this.envelopeList.BPFO : [],
|
|
|
- BSF: this.checkedValues.includes("滚动体故障频率") ? this.envelopeList.BSF : [],
|
|
|
- FTF: this.checkedValues.includes("保持架频率") ? this.envelopeList.FTF : [],
|
|
|
+ Fr: this.checkedValues.includes("转速频率")
|
|
|
+ ? this.envelopeList.fn_Gen
|
|
|
+ : [],
|
|
|
+ BPFI: this.checkedValues.includes("内圈故障频率")
|
|
|
+ ? this.envelopeList.BPFI
|
|
|
+ : [],
|
|
|
+ BPFO: this.checkedValues.includes("外圈故障频率")
|
|
|
+ ? this.envelopeList.BPFO
|
|
|
+ : [],
|
|
|
+ BSF: this.checkedValues.includes("滚动体故障频率")
|
|
|
+ ? this.envelopeList.BSF
|
|
|
+ : [],
|
|
|
+ FTF: this.checkedValues.includes("保持架频率")
|
|
|
+ ? this.envelopeList.FTF
|
|
|
+ : [],
|
|
|
B3P: this.checkedValues.includes("叶片频率")
|
|
|
? Array.isArray(this.envelopeList.B3P)
|
|
|
? this.envelopeList.B3P
|
|
@@ -366,7 +381,7 @@ export default {
|
|
|
text: this.envelopeList.title || this.envelopeListTwo.title,
|
|
|
left: "center",
|
|
|
},
|
|
|
- grid: {
|
|
|
+ grid: {
|
|
|
left: 60, // 原来是100,适当缩小左右边距
|
|
|
right: 20,
|
|
|
bottom: 90, // 给推拽条和坐标轴腾出空间
|
|
@@ -514,11 +529,11 @@ export default {
|
|
|
right: 0;
|
|
|
font-size: 10px;
|
|
|
width: 146px;
|
|
|
- border: 1px solid black;
|
|
|
+ border: 1px solid rgb(182, 182, 182);
|
|
|
padding: 5px;
|
|
|
background: #fff;
|
|
|
z-index: 99;
|
|
|
-
|
|
|
+ border-radius: 5px;
|
|
|
h5 {
|
|
|
line-height: 16px;
|
|
|
height: 16px;
|
|
@@ -536,4 +551,7 @@ export default {
|
|
|
margin-left: 10px;
|
|
|
}
|
|
|
}
|
|
|
+.eigenvalue--first {
|
|
|
+ width: 100px;
|
|
|
+}
|
|
|
</style>
|