|
|
@@ -29,7 +29,7 @@
|
|
|
<div class="d-flex aside-width">
|
|
|
<div class="react-left ml-4 react-l-s bg-color-blue">
|
|
|
<span class="react-left"></span>
|
|
|
- <span class="text fw-b" style="font-size:24px;">联创电子应用终端产业</span>
|
|
|
+ <span class="text fw-b" style="font-size:24px;">普耐尔MES数据看板</span>
|
|
|
</div>
|
|
|
<div class="react-left ml-3">
|
|
|
<span class="text">生产实况分析</span>
|
|
|
@@ -38,8 +38,9 @@
|
|
|
<div class="d-flex aside-width">
|
|
|
<div class="react-right bg-color-r mr-3">
|
|
|
<!-- <span class="text ">设备运行分析</span>-->
|
|
|
- <span class="text" @click="fullScreen" ref="fullScreen">全屏</span>
|
|
|
- <span class="text" @click="exitFullScreen" ref="exitFullScreen" style="display: none">退出全屏</span>
|
|
|
+ <el-button type="text" class="text" style="width:50% ;font-size: 21px;" @click="fullScreen" ref="fullScreen"
|
|
|
+ v-show=!isFullScreen >全屏</el-button>
|
|
|
+ <el-button type="text" class="text" style="width:50% ;font-size: 21px;" @click="exitFullScreen" ref="exitFullScreen" v-show=isFullScreen>退出全屏</el-button>
|
|
|
</div>
|
|
|
<div class="react-right mr-4 react-l-s" style="width: 900px">
|
|
|
<span class="react-after"></span>
|
|
|
@@ -177,7 +178,22 @@ export default {
|
|
|
cancelLoading() {
|
|
|
setTimeout(() => {
|
|
|
this.loading = false
|
|
|
- }, 5000)
|
|
|
+ }, 3000)
|
|
|
+ },
|
|
|
+ autoFullScreen(){
|
|
|
+ if (!this.isFullScreen) {
|
|
|
+ setTimeout(() => {
|
|
|
+ this.$showMsgBox({
|
|
|
+ caption: "提示",
|
|
|
+ msg: '是否全屏展示?',
|
|
|
+ callback: (data) => {
|
|
|
+ if (data == "yes") {
|
|
|
+ this.fullScreen();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }, 3000)
|
|
|
+ }
|
|
|
},
|
|
|
handleBlur (val){
|
|
|
sessionStorage.setItem('li_code',val);
|