Merge branch 'develop' into NiceDev

# Conflicts:
#	src/modules/06_evaluate/components/DialogMain.vue
This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-01-04 16:55:38 +07:00
commit 355549de3c
58 changed files with 8718 additions and 12297 deletions

View file

@ -12,6 +12,7 @@ const router = useRouter();
const $q = useQuasar();
const mixin = useCounterMixin();
const store = useEvaluateStore();
const slide = ref<string>('1');
const { dialogConfirm } = mixin;
@ -38,6 +39,7 @@ function prevStep() {
}
function onCklicNext() {
<<<<<<< HEAD
dialogConfirm(
$q,
() => {
@ -50,6 +52,10 @@ function onCklicNext() {
"ยืนยันการดำเนินการ",
"ต้องการยืนยันการดำเนินการต่อใช่หรือไม่?"
);
=======
const type = props.menu ? props.menu.val?.toLowerCase() : "";
router.push(`/evaluate/add/${type}`);
>>>>>>> develop
}
const thumbStyle = ref<any>({
@ -75,180 +81,244 @@ watch(props, () => {
<template>
<q-dialog v-model="props.modal">
<q-card style="width: 800px; max-width: 90vw">
<q-card style="width: 800px; max-width: 90vw; border-radius: 20px">
<DialogHeader
class="text-center text-edit"
:tittle="`ขั้นตอนการ${props.menu ? props.menu.label : ''}`"
:close="props.close"
elevated
/>
<q-separator />
<q-carousel
v-model="slide"
transition-prev="scale"
transition-next="scale"
swipeable
animated
control-type="regular"
control-color="grey-5"
navigation
padding
arrows
height="auto"
class="text-dark rounded-borders"
>
<template v-slot:navigation-icon="{ active, btnProps, onClick }">
<q-btn v-if="active" size="xs" :icon="btnProps.icon" color="edit" flat round dense @click="onClick" />
<q-btn v-else size="xs" :icon="btnProps.icon" color="grey" flat round dense @click="onClick" />
</template>
<q-carousel-slide name="1" class="no-wrap">
<q-card bordered>
<q-card-section class="bg-grey-2" style="height: 150px;">
<div class="text-center">
<q-img
class="absolute-center"
src="@/modules/06_evaluate/components/img/page1.png"
spinner-color="white"
style="height: auto; max-width: 100px;"
/>
</div>
</q-card-section>
<q-card-actions vertical align="left" class="q-pa-lg">
<div class="flex">
<q-icon name="mdi-numeric-1-circle" size="20px" color="primary" />
<div class="q-pl-sm text-weight-bold text-dark">ตรวจสอบคณสมบ</div>
</div>
ตรวจสอบคณสมบของตนเอง เพอทำการยนขอประเม
</q-card-actions>
</q-card>
</q-carousel-slide>
<q-scroll-area
:thumb-style="thumbStyle"
:bar-style="barStyle"
style="height: 500px"
>
<q-card-section class="q-pt-none">
<p class="q-mt-md">
การ{{ props.menu ? props.menu.label : "" }}งหมด 9 นตอน
</p>
<q-carousel-slide name="2" class="no-wrap">
<q-card bordered>
<q-card-section class="bg-grey-2" style="height: 150px;">
<div class="text-center">
<q-img
class="absolute-center"
src="@/modules/06_evaluate/components/img/page2.png"
spinner-color="white"
style="height: auto; max-width: 100px;"
/>
</div>
</q-card-section>
<q-card-actions vertical align="left" class="q-pa-lg">
<div class="flex">
<q-icon name="mdi-numeric-2-circle" size="20px" color="primary" />
<div class="q-pl-sm text-weight-bold text-dark">ดเตรยมเอกสารเล 1</div>
</div>
ดาวนโหลดเอกสารตนแบบ ทำการกรอกขอมลในฟอรมใหครบ และอปโหลดเขาสระบบ
</q-card-actions>
</q-card>
</q-carousel-slide>
<q-stepper
v-model="step"
class="q-pt-none"
vertical
animated
flat
ref="stepper"
:bordered="false"
header-nav
>
<q-step
keep-alive
:name="1"
prefix="1"
title="ตรวจสอบคุณสมบัติ"
icon="settings"
:done="step > 1"
>
ตรวจสอบคณสมบของตนเอง เพอทำการยนขอประเม
โดยมวขอตรวจสอบดงน
<ol>
<li>ณวการศกษา</li>
<li>ประวการรบราชการ</li>
<li>ประสบการณในการปฏงาน</li>
<li>
ระยะเวลาขนตำในการดำรงตำแหนงในสายงานทขอเขารบการคดเลอก
</li>
<li>
ณสมบตรงตามคณสมบเฉพาะ สำหรบตำแหนงทกำหนด
ในมาตรฐานกำหนดตำแหน
</li>
<li>
ใบอนญาตประกอบวชาชพของสายงานตางๆ และ/หร
ณวเพมเตมครบถวนตามท .. กำหนด (แพทยพยาบาล
ศวกรโยธา สถาปน ฯลฯ)
</li>
<li>
ระยะเวลาขนตำในการดำรงตำแหนงหรอเคย
ดำรงตำแหนงในสายงานทจะคดเลอก
ตามคณวของบคคลและระดบตำแหนงทจะคดเลอก
</li>
</ol>
</q-step>
<q-carousel-slide name="3" class="no-wrap">
<q-card bordered>
<q-card-section class="bg-grey-2" style="height: 150px;">
<div class="text-center">
<q-img
class="absolute-center"
src="@/modules/06_evaluate/components/img/page3.png"
spinner-color="white"
style="height: auto; max-width: 100px;"
/>
</div>
</q-card-section>
<q-card-actions vertical align="left" class="q-pa-lg">
<div class="flex">
<q-icon name="mdi-numeric-3-circle" size="20px" color="primary" />
<div class="q-pl-sm text-weight-bold text-dark">ตรวจสอบเอกสารเล 1</div>
</div>
ทำการตรวจสอบความถกตองของเอกสารเล 1 และยนยนการยนเอกสาร
</q-card-actions>
</q-card>
</q-carousel-slide>
<q-step
:name="2"
prefix="2"
title="จัดเตรียมเอกสารเล่ม 1"
:done="step >= 2"
>
ดาวนโหลดเอกสารตนแบบ ทำการกรอกขอมลในฟอรมใหครบ
และอปโหลดเขาสระบบ โดยมรายการเอกสารดงน
<ol>
<li>แบบพจารณาคณสมบคคล</li>
<li>แบบแสดงรายละเอยดการเสนอผลงาน</li>
<li>
แบบตรวจสอบความถกตองครบถวนของขอมลเพอประกอบการคดเลอกบคคล
(เอกสารแบบ .)
</li>
<li>แบบประเมนคณลกษณะบคคล</li>
<li>แบบสรปขอมลของผขอรบการคดเลอก (เอกสารหมายเลข 9)</li>
<li>ผลงานทจะสงประเม (เอกสารหมายเลข 11)</li>
</ol>
</q-step>
<q-carousel-slide name="4" class="no-wrap">
<q-card bordered>
<q-card-section class="bg-grey-2" style="height: 150px;">
<div class="text-center">
<q-img
class="absolute-center"
src="@/modules/06_evaluate/components/img/page4.png"
spinner-color="white"
style="height: auto; max-width: 100px;"
/>
</div>
</q-card-section>
<q-card-actions vertical align="left" class="q-pa-lg">
<div class="flex">
<q-icon name="mdi-numeric-4-circle" size="20px" color="primary" />
<div class="q-pl-sm text-weight-bold text-dark">รอตรวจสอบคณสมบ</div>
</div>
นตอนนคำขอของคณจะถกสงไปยงเจาหนาทบผดชอบ และทางเจาหนาทจะทำการตรวจสอบคณสมบ
</q-card-actions>
</q-card>
</q-carousel-slide>
<q-step
:name="3"
prefix="3"
title="ตรวจสอบเอกสารเล่ม 1"
:done="step >= 3"
>
ทำการตรวจสอบความถกตองของเอกสารเล 1 และยนยนการยนเอกสาร
</q-step>
<q-carousel-slide name="5" class="no-wrap">
<q-card bordered>
<q-card-section class="bg-grey-2" style="height: 150px;">
<div class="text-center">
<q-img
class="absolute-center"
src="@/modules/06_evaluate/components/img/page5.png"
spinner-color="white"
style="height: auto; max-width: 100px;"
/>
</div>
</q-card-section>
<q-card-actions vertical align="left" class="q-pa-lg">
<div class="flex">
<q-icon name="mdi-numeric-5-circle" size="20px" color="primary" />
<div class="q-pl-sm text-weight-bold text-dark">ประกาศบนเวบไซต</div>
</div>
เอกสารทเกยวของจะถกประกาศขนบนเวบไซตเปนเวลา 30
</q-card-actions>
</q-card>
</q-carousel-slide>
<q-step
:name="4"
prefix="4"
title="รอตรวจสอบคุณสมบัติ"
:done="step >= 4"
>
นตอนนคำขอของคณจะถกสงไปยงเจาหนาทบผดชอบ
และทางเจาหนาทจะทำการตรวจสอบคณสมบ
</q-step>
<q-carousel-slide name="6" class="no-wrap">
<q-card bordered>
<q-card-section class="bg-grey-2" style="height: 150px;">
<div class="text-center">
<q-img
class="absolute-center"
src="@/modules/06_evaluate/components/img/page6.png"
spinner-color="white"
style="height: auto; max-width: 100px;"
/>
</div>
</q-card-section>
<q-card-actions vertical align="left" class="q-pa-lg">
<div class="flex">
<q-icon name="mdi-numeric-6-circle" size="20px" color="primary" />
<div class="q-pl-sm text-weight-bold text-dark">ดเตรยมเอกสารเล 2</div>
</div>
ประเมนทำการอปโหลดเอกสารเล 2 โดยมระยะเวลาการสงผลงานหลงจากประกาศบนเวบไซตแล 6 เดอน
</q-card-actions>
</q-card>
</q-carousel-slide>
<q-step
:name="5"
prefix="5"
title="ประกาศบนเว็บไซต์"
:done="step >= 5"
>
เอกสารทเกยวของจะถกประกาศขนบนเวบไซตเปนเวลา 30
</q-step>
<q-carousel-slide name="7" class="no-wrap">
<q-card bordered>
<q-card-section class="bg-grey-2" style="height: 150px;">
<div class="text-center">
<q-img
class="absolute-center"
src="@/modules/06_evaluate/components/img/page7.png"
spinner-color="white"
style="height: auto; max-width: 100px;"
/>
</div>
</q-card-section>
<q-card-actions vertical align="left" class="q-pa-lg">
<div class="flex">
<q-icon name="mdi-numeric-7-circle" size="20px" color="primary" />
<div class="q-pl-sm text-weight-bold text-dark">ตรวจสอบเอกสารเล 2</div>
</div>
ทำการตรวจสอบความถกตองของเอกสารเล 2 และยนยนการยนเอกสาร
</q-card-actions>
</q-card>
</q-carousel-slide>
<q-step
:name="6"
prefix="6"
title="จัดเตรียมเอกสารเล่ม 2"
:done="step >= 6"
>
ประเมนทำการอปโหลดเอกสารเล 2
โดยมระยะเวลาการสงผลงานหลงจากประกาศบนเวบไซตแล 6 เดอน
</q-step>
<q-carousel-slide name="8" class="no-wrap">
<q-card bordered>
<q-card-section class="bg-grey-2" style="height: 150px;">
<div class="text-center">
<q-img
class="absolute-center"
src="@/modules/06_evaluate/components/img/page8.png"
spinner-color="white"
style="height: auto; max-width: 100px;"
/>
</div>
</q-card-section>
<q-card-actions vertical align="left" class="q-pa-lg">
<div class="flex">
<q-icon name="mdi-numeric-8-circle" size="20px" color="primary" />
<div class="q-pl-sm text-weight-bold text-dark">รอพจารณาผล</div>
</div>
เจาหนาททำการพจารณาผลการประเม และดำเนนการดาวนโหลดเอกสารตนแบบ กรอกขอมลในฟอรมใหครบ และอปโหลดเขาสระบบ
</q-card-actions>
</q-card>
</q-carousel-slide>
<q-step
:name="7"
prefix="7"
title="ตรวจสอบเอกสารเล่ม 2"
:done="step >= 7"
>
ประเมนทำการตรวจสอบเอกสารเล 2 และยนยนการยนเอกสาร
</q-step>
<q-carousel-slide name="9" class="no-wrap">
<q-card bordered>
<q-card-section class="bg-grey-2" style="height: 150px;">
<div class="text-center">
<q-img
class="absolute-center"
src="@/modules/06_evaluate/components/img/page9.png"
spinner-color="white"
style="height: auto; max-width: 100px;"
/>
</div>
</q-card-section>
<q-card-actions vertical align="left" class="q-pa-lg">
<div class="flex">
<q-icon name="mdi-numeric-9-circle" size="20px" color="primary" />
<div class="q-pl-sm text-weight-bold text-dark">เสรจส</div>
</div>
เสรจสนการประเม
</q-card-actions>
</q-card>
</q-carousel-slide>
<q-step :name="8" prefix="8" title="รอพิจารณาผล" :done="step >= 8">
เจาหนาททำการพจารณาผลการประเม
และดำเนนการดาวนโหลดเอกสารตนแบบ กรอกขอมลในฟอรมใหครบ
และอปโหลดเขาสระบบ
โดยมรายการเอกสารทเกยวของกบการประเมนดงน
<ol>
<li>
แบบตรวจสอบความถกตองครบถวนของขอมลประกอบการประเมนผลงาน
(เอกสารแบบ )
</li>
<li>ญชแสดงการร-งผลงาน (เอกสารหมายเลข 15)</li>
<li>แบบประเมนผลงาน (เอกสารหมายเลข 16)</li>
<li>แบบแสดงการประเมนผลงาน (เอกสารหมายเลข 17)</li>
<li>แบบรายงานผลการประเมนบคคล (เอกสารหมายเลข 18)</li>
<li>แบบสรปผลการประเม (เอกสารแบบ )</li>
</ol>
ประเมนสามารถแกไขเอกสารเล 2 โดยการอปโหลดเอกสารเล 2
(ฉบบแกไข) ได
</q-step>
<q-step :name="9" prefix="9" title="เสร็จสิ้น" :done="step >= 9">
เสรจสนการประเม
</q-step>
</q-stepper>
</q-card-section>
</q-scroll-area>
</q-carousel>
<q-separator />
<q-card-actions align="right">
<q-card-actions align="right" class="bg-edit q-px-md">
<q-btn
v-if="step > 1"
style="border-radius: 10px; padding: 5px 20px"
unelevated
icon-right="mdi-arrow-right"
outline
color="public"
label="ก่อนหน้า"
@click="prevStep()"
/>
<q-btn
unelevated
:outline="!(step == 9)"
color="public"
:label="step == 9 ? 'ดำเนินการต่อ' : 'ถัดไป'"
@click="step == 9 ? onCklicNext() : nextStep()"
color="white"
label="ข้าม"
@click="onCklicNext()"
/>
</q-card-actions>
</q-card>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB