<template>
  <div id="app" @click="updateLastTime()" @keyup="updateLastTime()"  @mousemove="updateLastTime()">   
    <router-view v-if="isRouterAlive"/>
  </div>
</template>
<script>
export default {
  provide(){
    return{
      reload:this.reload
    }
  },
  data(){
    return{
      isRouterAlive:true
    }
  },
  methods:{
    reload(){
      this.isRouterAlive = false;
      this.$nextTick(() => {
        this.isRouterAlive = true;
      })
    },
    updateLastTime(){
      //  console.log('lock...')
       this.$store.commit('SET_LASTTIME',new Date().getTime())//鍏ㄥ眬瑙﹀彂鐐瑰嚮浜嬩欢--鑾峰彇鏈€鍚庝竴娆℃椂闂�
    }
  }
}
</script>

<style lang="scss">
body{
  height: 100%;
}
#app {
  height: 100%;
}
.el-tabs--left .el-tabs__header.is-left{margin-right: 20px!important;}
.el-table td.el-table__cell .list{display: flex;} //瑙嗗浘琛ㄦ牸,闄勪欢宸﹀彸甯冨眬
.el-table td.el-table__cell .el-progress-bar__innerText{font-size: 12px!important;width: 100%; text-indent: 5px;text-align: left;}
.el-progress-bar__outer{background: #EBEEF5!important;}
.colorGray .el-progress-bar__innerText{color: #000;}
.el-table th.el-table__cell>.cell{display: flex!important;align-items: center!important;justify-content: center;}//瑙嗗浘鏍囧ご鍔犱釜鎺掑簭鍥炬爣涓嶈鎹㈣

.el-tree-node__expand-icon{font-size: 20px!important;}//鏈烘瀯鏍戝乏杈圭澶村ぇ灏忎慨鏀�

.systemNoticeBox{line-height: 24px;}

.el-message.el-message--warning{z-index: 999992!important;}//鐩戠褰掑睘锛屽脊绐楀眰绾т慨鏀逛负楂樹竴绾�
.el-radio__input.is-disabled.is-checked .el-radio__inner::after{background: #333 !important;}
</style>
<style lang="css">
@import url("assets/css/module/obpm.css");
</style>