add:空调系统群控-对接新接口以及逻辑修改

This commit is contained in:
chenpingsen
2024-08-02 16:28:35 +08:00
parent ea25c22383
commit bb9be7b4e0
14 changed files with 2597 additions and 52 deletions

View File

@@ -7,7 +7,7 @@
v-for="(item, index) in floorData"
:key="index"
class="btn-item"
@click="changeFloor(item.childList, item.code)"
@click="changeFloor(item.childList, item.dataCode)"
>{{ item.name }}</button
>
</div>
@@ -233,7 +233,7 @@
// 获得所有分区
const getAllArea = () => {
http.get(lightingManage.getArea, { projectId: state.projectId }).then((res) => {
http.get(lightingManage.getTree, { projectId: state.projectId }).then((res) => {
const data = res.data;
floorData.value = data;
/** 只在前端使用的变量