feat(iot):【设备定位】添加设备位置功能,支持地图展示和坐标选择

This commit is contained in:
YunaiV
2026-01-21 21:10:09 +08:00
parent 4aeb7a489a
commit 50216e5047
15 changed files with 714 additions and 139 deletions

View File

@@ -11,6 +11,7 @@ import { getStatisticsSummary } from '#/api/iot/statistics';
import { defaultStatsData } from './data';
import DeviceCountCard from './modules/device-count-card.vue';
import DeviceMapCard from './modules/device-map-card.vue';
import DeviceStateCountCard from './modules/device-state-count-card.vue';
import MessageTrendCard from './modules/message-trend-card.vue';
@@ -97,10 +98,17 @@ onMounted(() => {
</Row>
<!-- 第三行消息统计 -->
<Row :gutter="16">
<Row :gutter="16" class="mb-4">
<Col :span="24">
<MessageTrendCard />
</Col>
</Row>
<!-- 第四行设备分布地图 -->
<Row :gutter="16">
<Col :span="24">
<DeviceMapCard />
</Col>
</Row>
</Page>
</template>