add:照明系统 增加接口 / 枚举 / 逻辑补充

This commit is contained in:
chenpingsen
2024-07-22 15:25:07 +08:00
parent 55f98f9e56
commit 842c1e94e0
4 changed files with 64 additions and 43 deletions

View File

@@ -49,7 +49,12 @@
:maskStyle="{ 'background-color': 'rgba(0, 0, 0, 0)' }">
<a-tabs v-model:activeKey="activeKey">
<a-tab-pane key="1" tab="控制面板">
<tabs1 @changeArea="changeArea" @reset="reset" :treeData="treeData" :nowArea="nowArea"></tabs1>
<tabs1
@changeArea="changeArea"
@reset="reset"
:treeData="treeData"
:nowArea="nowArea"
></tabs1>
</a-tab-pane>
<a-tab-pane key="2" tab="计划列表" force-render>
<tabs2></tabs2>
@@ -83,6 +88,7 @@ import {
// 初始化 =======================================================
onMounted(() => {
// 获得分区与线路的结构
http.get(lightingManage.getArea, { projectId: 'HLlmTZp8' }).then(res => {
const data = res.data
floorData.value = data