diff --git a/src/api/KPI/api.KPI.ts b/src/api/KPI/api.KPI.ts new file mode 100644 index 0000000..df497eb --- /dev/null +++ b/src/api/KPI/api.KPI.ts @@ -0,0 +1,10 @@ +import env from "../index"; + +const kpiPeriod = `${env.API_URI}/kpi/period`; +const kpiEvaluation = `${env.API_URI}/kpi/user/evaluation`; +const kpiPlan = `${env.API_URI}/kpi/plan`; +export default { + kpiPeriod, + kpiEvaluation, + kpiPlan, +}; diff --git a/src/app.config.ts b/src/app.config.ts index 4d711c9..a625236 100644 --- a/src/app.config.ts +++ b/src/app.config.ts @@ -10,6 +10,7 @@ import evaluate from "./api/evaluate/api.evaluate"; import support from "./api/support/api.support"; import org from "./api/org/api.org"; import scholarship from "./api/scholarship/api.scholarship"; +import KPI from "./api/KPI/api.KPI"; const API = { ...testtest, @@ -21,6 +22,7 @@ const API = { ...support, ...org, ...scholarship, + ...KPI, }; export default { diff --git a/src/modules/08_KPI/components/Tab/01_Assessment.vue b/src/modules/08_KPI/components/Tab/01_Assessment.vue index 1d4c17e..952a336 100644 --- a/src/modules/08_KPI/components/Tab/01_Assessment.vue +++ b/src/modules/08_KPI/components/Tab/01_Assessment.vue @@ -36,7 +36,10 @@ onMounted(() => { }); @@ -272,17 +399,17 @@ function onSubmit() {} background: #ebf9f7 !important; color: #1bb19ab8 !important; } -.no-shadow{ - box-shadow:none !important; +.no-shadow { + box-shadow: none !important; } -.lineRight{ - border-right: 1px solid #EDEDED !important; +.lineRight { + border-right: 1px solid #ededed !important; } -.lineTop{ - border-top: 1px solid #EDEDED !important; +.lineTop { + border-top: 1px solid #ededed !important; } -.card-box{ - border: 1px solid #EDEDED !important; +.card-box { + border: 1px solid #ededed !important; border-radius: 8px; } diff --git a/src/modules/08_KPI/views/form.vue b/src/modules/08_KPI/views/form.vue index 9750935..cc3645c 100644 --- a/src/modules/08_KPI/views/form.vue +++ b/src/modules/08_KPI/views/form.vue @@ -1,18 +1,19 @@ @@ -77,18 +99,18 @@ onMounted(() => { >
- +
- - - -
+ class="absolute" + style="left: 2%; top: 50%; transform: translateY(-50%)" + > + + + +
-
+
{{ formProfile.fullName ? formProfile.fullName : "-" @@ -119,10 +141,9 @@ onMounted(() => {
-
-
+
@@ -178,8 +199,7 @@ onMounted(() => {
diff --git a/src/modules/08_KPI/views/main.vue b/src/modules/08_KPI/views/main.vue index e92b50b..6e003f9 100644 --- a/src/modules/08_KPI/views/main.vue +++ b/src/modules/08_KPI/views/main.vue @@ -1,101 +1,260 @@ @@ -118,29 +277,73 @@ onMounted(async () => {
- - - เพิ่มข้อมูล - +
+ + + + + + + + เพิ่มข้อมูล + +
+
- + > --> {
- - - - +
+ + + + + +
+ + + + + + + +
+
+ + + + + +
+ +
+ +
+
+
+ + + บันทึกข้อมูล + +
+
+