- ปรับข้อความในส่วนของเปลี่ยนแปลงรอบการปฏิบัติของผู้ใช้งาน

- แก้ปุ่มบันทึกในส่วนของรายชื่อกรรมการ
This commit is contained in:
Warunee Tamkoo 2023-11-06 10:57:49 +07:00
parent 5d34c40b41
commit b6084f2c1b
3 changed files with 27 additions and 68 deletions

View file

@ -26,11 +26,11 @@ const formData = reactive<changeRoundEdit>({
const roundOp = ref([
{
id: "1",
name: "รอบ 1",
name: "08:30 - 17:00",
},
{
id: "2",
name: "รอบ 2",
name: "08:00 - 16:30",
},
]);
const objectRoundChange: MyObjectRoundChangeRef = {
@ -94,19 +94,16 @@ watch(
<q-card style="min-width: 800px">
<form @submit.prevent="validateForm">
<q-toolbar>
<q-toolbar-title
v-if="props.editCheck === 'edit'"
class="text-subtitle1 text-bold"
>เปลยนรอบการลาของ
<q-toolbar-title class="text-subtitle1 text-bold">
{{
props.editCheck === "edit"
? "เปลี่ยนรอบการปฏิบัติงาน"
: "ประวัติการเปลี่ยนรอบการปฏิบัติงาน"
}}
<span class="text-teal-6">{{
props.DataRow ? props.DataRow.fullName : ""
}}</span></q-toolbar-title
>
<q-toolbar-title
v-if="props.editCheck === 'history'"
class="text-subtitle1 text-bold"
>ประวการเปลยนรอบการลงเวลา
</q-toolbar-title>
<q-btn
icon="close"
unelevated
@ -176,7 +173,7 @@ watch(
ref="effectiveDateRef"
dense
style="width: 23.5rem"
class="datepicker "
class="datepicker"
:model-value="
formData.effectiveDate != null
? date2Thai(formData.effectiveDate)