fix bug ส่งชื่ออุทธรณ์ร้องทุกข์มี space เกิน
This commit is contained in:
parent
d359c4cb6e
commit
a8ae73e940
1 changed files with 4 additions and 6 deletions
|
|
@ -9,7 +9,7 @@ import { useDisciplineMainStore } from "@/modules/11_discipline/store/Main";
|
||||||
|
|
||||||
const mainStore = useDisciplineMainStore();
|
const mainStore = useDisciplineMainStore();
|
||||||
|
|
||||||
const modal = defineModel<boolean>('modal',{required:true})
|
const modal = defineModel<boolean>("modal", { required: true });
|
||||||
const total = ref<number>(0);
|
const total = ref<number>(0);
|
||||||
const totalList = ref<number>(1);
|
const totalList = ref<number>(1);
|
||||||
|
|
||||||
|
|
@ -97,7 +97,7 @@ const emit = defineEmits(["returnData"]);
|
||||||
|
|
||||||
/** ปิด dialog */
|
/** ปิด dialog */
|
||||||
async function close() {
|
async function close() {
|
||||||
modal.value = false
|
modal.value = false;
|
||||||
rows.value = [];
|
rows.value = [];
|
||||||
employeeClass.value = "officer";
|
employeeClass.value = "officer";
|
||||||
search.value = "";
|
search.value = "";
|
||||||
|
|
@ -115,7 +115,7 @@ function savePost() {
|
||||||
/** save data หลังจาก ยืนยัน */
|
/** save data หลังจาก ยืนยัน */
|
||||||
function saveData() {
|
function saveData() {
|
||||||
props.save(selected.value, employeeClass.value);
|
props.save(selected.value, employeeClass.value);
|
||||||
close()
|
close();
|
||||||
}
|
}
|
||||||
|
|
||||||
const searchRef = ref<any>(null);
|
const searchRef = ref<any>(null);
|
||||||
|
|
@ -154,9 +154,7 @@ async function getSearch() {
|
||||||
prefix: e.prefix,
|
prefix: e.prefix,
|
||||||
firstName: e.firstName,
|
firstName: e.firstName,
|
||||||
lastName: e.lastName,
|
lastName: e.lastName,
|
||||||
name: `${e.prefix ? e.prefix : ""}${e.firstName ? e.firstName : ""} ${
|
name: e.name,
|
||||||
e.lastName ? e.lastName : ""
|
|
||||||
}`,
|
|
||||||
posNo: e.posNo ?? "-",
|
posNo: e.posNo ?? "-",
|
||||||
position: e.position ?? "-",
|
position: e.position ?? "-",
|
||||||
positionLevel: e.positionLevelName ?? "-",
|
positionLevel: e.positionLevelName ?? "-",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue