ปรับ วินัย

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-12-10 11:11:57 +07:00
parent 89bedf5251
commit 2adbbc9b24
22 changed files with 416 additions and 411 deletions

View file

@ -1,5 +1,5 @@
<script setup lang="ts">
import { onMounted, reactive, ref, computed } from "vue";
import { onMounted, reactive, ref } from "vue";
import { useRouter, useRoute } from "vue-router";
import { useQuasar } from "quasar";
@ -137,6 +137,9 @@ const columns = ref<QTableProps["columns"]>([
label: "เงินเดือน",
sortable: true,
field: "salary",
format(val, row) {
return val.toLocaleString();
},
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
@ -211,7 +214,6 @@ async function getData() {
*/
async function onSubmit(data: any) {
showLoader();
http
.put(config.API.complaintbyId(id.value), data)
.then(async () => {
@ -221,7 +223,7 @@ async function onSubmit(data: any) {
.catch((e) => {
messageError($q, e);
})
.finally(async () => {
.finally(() => {
hideLoader();
});
}