-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+ Text messages allow for faster communication and updates
+
+
-
-
-
-
-
- You may send text messages to this number
-
-
-
- Text messages allow for faster communication and updates
-
+
+
+
+ Email Address
+ (Optional)
+
+
+
+ We'll send you a confirmation and any updates about this request
+
-
-
-
- Email Address
- (Optional)
-
-
-
- We'll send you a confirmation and any updates about this request
-
-
+
+
+
+ Your contact information will only be used for this compliance matter
+ and will be kept confidential.
+
+
-
-
-
- Your contact information will only be used for this compliance
- matter and will be kept confidential.
-
-
-
-
-
-
- Back
-
-
-
-
+
+
+
+ Back
+
+
+
@@ -130,6 +128,7 @@ import { router } from "@/rmo/router";
import type { District } from "@/type/api";
import HeaderCompliance from "@/rmo/components/HeaderCompliance.vue";
import ProgressBarCompliance from "@/rmo/components/ProgressBarCompliance.vue";
+import type { Compliance } from "@/rmo/view/Compliance.vue";
export interface Contact {
name: string;
@@ -138,21 +137,18 @@ export interface Contact {
email: string;
}
interface Emits {
- (e: "doContact", contact: Contact): void;
+ (e: "doContact"): void;
+ (e: "update:modelValue", value: Compliance): void;
}
interface Props {
district: District;
+ modelValue: Compliance;
}
const emit = defineEmits
();
const props = defineProps();
-const contact = ref({
- name: "",
- phone: "",
- can_text: true,
- email: "",
-});
function doContinue() {
- emit("doContact", contact.value);
+ emit("update:modelValue", props.modelValue);
+ emit("doContact");
router.push("./process");
}
diff --git a/ts/rmo/content/compliance/Permission.vue b/ts/rmo/content/compliance/Permission.vue
index d4c1ec55..cd4f40fe 100644
--- a/ts/rmo/content/compliance/Permission.vue
+++ b/ts/rmo/content/compliance/Permission.vue
@@ -288,8 +288,8 @@ import { type District, PermissionAccess } from "@/type/api";
import type { Compliance } from "@/rmo/view/Compliance.vue";
interface Emits {
- (e: "update:modelValue", value: Compliance): void;
(e: "doPermission"): void;
+ (e: "update:modelValue", value: Compliance): void;
}
export interface Permission {
access?: PermissionAccess;