space to enter / แก้คำ /showload
This commit is contained in:
parent
51bd71ad83
commit
6a3eeaf2e5
7 changed files with 40 additions and 13 deletions
|
|
@ -12,7 +12,7 @@ import type { RoundData } from "@/modules/06_retirement/interface/index/Main";
|
|||
/** Use */
|
||||
const $q = useQuasar();
|
||||
const mixin = useCounterMixin();
|
||||
const { dialogConfirm, messageError } = mixin;
|
||||
const { dialogConfirm, messageError, showLoader, hideLoader } = mixin;
|
||||
const router = useRouter();
|
||||
|
||||
/** Prop */
|
||||
|
|
@ -90,6 +90,7 @@ async function clickSelect(action: string) {
|
|||
|
||||
// เพิ่มรอบประกาศเกษียณอายุราชการ API
|
||||
async function cerateRetirement(data: object) {
|
||||
showLoader();
|
||||
await http
|
||||
.post(config.API.createProfile(), data)
|
||||
.then((res) => {
|
||||
|
|
@ -99,7 +100,9 @@ async function cerateRetirement(data: object) {
|
|||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
});
|
||||
hideLoader();
|
||||
})
|
||||
.finally(() => {});
|
||||
}
|
||||
</script>
|
||||
<template>
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ const columns = ref<QTableProps["columns"]>([
|
|||
{
|
||||
name: "position",
|
||||
align: "left",
|
||||
label: "ตำแหน่งในสายงาน",
|
||||
label: "ตำแหน่ง",
|
||||
sortable: true,
|
||||
field: "position",
|
||||
headerStyle: "font-size: 14px",
|
||||
|
|
@ -90,7 +90,7 @@ const columns = ref<QTableProps["columns"]>([
|
|||
{
|
||||
name: "positionType",
|
||||
align: "left",
|
||||
label: "ตำแหน่งประเภท",
|
||||
label: "ตำแหน่งประเภท/กลุ่มงาน",
|
||||
sortable: true,
|
||||
field: "positionType",
|
||||
headerStyle: "font-size: 14px",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue