|
@@ -3,11 +3,17 @@
|
|
|
<div class="condition">
|
|
|
<div class="header">
|
|
|
<el-button style="float:left;" size="small" type="default" icon="el-icon-back" @click="goBack"></el-button>
|
|
|
- <el-button size="small" style="float:right" @click="dialogVisible = true">更新</el-button>
|
|
|
+ <el-button size="small" style="float:right" @click="createZone">更新</el-button>
|
|
|
</div>
|
|
|
<el-scrollbar style="height:calc(100% - 43px)">
|
|
|
- <div>
|
|
|
- this is
|
|
|
+ <div class="item">
|
|
|
+ <span>将位置标签图片批量补充到业务空间:</span>
|
|
|
+ <div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="item">
|
|
|
+ <p>位置标签图片信息:</p>
|
|
|
+ <locationPointMsg :pointObj="$route.params.item"></locationPointMsg>
|
|
|
</div>
|
|
|
</el-scrollbar>
|
|
|
</div>
|
|
@@ -15,13 +21,24 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-
|
|
|
-import { queryDictionaryHead, buildingQuery, shaftSpaceTypeQuery, shaftSpaceBuildingQuery } from '@/api/scan/request';
|
|
|
+import locationPointMsg from '@/views/data_admin/buildGraphy/locationPointMsg'
|
|
|
+import { queryDictionaryHead } from '@/api/scan/request';
|
|
|
import { mapGetters } from 'vuex'
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
-
|
|
|
+ floorProps: {
|
|
|
+ value: 'BuildID',
|
|
|
+ label: 'BuildLocalName',
|
|
|
+ children: 'Floor'
|
|
|
+ },
|
|
|
+ options: [],//建筑楼层
|
|
|
+ spaceList: [],//空间列表
|
|
|
+ space: '',//当前空间
|
|
|
+ buildFloor: [],//建筑楼层信息
|
|
|
+ zoneName: '',//业务空间名称
|
|
|
+ zoneLocalId: '',//业务空间编码
|
|
|
+ showEx: 'el-icon-arrow-down',//下拉菜单
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -31,22 +48,45 @@ export default {
|
|
|
|
|
|
},
|
|
|
components: {
|
|
|
-
|
|
|
+ locationPointMsg
|
|
|
},
|
|
|
created() {
|
|
|
+ this.options = this.$route.params.floorData
|
|
|
+ this.getSpaceList();
|
|
|
console.log(this.$route.params.item)
|
|
|
+ console.log(this.$route.params.floorData)
|
|
|
},
|
|
|
methods: {
|
|
|
+ //创建
|
|
|
+ createZone(){
|
|
|
+ let param = {
|
|
|
+
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //获取空间列表
|
|
|
+ getSpaceList() {
|
|
|
+ let pa = {
|
|
|
+ Filters: `parentId='Space'`
|
|
|
+ }
|
|
|
+ queryDictionaryHead(pa, res => {
|
|
|
+ this.spaceList = res.Content.filter((item => { return item.Name != '元空间' }));
|
|
|
+ });
|
|
|
+ },
|
|
|
+ //选择楼层
|
|
|
+ changeFloor(val) {
|
|
|
+
|
|
|
+ },
|
|
|
//返回
|
|
|
goBack() {
|
|
|
this.$router.push({
|
|
|
- path:'/floor/plan'
|
|
|
+ name: "buildGraphy",
|
|
|
+ params:{nowBuildFloor: this.$route.params.nowBuildFloor}
|
|
|
})
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
|
- projectId:{
|
|
|
- handler(val){
|
|
|
+ projectId: {
|
|
|
+ handler(val) {
|
|
|
this.goBack();
|
|
|
}
|
|
|
}
|
|
@@ -74,9 +114,20 @@ export default {
|
|
|
line-height: 32px;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
/deep/ .el-scrollbar__wrap {
|
|
|
overflow-x: hidden;
|
|
|
}
|
|
|
+.item {
|
|
|
+ padding: 10px 10px;
|
|
|
+ label {
|
|
|
+ display: inline-block;
|
|
|
+ padding: 5px 10px;
|
|
|
+ width:100px;
|
|
|
+ }
|
|
|
+}
|
|
|
+.suppMsg{
|
|
|
+ display:inline-block;
|
|
|
+ position:relative;
|
|
|
+}
|
|
|
</style>
|