| | |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary" @click="getInspectionData">查询</el-button> |
| | | <el-button type="primary" @click="getInspectionData" |
| | | >查询</el-button |
| | | > |
| | | <el-button type="primary" @click="resetAll">重置</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | :header-cell-style="{ |
| | | background: '#F5F5F5', |
| | | 'font-weight': '650', |
| | | 'line-height': '45px', |
| | | 'line-height': '45px' |
| | | }" |
| | | :data="tableData" |
| | | style="width: 100%" |
| | |
| | | v-if="dialogAdd" |
| | | :before-close="handleClose" |
| | | > |
| | | <JudgeIndex :info="videoInspection" :seachData="seachData"></JudgeIndex> |
| | | <JudgeIndex |
| | | :info="videoInspection" |
| | | :seachData="seachData" |
| | | ></JudgeIndex> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | |
| | | videoInspection: {}, |
| | | }; |
| | | }, |
| | | watch: { |
| | | '$route'(to, from) { //监听路由是否变化 |
| | | this.getInspectionData(); |
| | | } |
| | | }, |
| | | methods: { |
| | | loadVideo() { |
| | | let path = this.$route.path; |
| | | |
| | | videoPoint |
| | | .getVideoPointList({ |
| | | type: path.substring(path.length - 1, path.length), |
| | | current: 1, |
| | | size: 1000, |
| | | }) |
| | |
| | | } |
| | | }, |
| | | getInspectionData() { |
| | | let path = this.$route.path; |
| | | |
| | | let data = { |
| | | current: this.currentPage, |
| | | pageSize: this.pageSize, |
| | | type: path.substring(path.length - 1, path.length), |
| | | videoId: this.seachData.videoId, |
| | | }; |
| | | if (this.seachData.alarmTime) { |