ปรับทะเบียนประวัตื ข้อมูลส่วนตัว

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-03-11 17:43:20 +07:00
parent 7ba90f5708
commit 9cae42bc7d
13 changed files with 492 additions and 1187 deletions

View file

@ -33,10 +33,7 @@ const employeeClass = ref<string>(
const typeKeyword = ref<string>("");
const Keyword = ref<string>("");
const positionKeyword = ref<string>("");
const employeeClassOps = ref<DataOption[]>([
{ id: "officer", name: "ข้าราชการ กทม.สามัญ" },
{ id: "perm", name: "ลูกจ้างประจำ" },
]);
//
const typeKeywordOps = ref<DataOption[]>([
{ id: "no", name: "ตำแหน่งเลขที่" },
@ -97,14 +94,6 @@ const columns = ref<QTableProps["columns"]>([
]);
const rows = ref<HistoryPos[]>([]);
/** function เปลี่ยนประเภท*/
function changeEmployeeClass() {
typeKeyword.value = "";
Keyword.value = "";
positionKeyword.value = "";
rows.value = [];
}
/**
* function นหาประวอครองตำแหน
* @param type ประเภทขาราชการ
@ -186,27 +175,6 @@ function closeDialog() {
<q-form ref="myForm">
<div class="bg-grey-2 q-pa-sm">
<div class="row q-col-gutter-sm full-width">
<!-- <div class="col-3">
<q-select
hide-bottom-space
:rules="[(val:string) => !!val || `${'กรุณาเลือก ประเภท'}`]"
outlined
dense
lazy-rules
bg-color="white"
v-model="employeeClass"
emit-value
map-options
:options="employeeClassOps"
option-label="name"
option-value="id"
:label="`${'ประเภท'}`"
use-input
input-debounce="0"
@update:model-value="changeEmployeeClass"
/>
</div> -->
<div class="col-3">
<q-select
hide-bottom-space