| | |
| | | <div class="page-header-right"> |
| | | <div class="btn_grp"> |
| | | <div class="btn_3d" v-if="'/history' != $route.path" @click="showSettings">告警参数设置</div> |
| | | <div class="btn_3d" @click="back">综合页面</div> |
| | | <div class="btn_3d" v-if="!isApp" @click="back">综合页面</div> |
| | | </div> |
| | | <div class="page-header-time">{{time}}</div> |
| | | </div> |
| | |
| | | |
| | | <script> |
| | | import HomeTree from '../components/HomeTree' |
| | | |
| | | const SEARCH = window.location.search; |
| | | export default { |
| | | components: { |
| | | HomeTree |
| | |
| | | txt: '历史监控' |
| | | } |
| | | ], |
| | | isApp: true |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | mounted(){ |
| | | // 启动时间计时器 |
| | | this.startInterval(); |
| | | this.isApp = SEARCH.indexOf('apptype') > -1; |
| | | }, |
| | | destroyed() { |
| | | clearInterval(this.interval); |