|
@@ -298,7 +298,7 @@ const mutations = {
|
|
|
if (item) {
|
|
|
store.commit('gis/SET_GIS_PARAMS_DEFAULT_SB', {
|
|
|
wkt: `POINT(${item.geometry.coordinates.join(' ')})`,
|
|
|
- id: item.properties.elementId,
|
|
|
+ id: item.properties.dataId,
|
|
|
info: item.properties,
|
|
|
config: {
|
|
|
isAnalysis: true
|
|
@@ -343,14 +343,14 @@ const mutations = {
|
|
|
store.commit('gis/SET_GIS_PARAMS_QY_RESET')
|
|
|
store.commit('gis/SET_GIS_PARAMS_QY', {
|
|
|
wkt: `POINT(${item.geometry.coordinates.join(' ')})`,
|
|
|
- id: item.properties.elementId,
|
|
|
+ id: item.properties.dataId,
|
|
|
info: item.properties
|
|
|
})
|
|
|
} else if (['gal', 'shl', 'myl'].includes(item.properties.typeValue)) {
|
|
|
store.commit('gis/SET_GIS_PARAMS_DEFAULT_RESET')
|
|
|
store.commit('gis/SET_GIS_PARAMS_DEFAULT_SB', {
|
|
|
wkt: `POINT(${item.geometry.coordinates.join(' ')})`,
|
|
|
- id: item.properties.elementId,
|
|
|
+ id: item.properties.dataId,
|
|
|
info: item.properties
|
|
|
})
|
|
|
}
|
|
@@ -718,7 +718,7 @@ const mutations = {
|
|
|
notIds.push(`'${state.gisParams.qy.feature.getId()}'`)
|
|
|
}
|
|
|
if (notIds.length > 0) {
|
|
|
- cql.push(`(elementId not in (${notIds.join(',')}))`)
|
|
|
+ cql.push(`(dataId not in (${notIds.join(',')}))`)
|
|
|
}
|
|
|
let vp: null | string = null
|
|
|
if (state.gisParams.qy.analysisWKT) {
|
|
@@ -750,7 +750,7 @@ const mutations = {
|
|
|
notIds.push(`'${state.gisParams.qy.feature.getId()}'`)
|
|
|
}
|
|
|
if (notIds.length > 0) {
|
|
|
- cql.push(`(elementId not in (${notIds.join(',')}))`)
|
|
|
+ cql.push(`(dataId not in (${notIds.join(',')}))`)
|
|
|
}
|
|
|
|
|
|
const tileWMS = new source.TileWMS({
|