| | |
| | | }, |
| | | // 更改违规/违建 |
| | | changeTypeChecked(idx) { |
| | | this.typeList.forEach((item) => { |
| | | item.checked = item.value === idx; |
| | | }); |
| | | if(idx==1){ |
| | | this.size="03"; |
| | | }else{ |
| | | this.size=null; |
| | | } |
| | | this.mystatus = idx + 1; |
| | | this.size = idx; |
| | | this.getImageResourceList(); |
| | | }, |
| | | // 设置表格斑马纹 |
| | |
| | | endTime: this.datetime ? this.datetime[1] : null |
| | | } |
| | | getMessageList(messageParam) |
| | | .then(({ records, total }) => { |
| | | .then(({ records, total ,size}) => { |
| | | this.tableData = records; |
| | | this.totalNum = total; |
| | | this.pageSize=size; |
| | | }) |
| | | .catch(err => { |
| | | this.$message({ type: 'error', message: err }); |
| | |
| | | }, |
| | | // 更改违规/违建 |
| | | changeTypeChecked(idx) { |
| | | this.typeList.forEach((item, index) => { |
| | | item.checked = index === idx; |
| | | }); |
| | | if(idx==1){ |
| | | this.searchContent="03"; |
| | | }else{ |
| | | this.searchContent=null; |
| | | } |
| | | this.mystatus = idx + 1; |
| | | this.statusArr[1] = this.typeList[idx].value; |
| | | this.searchVideoList(); |
| | | }, |
| | | // 设置表格斑马纹 |
| | | tableRowClassName({ row, rowIndex }) { |