|
|
|
@ -57,6 +57,16 @@ |
|
|
|
<!-- </el-row> --> |
|
|
|
<!-- </el-row> --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<el-dialog |
|
|
|
|
|
|
|
title="诊间报警" |
|
|
|
|
|
|
|
:visible.sync="dialogWarnVisible" |
|
|
|
|
|
|
|
width="1000px" |
|
|
|
|
|
|
|
class="warn_dialog" |
|
|
|
|
|
|
|
:lock-scroll="true" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<iframe src="http://192.168.131.107:9000/vocalldemo/index.html" frameborder="0" width="1000px" height="600px"></iframe> |
|
|
|
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<div class="warn_box" @click="showWarn"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
@ -104,7 +114,8 @@ |
|
|
|
alarmInfo:'', |
|
|
|
alarmInfo:'', |
|
|
|
isShowAlarm:false, |
|
|
|
isShowAlarm:false, |
|
|
|
timer:null, |
|
|
|
timer:null, |
|
|
|
isLoop:false |
|
|
|
isLoop:false, |
|
|
|
|
|
|
|
dialogWarnVisible: false |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
beforeCreate(){ |
|
|
|
beforeCreate(){ |
|
|
|
@ -166,6 +177,9 @@ |
|
|
|
window.removeEventListener('onmessageWS', this.getSocketData); |
|
|
|
window.removeEventListener('onmessageWS', this.getSocketData); |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
|
|
|
|
showWarn() { |
|
|
|
|
|
|
|
this.dialogWarnVisible = true; |
|
|
|
|
|
|
|
}, |
|
|
|
getAlarmInfo(){ |
|
|
|
getAlarmInfo(){ |
|
|
|
getAlarm().then(res =>{ |
|
|
|
getAlarm().then(res =>{ |
|
|
|
console.log(res) |
|
|
|
console.log(res) |
|
|
|
@ -426,6 +440,21 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.warn_dialog { |
|
|
|
|
|
|
|
.el-dialog__body{ |
|
|
|
|
|
|
|
padding: 0 !important; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.warn_box{ |
|
|
|
|
|
|
|
position: fixed; |
|
|
|
|
|
|
|
right: 20px; |
|
|
|
|
|
|
|
bottom: 100px; |
|
|
|
|
|
|
|
width:100px; |
|
|
|
|
|
|
|
height:100px; |
|
|
|
|
|
|
|
border-radius:50px; |
|
|
|
|
|
|
|
background: red; |
|
|
|
|
|
|
|
z-index: 999; |
|
|
|
|
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
|
<style lang="scss"> |
|
|
|
<style lang="scss"> |
|
|
|
.video_diao{ |
|
|
|
.video_diao{ |
|
|
|
|