|
|
@@ -15,6 +15,7 @@ |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
<div |
|
|
|
v-show="airportPopupShow" |
|
|
|
id="airOverlay" |
|
|
|
class="airport-overlay" |
|
|
|
> |
|
|
@@ -279,14 +280,15 @@ export default { |
|
|
|
problemPopupShow: false, |
|
|
|
tabIndex: 1, |
|
|
|
page: ref(1), |
|
|
|
pageCount: 0, |
|
|
|
pageCount: 1, |
|
|
|
taskList: [], |
|
|
|
range: (['2012-09-10', '2022-09-10']), |
|
|
|
problemTypeSelected: null, |
|
|
|
problemTypeList: [], |
|
|
|
listChecked: false, |
|
|
|
airportSelected: false, |
|
|
|
problemLayerList: [] |
|
|
|
problemLayerList: [], |
|
|
|
airportPopupShow: false |
|
|
|
}) |
|
|
|
watch(() => data.page, (newValue, oldValue) => { |
|
|
|
if (newValue !== oldValue) { |
|
|
@@ -428,7 +430,7 @@ export default { |
|
|
|
autoPan: true, |
|
|
|
offset: [10, 10] |
|
|
|
}) |
|
|
|
|
|
|
|
data.airportPopupShow = true |
|
|
|
// 点击事件 |
|
|
|
data.map.on('click', (evt) => { |
|
|
|
showAirInfo(evt) |
|
|
@@ -479,6 +481,7 @@ export default { |
|
|
|
if (data.map.getOverlayById('air_overlay')) { |
|
|
|
data.airDetail = {} |
|
|
|
data.map.removeOverlay(data.airOverlay) |
|
|
|
data.airportPopupShow = false |
|
|
|
} |
|
|
|
} |
|
|
|
/** |
|
|
@@ -619,6 +622,7 @@ export default { |
|
|
|
}).then(res => { |
|
|
|
if (res.code === 0) { |
|
|
|
data.taskList = res.data.records |
|
|
|
data.pageCount = res.data.pages |
|
|
|
data.taskList.map((item) => { |
|
|
|
const arr = item.executionStartTime.split(/[ ]+/)// 以空格分开 |
|
|
|
item.taskName = arr[0] + item.name |