Compare commits
2 Commits
e3696dc2a4
...
68bc07c8f0
| Author | SHA1 | Date |
|---|---|---|
|
|
68bc07c8f0 | |
|
|
7a940b54e2 |
|
|
@ -6,7 +6,7 @@
|
||||||
<div class="properties-body" v-if="formConfig.currentItem?.itemProps">
|
<div class="properties-body" v-if="formConfig.currentItem?.itemProps">
|
||||||
<Empty class="hint-box" v-if="!formConfig.currentItem.key" description="未选择控件" />
|
<Empty class="hint-box" v-if="!formConfig.currentItem.key" description="未选择控件" />
|
||||||
<Form
|
<Form
|
||||||
v-else-if="formConfig.currentItem.field == 'mapgeom'"
|
v-else-if="formConfig.currentItem.component == 'MapGeom'"
|
||||||
label-align="left"
|
label-align="left"
|
||||||
layout="vertical"
|
layout="vertical"
|
||||||
description="图斑控件"
|
description="图斑控件"
|
||||||
|
|
@ -178,15 +178,16 @@
|
||||||
watch(
|
watch(
|
||||||
() => formConfig.value,
|
() => formConfig.value,
|
||||||
() => {
|
() => {
|
||||||
|
console.log("formConfig",formConfig.value);
|
||||||
if (formConfig.value.currentItem) {
|
if (formConfig.value.currentItem) {
|
||||||
formConfig.value.currentItem.itemProps = formConfig.value.currentItem.itemProps || {};
|
formConfig.value.currentItem.itemProps = formConfig.value.currentItem.itemProps || {};
|
||||||
formConfig.value.currentItem.itemProps.labelCol =
|
formConfig.value.currentItem.itemProps.labelCol =
|
||||||
formConfig.value.currentItem.itemProps.labelCol || {};
|
formConfig.value.currentItem.itemProps.labelCol || {};
|
||||||
formConfig.value.currentItem.itemProps.wrapperCol =
|
formConfig.value.currentItem.itemProps.wrapperCol =
|
||||||
formConfig.value.currentItem.itemProps.wrapperCol || {};
|
formConfig.value.currentItem.itemProps.wrapperCol || {};
|
||||||
if (formConfig.value.currentItem.field === 'MapGeom') {
|
if (formConfig.value.currentItem.component === 'MapGeom') {
|
||||||
// 图斑组件
|
// 图斑组件
|
||||||
formConfig.value.currentItem.mapSetData = formConfig.value.currentItem.mapSetData || {
|
formConfig.value.currentItem.mapSetData = formConfig.value.currentItem.mapSetData ? formConfig.value.currentItem.mapSetData : {
|
||||||
chooseLayer: '',
|
chooseLayer: '',
|
||||||
isAllowEditPolygon: false,
|
isAllowEditPolygon: false,
|
||||||
isEnablePostionJump: false,
|
isEnablePostionJump: false,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue