From af7a6bfa1e7faa007aa1bb53090839ce56e3bd09 Mon Sep 17 00:00:00 2001
From: Zhufu <1176354795@qq.com>
Date: Thu, 8 Aug 2024 17:41:54 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E5=88=87=E6=8D=A2?=
=?UTF-8?q?=E5=8C=BA=E5=8E=BF=E5=AE=A1=E6=A0=B8=E5=90=8E=E5=88=87=E5=9B=9E?=
=?UTF-8?q?=E7=BA=BF=E7=B4=A2=E5=A1=AB=E6=8A=A5=E5=90=8E=E6=A0=A1=E9=AA=8C?=
=?UTF-8?q?=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/FormViewer/index.vue | 25 +++++++++++++++++++------
1 file changed, 19 insertions(+), 6 deletions(-)
diff --git a/src/components/FormViewer/index.vue b/src/components/FormViewer/index.vue
index aaecbc11..def7216e 100644
--- a/src/components/FormViewer/index.vue
+++ b/src/components/FormViewer/index.vue
@@ -3,7 +3,7 @@
@@ -91,7 +91,8 @@
const { proxy } = getCurrentInstance();
const emit = defineEmits(['getFormSuccess']);
const subTableDataStore = subTableStore();
-
+ const tabsFormRef = ref()
+ const formRef = ref()
let formColumns: FormSchema[] = [];
const props = defineProps({
formConfig: Object,
@@ -315,8 +316,7 @@
}, 10);
}
}
- async function tabsChange(e) {
- clearValidate();
+ function tabsChange(e) {
tabsKey.value = e;
formColumns.forEach((element) => {
element.show = false;
@@ -341,6 +341,7 @@
}
setTimeout(() => {
setFieldsValue(FieldsValue.value);
+ clearValidate()
}, 10);
}
@@ -425,8 +426,19 @@
}
}
console.log(subTableDataStore.getGroupData);
+ let resultObj = {}
+ tabsFormRef.value.forEach((item,index) => {
+ console.log(item.getFieldsValue(),index)
+ let data = item.getFieldsValue()
+ Object.keys(data).forEach(key => {
+ if(!resultObj[key]){
+ resultObj[key] = data[key]
+ }
+ })
+ })
//卡片组的值赋值给form,优化卡片组必填验证不通过
setFieldsValue({
+ ...resultObj,
...subTableDataStore.getGroupData,
});
@@ -491,7 +503,8 @@
if (props.formVerison) {
getFormHistory();
}
- clearValidate();
+ tabsFormRef.value && tabsFormRef.value.clearValidate();
+ formRef.value && formRef.value.clearValidate();
});
function radioVal() {
console.log('radioVal');
From ab3e25a78e20bb15def61a42339c850535038faf Mon Sep 17 00:00:00 2001
From: Zhufu <1176354795@qq.com>
Date: Thu, 8 Aug 2024 17:49:37 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=94=BE=E5=A4=A7?=
=?UTF-8?q?=E7=BC=A9=E5=B0=8F=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/sys/exception/Converge/index.vue | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/sys/exception/Converge/index.vue b/src/views/sys/exception/Converge/index.vue
index bc47a39c..113240c2 100644
--- a/src/views/sys/exception/Converge/index.vue
+++ b/src/views/sys/exception/Converge/index.vue
@@ -79,12 +79,12 @@ const initMap = () => {
type: 'raster',
source: 'raster-tiles-geo',
minzoom: 0,
- maxzoom: 18,
+ maxzoom: 20,
},
],
},
- maxZoom:17,
- minZoom:1,
+ maxZoom:18,
+ minZoom:7,
zoom: 10,
pitch:0,
center: [117.984425,35.270654],
From fb68530f0a77961bed466e69be99ba6b33fe8d8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=BB=95=E5=B5=A9?= <17854119262@163.com>
Date: Thu, 8 Aug 2024 17:53:40 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E8=BE=B9=E7=95=8C?=
=?UTF-8?q?=E6=9C=8D=E5=8A=A1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/sys/exception/LargeScreenMap/index.vue | 8 +++++---
src/views/sys/exception/mapComponent/top_title.vue | 4 ++--
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/views/sys/exception/LargeScreenMap/index.vue b/src/views/sys/exception/LargeScreenMap/index.vue
index 1761d8ce..ea989b14 100644
--- a/src/views/sys/exception/LargeScreenMap/index.vue
+++ b/src/views/sys/exception/LargeScreenMap/index.vue
@@ -468,11 +468,12 @@ const handlerDealCountry = (countyName:String = "临沂市"):void=>{
axios({
method:"get",
- url:`http://175.27.168.120:8080/geoserver/linyishi/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=linyishi%3Axianjie&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=xzqmc%20like%20%27%25${filterName}%25%27`,
+ // url:`http://175.27.168.120:8080/geoserver/linyishi/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=linyishi%3Axianjie&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=xzqmc%20like%20%27%25${filterName}%25%27`,
+ url:`http://120.222.154.7:8090/geoserver/linyishi/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=linyishi%3Ashijie&maxFeatures=50&outputFormat=application%2Fjson`,
}).then(res=>{
handlerLoadCountyLayer(res.data);
});
- }else if(countyName){
+ } else if(countyName){
center = MAP_VIEWER[countyName].center;
zoom = MAP_VIEWER[countyName].zoom;
handlerLocation([center['lng'],center['lat']],zoom);
@@ -480,7 +481,8 @@ const handlerDealCountry = (countyName:String = "临沂市"):void=>{
axios({
method:"get",
- url:`http://175.27.168.120:8080/geoserver/linyishi/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=linyishi%3Axianjie&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=xzqmc%20like%20%27%25${filterName}%25%27`,
+ // url:`http://175.27.168.120:8080/geoserver/linyishi/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=linyishi%3Axianjie&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=xzqmc%20like%20%27%25${filterName}%25%27`,
+ url: `http://120.222.154.7:8090/geoserver/linyishi/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=linyishi%3Axianjie&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=xzqdm_1%20like%20%27%25${filterName}%25%27`,
}).then(res=>{
handlerLoadCountyLayer(res.data);
})
diff --git a/src/views/sys/exception/mapComponent/top_title.vue b/src/views/sys/exception/mapComponent/top_title.vue
index cfdc96b6..31255af7 100644
--- a/src/views/sys/exception/mapComponent/top_title.vue
+++ b/src/views/sys/exception/mapComponent/top_title.vue
@@ -214,11 +214,11 @@