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 modal = defineModel<boolean>('modal',{required:true})
|
||||
const modal = defineModel<boolean>("modal", { required: true });
|
||||
const total = ref<number>(0);
|
||||
const totalList = ref<number>(1);
|
||||
|
||||
|
|
@ -97,7 +97,7 @@ const emit = defineEmits(["returnData"]);
|
|||
|
||||
/** ปิด dialog */
|
||||
async function close() {
|
||||
modal.value = false
|
||||
modal.value = false;
|
||||
rows.value = [];
|
||||
employeeClass.value = "officer";
|
||||
search.value = "";
|
||||
|
|
@ -115,7 +115,7 @@ function savePost() {
|
|||
/** save data หลังจาก ยืนยัน */
|
||||
function saveData() {
|
||||
props.save(selected.value, employeeClass.value);
|
||||
close()
|
||||
close();
|
||||
}
|
||||
|
||||
const searchRef = ref<any>(null);
|
||||
|
|
@ -154,9 +154,7 @@ async function getSearch() {
|
|||
prefix: e.prefix,
|
||||
firstName: e.firstName,
|
||||
lastName: e.lastName,
|
||||
name: `${e.prefix ? e.prefix : ""}${e.firstName ? e.firstName : ""} ${
|
||||
e.lastName ? e.lastName : ""
|
||||
}`,
|
||||
name: e.name,
|
||||
posNo: e.posNo ?? "-",
|
||||
position: e.position ?? "-",
|
||||
positionLevel: e.positionLevelName ?? "-",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue