From 83923d71f3a5ccc1ce09539d704a42462a16d684 Mon Sep 17 00:00:00 2001 From: AnandaTon <125332905+anandaAiemvong@users.noreply.github.com> Date: Mon, 10 Jul 2023 17:27:17 +0700 Subject: [PATCH] Update form.vue --- .../components/probation/form.vue | 189 +++++++++++------- 1 file changed, 113 insertions(+), 76 deletions(-) diff --git a/src/modules/05_placement/components/probation/form.vue b/src/modules/05_placement/components/probation/form.vue index ebec3acf1..32d670268 100644 --- a/src/modules/05_placement/components/probation/form.vue +++ b/src/modules/05_placement/components/probation/form.vue @@ -139,12 +139,29 @@ no-dimming />
- +
+
+
+ +
+
@@ -358,28 +375,30 @@ no-dimming />
- - - -
- + +
+
+
+ +
+
@@ -485,51 +504,53 @@
{{ "เลือกผู้บังคับคับัญชา" }}
- -
- - - - - +
+ +
+ + + + + +
@@ -545,13 +566,15 @@ import { useCounterMixin } from "@/stores/mixin"; import { useDataStore } from "@/stores/data"; import { useRoute } from "vue-router"; import { useQuasar } from "quasar"; +import router from "@/router"; const $q = useQuasar(); const text1_1 = ref(null); const text1_2 = ref(null); const text2_1 = ref(null); const text2_2 = ref(null); - +const etc_text = ref(null); +const etc_text2 = ref(null); const text3_1 = ref(null); const text3_2 = ref(null); const mixin = useCounterMixin(); @@ -583,14 +606,28 @@ const model15 = ref(0); const model16 = ref(0); const model17 = ref(0); const model18 = ref(0); +const modelEtc = ref(0); const dateAutherise = ref(new Date()); -const etc = ref(null); -const etc_4 = ref(null); +const etc = ref(false); +const etc_4 = ref(false); const radio_1 = ref(null); const radio_2 = ref(null); const radio_3 = ref(null); const radio_4 = ref(null); const option = ref(["นาย ภูริณัฐ บุญขาว", "นาย พงศกร วรารักษ์"]); + +const onSubmit = () => { + $q.notify({ + color: "green-4", + textColor: "white", + icon: "cloud_done", + message: "ส่งแบบประเมินเเล้ว", + }); +}; + +const onReset = () => { + router.push({ name: "probation" }); +};