แก้ ทดลอง งาน
This commit is contained in:
parent
fd68ca9a3c
commit
dc8ce765b4
11 changed files with 113 additions and 149 deletions
|
|
@ -1240,7 +1240,7 @@ onMounted(async () => {
|
|||
borderless
|
||||
option-label="label"
|
||||
option-value="value"
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="monthSelect"
|
||||
:label="`ระยะเวลา (เดือน)`"
|
||||
bg-color="white"
|
||||
|
|
@ -1267,8 +1267,8 @@ onMounted(async () => {
|
|||
<q-input
|
||||
dense
|
||||
borderless
|
||||
outlined
|
||||
:readonly="isEdit != true"
|
||||
:outlined="isEdit == true"
|
||||
:rules="[(val) => !!val || 'กรุณาเลือกวันที่']"
|
||||
hide-bottom-space
|
||||
class="full-width datepicker"
|
||||
|
|
@ -1291,7 +1291,7 @@ onMounted(async () => {
|
|||
:locale="'th'"
|
||||
autoApply
|
||||
borderless
|
||||
:readonly="isDatePicker2Readonly || isEdit != true"
|
||||
readonly
|
||||
:enableTimePicker="false"
|
||||
week-start="0"
|
||||
>
|
||||
|
|
@ -1305,8 +1305,7 @@ onMounted(async () => {
|
|||
<q-input
|
||||
hide-bottom-space
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
readonly
|
||||
class="full-width datepicker"
|
||||
:model-value="
|
||||
|
|
@ -1344,8 +1343,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
hide-bottom-space
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="caretaker1"
|
||||
:label="`ผู้ดูแลคนที่ 1`"
|
||||
option-label="label"
|
||||
|
|
@ -1373,7 +1371,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="caretaker2"
|
||||
:label="`ผู้ดูแลคนที่ 2`"
|
||||
@filter="filterFnCaretaker2"
|
||||
|
|
@ -1401,7 +1399,7 @@ onMounted(async () => {
|
|||
dense
|
||||
hide-bottom-space
|
||||
borderless
|
||||
:outlined="isEdit"
|
||||
outlined
|
||||
v-model="caretaker1"
|
||||
:label="`ผู้ดูแลคนที่ 1`"
|
||||
option-label="label"
|
||||
|
|
@ -1417,7 +1415,7 @@ onMounted(async () => {
|
|||
:readonly="!isEdit"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit"
|
||||
outlined
|
||||
v-model="caretaker2"
|
||||
:label="`ผู้ดูแลคนที่ 2`"
|
||||
/>
|
||||
|
|
@ -1464,7 +1462,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
class="bg-white"
|
||||
type="textarea"
|
||||
v-model="activity_desc[index]"
|
||||
|
|
@ -1480,7 +1478,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
class="bg-white"
|
||||
type="textarea"
|
||||
v-model="goal_desc[index]"
|
||||
|
|
@ -1550,7 +1548,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="knowledge[index]"
|
||||
:label="`ความรู้ความสามารถในการปฏิบัติงาน ${
|
||||
index + 1
|
||||
|
|
@ -1746,7 +1744,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="OtherLaw"
|
||||
type="textarea"
|
||||
/>
|
||||
|
|
@ -1774,7 +1772,7 @@ onMounted(async () => {
|
|||
dense
|
||||
borderless
|
||||
map-options
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="skill"
|
||||
label="ด้านที่ 1"
|
||||
>
|
||||
|
|
@ -1805,7 +1803,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="skill2"
|
||||
label="ด้านที่ 2"
|
||||
>
|
||||
|
|
@ -1835,7 +1833,7 @@ onMounted(async () => {
|
|||
dense
|
||||
map-options
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="skill3"
|
||||
label="ด้านที่ 3"
|
||||
>
|
||||
|
|
@ -1865,7 +1863,7 @@ onMounted(async () => {
|
|||
dense
|
||||
map-options
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="skill4"
|
||||
label="ด้านที่ 4"
|
||||
>
|
||||
|
|
@ -1911,7 +1909,7 @@ onMounted(async () => {
|
|||
dense
|
||||
borderless
|
||||
map-options
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="main"
|
||||
label="ตัวที่ 1"
|
||||
>
|
||||
|
|
@ -1942,7 +1940,7 @@ onMounted(async () => {
|
|||
dense
|
||||
borderless
|
||||
map-options
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="main2"
|
||||
label="ตัวที่ 2"
|
||||
>
|
||||
|
|
@ -1973,7 +1971,7 @@ onMounted(async () => {
|
|||
dense
|
||||
map-options
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="main3"
|
||||
label="ตัวที่ 3"
|
||||
>
|
||||
|
|
@ -2004,7 +2002,7 @@ onMounted(async () => {
|
|||
dense
|
||||
borderless
|
||||
map-options
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="main4"
|
||||
label="ตัวที่ 4"
|
||||
>
|
||||
|
|
@ -2035,7 +2033,7 @@ onMounted(async () => {
|
|||
dense
|
||||
map-options
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="main5"
|
||||
label="ตัวที่ 5"
|
||||
>
|
||||
|
|
@ -2071,7 +2069,7 @@ onMounted(async () => {
|
|||
dense
|
||||
borderless
|
||||
map-options
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="group"
|
||||
label="ตัวที่ 1"
|
||||
>
|
||||
|
|
@ -2102,7 +2100,7 @@ onMounted(async () => {
|
|||
dense
|
||||
borderless
|
||||
map-options
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="group2"
|
||||
label="ตัวที่ 2"
|
||||
>
|
||||
|
|
@ -2133,7 +2131,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="group3"
|
||||
label="ตัวที่ 3"
|
||||
>
|
||||
|
|
@ -2237,7 +2235,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="Other"
|
||||
bg-color="white"
|
||||
/>
|
||||
|
|
@ -2278,7 +2276,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="output_desc[index]"
|
||||
label="ผลผลิตของงานที่คาดหวัง (ไม่เกิน 10 บรรทัด)"
|
||||
bg-color="white"
|
||||
|
|
@ -2296,7 +2294,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="indicator_desc[index]"
|
||||
label="ตัวชี้วัดความสําเร็จของงาน (ไม่เกิน 10 บรรทัด)"
|
||||
/>
|
||||
|
|
@ -2388,7 +2386,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="Other5"
|
||||
label="กรอกอื่นๆ"
|
||||
bg-color="white"
|
||||
|
|
@ -2479,7 +2477,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="fullname"
|
||||
label="ชื่อ-นามสกุล"
|
||||
bg-color="white"
|
||||
|
|
@ -2491,7 +2489,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="position"
|
||||
label="ตำแหน่ง"
|
||||
bg-color="white"
|
||||
|
|
@ -2520,7 +2518,7 @@ onMounted(async () => {
|
|||
:rules="[(val) => !!val || 'กรุณาเลือกวันที่']"
|
||||
:readonly="isEdit != true"
|
||||
dense
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
:model-value="date1 != null ? date2Thai(date1) : null"
|
||||
label="ลงวันที่"
|
||||
bg-color="white"
|
||||
|
|
@ -2555,7 +2553,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="caretaker1"
|
||||
label="ผู้ดูแลคนที่ 1"
|
||||
@filter="filterFnCaretaker"
|
||||
|
|
@ -2581,7 +2579,7 @@ onMounted(async () => {
|
|||
:readonly="!isEdit"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit"
|
||||
outlined
|
||||
v-model="caretaker1"
|
||||
label="ผู้ดูแลคนที่ 1"
|
||||
@filter="filterFnCaretaker"
|
||||
|
|
@ -2621,7 +2619,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
|
||||
:model-value="date2 != null ? date2Thai(date2) : null"
|
||||
label="ลงวันที่"
|
||||
|
|
@ -2649,7 +2647,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="caretaker2"
|
||||
label="ผู้ดูแลคนที่ 2"
|
||||
@filter="filterFnCaretaker2"
|
||||
|
|
@ -2675,7 +2673,7 @@ onMounted(async () => {
|
|||
:readonly="!isEdit"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit"
|
||||
outlined
|
||||
v-model="caretaker2"
|
||||
label="ผู้ดูแลคนที่ 2"
|
||||
@filter="filterFnCaretaker2"
|
||||
|
|
@ -2712,8 +2710,7 @@ onMounted(async () => {
|
|||
<template #trigger>
|
||||
<q-input
|
||||
hide-bottom-space
|
||||
:disable="!caretaker2"
|
||||
:readonly="isEdit != true"
|
||||
:readonly="isEdit != true || !caretaker2"
|
||||
dense
|
||||
:rules="
|
||||
caretaker2
|
||||
|
|
@ -2721,7 +2718,7 @@ onMounted(async () => {
|
|||
: []
|
||||
"
|
||||
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
|
||||
:model-value="
|
||||
caretaker2 != null ? date2Thai(date3) : null
|
||||
|
|
@ -2759,7 +2756,7 @@ onMounted(async () => {
|
|||
dense
|
||||
borderless
|
||||
:rules="[(val) => !!val || 'กรุณาเลือกผู้บังคับบัญชา']"
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="commander"
|
||||
label="ผู้บังคับบัญชา"
|
||||
use-input
|
||||
|
|
@ -2786,7 +2783,7 @@ onMounted(async () => {
|
|||
dense
|
||||
:rules="[(val) => !!val || 'กรุณาเลือกผู้บังคับบัญชา']"
|
||||
borderless
|
||||
:outlined="isEdit"
|
||||
outlined
|
||||
v-model="commander"
|
||||
label="ผู้บังคับบัญชา"
|
||||
use-input
|
||||
|
|
@ -2827,7 +2824,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
|
||||
:model-value="date4 != null ? date2Thai(date4) : null"
|
||||
label="ลงวันที่"
|
||||
|
|
@ -2862,7 +2859,7 @@ onMounted(async () => {
|
|||
:readonly="isEdit != true"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit == true"
|
||||
outlined
|
||||
v-model="chairman"
|
||||
label="ประธานกรรมการ"
|
||||
:rules="[(val) => !!val || 'กรุณาเลือก ประธานกรรมการ']"
|
||||
|
|
@ -2889,7 +2886,7 @@ onMounted(async () => {
|
|||
:readonly="!isEdit"
|
||||
dense
|
||||
borderless
|
||||
:outlined="isEdit"
|
||||
outlined
|
||||
v-model="chairman"
|
||||
:rules="[(val) => !!val || 'กรุณาเลือก ประธานกรรมการ']"
|
||||
label="ประธานกรรมการ"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue