|
@@ -26,13 +26,12 @@ const appStore = defineStore("app", {
|
|
|
return (
|
|
|
item.name === "客房区域" ||
|
|
|
item.name === "壹号会馆" ||
|
|
|
- item.name === "公共区" );
|
|
|
+ item.name === "公共区"
|
|
|
+ );
|
|
|
});
|
|
|
res.forEach((item) => {
|
|
|
if (item.name === "公共区") {
|
|
|
item.name = "室外区域";
|
|
|
- item.children.push('c_cOX8vF3R')
|
|
|
- // item.children.concat(['c_cOX8vF3R','c_poTfM0Yd','c_HFFYrkxN','c_WqxWTSg6','c_t3sVVlxk'])
|
|
|
}
|
|
|
});
|
|
|
res.push({
|
|
@@ -46,9 +45,6 @@ const appStore = defineStore("app", {
|
|
|
newSecondaryList() {
|
|
|
let newNameList;
|
|
|
switch (this.currentCatalogRoot.name) {
|
|
|
- case "室外区域":
|
|
|
- newNameList = ["其他", "L0.0", "L5.0", "L5.5", "L11.0"];
|
|
|
- break;
|
|
|
case "酒店公区":
|
|
|
newNameList = ["其他", "L0.0", "L5.0", "L5.5", "L11.0"];
|
|
|
break;
|
|
@@ -66,7 +62,12 @@ const appStore = defineStore("app", {
|
|
|
setCurrentSecondary(payload) {
|
|
|
this.currentSecondary = payload;
|
|
|
let arr = this.list.filter((item) => {
|
|
|
- return this.currentSecondary.id == item.category;
|
|
|
+
|
|
|
+ if(this.currentCatalogRoot.name == '室外区域') {
|
|
|
+ return this.currentSecondary.id == item.category ||
|
|
|
+ item.category == "c_cOX8vF3R"
|
|
|
+ }
|
|
|
+ return this.currentSecondary.id == item.category;
|
|
|
});
|
|
|
|
|
|
this.setCurrentScenesList(arr.sort((a, b) => a.weight - b.weight));
|