Compare commits

...

2 Commits

Author SHA1 Message Date
徐景良 9cc74217da Merge branch 'main' of http://123.132.248.154:10000/HC_YFZX/CaiYuanYiTiHua 2024-06-15 14:33:28 +08:00
徐景良 9a98b02a44 merge 2024-06-15 14:33:23 +08:00
3 changed files with 8 additions and 3 deletions

View File

@ -289,6 +289,10 @@
resetFields();
if (!disDetail) {
if (props.flowFormData) {
if(props.flowFormData.mapGeom){
props.flowFormData.MapGeom = props.flowFormData.mapGeom;
}
console.log("flowFormDataAfter",props.flowFormData);
setFieldsValue(props.flowFormData);
}
}
@ -382,7 +386,8 @@
});
});
}
console.log("");
emit("getFormSuccess")
}
const groupRef = ref();

View File

@ -613,7 +613,6 @@
drawing.value = false;
}
//
if(map.getSource("detailsSource")){
map.getSource("detailsSource").setData({
@ -639,6 +638,7 @@
* [
* {id:"8448048304dofhaofh0af0q4",geom:""}
* ]
*
* */
const handlerDraw = (status:string,features = null, bool = false) => {
let geo = {

View File

@ -159,7 +159,7 @@ export const customComponents: IVFormComponent[] = [
component: 'MapGeom',
label: '图斑',
icon: 'bi:box-arrow-in-up-left',
field: 'MapGeom',
field: 'mapGeom',
colProps: { span: 24 },
componentProps: {},
},