no message
This commit is contained in:
parent
3ff1aafa09
commit
42e15b5d7e
7 changed files with 9 additions and 6 deletions
|
|
@ -329,6 +329,7 @@ onMounted(()=>{
|
|||
<q-input
|
||||
outlined
|
||||
dense
|
||||
:class="getClass()"
|
||||
hide-bottom-space
|
||||
:model-value="dateOrder != null ? date2Thai(dateOrder) : null"
|
||||
:rules="[(val:string) => !!val || `${'กรุณากรอกคำสั่งลงวันที่/หนังสืออนุมัติลงวันที่'}`,]"
|
||||
|
|
|
|||
|
|
@ -167,6 +167,7 @@ function closeDialog() {
|
|||
modal.value = false;
|
||||
rows.value = [];
|
||||
selected.value = [];
|
||||
inputSearch.value = ''
|
||||
}
|
||||
|
||||
/** class */
|
||||
|
|
|
|||
|
|
@ -139,6 +139,7 @@ function closeDialog() {
|
|||
modal.value = false;
|
||||
rows.value = [];
|
||||
selected.value = [];
|
||||
inputSearch.value = ''
|
||||
}
|
||||
|
||||
/** class */
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ function onSubmit() {
|
|||
http[store.statusEdit ? "put" : "post"](url, body)
|
||||
.then((res) => {
|
||||
console.log(res);
|
||||
router.push(`/development/history`);
|
||||
router.push(`/development/employee-history`);
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
|
|
|
|||
|
|
@ -158,6 +158,7 @@ function closeDialog() {
|
|||
modal.value = false;
|
||||
rows.value = [];
|
||||
selected.value = [];
|
||||
inputSearch.value = ''
|
||||
}
|
||||
|
||||
/** class */
|
||||
|
|
|
|||
|
|
@ -132,6 +132,7 @@ function closeDialog() {
|
|||
modal.value = false;
|
||||
rows.value = [];
|
||||
selected.value = [];
|
||||
inputSearch.value = "";
|
||||
}
|
||||
|
||||
/** class */
|
||||
|
|
|
|||
|
|
@ -153,15 +153,13 @@ function getData() {
|
|||
rows.value = data.map((item: any) => ({
|
||||
id: item.id ? item.id : null,
|
||||
citizenId: item.citizenId ? item.citizenId : null,
|
||||
name: item.firstName
|
||||
? `${item.prefix}${item.firstName} ${item.lastName}`
|
||||
: null,
|
||||
name: item.fullName ? item.fullName : null,
|
||||
prefix: item.prefix ? item.prefix : null,
|
||||
firstName: item.firstName ? item.firstName : null,
|
||||
lastName: item.lastName ? item.lastName : null,
|
||||
position: item.position ? item.position : null,
|
||||
type: item.type ? item.type : null,
|
||||
level: item.level ? item.level : null,
|
||||
type: item.posType ? item.posType : null,
|
||||
level: item.posLevel ? item.posLevel : null,
|
||||
positionSide: item.posExecutive ? item.posExecutive : null,
|
||||
projectName: item.projectName ? item.projectName : null,
|
||||
}));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue