ระบบลา fixing layout
This commit is contained in:
parent
3709a71b64
commit
f4a85b3b3a
12 changed files with 24 additions and 24 deletions
|
|
@ -71,9 +71,9 @@ const formData = reactive<FremData>({
|
||||||
leaveTypeName: "", // Name ประเภทการลา
|
leaveTypeName: "", // Name ประเภทการลา
|
||||||
leaveTypeId: "", //Id ประเภทการลา
|
leaveTypeId: "", //Id ประเภทการลา
|
||||||
fullName: "", //คำนำหน้า ชื่อ นามสกุล คนขอลา
|
fullName: "", //คำนำหน้า ชื่อ นามสกุล คนขอลา
|
||||||
dateSendLeave: new Date(), // วันที่ยื่นใบลา
|
dateSendLeave: null, // วันที่ยื่นใบลา
|
||||||
leaveDateStart: new Date(), //วันเริ่มการลา
|
leaveDateStart: null, //วันเริ่มการลา
|
||||||
leaveDateEnd: new Date(), //วันสิ้นสุดการลา
|
leaveDateEnd: null, //วันสิ้นสุดการลา
|
||||||
leaveCount: 0, //จำนวนวันลา
|
leaveCount: 0, //จำนวนวันลา
|
||||||
status: "", //สถานะการของลา
|
status: "", //สถานะการของลา
|
||||||
leaveLimit: 0, //โควต้าลา(แต่ละประเภท)หน่วยเป็นวัน
|
leaveLimit: 0, //โควต้าลา(แต่ละประเภท)หน่วยเป็นวัน
|
||||||
|
|
|
||||||
|
|
@ -88,9 +88,9 @@ const formData = reactive<FremData>({
|
||||||
leaveTypeName: "", // Name ประเภทการลา
|
leaveTypeName: "", // Name ประเภทการลา
|
||||||
leaveTypeId: "", //Id ประเภทการลา
|
leaveTypeId: "", //Id ประเภทการลา
|
||||||
fullName: "", //คำนำหน้า ชื่อ นามสกุล คนขอลา
|
fullName: "", //คำนำหน้า ชื่อ นามสกุล คนขอลา
|
||||||
dateSendLeave: new Date(), // วันที่ยื่นใบลา
|
dateSendLeave: null, // วันที่ยื่นใบลา
|
||||||
leaveDateStart: new Date(), //วันเริ่มการลา
|
leaveDateStart: null, //วันเริ่มการลา
|
||||||
leaveDateEnd: new Date(), //วันสิ้นสุดการลา
|
leaveDateEnd: null, //วันสิ้นสุดการลา
|
||||||
leaveCount: 0, //จำนวนวันลา
|
leaveCount: 0, //จำนวนวันลา
|
||||||
status: "", //สถานะการของลา
|
status: "", //สถานะการของลา
|
||||||
leaveLimit: 0, //โควต้าลา(แต่ละประเภท)หน่วยเป็นวัน
|
leaveLimit: 0, //โควต้าลา(แต่ละประเภท)หน่วยเป็นวัน
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ console.log(props);
|
||||||
:style="{ marginBottom: '10px' }"
|
:style="{ marginBottom: '10px' }"
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
:href="document"
|
:href="document.path"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
outline
|
outline
|
||||||
color="blue"
|
color="blue"
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ const props = defineProps({
|
||||||
:style="{ marginBottom: '10px' }"
|
:style="{ marginBottom: '10px' }"
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
:href="document"
|
:href="document.path"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
outline
|
outline
|
||||||
color="blue"
|
color="blue"
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ const props = defineProps({
|
||||||
:style="{ marginBottom: '10px' }"
|
:style="{ marginBottom: '10px' }"
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
:href="document"
|
:href="document.path"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
outline
|
outline
|
||||||
color="blue"
|
color="blue"
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ const props = defineProps({
|
||||||
:style="{ marginBottom: '10px' }"
|
:style="{ marginBottom: '10px' }"
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
:href="document"
|
:href="document.path"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
outline
|
outline
|
||||||
color="blue"
|
color="blue"
|
||||||
|
|
|
||||||
|
|
@ -25,14 +25,14 @@ const props = defineProps({
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col text-grey-8">จำนวนวันที่ลา</div>
|
<div class="col text-grey-8">จำนวนวันที่ลา</div>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
{{
|
{{
|
||||||
props.data.leaveRange == "ALL"
|
props.data.leaveRange == "ALL"
|
||||||
? props.data.leaveTotal + " วัน"
|
? props.data.leaveTotal + " วัน"
|
||||||
: props.data.leaveRange == "MORNING"
|
: props.data.leaveRange == "MORNING"
|
||||||
? "ลาครึ่งวันเช้า (0.5)"
|
? "ลาครึ่งวันเช้า (0.5)"
|
||||||
: "ลาครึ่งวันบ่าย (0.5)"
|
: "ลาครึ่งวันบ่าย (0.5)"
|
||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col text-grey-8"></div>
|
<div class="col text-grey-8"></div>
|
||||||
|
|
@ -65,7 +65,7 @@ const props = defineProps({
|
||||||
:style="{ marginBottom: '10px' }"
|
:style="{ marginBottom: '10px' }"
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
:href="document"
|
:href="document.path"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
outline
|
outline
|
||||||
color="blue"
|
color="blue"
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,7 @@ function convertDateToEng(dataThia: string) {
|
||||||
:style="{ marginBottom: '10px' }"
|
:style="{ marginBottom: '10px' }"
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
:href="document"
|
:href="document.path"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
outline
|
outline
|
||||||
color="blue"
|
color="blue"
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,7 @@ function convertDateToEng(dataThia: string) {
|
||||||
:style="{ marginBottom: '10px' }"
|
:style="{ marginBottom: '10px' }"
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
:href="document"
|
:href="document.path"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
outline
|
outline
|
||||||
color="blue"
|
color="blue"
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,7 @@ function convertDateToEng(dataThia: string) {
|
||||||
:style="{ marginBottom: '10px' }"
|
:style="{ marginBottom: '10px' }"
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
:href="document"
|
:href="document.path"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
outline
|
outline
|
||||||
color="blue"
|
color="blue"
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,7 @@ const props = defineProps({
|
||||||
:style="{ marginBottom: '10px' }"
|
:style="{ marginBottom: '10px' }"
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
:href="document"
|
:href="document.path"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
outline
|
outline
|
||||||
color="blue"
|
color="blue"
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ const props = defineProps({
|
||||||
:style="{ marginBottom: '10px' }"
|
:style="{ marginBottom: '10px' }"
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
:href="document"
|
:href="document.path"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
outline
|
outline
|
||||||
color="blue"
|
color="blue"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue