From 56a6867245c17190ebd3c571f68acd20586d9733 Mon Sep 17 00:00:00 2001
From: Zhufu <1176354795@qq.com>
Date: Wed, 3 Jul 2024 15:36:33 +0800
Subject: [PATCH 01/12] =?UTF-8?q?=E3=80=90=E5=9B=BE=E6=96=91=E5=88=97?=
=?UTF-8?q?=E8=A1=A8=E3=80=91=E9=87=8D=E7=BD=AE=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../demo/bootstraps/curbspotcity/MapList/index.vue | 7 ++++++-
src/views/demo/bootstraps/curbspotcity/index.vue | 14 ++++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/src/views/demo/bootstraps/curbspotcity/MapList/index.vue b/src/views/demo/bootstraps/curbspotcity/MapList/index.vue
index 9d9b3ef4..815f0fa3 100644
--- a/src/views/demo/bootstraps/curbspotcity/MapList/index.vue
+++ b/src/views/demo/bootstraps/curbspotcity/MapList/index.vue
@@ -132,6 +132,7 @@
导出
我的收藏
查询
+ 重置
@@ -245,6 +246,7 @@ const emits = defineEmits([
"changeTask",
"infoDataListSort",
"collectChange",
+ "resetScreenData",
])
const props = defineProps([
"infoScreenData",
@@ -353,8 +355,11 @@ const showInfo = (item) => {
}
.screen-button-div{
display: flex;
- justify-content: space-between;
+ // justify-content: space-between;
width: 100%;
+ button{
+ margin-right: 5px;
+ }
}
}
.data-list-div{
diff --git a/src/views/demo/bootstraps/curbspotcity/index.vue b/src/views/demo/bootstraps/curbspotcity/index.vue
index 98ba8467..20673409 100644
--- a/src/views/demo/bootstraps/curbspotcity/index.vue
+++ b/src/views/demo/bootstraps/curbspotcity/index.vue
@@ -29,6 +29,7 @@
@closeShowInfo="changeShowInfo"
@changeTask="changeTask"
@collectChange="collectChange"
+ @resetScreenData="resetScreenData"
/>
@@ -298,12 +299,25 @@ const infoDataListSort = (type, order) => {
infoScreenData.value.order = 'desc'
break
}
+ spinning.value = true
getLoadDroneCaseInfoDetail(getParams()).then(res => {
total.value = res.total
infoDataList.value = res.items
pageNo.value = 1
+ }).finally(() => {
+ spinning.value = false
})
}
+const resetScreenData = () => {
+ infoScreenData.value.mapNo = ''
+ infoScreenData.value.streetId = ''
+ infoScreenData.value.mapType = ''
+ infoScreenData.value.illegalType = ''
+ infoScreenData.value.measure = ''
+ infoScreenData.value.mapStatus = ''
+ infoScreenData.value.markType = ''
+ getInfoList()
+}