แก้คำผิด
This commit is contained in:
parent
4f0237d42e
commit
f1a2c753bb
1 changed files with 11 additions and 9 deletions
|
|
@ -96,7 +96,9 @@ const columns = ref<QTableProps["columns"]>([
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
format(val, row) {
|
format(val, row) {
|
||||||
return row.posTypeName
|
return row.posTypeName
|
||||||
? `${row.posTypeName} ${row.positionLevelName ? `(${row.positionLevelName})` : ""}`
|
? `${row.posTypeName} ${
|
||||||
|
row.positionLevelName ? `(${row.positionLevelName})` : ""
|
||||||
|
}`
|
||||||
: "-";
|
: "-";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
@ -119,7 +121,7 @@ async function fetchDataPerson() {
|
||||||
{
|
{
|
||||||
fieldName: type.value,
|
fieldName: type.value,
|
||||||
keyword: keyword.value.trim(),
|
keyword: keyword.value.trim(),
|
||||||
system: (route.meta?.Key as string) || 'COMMAND',
|
system: (route.meta?.Key as string) || "COMMAND",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
params: params.value,
|
params: params.value,
|
||||||
|
|
@ -137,7 +139,7 @@ async function fetchDataPerson() {
|
||||||
|
|
||||||
function onSubmit() {
|
function onSubmit() {
|
||||||
if (selected.value.length == 0) {
|
if (selected.value.length == 0) {
|
||||||
dialogMessageNotify($q, "กรุณาเลือกบุคคลที่ต้องการหมอบหมายคำสั่ง");
|
dialogMessageNotify($q, "กรุณาเลือกบุคคลที่ต้องการมอบหมายคำสั่ง");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
dialogConfirm($q, async () => {
|
dialogConfirm($q, async () => {
|
||||||
|
|
@ -148,7 +150,7 @@ function onSubmit() {
|
||||||
});
|
});
|
||||||
await props.fetchListCommand();
|
await props.fetchListCommand();
|
||||||
handleClose();
|
handleClose();
|
||||||
success($q, "หมอบหมายคำสั่งสำเร็จ");
|
success($q, "มอบหมายคำสั่งสำเร็จ");
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
messageError($q, error);
|
messageError($q, error);
|
||||||
} finally {
|
} finally {
|
||||||
|
|
@ -180,7 +182,7 @@ watch(modal, (newVal) => {
|
||||||
<template>
|
<template>
|
||||||
<q-dialog v-model="modal" persistent>
|
<q-dialog v-model="modal" persistent>
|
||||||
<q-card style="width: 50vw; max-width: 50vw">
|
<q-card style="width: 50vw; max-width: 50vw">
|
||||||
<DialogHeader tittle="หมอบหมายคำสั่ง" :close="handleClose" />
|
<DialogHeader tittle="มอบหมายคำสั่ง" :close="handleClose" />
|
||||||
<q-separator />
|
<q-separator />
|
||||||
<q-card-section style="max-height: 60vh">
|
<q-card-section style="max-height: 60vh">
|
||||||
<div class="row q-col-gutter-md">
|
<div class="row q-col-gutter-md">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue