Begin work on saving compliance report

This commit is contained in:
Eli Ribble 2026-04-09 23:38:20 +00:00
parent 3ad95e1365
commit 553b65556a
No known key found for this signature in database
22 changed files with 2419 additions and 42 deletions

View file

@ -469,7 +469,7 @@ import ImageUpload, { Image } from "@/components/ImageUpload.vue";
import MapLocator from "@/components/MapLocator.vue";
import AddressAndMapLocator from "@/rmo/components/AddressAndMapLocator.vue";
import { useGeocodeStore } from "@/store/geocode";
import { useLocationStore } from "@/store/location";
import { useStoreLocation } from "@/store/location";
import { useStorePublicReport } from "@/store/publicreport";
import type { Marker } from "@/types";
import type {
@ -487,7 +487,7 @@ const errorMessage = ref("");
const formElement = ref<HTMLFormElement | null>(null);
const images = ref<Image[]>([]);
const isSubmitting = ref(false);
const locationStore = useLocationStore();
const storeLocation = useStoreLocation();
const locator = ref<Locator>({
address: {
country: "",
@ -564,7 +564,7 @@ async function doSubmit() {
}
}
onMounted(() => {
locationStore
storeLocation
.get()
.then((loc: GeolocationPosition) => {
console.log("user geolocation", loc);