@@ -11,7 +11,11 @@
{ 'realtime-switch-warning': hasNewWarning },
]"
>
- <el-button class="toggle-full-button" @click="toFullScreen">
+ <el-button
+ class="toggle-full-button"
+ style="padding: 6px 12px"
+ @click="toFullScreen"
+ >
全屏监控
</el-button>
<div
@@ -275,7 +275,7 @@ export default {
params: { examRecordId: item.examRecordId },
})
.then(() => {
- document.exitFullscreen?.();
+ // document.exitFullscreen?.();
});
},
@@ -3,7 +3,7 @@
<div class="warning-detail-head">
<h2>预警详情</h2>
<el-button size="mini" icon="el-icon-arrow-left" @click="goBack"
- >返回列表</el-button
+ >返回</el-button
<!-- <el-button
@click="initSubscribeVideo"
@@ -17,6 +17,11 @@
<span class="line-name" v-else>{{ item.name }}</span>
<span>{{ examPropData[item.param] }}{{ item.unit }}</span>
</p>
+ <p class="summary-line-item">
+ <el-button size="mini" icon="el-icon-refresh" @click="initData"
+ >刷新</el-button
+ </p>
</div>
</template>
@@ -231,6 +231,11 @@ body {
margin: 0;
padding: 0;
}
+ // todo:
+ .warning-detail {
+ top: 15px;
+ bottom: 15px;
+ }
// summary-line
.summary-line {