|
@@ -4,6 +4,7 @@
|
|
<div class="buildingManagement" v-if="pageType == 1">
|
|
<div class="buildingManagement" v-if="pageType == 1">
|
|
<div class="max-left-box">
|
|
<div class="max-left-box">
|
|
<div class="tree-box scrollbar-box" v-if="treeList[0]">
|
|
<div class="tree-box scrollbar-box" v-if="treeList[0]">
|
|
|
|
+ <p style="color:#0183FA;font-size:18px;">{{schoolName}}</p>
|
|
<div class="terr-max-box" v-for="(item,index) in treeList" :key="index">
|
|
<div class="terr-max-box" v-for="(item,index) in treeList" :key="index">
|
|
<div class="max-name-box">
|
|
<div class="max-name-box">
|
|
<p class="max-name" :class="checkTreeId==item.id?'check-color':''" @click="clickCheckTree(item,1)">
|
|
<p class="max-name" :class="checkTreeId==item.id?'check-color':''" @click="clickCheckTree(item,1)">
|
|
@@ -427,6 +428,7 @@
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ schoolName:'',
|
|
pageType: 1,
|
|
pageType: 1,
|
|
//拖拽起始Y点(用于计算朝向)
|
|
//拖拽起始Y点(用于计算朝向)
|
|
clientY: null,
|
|
clientY: null,
|
|
@@ -496,6 +498,7 @@
|
|
|
|
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
|
|
+ this.$set(this,'schoolName',localStorage.getItem('schoolName'));
|
|
this.getTreeList()
|
|
this.getTreeList()
|
|
this.getDicts('layout_room_type').then(response => {
|
|
this.getDicts('layout_room_type').then(response => {
|
|
this.roomTypeOptions = response.data
|
|
this.roomTypeOptions = response.data
|