| | |
| | | <pagination |
| | | v-show="total>0" |
| | | :total="total" |
| | | :auto-scroll="false" |
| | | :page.sync="queryParams.pageNum" |
| | | :limit.sync="queryParams.pageSize" |
| | | @pagination="getWhiteList" |
| | |
| | | getThreshold, |
| | | updateThreshold, |
| | | importData, |
| | | } from "@/api/platform/threshold"; |
| | | import { |
| | | editCar, |
| | | editFace, |
| | | getCar, |
| | | getFace, |
| | | getVideo, |
| | | } from "../../../../api/platform/threshold"; |
| | | |
| | | import { |
| | | getWhiteList, |
| | | getWhite, |
| | | addWhiteList, |
| | | bathDelete, |
| | | updateWhite |
| | | } from "@/api/platform/work-order"; |
| | | updateWhite, |
| | | whiteExport |
| | | } from "@/api/platform/threshold"; |
| | | |
| | | import { pointSelectData } from "@/api/platform/point"; |
| | | export default { |
| | | dicts: ["image_qualify", "video_qualify", "error_type"], |
| | |
| | | data() { |
| | | return { |
| | | download: false, |
| | | scrollPosition: 0, // 用于保存滚动位置 |
| | | // 下拉加载 |
| | | selectLoading: false, |
| | | ifEditVideo: false, |
| | |
| | | }, |
| | | handleExport() { |
| | | this.download = true |
| | | exportData(this.queryParams).then(res => { |
| | | whiteExport().then(res => { |
| | | // 将二进制数据转换为 Blob 对象 |
| | | let blob = new Blob([res], { type: 'application/octet-stream' }); |
| | | |
| | |
| | | }); |
| | | }, |
| | | getWhiteList() { |
| | | // 保存当前滚动位置 |
| | | this.loading = true; |
| | | getWhiteList(this.queryParams).then((response) => { |
| | | this.workOrderWhiteList = response.data; |
| | |
| | | this.upload = false |
| | | this.fileList = [] |
| | | this.getWhiteList() |
| | | }).catch(()=>{ |
| | | this.upload = false |
| | | }) |
| | | } |
| | | } |
| | |
| | | .content-warp { |
| | | margin-top: 10px; |
| | | } |
| | | |
| | | .bottom_ { |
| | | width: 100%; |
| | | margin-bottom: 8px; |
| | | } |
| | | |
| | | </style> |