รายชื่อผู้ถูกพักราชการ ชื่อ null
This commit is contained in:
parent
f37259c3b1
commit
9599310b84
3 changed files with 11 additions and 3 deletions
|
|
@ -30,7 +30,7 @@ import { useInvestigateDisStore } from "@/modules/11_discipline/store/Investigat
|
||||||
import { useDisciplineMainStore } from "@/modules/11_discipline/store/main";
|
import { useDisciplineMainStore } from "@/modules/11_discipline/store/main";
|
||||||
|
|
||||||
const mainStore = useDisciplineMainStore();
|
const mainStore = useDisciplineMainStore();
|
||||||
|
const isSaveInfo = ref<boolean>(false)
|
||||||
const $q = useQuasar();
|
const $q = useQuasar();
|
||||||
const mixin = useCounterMixin();
|
const mixin = useCounterMixin();
|
||||||
const store = useInvestigateDisStore();
|
const store = useInvestigateDisStore();
|
||||||
|
|
@ -404,6 +404,7 @@ onMounted(async () => {
|
||||||
label="ส่งไปสรุปผลการพิจารณา"
|
label="ส่งไปสรุปผลการพิจารณา"
|
||||||
color="public"
|
color="public"
|
||||||
@click="sentIssueGate"
|
@click="sentIssueGate"
|
||||||
|
:disable="isSaveInfo"
|
||||||
/>
|
/>
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="status === 'NEW'"
|
v-if="status === 'NEW'"
|
||||||
|
|
@ -462,6 +463,7 @@ onMounted(async () => {
|
||||||
:data="data"
|
:data="data"
|
||||||
@submit:disciplinary="onSubmitDisciplinary"
|
@submit:disciplinary="onSubmitDisciplinary"
|
||||||
:fetchData="fetchDetailDisciplinary"
|
:fetchData="fetchDetailDisciplinary"
|
||||||
|
v-model:isSaveInfo="isSaveInfo"
|
||||||
/>
|
/>
|
||||||
</q-tab-panel>
|
</q-tab-panel>
|
||||||
</q-tab-panels>
|
</q-tab-panels>
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ import type { OptionData } from "@/modules/07_insignia/interface/index/Main";
|
||||||
|
|
||||||
const modalPersonal = ref<boolean>(false);
|
const modalPersonal = ref<boolean>(false);
|
||||||
const personId = ref<string>("");
|
const personId = ref<string>("");
|
||||||
|
const isSaveInfo = defineModel<boolean>('isSaveInfo')
|
||||||
const calendarModal = ref<boolean>(false);
|
const calendarModal = ref<boolean>(false);
|
||||||
const calendarModalclose = () => (calendarModal.value = !calendarModal.value);
|
const calendarModalclose = () => (calendarModal.value = !calendarModal.value);
|
||||||
const modalPopup = ref<boolean>(false);
|
const modalPopup = ref<boolean>(false);
|
||||||
|
|
@ -211,6 +211,7 @@ function onSubmit() {
|
||||||
|
|
||||||
emit("submit:disciplinary", formData);
|
emit("submit:disciplinary", formData);
|
||||||
isSave.value = false;
|
isSave.value = false;
|
||||||
|
isSaveInfo.value = false
|
||||||
extendStatus.value = false;
|
extendStatus.value = false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -232,7 +233,7 @@ async function fetchDatadetail() {
|
||||||
if (countNum.value === 1) {
|
if (countNum.value === 1) {
|
||||||
isReadonly.value = props.data.status != "NEW" ?? true;
|
isReadonly.value = props.data.status != "NEW" ?? true;
|
||||||
isSave.value = false;
|
isSave.value = false;
|
||||||
|
isSaveInfo.value = false
|
||||||
formData.respondentType = props.data.respondentType;
|
formData.respondentType = props.data.respondentType;
|
||||||
formData.organizationId = props.data.organizationId;
|
formData.organizationId = props.data.organizationId;
|
||||||
formData.organization = props.data.organization;
|
formData.organization = props.data.organization;
|
||||||
|
|
@ -524,6 +525,7 @@ async function selectComplainant(val: string) {
|
||||||
/** ฟังก์ชั่นเช็คการแก้ไขฟอร์มแล้วไม่ได้กดบันทึก */
|
/** ฟังก์ชั่นเช็คการแก้ไขฟอร์มแล้วไม่ได้กดบันทึก */
|
||||||
function changeFormData() {
|
function changeFormData() {
|
||||||
isSave.value = true;
|
isSave.value = true;
|
||||||
|
isSaveInfo.value = true
|
||||||
if (formData.disciplinaryFaultLevel !== "อื่นๆ") {
|
if (formData.disciplinaryFaultLevel !== "อื่นๆ") {
|
||||||
formData.disciplinaryFaultLevelOther = "";
|
formData.disciplinaryFaultLevelOther = "";
|
||||||
}
|
}
|
||||||
|
|
@ -537,6 +539,7 @@ function changeFormData() {
|
||||||
/** เช็ควันที่สิ้นสุดต้องมากกว่า หรือเท่ากับวันเริ่ม */
|
/** เช็ควันที่สิ้นสุดต้องมากกว่า หรือเท่ากับวันเริ่ม */
|
||||||
function changeFormDataDate() {
|
function changeFormDataDate() {
|
||||||
isSave.value = true;
|
isSave.value = true;
|
||||||
|
isSaveInfo.value = true
|
||||||
const startDate = new Date(formData.disciplinaryDateStart as Date);
|
const startDate = new Date(formData.disciplinaryDateStart as Date);
|
||||||
const endDate = new Date(formData.disciplinaryDateEnd as Date);
|
const endDate = new Date(formData.disciplinaryDateEnd as Date);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -345,6 +345,9 @@ onMounted(() => {
|
||||||
1
|
1
|
||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else-if="col.name === 'name'" class="table_ellipsis">
|
||||||
|
{{ props.row.prefix ? props.row.prefix : "" }}{{ props.row.firstName ? props.row.firstName : "" }} {{ props.row.lastName ? props.row.lastName : "" }}
|
||||||
|
</div>
|
||||||
<div v-else-if="col.name === 'title'" class="table_ellipsis">
|
<div v-else-if="col.name === 'title'" class="table_ellipsis">
|
||||||
{{ props.row.title ? props.row.title : "-" }}
|
{{ props.row.title ? props.row.title : "-" }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue