|
|
@@ -1326,7 +1326,7 @@ export default {
|
|
|
// debugger
|
|
|
for (let children of this.treeData[0].children) {
|
|
|
if (children.id == buildingId) {
|
|
|
- this.optionUnit.addBtn = children.tag.floorNum > datas.length;
|
|
|
+ // this.optionUnit.addBtn = children.tag.floorNum > datas.length;
|
|
|
let treeData = [];
|
|
|
for (let data of datas) {
|
|
|
data.type = this.typeUnit;
|
|
|
@@ -1349,7 +1349,7 @@ export default {
|
|
|
if (building.id == buildingId) {
|
|
|
for (let layer of building.children) {
|
|
|
if (layer.id == unitId) {
|
|
|
- this.optionFloor.addBtn = building.tag.roomNum > datas.length;
|
|
|
+ // this.optionFloor.addBtn = building.tag.roomNum > datas.length;
|
|
|
let treeData = [];
|
|
|
for (let data of datas) {
|
|
|
data.type = this.typeFloor;
|
|
|
@@ -1378,7 +1378,7 @@ export default {
|
|
|
if (unit.id == unitId) {
|
|
|
for (let floor of unit.children) {
|
|
|
if (floor.id == floorId) {
|
|
|
- this.optionRoom.addBtn = floor.tag.bedNum > datas.length;
|
|
|
+ // this.optionRoom.addBtn = floor.tag.bedNum > datas.length;
|
|
|
|
|
|
let treeData = [];
|
|
|
for (let data of datas) {
|