Merge branch 'zqq'
This commit is contained in:
commit
4f7fea6259
|
@ -509,11 +509,18 @@ const onOpenEditRole = (type, row) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const manualCoordinate = () => {
|
const manualCoordinate = () => {
|
||||||
const disLatLen = state.dislat.length
|
// const disLatLen = state.dislat.length
|
||||||
const disLonLen = state.dislon.length
|
// const disLonLen = state.dislon.length
|
||||||
const editLat = state.dislat.substring(0, disLatLen - 2)
|
// const editLat = state.dislat.substring(0, disLatLen - 2)
|
||||||
const editLon = state.dislon.substring(0, disLonLen - 2)
|
// const editLon = state.dislon.substring(0, disLonLen - 2)
|
||||||
mapRef.value.mapOperations.addInteractMarker(editLat, editLon)
|
// mapRef.value.mapOperations.addInteractMarker(editLat, editLon)
|
||||||
|
mapRef.value.mapOperations.addInteractMarker(state.dislat, state.dislon)
|
||||||
|
const positionParam = {
|
||||||
|
x: state.dislon,
|
||||||
|
y: state.dislat,
|
||||||
|
zoom: 3
|
||||||
|
}
|
||||||
|
mapRef.value.mapOperations.goPosition(positionParam)
|
||||||
}
|
}
|
||||||
|
|
||||||
const mapEvents = (ev) => {
|
const mapEvents = (ev) => {
|
||||||
|
@ -555,8 +562,8 @@ const mapClick = (res) => {
|
||||||
// // mapRef.value.mapOperations.removeLayer( state.wktPoint_Poly )
|
// // mapRef.value.mapOperations.removeLayer( state.wktPoint_Poly )
|
||||||
// mapRef.value.mapOperations.addInteractMarker(res.latlng.lat.toFixed(3), res.latlng.lng.toFixed(3))
|
// mapRef.value.mapOperations.addInteractMarker(res.latlng.lat.toFixed(3), res.latlng.lng.toFixed(3))
|
||||||
// // console.log(state.wktPoint_Poly)
|
// // console.log(state.wktPoint_Poly)
|
||||||
state.dislat = changeLat(res.latlng.lat.toFixed(3))
|
state.dislat = res.latlng.lat.toFixed(3)
|
||||||
state.dislon = changeLon(res.latlng.lng.toFixed(3))
|
state.dislon = res.latlng.lng.toFixed(3)
|
||||||
mapRef.value.mapOperations.addInteractMarker(res.latlng.lat.toFixed(3), res.latlng.lng.toFixed(3))
|
mapRef.value.mapOperations.addInteractMarker(res.latlng.lat.toFixed(3), res.latlng.lng.toFixed(3))
|
||||||
}
|
}
|
||||||
const reviews = (index) => {
|
const reviews = (index) => {
|
||||||
|
@ -566,8 +573,6 @@ const reviews = (index) => {
|
||||||
|
|
||||||
//判断index的值来判断是审核通过还是不通过
|
//判断index的值来判断是审核通过还是不通过
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (index === 1) {
|
if (index === 1) {
|
||||||
state.edit.respondStatus = 1;
|
state.edit.respondStatus = 1;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue