This commit is contained in:
Warunee Tamkoo 2024-11-27 18:13:26 +07:00
parent 027e668fa6
commit 1f548d7459
25 changed files with 83 additions and 78 deletions

View file

@ -197,7 +197,7 @@ const columnsPlan = ref<QTableProps["columns"]>([
{
name: "name",
align: "left",
label: "ความรู้ / ทักษะ / สมรรถนะที่ต้องได้รับการพัฒนา",
label: "ความรู้/ทักษะ/สมรรถนะที่ต้องได้รับการพัฒนา",
sortable: true,
field: "name",
headerStyle: "font-size: 14px",
@ -992,6 +992,7 @@ onMounted(async () => {
size="xs"
:model-value="props.row.isDevelopment70"
label="70 การลงมือปฏิบัติ (โดยผู้บังคับบัญชามอบหมาย)"
reaonly
/>
<q-checkbox
size="xs"
@ -1290,4 +1291,8 @@ onMounted(async () => {
<DialogDevelop v-model:modal="modalDevelop" v-model:id="kpiDevelopmentId" />
</template>
<style scoped></style>
<style scoped>
.q-checkbox.cursor-pointer {
cursor: default !important;
}
</style>

View file

@ -85,12 +85,12 @@ const projectTechniquesOp2 = ref<DataOptionTechnique[]>([
const projectTechniquesOp3 = ref<DataOptionTechnique[]>([
{
value: "self_learning",
label: "การเรียนรู้ด้วยตนเอง แบบ online/offline (Self learning)",
label: "การเรียนรู้ด้วยตนเอง แบบ online/offline (Selflearning)",
},
{ value: "classroom_training", label: "การฝึกอบรม (Classroom training)" },
{
value: "in_house_training",
label: "การฝึกอบรมภายในองค์กร (In house training)",
label: "การฝึกอบรมภายในองค์กร (Inhouse training)",
},
{
value: "public_training",
@ -98,11 +98,11 @@ const projectTechniquesOp3 = ref<DataOptionTechnique[]>([
},
{
value: "e_training",
label: "การฝึกอบรมผ่าน online (e training / e learning)",
label: "การฝึกอบรมผ่าน online (etraining/elearning)",
},
{ value: "meeting", label: "การประชุม (Meeting)" },
{ value: "seminar", label: "การสัมมนา (Seminar)" },
{ value: "other3", label: "อื่น ๆ (ระบุ)" },
{ value: "other3", label: "อื่นๆ (ระบุ)" },
]);
const choice = ref<string>("MANUAL");
@ -402,11 +402,11 @@ watch(
readonly
outlined
dense
:rules="[(val:string) => !!val || `${'กรุณากรอกชื่อเรื่อง / เนื้อเรื่อง / หัวข้อการพัฒนา'}`,]"
:rules="[(val:string) => !!val || `${'กรุณากรอกชื่อเรื่อง/เนื้อเรื่อง/หัวข้อการพัฒนา'}`,]"
lazy-rules
hide-bottom-space
class="inputgreen"
label="ชื่อเรื่อง / เนื้อเรื่อง / หัวข้อการพัฒนา"
label="ชื่อเรื่อง/เนื้อเรื่อง/หัวข้อการพัฒนา"
>
</q-input>
</div>

View file

@ -68,12 +68,12 @@ const dataLabel = {
registrationAddress: "ที่อยู่ตามทะเบียนบ้าน",
registrationProvince: "จังหวัด",
registrationDistrict: "เขต/อำเภอ",
registrationSubDistrict: "แขวง / ตำบล",
registrationSubDistrict: "แขวง/ตำบล",
registrationZipCode: "รหัสไปรษณีย์",
currentAddress: "ที่อยู่ปัจจุบัน",
currentProvince: "จังหวัด",
currentDistrict: "เขต/อำเภอ",
currentSubDistrict: "แขวง / ตำบล",
currentSubDistrict: "แขวง/ตำบล",
currentZipCode: "รหัสไปรษณีย์",
registrationSame: "ที่อยู่ปัจจุบันตรงกับที่อยู่ตามทะเบียนบ้าน",
};
@ -720,7 +720,7 @@ onMounted(async () => {
v-model="formData.registrationDistrictId"
:options="store.Ops.districtOps"
:label="dataLabel.registrationDistrict"
:rules="[(val:string) => !!val || `${'กรุณาเลือก เขต / อำเภอ'}`]"
:rules="[(val:string) => !!val || `${'กรุณาเลือกเขต/อำเภอ'}`]"
@update:model-value="(value:string) => selectDistrict(value, '1')"
@filter="(inputValue:string,
doneFn:Function) => filterSelector(inputValue, doneFn,'districtOps'
@ -743,7 +743,7 @@ onMounted(async () => {
v-model="formData.registrationSubDistrictId"
:options="store.Ops.subdistrictOps"
:label="dataLabel.registrationSubDistrict"
:rules="[(val:string) => !!val || `${'กรุณาเลือก แขวง / ตำบล'}`]"
:rules="[(val:string) => !!val || `${'กรุณาเลือกแขวง/ตำบล'}`]"
@update:model-value="(value:string) => selectSubDistrict(value, '1')"
@filter="(inputValue:string,
doneFn:Function) => filterSelector(inputValue, doneFn,'subdistrictOps'
@ -841,7 +841,7 @@ onMounted(async () => {
v-model="formData.currentDistrictId"
:options="store.Ops.districtCOps"
:label="dataLabel.currentDistrict"
:rules="[(val:string) => !!val || `${'กรุณาเลือก เขต / อำเภอ'}`]"
:rules="[(val:string) => !!val || `${'กรุณาเลือกแขวง/ตำบล'}`]"
@update:model-value="(value:string) => selectDistrict(value, '2')"
@filter="(inputValue:string,
doneFn:Function) => filterSelector(inputValue, doneFn,'districtCOps'
@ -864,7 +864,7 @@ onMounted(async () => {
v-model="formData.currentSubDistrictId"
:options="store.Ops.subdistrictCOps"
:label="dataLabel.currentSubDistrict"
:rules="[(val:string) => !!val || `${'กรุณาเลือก แขวง / ตำบล'}`]"
:rules="[(val:string) => !!val || `${'กรุณาเลือกแขวง/ตำบล'}`]"
@update:model-value="(value:string) => selectSubDistrict(value, '2')"
@filter="(inputValue:string,
doneFn:Function) => filterSelector(inputValue, doneFn,'subdistrictCOps'