|
@@ -48,6 +48,8 @@ import {
|
|
|
} from '../domain/markerMetrics.js'
|
|
} from '../domain/markerMetrics.js'
|
|
|
// 票 83:几何读数(本体宽 / 绘制宽 / pad)与计划读数同一出口,走查不读 DOM 内部结构。
|
|
// 票 83:几何读数(本体宽 / 绘制宽 / pad)与计划读数同一出口,走查不读 DOM 内部结构。
|
|
|
import { markerGeometryDataset } from '../domain/markerPlan.js'
|
|
import { markerGeometryDataset } from '../domain/markerPlan.js'
|
|
|
|
|
+// 本票:未关联设备的屏幕拥挤聚合(纯 domain;本层只负责投影/渲染/点击)。
|
|
|
|
|
+import { AGGREGATE_KIND, aggregateBadge, canZoomAggregate, groupUnassociatedByScreen, planMemberList } from '../domain/pointAggregation.js'
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 类名单源:注入的特效 CSS(下方模板串)与 DOM 构建(buildNode/mount)共用同一组常量。
|
|
* 类名单源:注入的特效 CSS(下方模板串)与 DOM 构建(buildNode/mount)共用同一组常量。
|
|
@@ -499,6 +501,15 @@ const FP_SEP = '\u0001'
|
|
|
let hostNode = null
|
|
let hostNode = null
|
|
|
let hostRecord = null
|
|
let hostRecord = null
|
|
|
let postRenderRemove = null
|
|
let postRenderRemove = null
|
|
|
|
|
+/** 聚合徽章节点池:groupKey → { root, countEl }。 */
|
|
|
|
|
+const aggregatePool = new Map()
|
|
|
|
|
+/** 当前帧 groupKey → group(点击时取真实成员/包围盒)。 */
|
|
|
|
|
+const aggregateGroups = new Map()
|
|
|
|
|
+/** 聚合成员列表:已选中的成员编码(从聚合移出、单独显示)。 */
|
|
|
|
|
+let aggregateSelectedCode = ''
|
|
|
|
|
+/** 成员列表面板(宿主子节点,单例)。 */
|
|
|
|
|
+let memberListEl = null
|
|
|
|
|
+let memberListGroupKey = ''
|
|
|
/** 标签独立图层(宿主子节点);`null` = 尚未挂载。 */
|
|
/** 标签独立图层(宿主子节点);`null` = 尚未挂载。 */
|
|
|
let labelLayer = null
|
|
let labelLayer = null
|
|
|
/**
|
|
/**
|
|
@@ -655,7 +666,7 @@ function buildNode(key, marker, plan, toneHex, fx) {
|
|
|
* @param {object} [options] `{ onPick }` 显式点击触发器回调(窗口坐标 + 节点身份)
|
|
* @param {object} [options] `{ onPick }` 显式点击触发器回调(窗口坐标 + 节点身份)
|
|
|
* @returns {boolean} 是否初始化成功(失败时调用方回退 billboard 链路)
|
|
* @returns {boolean} 是否初始化成功(失败时调用方回退 billboard 链路)
|
|
|
*/
|
|
*/
|
|
|
-export function mountMarkerOverlay(mapHost, { onPick, onHover } = {}) {
|
|
|
|
|
|
|
+export function mountMarkerOverlay(mapHost, { onPick, onHover, onAggregateZoom } = {}) {
|
|
|
try {
|
|
try {
|
|
|
if (!mapHost || typeof mapHost.appendChild !== 'function') return false
|
|
if (!mapHost || typeof mapHost.appendChild !== 'function') return false
|
|
|
if (hostNode && hostNode.isConnected) return true
|
|
if (hostNode && hostNode.isConnected) return true
|
|
@@ -701,8 +712,19 @@ export function mountMarkerOverlay(mapHost, { onPick, onHover } = {}) {
|
|
|
// 显式点击触发器(票 47 维护者裁定:给事件触发器、点击照搬原功能函数):
|
|
// 显式点击触发器(票 47 维护者裁定:给事件触发器、点击照搬原功能函数):
|
|
|
// 命中标记节点 → 交给注入的 onPick(mapService 传 pickDeviceOrPointAt,与 Canvas 点选同一函数)。
|
|
// 命中标记节点 → 交给注入的 onPick(mapService 传 pickDeviceOrPointAt,与 Canvas 点选同一函数)。
|
|
|
hostNode.addEventListener('click', (event) => {
|
|
hostNode.addEventListener('click', (event) => {
|
|
|
|
|
+ const origin = event.target && event.target.closest ? event.target : null
|
|
|
|
|
+ // 本票:聚合徽章点击 —— 能拆开就缩放到组范围,拆不开(同坐标/已到极限)打开成员列表。
|
|
|
|
|
+ const aggregateNode = origin ? origin.closest('[data-marker-overlay-aggregate]') : null
|
|
|
|
|
+ if (aggregateNode) {
|
|
|
|
|
+ const group = aggregateGroups.get(aggregateNode.dataset.markerOverlayKey)
|
|
|
|
|
+ if (group) {
|
|
|
|
|
+ event.stopPropagation()
|
|
|
|
|
+ handleAggregateClick(group, { onAggregateZoom, onPick })
|
|
|
|
|
+ }
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
if (typeof onPick !== 'function') return
|
|
if (typeof onPick !== 'function') return
|
|
|
- const node = event.target && event.target.closest ? event.target.closest(`.${NODE_CLASS}`) : null
|
|
|
|
|
|
|
+ const node = origin ? origin.closest(`.${NODE_CLASS}`) : null
|
|
|
if (!node) return
|
|
if (!node) return
|
|
|
onPick({
|
|
onPick({
|
|
|
x: event.clientX,
|
|
x: event.clientX,
|
|
@@ -732,6 +754,12 @@ export function mountMarkerOverlay(mapHost, { onPick, onHover } = {}) {
|
|
|
onHover(null)
|
|
onHover(null)
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
|
|
+ // 本票:聚合徽章不是真实对象,不参与 hover(否则会去查一个不存在的设备编码)。
|
|
|
|
|
+ if (node.dataset && node.dataset.markerOverlayAggregate === 'yes') {
|
|
|
|
|
+ hoveredLabelKey = ''
|
|
|
|
|
+ onHover(null)
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
// 2026-10-28:hover 的节点 key 一并记下 —— 独立图层里的标签靠它决定「这一台是否展开全名」。
|
|
// 2026-10-28:hover 的节点 key 一并记下 —— 独立图层里的标签靠它决定「这一台是否展开全名」。
|
|
|
hoveredLabelKey = node.dataset ? (node.dataset.markerOverlayKey || '') : ''
|
|
hoveredLabelKey = node.dataset ? (node.dataset.markerOverlayKey || '') : ''
|
|
|
onHover({
|
|
onHover({
|
|
@@ -876,6 +904,146 @@ export function markerLabelState(hovered) {
|
|
|
return { visible: true, expanded: hovered === true }
|
|
return { visible: true, expanded: hovered === true }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+// ---- 本票:未关联设备聚合徽章与成员列表 ----
|
|
|
|
|
+
|
|
|
|
|
+function buildUnassociatedAggregateNode(key, badge) {
|
|
|
|
|
+ const root = document.createElement('div')
|
|
|
|
|
+ root.className = NODE_CLASS + ' ' + NODE_CLASS + '--aggregate'
|
|
|
|
|
+ root.dataset.markerOverlayKey = key
|
|
|
|
|
+ root.dataset.markerOverlayKind = AGGREGATE_KIND
|
|
|
|
|
+ root.dataset.markerOverlayCode = key
|
|
|
|
|
+ root.dataset.markerOverlayAggregate = 'yes'
|
|
|
|
|
+ root.dataset.aggregateCount = String(badge.count)
|
|
|
|
|
+ root.dataset.aggregateCategory = badge.category
|
|
|
|
|
+ root.style.cssText = 'position:absolute;left:0;top:0;pointer-events:auto;cursor:pointer;transform-origin:50% 50%;display:flex;flex-direction:column;align-items:center;gap:2px;'
|
|
|
|
|
+ const circle = document.createElement('div')
|
|
|
|
|
+ circle.style.cssText = 'display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;border:2px solid #01abea;background:rgba(2,9,27,0.92);color:#e8f7ff;font:600 14px/1 monospace;box-shadow:0 0 10px rgba(1,171,234,0.55)'
|
|
|
|
|
+ const countEl = document.createElement('span')
|
|
|
|
|
+ countEl.textContent = String(badge.count)
|
|
|
|
|
+ circle.appendChild(countEl)
|
|
|
|
|
+ const label = document.createElement('span')
|
|
|
|
|
+ label.textContent = badge.category
|
|
|
|
|
+ label.style.cssText = 'padding:0 4px;border-radius:3px;background:rgba(2,9,27,0.9);color:#9fd8f2;font:11px/1.4 sans-serif;white-space:nowrap'
|
|
|
|
|
+ root.appendChild(circle)
|
|
|
|
|
+ root.appendChild(label)
|
|
|
|
|
+ return { root, countEl }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+function renderAggregates(groups) {
|
|
|
|
|
+ aggregateGroups.clear()
|
|
|
|
|
+ const active = new Set()
|
|
|
|
|
+ for (const group of groups || []) {
|
|
|
|
|
+ const badge = aggregateBadge(group)
|
|
|
|
|
+ if (!badge) continue
|
|
|
|
|
+ const key = group.groupKey
|
|
|
|
|
+ active.add(key)
|
|
|
|
|
+ aggregateGroups.set(key, group)
|
|
|
|
|
+ let record = aggregatePool.get(key)
|
|
|
|
|
+ if (!record) {
|
|
|
|
|
+ record = buildUnassociatedAggregateNode(key, badge)
|
|
|
|
|
+ aggregatePool.set(key, record)
|
|
|
|
|
+ hostNode.appendChild(record.root)
|
|
|
|
|
+ }
|
|
|
|
|
+ const transform = 'translate(' + group.screen.x + 'px, ' + group.screen.y + 'px) translate(-50%, -50%)'
|
|
|
|
|
+ if (record.root.style.transform !== transform) record.root.style.transform = transform
|
|
|
|
|
+ if (record.root.style.display !== 'flex') record.root.style.display = 'flex'
|
|
|
|
|
+ // 走查读数:组成员数与屏幕离散(不参与业务)。
|
|
|
|
|
+ record.root.dataset.aggregateSpread = String(Math.round(group.spreadPx))
|
|
|
|
|
+ record.root.dataset.aggregateZoom = canZoomAggregate(group) ? 'yes' : 'no'
|
|
|
|
|
+ if (record.countEl.textContent !== String(group.count)) record.countEl.textContent = String(group.count)
|
|
|
|
|
+ }
|
|
|
|
|
+ for (const [key, record] of aggregatePool.entries()) {
|
|
|
|
|
+ if (active.has(key)) continue
|
|
|
|
|
+ record.root.style.display = 'none'
|
|
|
|
|
+ // 组身份随相机移动而变,池会积累失效徽章;超过上限就真正销毁(避免长会话 DOM 泄漏)。
|
|
|
|
|
+ if (aggregatePool.size > 240) {
|
|
|
|
|
+ if (record.root.parentNode) record.root.parentNode.removeChild(record.root)
|
|
|
|
|
+ aggregatePool.delete(key)
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ if (memberListEl && memberListGroupKey && !aggregateGroups.has(memberListGroupKey)) closeMemberList()
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+function closeMemberList() {
|
|
|
|
|
+ if (memberListEl && memberListEl.parentNode) memberListEl.parentNode.removeChild(memberListEl)
|
|
|
|
|
+ memberListEl = null
|
|
|
|
|
+ memberListGroupKey = ''
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+function openMemberList(group, onPick) {
|
|
|
|
|
+ if (!group || !group.count) return
|
|
|
|
|
+ closeMemberList()
|
|
|
|
|
+ const root = document.createElement('div')
|
|
|
|
|
+ root.dataset.memberList = ''
|
|
|
|
|
+ root.style.cssText = 'position:absolute;z-index:20;pointer-events:auto;width:260px;max-height:320px;overflow:auto;background:rgba(2,9,27,0.97);border:1px solid rgba(1,171,234,0.55);border-radius:6px;padding:8px;color:#e8f7ff;font:12px/1.5 sans-serif;box-shadow:0 10px 30px rgba(0,0,0,0.6)'
|
|
|
|
|
+ const header = document.createElement('div')
|
|
|
|
|
+ header.style.cssText = 'display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;'
|
|
|
|
|
+ const title = document.createElement('strong')
|
|
|
|
|
+ title.textContent = group.count + ' 台独立设备'
|
|
|
|
|
+ const close = document.createElement('button')
|
|
|
|
|
+ close.type = 'button'
|
|
|
|
|
+ close.textContent = '关闭'
|
|
|
|
|
+ close.style.cssText = 'pointer-events:auto;background:transparent;border:1px solid rgba(1,171,234,0.5);color:#9fd8f2;border-radius:4px;padding:1px 6px;cursor:pointer;font:11px sans-serif'
|
|
|
|
|
+ header.appendChild(title)
|
|
|
|
|
+ header.appendChild(close)
|
|
|
|
|
+ const input = document.createElement('input')
|
|
|
|
|
+ input.type = 'search'
|
|
|
|
|
+ input.placeholder = '搜索名称 / 编码'
|
|
|
|
|
+ input.style.cssText = 'width:100%;box-sizing:border-box;margin-bottom:6px;background:rgba(0,0,0,0.35);border:1px solid rgba(1,171,234,0.35);border-radius:4px;color:#e8f7ff;padding:3px 6px;font:12px sans-serif'
|
|
|
|
|
+ const list = document.createElement('div')
|
|
|
|
|
+ list.style.cssText = 'display:flex;flex-direction:column;gap:2px;'
|
|
|
|
|
+ const renderRows = (query) => {
|
|
|
|
|
+ list.innerHTML = ''
|
|
|
|
|
+ for (const row of planMemberList(group, { query })) {
|
|
|
|
|
+ const button = document.createElement('button')
|
|
|
|
|
+ button.type = 'button'
|
|
|
|
|
+ button.dataset.memberCode = row.code
|
|
|
|
|
+ button.style.cssText = 'pointer-events:auto;text-align:left;background:transparent;border:0;border-radius:3px;color:#e8f7ff;padding:3px 5px;cursor:pointer;font:12px/1.45 sans-serif'
|
|
|
|
|
+ button.addEventListener('pointerover', () => { button.style.background = 'rgba(1,171,234,0.18)' })
|
|
|
|
|
+ button.addEventListener('pointerout', () => { button.style.background = 'transparent' })
|
|
|
|
|
+ button.addEventListener('click', (event) => {
|
|
|
|
|
+ event.stopPropagation()
|
|
|
|
|
+ aggregateSelectedCode = row.code
|
|
|
|
|
+ closeMemberList()
|
|
|
|
|
+ if (typeof onPick === 'function') onPick({ kind: 'unassociated-equipment', code: row.code, key: 'unassociated-equipment|' + row.code })
|
|
|
|
|
+ })
|
|
|
|
|
+ const name = document.createElement('span')
|
|
|
|
|
+ name.textContent = row.name || row.code
|
|
|
|
|
+ const meta = document.createElement('span')
|
|
|
|
|
+ meta.textContent = ' · ' + row.code + ' · ' + (row.status || '状态未发布')
|
|
|
|
|
+ meta.style.cssText = 'color:#7fb8d8;font-size:11px'
|
|
|
|
|
+ button.appendChild(name)
|
|
|
|
|
+ button.appendChild(meta)
|
|
|
|
|
+ list.appendChild(button)
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ close.addEventListener('click', (event) => { event.stopPropagation(); closeMemberList() })
|
|
|
|
|
+ input.addEventListener('input', () => renderRows(input.value))
|
|
|
|
|
+ input.addEventListener('pointerdown', (event) => event.stopPropagation())
|
|
|
|
|
+ root.appendChild(header)
|
|
|
|
|
+ root.appendChild(input)
|
|
|
|
|
+ root.appendChild(list)
|
|
|
|
|
+ renderRows('')
|
|
|
|
|
+ const width = hostNode.clientWidth || 800
|
|
|
|
|
+ const height = hostNode.clientHeight || 600
|
|
|
|
|
+ const x = Math.max(8, Math.min(width - 268, group.screen.x + 20))
|
|
|
|
|
+ const y = Math.max(8, Math.min(height - 120, group.screen.y + 20))
|
|
|
|
|
+ root.style.left = x + 'px'
|
|
|
|
|
+ root.style.top = y + 'px'
|
|
|
|
|
+ hostNode.appendChild(root)
|
|
|
|
|
+ memberListEl = root
|
|
|
|
|
+ memberListGroupKey = group.groupKey
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+function handleAggregateClick(group, { onAggregateZoom, onPick } = {}) {
|
|
|
|
|
+ if (!group) return
|
|
|
|
|
+ if (canZoomAggregate(group)) {
|
|
|
|
|
+ if (typeof onAggregateZoom === 'function') onAggregateZoom(group)
|
|
|
|
|
+ return
|
|
|
|
|
+ }
|
|
|
|
|
+ openMemberList(group, onPick)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
export function syncMarkerOverlay({ markers, devices, aggregates, facilities, selectedFacilityKey, pipeComponents, pipeComponentsVisible, pointScales, tones, planOf, facilityPlanOf, componentPlanOf, effectOf, deviceEffectOf, facilityEffectOf, converge, selectedCode, projectToWindow }) {
|
|
export function syncMarkerOverlay({ markers, devices, aggregates, facilities, selectedFacilityKey, pipeComponents, pipeComponentsVisible, pointScales, tones, planOf, facilityPlanOf, componentPlanOf, effectOf, deviceEffectOf, facilityEffectOf, converge, selectedCode, projectToWindow }) {
|
|
|
if (!hostNode || !hostNode.isConnected || typeof projectToWindow !== 'function') return
|
|
if (!hostNode || !hostNode.isConnected || typeof projectToWindow !== 'function') return
|
|
|
// 每帧刷新门控查询(mapService 在计划变化时给新闭包;这里只搬运、不判定)。
|
|
// 每帧刷新门控查询(mapService 在计划变化时给新闭包;这里只搬运、不判定)。
|
|
@@ -897,13 +1065,46 @@ export function syncMarkerOverlay({ markers, devices, aggregates, facilities, se
|
|
|
: { left: 0, top: 0 }
|
|
: { left: 0, top: 0 }
|
|
|
const hostOffset = { x: hostRect.left, y: hostRect.top }
|
|
const hostOffset = { x: hostRect.left, y: hostRect.top }
|
|
|
|
|
|
|
|
|
|
+ // 本票:先投影一次并复用(聚合与渲染共用同一份窗口坐标,避免每帧投影两遍)。
|
|
|
|
|
+ const windowPositions = new Map()
|
|
|
|
|
+ for (const marker of markers || []) {
|
|
|
|
|
+ if (!marker || !Number.isFinite(marker.longitude) || !Number.isFinite(marker.latitude)) continue
|
|
|
|
|
+ const pos = projectToWindow(marker.longitude, marker.latitude)
|
|
|
|
|
+ if (pos && Number.isFinite(pos.x) && Number.isFinite(pos.y)) windowPositions.set(`${marker.kind}|${marker.code}`, pos)
|
|
|
|
|
+ }
|
|
|
|
|
+ // 未关联设备按屏幕拥挤分组:成员节点本轮隐藏,由聚合徽章代表;选中成员已由 domain 移出。
|
|
|
|
|
+ const aggregateRows = []
|
|
|
|
|
+ for (const marker of markers || []) {
|
|
|
|
|
+ if (!marker || marker.kind !== 'unassociated-equipment') continue
|
|
|
|
|
+ const pos = windowPositions.get(`${marker.kind}|${marker.code}`)
|
|
|
|
|
+ if (!pos) continue
|
|
|
|
|
+ aggregateRows.push({
|
|
|
|
|
+ kind: marker.kind,
|
|
|
|
|
+ code: marker.code,
|
|
|
|
|
+ name: marker.name || '',
|
|
|
|
|
+ status: marker.status || '',
|
|
|
|
|
+ industry: marker.industry || '',
|
|
|
|
|
+ longitude: marker.longitude,
|
|
|
|
|
+ latitude: marker.latitude,
|
|
|
|
|
+ screen: pos,
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+ const aggregateResult = groupUnassociatedByScreen(aggregateRows, { selectedCode: aggregateSelectedCode })
|
|
|
|
|
+ const badgeGroups = aggregateResult.groups.filter((group) => group.count > 1)
|
|
|
|
|
+ const groupedMemberKeys = new Set()
|
|
|
|
|
+ for (const group of badgeGroups) {
|
|
|
|
|
+ for (const member of group.members) groupedMemberKeys.add(`unassociated-equipment|${member.code}`)
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
for (const marker of markers || []) {
|
|
for (const marker of markers || []) {
|
|
|
const key = `${marker.kind}|${marker.code}`
|
|
const key = `${marker.kind}|${marker.code}`
|
|
|
|
|
+ // 聚合组成员不单独渲染(选中成员不在组里,仍会正常显示)。
|
|
|
|
|
+ if (groupedMemberKeys.has(key)) { hidePooledNode(key); continue }
|
|
|
wanted.add(key)
|
|
wanted.add(key)
|
|
|
if (!Number.isFinite(marker.longitude) || !Number.isFinite(marker.latitude)) { hidePooledNode(key); continue }
|
|
if (!Number.isFinite(marker.longitude) || !Number.isFinite(marker.latitude)) { hidePooledNode(key); continue }
|
|
|
|
|
|
|
|
- const windowPos = projectToWindow(marker.longitude, marker.latitude)
|
|
|
|
|
- if (!windowPos || !Number.isFinite(windowPos.x) || !Number.isFinite(windowPos.y)) { hidePooledNode(key); continue }
|
|
|
|
|
|
|
+ const windowPos = windowPositions.get(key)
|
|
|
|
|
+ if (!windowPos) { hidePooledNode(key); continue }
|
|
|
|
|
|
|
|
const plan = planOf(marker)
|
|
const plan = planOf(marker)
|
|
|
const toneHex = tones[marker.tone] || tones.neutral
|
|
const toneHex = tones[marker.tone] || tones.neutral
|
|
@@ -961,6 +1162,9 @@ export function syncMarkerOverlay({ markers, devices, aggregates, facilities, se
|
|
|
record.root.classList.toggle(`${NODE_CLASS}--active`, markerActive)
|
|
record.root.classList.toggle(`${NODE_CLASS}--active`, markerActive)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ // 本票:聚合徽章(未关联设备按屏幕拥挤合并后的显示入口)。
|
|
|
|
|
+ renderAggregates(badgeGroups)
|
|
|
|
|
+
|
|
|
// 关联设备(票 47 维护者反馈②根因:设备是独立 billboard 图层,此前 DOM 只渲染
|
|
// 关联设备(票 47 维护者反馈②根因:设备是独立 billboard 图层,此前 DOM 只渲染
|
|
|
// 摘要标记计划、关联设备根本没进 DOM)。行由引擎每帧投影产出(屏幕坐标真值 +
|
|
// 摘要标记计划、关联设备根本没进 DOM)。行由引擎每帧投影产出(屏幕坐标真值 +
|
|
|
// 反应量真值),形态走与摘要未关联设备同一套合成计划(实心母版 + 内层行业图标)。
|
|
// 反应量真值),形态走与摘要未关联设备同一套合成计划(实心母版 + 内层行业图标)。
|
|
@@ -1272,5 +1476,10 @@ export function unmountMarkerOverlay() {
|
|
|
labelLayer = null
|
|
labelLayer = null
|
|
|
hoveredLabelKey = ''
|
|
hoveredLabelKey = ''
|
|
|
markerSelectedCode = ''
|
|
markerSelectedCode = ''
|
|
|
|
|
+ // 本票:聚合徽章与成员列表一并清掉(宿主已移除,引用留着只会拖住 DOM)。
|
|
|
|
|
+ closeMemberList()
|
|
|
|
|
+ aggregatePool.clear()
|
|
|
|
|
+ aggregateGroups.clear()
|
|
|
|
|
+ aggregateSelectedCode = ''
|
|
|
pool.clear()
|
|
pool.clear()
|
|
|
}
|
|
}
|