|
@@ -147,7 +147,13 @@
|
|
|
:height="heightIframe"
|
|
|
>
|
|
|
</iframe>
|
|
|
+ <div v-if="equipment == '2'" style="width:20vw;display:flex;justify-content: center;align-items:start;padding-left: 10px;">
|
|
|
+ <img src="../assets/manage/dt.gif" />
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
</div>
|
|
|
+
|
|
|
</div>
|
|
|
<div style="flex: 1"> </div>
|
|
|
</div>
|
|
@@ -1455,6 +1461,10 @@ export default {
|
|
|
//开始脑电各个部分的数据
|
|
|
targetList: [],
|
|
|
};
|
|
|
+
|
|
|
+ setTimeout(() => {
|
|
|
+ this.getSize();
|
|
|
+ }, 0);
|
|
|
|
|
|
this.disconnectDevice();
|
|
|
//先判断当选择的设备是否连接
|
|
@@ -1466,7 +1476,8 @@ export default {
|
|
|
// this.userLink.linkStatus = false;
|
|
|
// this.userTwoLink.linkStatus = false;
|
|
|
this.resetData();
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
//只要切换类型就断开
|
|
|
// this.userLink.mac = "";
|
|
|
// this.linkStatus = false;
|
|
@@ -1476,6 +1487,7 @@ export default {
|
|
|
//断开所有设备
|
|
|
|
|
|
//结束测试
|
|
|
+
|
|
|
},
|
|
|
//断开所有设备的操作
|
|
|
disconnectDevice() {
|
|
@@ -1971,7 +1983,12 @@ export default {
|
|
|
// that.visibleFlag = true;
|
|
|
let width = that.$refs.animationFlow.clientWidth;
|
|
|
let height = that.$refs.animationFlow.clientHeight - 40;
|
|
|
- that.widthIframe = width;
|
|
|
+ that.widthIframe = width
|
|
|
+ if(this.equipment=='1'){
|
|
|
+ that.widthIframe = width
|
|
|
+ }else{
|
|
|
+ that.widthIframe = width -200;
|
|
|
+ }
|
|
|
that.heightIframe = height;
|
|
|
|
|
|
that.changeSize(width, height);
|
|
@@ -2735,6 +2752,9 @@ canvas {
|
|
|
}
|
|
|
|
|
|
.flood-plan-page {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ flex-direction: row;
|
|
|
margin-top: 20px;
|
|
|
flex: 1;
|
|
|
width: 100%;
|