แก้ฟิลด์ประวัติ ย้ายสมรรถนะและตัวชี้วัดไปอยู่ภายใต้ข้อมูลหลัก

This commit is contained in:
Warunee Tamkoo 2024-04-17 17:17:05 +07:00
parent f970b6101c
commit 408a3bf8b3
8 changed files with 45 additions and 38 deletions

View file

@ -84,6 +84,31 @@ const menuList = readonly<any[]>([
label: "ข้อมูลเครื่องราชอิสริยาภรณ์", label: "ข้อมูลเครื่องราชอิสริยาภรณ์",
path: "masterInsignia", path: "masterInsignia",
}, },
{
key: 3.6,
label: "ตัวชี้วัด",
role: "evaluateKPI",
children: [
{
key: 3.61,
label: "ตามแผน",
path: "KPIIndicatorByPlan",
role: "evaluateKPI",
},
{
key: 3.62,
label: "ตามตำแหน่ง",
path: "KPIIndicatorByRole",
role: "evaluateKPI",
},
],
},
{
key: 3.7,
label: "สมรรถนะ",
path: "KPICompetency",
role: "evaluateKPI",
},
], ],
}, },
{ {
@ -685,32 +710,7 @@ const menuList = readonly<any[]>([
path: "KPIRound", path: "KPIRound",
role: "evaluateKPI", role: "evaluateKPI",
}, },
{ ],
key: 13.2,
label: "ตัวชี้วัด",
role: "evaluateKPI",
children: [
{
key: 13.21,
label: "ตามแผนปฏิบัติราชการประจำปี",
path: "KPIIndicatorByPlan",
role: "evaluateKPI",
},
{
key: 13.22,
label: "ตามหน้าที่ความรับผิดชอบ",
path: "KPIIndicatorByRole",
role: "evaluateKPI",
},
]
},
{
key: 13.3,
label: "สมรรถนะ",
path: "KPICompetency",
role: "evaluateKPI",
},
]
}, },
{ {
key: 14, key: 14,

View file

@ -34,7 +34,7 @@ onMounted(() => {});
color="primary" color="primary"
@click="router.go(-1)" @click="router.go(-1)"
/> />
{{ `${title}คัวชี้วัดตามแผนปฏิบัติราชการประจำปี` }} {{ `${title}ตัวชี้วัดตามแผนฯ` }}
</div> </div>
</template> </template>

View file

@ -34,7 +34,7 @@ onMounted(() => {});
color="primary" color="primary"
@click="router.go(-1)" @click="router.go(-1)"
/> />
{{ `${title}คัวชี้วัดตามหน้าที่ความรับผิดชอบ` }} {{ `${title}ตัวชี้วัดตามตำแหน่ง` }}
</div> </div>
</template> </template>

View file

@ -108,7 +108,7 @@ onMounted(() => {
<template> <template>
<div class="toptitle text-dark col-12 row items-center"> <div class="toptitle text-dark col-12 row items-center">
ตามแผนปฏราชการประจำป รายการตวชดตามแผนฯ
</div> </div>
<q-card flat bordered class="q-pa-md"> <q-card flat bordered class="q-pa-md">
<q-toolbar class="q-pa-none"> <q-toolbar class="q-pa-none">

View file

@ -108,7 +108,7 @@ onMounted(() => {
<template> <template>
<div class="toptitle text-dark col-12 row items-center"> <div class="toptitle text-dark col-12 row items-center">
ตามหนาทความรบผดชอบ รายการตวชดตามตำแหน
</div> </div>
<q-card flat bordered class="q-pa-md"> <q-card flat bordered class="q-pa-md">
<q-toolbar class="q-pa-none"> <q-toolbar class="q-pa-none">

View file

@ -59,8 +59,8 @@ const formMainProject = reactive<FormAddHistoryProject>({
totalTraining: "", // totalTraining: "", //
location: "", // location: "", //
topic: "", // topic: "", //
studyStart: "", // // studyStart: "", //
studyEnd: "", // // studyEnd: "", //
organizingTraining: "", // organizingTraining: "", //
}); });

View file

@ -134,8 +134,8 @@ interface FormAddHistoryProject {
totalTraining: string; totalTraining: string;
location: string; location: string;
topic: string; topic: string;
studyStart: string; // studyStart: string;
studyEnd: string; // studyEnd: string;
organizingTraining: string; organizingTraining: string;
[key: string]: any; [key: string]: any;
} }

View file

@ -741,7 +741,6 @@ watch(
menuItem.key == 9 || menuItem.key == 9 ||
menuItem.key == 11 || menuItem.key == 11 ||
menuItem.key == 12 || menuItem.key == 12 ||
menuItem.key == 13 ||
menuItem.key == 14 menuItem.key == 14
" "
> >
@ -923,7 +922,11 @@ watch(
</template> </template>
<!-- เมนอย 2 (สรรหา) --> <!-- เมนอย 2 (สรรหา) -->
<div v-if="menuItem.key == 5 || menuItem.key == 11 || menuItem.key == 13"> <div
v-if="
menuItem.key == 5 || menuItem.key == 11 || menuItem.key == 3
"
>
<div v-for="(subMenu, i) in menuItem.children" :key="i"> <div v-for="(subMenu, i) in menuItem.children" :key="i">
<q-expansion-item <q-expansion-item
switch-toggle-side switch-toggle-side
@ -936,8 +939,12 @@ watch(
subMenu.key !== 11.3 && subMenu.key !== 11.3 &&
subMenu.key !== 11.4 && subMenu.key !== 11.4 &&
subMenu.key !== 11.5 && subMenu.key !== 11.5 &&
subMenu.key !== 13.1 && subMenu.key !== 3.1 &&
subMenu.key !== 13.3 subMenu.key !== 3.2 &&
subMenu.key !== 3.3 &&
subMenu.key !== 3.4 &&
subMenu.key !== 3.5 &&
subMenu.key !== 3.7
" "
class="expan2" class="expan2"
dense dense