| | |
| | | <div class="table-cell w360"> |
| | | <el-select |
| | | v-model="filters.values.home" |
| | | @click="changeHome" |
| | | @change="changeHome" |
| | | filterable |
| | | size="small" placeholder="请选择机房名称"> |
| | | <el-option |
| | |
| | | if (Math.abs(nowTime - record) / 1000 > outTime) { |
| | | this.disconnect(); |
| | | }else { |
| | | this.diagram.type = 1; |
| | | this.diagram.desc=""; |
| | | // 0-在线监测,1-核容测试,2-测试状态状态停止,3-内阻测试 |
| | | switch(data.sys_state) { |
| | | case 0: |
| | | this.diagram.type = 0; |
| | | break; |
| | | case 1: |
| | | this.diagram.type = 1; |
| | | break; |
| | | case 2: |
| | | this.diagram.type = 2; |
| | | break; |
| | | case 3: |
| | | this.diagram.type = 3; |
| | | this.diagram.desc="(内阻测试)"; |
| | | break; |
| | | } |
| | | } |
| | | }else { |
| | | this.disconnect(); |
| | |
| | | }; |
| | | }); |
| | | } |
| | | console.log(rs); |
| | | // 更新表格 |
| | | if (this.acTabs == "tblData") { |
| | | this.table.datas = data; |
| | |
| | | }, |
| | | stopOutLineCuring() { |
| | | this.stopTime = new Date().getTime(); |
| | | console.log(this.stopTime); |
| | | } |
| | | }, |
| | | computed: { |
| | |
| | | startSearch() { |
| | | // 开启等待框 |
| | | let loading = this.$layer.loading(); |
| | | // 重置分页信息 |
| | | this.params.page.pageCurr = 1; |
| | | // 设置定时查询 |
| | | this.timer.start(()=>{ |
| | | this.$axios.all([ |