物资点
parent
3d2e01c045
commit
a6cd32a6a6
|
|
@ -175,6 +175,7 @@
|
||||||
<div class="goods-container" v-if="goodsVisible" v-drag>
|
<div class="goods-container" v-if="goodsVisible" v-drag>
|
||||||
<goodsbox
|
<goodsbox
|
||||||
:endLngLat="endLngLat"
|
:endLngLat="endLngLat"
|
||||||
|
:firePopup = 'firePopupClosed'
|
||||||
@close="goodsVisible = false"
|
@close="goodsVisible = false"
|
||||||
></goodsbox>
|
></goodsbox>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ import { getMethodCommon } from "../../../api/common";
|
||||||
const areaName = localStorage.getItem("areaName");
|
const areaName = localStorage.getItem("areaName");
|
||||||
export default {
|
export default {
|
||||||
name: "monitorbox",
|
name: "monitorbox",
|
||||||
props: ["endLngLat"],
|
props: ["endLngLat",'firePopup'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
startLngLat: null,
|
startLngLat: null,
|
||||||
|
|
@ -95,6 +95,13 @@ export default {
|
||||||
endLngLat: function (e) {
|
endLngLat: function (e) {
|
||||||
this.getWuziList();
|
this.getWuziList();
|
||||||
},
|
},
|
||||||
|
firePopup: {
|
||||||
|
handler(newVal, oldVal) {
|
||||||
|
if (newVal == true) {
|
||||||
|
this.close();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getWuziList();
|
this.getWuziList();
|
||||||
|
|
@ -156,9 +163,10 @@ export default {
|
||||||
getMethodCommon("/FirePrevention/Loadwuzichubei", this.listQuery).then(
|
getMethodCommon("/FirePrevention/Loadwuzichubei", this.listQuery).then(
|
||||||
(res) => {
|
(res) => {
|
||||||
this.goodsListData = res.data;
|
this.goodsListData = res.data;
|
||||||
this.nestWuziPoints = this.getNestPoint(this.endLngLat[0], this.endLngLat[1]);
|
this.getNestPoint(this.endLngLat[0], this.endLngLat[1]).then(wz=>{
|
||||||
console.log('this.nestWuziPoints : ', this.nestWuziPoints );
|
this.nestWuziPoints = wz
|
||||||
this.radioChange();
|
this.radioChange();
|
||||||
|
})
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -265,15 +265,9 @@ export default {
|
||||||
</div>
|
</div>
|
||||||
<div class="data-li">
|
<div class="data-li">
|
||||||
<div class="data-value">
|
<div class="data-value">
|
||||||
<<<<<<< HEAD
|
|
||||||
<span id="lablSBZT1" onclick="renyuan([${item.lng},${item.lat}]);" class="label-tag data-value-status-1" >人员调度</span>
|
<span id="lablSBZT1" onclick="renyuan([${item.lng},${item.lat}]);" class="label-tag data-value-status-1" >人员调度</span>
|
||||||
<span id="lablCSFM2" onclick="shuiyuan([${item.lng},${item.lat}])" class="label-tag data-value-status-2" >附近水源</span>
|
<span id="lablCSFM2" onclick="shuiyuan([${item.lng},${item.lat}])" class="label-tag data-value-status-2" >附近水源</span>
|
||||||
<span id="lablCSFM3" onclick="wuzi([${item.lng},${item.lat}])" class="label-tag data-value-status-2" >周边物资</span>
|
<span id="lablCSFM3" onclick="wuzi([${item.lng},${item.lat}])" class="label-tag data-value-status-2" >周边物资</span>
|
||||||
=======
|
|
||||||
<span id="lablSBZT1" onclick="renyuan([${item.lng},${item.lat}]);" class="label-tag data-value-status-1" title="中间状态">人员调度</span>
|
|
||||||
<span id="lablCSFM2" onclick="wuzi([${item.lng},${item.lat}])" class="label-tag data-value-status-2" title="附近物资">附近物资</span>
|
|
||||||
<span id="lablCSFM2" onclick="shuiyuan([${item.lng},${item.lat}])" class="label-tag data-value-status-2" title="附近水源">附近水源</span>
|
|
||||||
>>>>>>> 7d08eed0e10dd0cb32b78e668b31c45956f1ce0a
|
|
||||||
<span id="lablSBZT1" onclick="jiankong('${item.createId}')" style="display:${jiankongDisplay}" class="label-tag data-value-status-1" title="视频监控">视频监控</span>
|
<span id="lablSBZT1" onclick="jiankong('${item.createId}')" style="display:${jiankongDisplay}" class="label-tag data-value-status-1" title="视频监控">视频监控</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue