From 00e99028a381a8d15e0b24e6a778fd16a74ce4aa Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期四, 05 十二月 2024 16:16:05 +0800
Subject: [PATCH] 地图
---
src/views/system/work-order/threshold/index.vue | 23 ++++++++++++++---------
1 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/src/views/system/work-order/threshold/index.vue b/src/views/system/work-order/threshold/index.vue
index 7601a9b..1139da9 100644
--- a/src/views/system/work-order/threshold/index.vue
+++ b/src/views/system/work-order/threshold/index.vue
@@ -347,6 +347,7 @@
<pagination
v-show="total>0"
:total="total"
+ :auto-scroll="false"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getWhiteList"
@@ -411,22 +412,19 @@
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"],
@@ -434,6 +432,7 @@
data() {
return {
download: false,
+ scrollPosition: 0, // 鐢ㄤ簬淇濆瓨婊氬姩浣嶇疆
// 涓嬫媺鍔犺浇
selectLoading: false,
ifEditVideo: false,
@@ -592,7 +591,7 @@
},
handleExport() {
this.download = true
- exportData(this.queryParams).then(res => {
+ whiteExport().then(res => {
// 灏嗕簩杩涘埗鏁版嵁杞崲涓� Blob 瀵硅薄
let blob = new Blob([res], { type: 'application/octet-stream' });
@@ -703,6 +702,7 @@
});
},
getWhiteList() {
+ // 淇濆瓨褰撳墠婊氬姩浣嶇疆
this.loading = true;
getWhiteList(this.queryParams).then((response) => {
this.workOrderWhiteList = response.data;
@@ -1031,6 +1031,8 @@
this.upload = false
this.fileList = []
this.getWhiteList()
+ }).catch(()=>{
+ this.upload = false
})
}
}
@@ -1077,6 +1079,9 @@
.content-warp {
margin-top: 10px;
}
-
+.bottom_ {
+ width: 100%;
+ margin-bottom: 8px;
+}
</style>
--
Gitblit v1.8.0