| | |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | :default-time="['00:00:00','23:59:59']" |
| | | ></el-date-picker> |
| | | <el-button @click="searchData" size="small" type="primary" class="btn-search">查 询</el-button> |
| | | <el-button @click="checkTime" size="small" type="primary" class="btn-search">查 询</el-button> |
| | | </div> |
| | | <div class="check-target" :style="{height:fixedH+'px'}"> |
| | | <div class="controller"> |
| | |
| | | }, |
| | | methods: { |
| | | checkTime () { |
| | | debugger |
| | | if (!this.searchTime) { |
| | | this.$notify({ |
| | | type: 'warning', |
| | |
| | | return; |
| | | } |
| | | //判断是否是查历史数据 |
| | | if (this.searchTime[1] < Date.now()) { |
| | | if (Date.parse(this.searchTime[1]) < Date.now()) { |
| | | this.filterData() |
| | | } else { |
| | | this.activeObjHashMap = {}; |
| | |
| | | treeNodes: [], |
| | | isAll: false |
| | | }; |
| | | clearInterval(this.timer); |
| | | getSearchList(param).then(res => { |
| | | _this.actObjs = []; |
| | | if (!res.data.datalist) { |