add:空调系统群控-对接新接口以及逻辑修改
This commit is contained in:
@@ -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;
|
||||
/** 只在前端使用的变量
|
||||
|
Reference in New Issue
Block a user