|
@@ -40,8 +40,8 @@ getLocation 定位
|
|
|
<div>
|
|
|
<form-input :width="100" @change="changeInput" :value="pointDetails.Name" :keys="'Name'" :label="'点位标签'" :isRule="false">
|
|
|
</form-input>
|
|
|
- <form-input :width="100" @change="changeInput" :value="pointDetails.LocalId" :keys="'LocalId'" :label="'点位本地编码'"
|
|
|
- :isRule="false"></form-input>
|
|
|
+ <form-input :width="100" @change="changeInput" :value="pointDetails.LocalId" :keys="'LocalId'" :label="'点位本地编码'" :isRule="false">
|
|
|
+ </form-input>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -156,7 +156,6 @@ export default {
|
|
|
pointData: [], //tab为本层的点位标签
|
|
|
pointShow: false, //标签详情的弹窗
|
|
|
pointDetails: {}, //标签详情信息对象
|
|
|
- index: 0,
|
|
|
installPic: [], //安装位置
|
|
|
panorama: [], //全景照片
|
|
|
rimPic: [], //周边照片
|
|
@@ -171,7 +170,6 @@ export default {
|
|
|
methods: {
|
|
|
//tabs被点击
|
|
|
handleClick(tab, event) {
|
|
|
- this.index = tab.index;
|
|
|
this.pointData = [];
|
|
|
this.getPointList();
|
|
|
},
|
|
@@ -248,7 +246,7 @@ export default {
|
|
|
this.mapPush(this.pointDetails.ImageList, this.videoPic);
|
|
|
this.mapPush(this.pointDetails.ImageList, this.elsePic);
|
|
|
let pa = {
|
|
|
- Content:[this.pointDetails]
|
|
|
+ Content: [this.pointDetails]
|
|
|
}
|
|
|
updateLocationPoint(pa, res => {
|
|
|
this.$message.success("修改成功");
|
|
@@ -300,14 +298,14 @@ export default {
|
|
|
PageSize: 500,
|
|
|
Filters: ''
|
|
|
}
|
|
|
- if (this.index == 0) {
|
|
|
+ if (this.activeName2 == "point") {
|
|
|
pa.Filters = `FloorId='${this.pointParam.FloorId}'`
|
|
|
} else {
|
|
|
pa.Filters = 'FloorId isNull'
|
|
|
}
|
|
|
queryLocationPoint(pa, res => {
|
|
|
this.pointData = res.Content;
|
|
|
- if (this.index == 0) {
|
|
|
+ if (this.activeName2 == "point") {
|
|
|
this.$emit("getPointList", res.Content);
|
|
|
}
|
|
|
this.isLoading = false;
|