This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-09-25 17:13:44 +07:00
parent 397c7a5307
commit 81b0ba60df
8 changed files with 42 additions and 18 deletions

View file

@ -20,7 +20,6 @@ import DialogHistory from "@/modules/11_discipline/components/8_AppealComplain/d
const isReadonly = ref<boolean>(false); //
const mainStore = useDisciplineMainStore();
const router = useRouter();
const route = useRoute();
const checkRoutePermission = ref<boolean>(route.name == "appealComplainDetail");
/** รับ props มาจากหน้าหลัก */
@ -366,6 +365,7 @@ onMounted(() => {
dataStore.visibleColumns = visibleColumns.value;
});
</script>
<template>
<div class="row q-col-gutter-xs">
<form @submit.prevent="validateForm" class="col-12 row">
@ -541,7 +541,7 @@ onMounted(() => {
v-model="formData.title"
lazy-rules
:rules="[
(val) => !!val || 'กรุณากรอกเรื่องอุทธรณ์/ร้องทุกข์',
(val:string) => !!val || 'กรุณากรอกเรื่องอุทธรณ์/ร้องทุกข์',
]"
label="เรื่องอุทธรณ์/ร้องทุกข์"
/>
@ -559,7 +559,7 @@ onMounted(() => {
v-model="formData.description"
lazy-rules
:rules="[
(val) => !!val || 'กรุณากรอกรายละเอียดอุทธรณ์/ร้องทุกข์',
(val:string) => !!val || 'กรุณากรอกรายละเอียดอุทธรณ์/ร้องทุกข์',
]"
label="รายละเอียดอุทธรณ์/ร้องทุกข์"
type="textarea"
@ -757,7 +757,7 @@ onMounted(() => {
/>
</template>
<style lang="scss">
<style scoped lang="scss">
.icon-color {
color: #4154b3;
}