| | |
| | | <span class="text-lg font-bold">{{ propertyTitle }}</span> |
| | | </div> |
| | | </div> |
| | | <div class="content rounded-lg max-h-[700px] overflow-y-auto"> |
| | | <div class="content rounded-lg max-h-[700px] overflow-y-auto min-h-[600px]"> |
| | | <el-collapse v-model="activeNames" @change="handleChange" class="mt-2 h-full"> |
| | | <el-collapse-item v-for="group in propertyGroupList" :key="group.type" :title="group.title" :name="group.type" class=""> |
| | | <el-table |
| | |
| | | } |
| | | }; |
| | | const featureClick = (feature: Feature) => { |
| | | if (!feature) { |
| | | propertyGroupList.value = []; |
| | | propertyTitle.value = '无选中对象'; |
| | | return; |
| | | } |
| | | const otype = feature.get('otype'); |
| | | const oname = feature.get('oname'); |
| | | console.log("🚀 ~ feature:", feature) |
| | | if (!otype) return; |
| | | const otypeProperty = props.propertyMap?.[otype] ?? {}; |
| | | propertyTitle.value = otypeProperty.title; |
| | |
| | | vpropsList.push(item.vprop); |
| | | info = { |
| | | ...info, |
| | | value:null |
| | | } |
| | | value: null, |
| | | }; |
| | | } |
| | | return { |
| | | ...item, |
| | | info |
| | | info, |
| | | }; |
| | | }); |
| | | return group; |