This commit is contained in:
AnandaTon 2023-03-22 13:34:44 +07:00
commit 879b9cd2e1
7 changed files with 126 additions and 67 deletions

View file

@ -20,25 +20,71 @@
อกำหนดและเงอนไขฉบบน อเปนขอตกลงในการเกบขอม
</div>
<q-card class="col-12 q-pa-md" flat>
<q-card-section class="text-black text-left"
>าพเจาเขาใจด ใหบรการ จะเกบรวบรวม ใช และเปดเผยขอมลสวนบคคลของขาพเจ
เพอวตถประสงคในการใหบรการตามสญญาน การวเคราะหอมลเพอวางแผนทางการตลาด
การนำเสนอสนคาและบรการอนๆ ของผใหบรการแกาพเจ รวมถงวตถประสงคนๆ
ตามทใหบรการเหนสมควร <br /><br />
าพเจารบทราบดกว หากขาพเจาไมตกลงยอมรบขอกำหนดและเงอนไขน
ใหบรการสงวนสทธไมใหบรการแกาพเจาได
<q-card-section class="text-black text-left">
<p>
&nbsp;&nbsp;&nbsp;&nbsp;หนงสอยนยอมใหเก ใชหรอเปดเผยขอมลสวนบคคลของผสมคร
เพอสมครงานกบกรงเทพมหานครฯ 1. คำยนยอมจากผใหอมลกบกรงเทพมหานครฯ าพเจ
<strong>{{ fullname }}</strong>
นยอมใหใชหรอเปดเผยขอมลสวนบคคลทเกยวของกบขาพเจ สำหรบใหกรงเทพมหานครฯ
จารณาคณสมบามความเหมาะสมกบตำแหนงงานททางกรงเทพมหานครฯ เปดรบหรอไม
าพเจาฯ นยอมใหทางกรงเทพมหานครฯ เกบขอมลสวนบคคล ตรวจสอบประววนบคคล
ประวอาชญากรรม หรอประว/ประสบการณการทำงานทานมาของขาพเจาฯ ไปยงบคคล และ/หร
หนวยงานตางๆ เกยวของ
เพอเปนขอมลประกอบการพจารณาการคดเลอกตามตำแหนงทาพเจาสมคร โดยขาพเจาฯ
นยอมใหเปดเผยขอมลดงตอไปน
</p>
<p>
<span>
1. รายละเอยดขอม สมครงานไดกรอกในใบสมครงานของกรงเทพมหานครฯ
อมลบคคลอางอ/คคลทเกยวของตามทไดระบไวในใบสมค
ประววนบคคลและประวการทำงานเปนต 2.รายละเอยดขอมลตางๆ
ในเอกสารหรอหลกฐานทสมครไดนำสงใหบกรงเทพมหานครฯ กชองทางการสอสาร เช
จดหมาย หรออเมลเปนต ในกรณาน ไมาน การพจารณารบเขาทำงาน
อมลในใบสมครจะถกเกบรกษาไวกเปนระยะเวลา 24 เดอน
เพอพจารณาความเหมาะสมกบตำแหนงงานอ ในกรณาน าน การพจารณารบเขาทำงาน
อมลในใบสมครจะถกเกบรกษาไวตลอดระยะเวลาการเปนพนกงาน/กจาง
และเกบตอเนองอกเปนระยะเวลา 10
เพอกรณองใชเปนหลกฐานประกอบการใชทธเรยกรองตามกฎหมาย
พระราชบญญมครองแรงงาน .. 2541 และทแกไขเพมเต
</span>
</p>
<p>
<span>
2. อมลสวนบคคลทกรงเทพมหานครฯ เกบรวบรวมในครงน กรงเทพมหานครฯ
จะใชการทชอบดวยกฏหมายและเปนธรรมในการเกบรวบรวมขอมลสวนบคคลอยางจำกดเพยงเทาทจำเปนภายใตตถประสงคการทำงานของกรงเทพมหานครฯ
เพอใชเปนขอมลประกอบการพจารณาคดเลอกตามตำแหนงทใหอมลประสงคจะสมครรบการคดเลอกโดยกรงเทพมหานครฯ
จะเกบรวบรวมขอมลสวนบคคลของทาน งน - -นามสก
เพอตดตอกบทางกรงเทพมหานครฯ - เมล เพอใชในการตดตอกบกรงเทพมหานครฯ -
เบอรโทร เพอใชสมครงานกบทางกรงเทพมหานครฯ - อย
เพอใชสมครงานกบทางกรงเทพมหานครฯ - ประวการทำงาน, ประวการศกษา,
ประวการฝกอบรม ตามขอมลขางต
งนอมลสวนบคคลดงกลาวเปนขอมลทจำเปนสำหรบการทำงานของกรงเทพมหานครฯ
หากไมอมลดงกลาว อาจสงผลตอกระบวนการพจารณาคณสมบของผสมคร
</span>
</p>
<p>
งนสมครเปนผทธเลอกไดาจะบนทกขอมลสวนบคคลอนใด
และยนดจะเปดเผยขอมลดงกลาวกบบคคลหรอหนวยงานอนหรอไม
ตถประสงคในการเกบรวบรวมขอมลสวนบคคล กรงเทพมหานครฯ
จะเกบรวบรวมขอมลสวนบคคลของทานเพอนำไปใชหรอเปดเผยเทาทจำเปนภายใตตถประสงคในการใชประกอบการพจารณาคดเลอกตามตำแหนงทใหอมลแสดงความประสงคไวเทาน
กรงเทพมหานครฯ
จะไมดำเนนการอนใดแตกตางจากทระบในวตถประสงคเวนแตกฏหมายบญญใหกระทำหรอมหนงสอรองขอทสามารถปฏไดตามกฏหมาย
เช เพอความจำเปนในการปองกนดานสขภาพและโรคตดตออนตราย
</p>
</q-card-section>
</q-card>
</div>
</q-card-section>
<q-separator />
<q-card-actions align="right" class="bg-white text-teal">
<q-card-actions align="right" class="bg-white text-teal justify-center">
<q-btn label="ยกเลิก" color="grey" @click="close" flat />
<q-btn label="ตกลง" color="primary" @click="ok" />
</q-card-actions>
</template>
<script setup lang="ts">
import { onMounted, ref } from 'vue'
import keycloak from '@/plugins/keycloak'
const props = defineProps({
close: {
type: Function,
@ -50,6 +96,14 @@ const props = defineProps({
}
})
const fullname = ref<string>('')
/**
* งชอผใชงานจาก keycloak
*/
if (keycloak.tokenParsed != null) {
fullname.value = keycloak.tokenParsed.name
}
const ok = async () => {
props.ok()
}

View file

@ -282,27 +282,26 @@ const saveData = async () => {
if (store.consend == true) {
edit.value = false
emit('update:statusEdit', false)
await myform.value.validate().then(async (success: boolean) => {
if (success) {
} else {
}
})
} else {
modalConsend.value = true
}
}
const changeBtn = async () => {
if (edit.value == true) {
if (props.statusEdit === true) {
edit.value = false
props.notiNoEdit()
} else {
emit('update:statusEdit', true)
await myform.value.validate().then(async (success: boolean) => {
if (success) {
if (edit.value == true) {
if (props.statusEdit === true) {
edit.value = false
props.notiNoEdit()
} else {
emit('update:statusEdit', true)
}
} else {
emit('update:statusEdit', false)
}
}
} else {
emit('update:statusEdit', false)
}
})
}
const selectProvince = (e: string, name: string) => {

View file

@ -402,27 +402,26 @@ const saveData = async () => {
if (store.consend == true) {
edit.value = false
emit('update:statusEdit', false)
await myform.value.validate().then(async (success: boolean) => {
if (success) {
} else {
}
})
} else {
modalConsend.value = true
}
}
const changeBtn = async () => {
if (edit.value == true) {
if (props.statusEdit === true) {
edit.value = false
props.notiNoEdit()
} else {
emit('update:statusEdit', true)
await myform.value.validate().then(async (success: boolean) => {
if (success) {
if (edit.value == true) {
if (props.statusEdit === true) {
edit.value = false
props.notiNoEdit()
} else {
emit('update:statusEdit', true)
}
} else {
emit('update:statusEdit', false)
}
}
} else {
emit('update:statusEdit', false)
}
})
}
const selectRadio = (e: boolean, i: any) => {

View file

@ -106,7 +106,11 @@
:label="`${'วัน/เดือน/ปี เกิด'}`"
>
<template v-slot:prepend>
<q-icon name="event" class="cursor-pointer" style="color: var(--q-primary)">
<q-icon
name="event"
class="cursor-pointer"
:style="edit ? 'color: var(--q-primary)' : 'color: var(--q-grey)'"
>
</q-icon>
</template>
</q-input>
@ -241,7 +245,11 @@
:label="`${'วัน/เดือน/ปี'}`"
>
<template v-slot:prepend>
<q-icon name="event" class="cursor-pointer" style="color: var(--q-primary)">
<q-icon
name="event"
class="cursor-pointer"
:style="edit ? 'color: var(--q-primary)' : 'color: var(--q-grey)'"
>
</q-icon>
</template>
</q-input>
@ -420,27 +428,26 @@ const saveData = async () => {
if (store.consend == true) {
edit.value = false
emit('update:statusEdit', false)
await myform.value.validate().then(async (success: boolean) => {
if (success) {
} else {
}
})
} else {
modalConsend.value = true
}
}
const changeBtn = async () => {
if (edit.value == true) {
if (props.statusEdit === true) {
edit.value = false
props.notiNoEdit()
} else {
emit('update:statusEdit', true)
await myform.value.validate().then(async (success: boolean) => {
if (success) {
if (edit.value == true) {
if (props.statusEdit === true) {
edit.value = false
props.notiNoEdit()
} else {
emit('update:statusEdit', true)
}
} else {
emit('update:statusEdit', false)
}
}
} else {
emit('update:statusEdit', false)
}
})
}
const fetchProvince = async () => {

View file

@ -277,27 +277,26 @@ const saveData = async () => {
if (store.consend == true) {
edit.value = false
emit('update:statusEdit', false)
await myform.value.validate().then(async (success: boolean) => {
if (success) {
} else {
}
})
} else {
modalConsend.value = true
}
}
const changeBtn = async () => {
if (edit.value == true) {
if (props.statusEdit === true) {
edit.value = false
props.notiNoEdit()
} else {
emit('update:statusEdit', true)
await myform.value.validate().then(async (success: boolean) => {
if (success) {
if (edit.value == true) {
if (props.statusEdit === true) {
edit.value = false
props.notiNoEdit()
} else {
emit('update:statusEdit', true)
}
} else {
emit('update:statusEdit', false)
}
}
} else {
emit('update:statusEdit', false)
}
})
}
const consenClose = () => {

View file

@ -19,6 +19,7 @@
active-color="blue-7"
inactive-color="positive"
done-icon="mdi-check-bold"
alternative-labels
:active-icon="stepRaw === step && stepRaw != 4 ? 'mdi-pencil' : 'mdi-eye-outline'"
>
<!-- <q-step

View file

@ -239,7 +239,7 @@ export const useCounterMixin = defineStore('mixin', () => {
color: 'grey-14'
},
ok: {
color: 'red-6'
color: 'red-5'
},
focus: 'none',
persistent: true,