diff --git a/.env b/.env new file mode 100644 index 000000000..3d07b58f0 --- /dev/null +++ b/.env @@ -0,0 +1,7 @@ +VITE_COMPETITIVE_EXAM_PANEL: "https://bma-dashboard.frappet.synology.me/goto/KO0GpSu4z?orgId=1" +VITE_QUALIFY_DISABLE_EMAM_PANEL: "https://bma-dashboard.frappet.synology.me/goto/dQQzpIX4z?orgId=1" +VITE_QUALIFY_EXAM_PANEL: "https://bma-dashboard.frappet.synology.me/goto/cj1ZtIX4z?orgId=1" +VITE_S3CLUSTER_PUBLIC_URL: "https://s3cluster.frappet.com/bma-ehr-fpt/organization/strueture/" +VITE_REALM_KEYCLOAK: "bma-ehr" +VITE_CLIENTID_KEYCLOAK: "bma-ehr-vue3" +VITE_URL_KEYCLOAK: "https://id.frappet.synology.me/" \ No newline at end of file diff --git a/src/api/02_organizational/api.organization.ts b/src/api/02_organizational/api.organization.ts index d32b37b29..063b61d8e 100644 --- a/src/api/02_organizational/api.organization.ts +++ b/src/api/02_organizational/api.organization.ts @@ -94,4 +94,5 @@ export default { orgCheckAvatar: (id: string) => `${orgProfile}/avatar/profileId/${id}`, changePosition: `${organization}/placement/change-position`, + orgProfileReport: `${orgProfile}-employee/report`, }; diff --git a/src/modules/02_organizationalNew/components/DialogFormAgency.vue b/src/modules/02_organizationalNew/components/DialogFormAgency.vue index 08743e945..30f625473 100644 --- a/src/modules/02_organizationalNew/components/DialogFormAgency.vue +++ b/src/modules/02_organizationalNew/components/DialogFormAgency.vue @@ -484,8 +484,10 @@ function selectOrgLevele(val: string, status: boolean = true) { - - + + + บันทึกข้อมูล diff --git a/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue b/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue index 07a1f6ce1..9e59670a3 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue @@ -55,7 +55,7 @@ const pagination = ref({ }); const dataLabel = { - citizenId: "เลขบัตรประจำตัวประชาชน", + citizenId: "เลขประจำตัวประชาชน", name: "ชื่อ - สกุล", birthDate: "วัน/เดือน/ปีเกิด", age: "อายุ", diff --git a/src/modules/04_registryNew/components/detail/PersonalInformation/04_Family.vue b/src/modules/04_registryNew/components/detail/PersonalInformation/04_Family.vue index 46263d543..e300744fc 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/04_Family.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/04_Family.vue @@ -353,7 +353,7 @@ onMounted(async () => { - เลขบัตรประจำตัวประชาชน + เลขประจำตัวประชาชนตัวประชาชน {{ fatherData.citizenId ? fatherData.citizenId : "-" }} @@ -397,7 +397,7 @@ onMounted(async () => { - เลขบัตรประจำตัวประชาชน + เลขประจำตัวประชาชนตัวประชาชน {{ motherData.citizenId ? motherData.citizenId : "-" }} @@ -441,7 +441,7 @@ onMounted(async () => { - เลขบัตรประจำตัวประชาชน + เลขประจำตัวประชาชนตัวประชาชน {{ spouseData.citizenId ? spouseData.citizenId : "-" }} @@ -493,7 +493,7 @@ onMounted(async () => { - เลขบัตรประจำตัวประชาชน + เลขประจำตัวประชาชนตัวประชาชน {{ children.childrenCitizenId }} @@ -1156,7 +1156,7 @@ onMounted(async () => { - เลขบัตรประจำตัวประชาชน + เลขประจำตัวประชาชนตัวประชาชน {{ historyRows[index - 1].fatherCitizenId }} @@ -1200,7 +1200,7 @@ onMounted(async () => { - เลขบัตรประจำตัวประชาชน + เลขประจำตัวประชาชนตัวประชาชน {{ historyRows[index - 1].motherCitizenId }} @@ -1251,7 +1251,7 @@ onMounted(async () => { > - เลขบัตรประจำตัวประชาชน + เลขประจำตัวประชาชนตัวประชาชน {{ historyRows[index - 1].coupleCitizenId }} @@ -1309,7 +1309,7 @@ onMounted(async () => { - เลขบัตรประจำตัวประชาชน + เลขประจำตัวประชาชนตัวประชาชน {{ children.childrenCitizenId }} diff --git a/src/modules/04_registryNew/components/detail/PersonalInformation/04_FamilyNew.vue b/src/modules/04_registryNew/components/detail/PersonalInformation/04_FamilyNew.vue index 01cf590ad..2b31a01f1 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/04_FamilyNew.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/04_FamilyNew.vue @@ -46,7 +46,7 @@ const columns = ref([ { name: "citizenId", align: "left", - label: "เลขบัตรประจำตัวประชาชน", + label: "เลขประจำตัวประชาชนตัวประชาชน", sortable: true, field: "citizenId", headerStyle: "font-size: 14px", @@ -465,7 +465,7 @@ onMounted(() => { - เลขบัตรประจำตัวประชาชน + เลขประจำตัวประชาชนตัวประชาชน {{ fatherData.citizenId ? fatherData.citizenId : "-" }} @@ -540,7 +540,7 @@ onMounted(() => { - เลขบัตรประจำตัวประชาชน + เลขประจำตัวประชาชนตัวประชาชน {{ motherData.citizenId ? motherData.citizenId : "-" }} @@ -635,7 +635,7 @@ onMounted(() => { - เลขบัตรประจำตัวประชาชน + เลขประจำตัวประชาชนตัวประชาชน {{ coupleData.citizenId ?? "-" }} @@ -738,7 +738,7 @@ onMounted(() => { - เลขบัตรประจำตัวประชาชน + เลขประจำตัวประชาชนตัวประชาชน {{ item.childrenCitizenId }} diff --git a/src/modules/05_placement/components/AppointEmployee/Dialogbody.vue b/src/modules/05_placement/components/AppointEmployee/Dialogbody.vue index 26f72a8f4..7c1b1847d 100644 --- a/src/modules/05_placement/components/AppointEmployee/Dialogbody.vue +++ b/src/modules/05_placement/components/AppointEmployee/Dialogbody.vue @@ -5,7 +5,7 @@ import { useCounterMixin } from "@/stores/mixin"; import type { QTableProps } from "quasar"; import type { UserData } from "@/modules/05_placement/interface/response/AppointMent"; -import DialogHeader from "@/modules/05_placement/components/AppointMent/DialogHeader.vue"; +import DialogHeader from "@/components/DialogHeader.vue"; import http from "@/plugins/http"; import config from "@/app.config"; @@ -158,9 +158,9 @@ watchEffect(() => { - + - + @@ -307,14 +307,15 @@ watchEffect(() => { - - + + + >ส่งไปออกคำสั่ง diff --git a/src/modules/05_placement/components/AppointEmployee/Main.vue b/src/modules/05_placement/components/AppointEmployee/Main.vue index 55f3d8e08..e822a7eb8 100644 --- a/src/modules/05_placement/components/AppointEmployee/Main.vue +++ b/src/modules/05_placement/components/AppointEmployee/Main.vue @@ -7,7 +7,8 @@ import { useCounterMixin } from "@/stores/mixin"; import { useTransferDataStore } from "@/modules/05_placement/store"; import Dialogbody from "@/modules/05_placement/components/AppointEmployee/Dialogbody.vue"; // import DialogOrgTree from "@/modules/05_placement/components/AppointEmployee/Modal.vue"; -import DialogHeader from "@/modules/05_placement/components/AppointMent/DialogHeader.vue"; +import DialogHeader from "@/components/DialogHeader.vue"; + import type { listAppointType, resData, @@ -772,7 +773,7 @@ function onSave(data: any) { - + diff --git a/src/modules/05_placement/components/AppointEmployee/Modal.vue b/src/modules/05_placement/components/AppointEmployee/Modal.vue index 7b9da3a42..9be8f0f97 100644 --- a/src/modules/05_placement/components/AppointEmployee/Modal.vue +++ b/src/modules/05_placement/components/AppointEmployee/Modal.vue @@ -1,7 +1,8 @@ - - - + + + @@ -834,8 +835,8 @@ const getClass = (val: boolean) => { input-debounce="0" @update:model-value="selectCMP(typeOrder)" @filter="(inputValue:any, - doneFn:Function) => filterSelector(inputValue, doneFn,'typeOrderOption' - ) " + doneFn:Function) => filterSelector(inputValue, doneFn,'typeOrderOption' + ) " /> @@ -2215,26 +2216,25 @@ const getClass = (val: boolean) => { typeOrder.commandCode === 'C-PM-32') " > - - - - + + + { /> - - - - - - - บันทึกข้อมูล - - - + + + + + บันทึกข้อมูล + + + + diff --git a/src/modules/10_order/components/step/step02.vue b/src/modules/10_order/components/step/step02.vue index c45646f9a..af7bceb8d 100644 --- a/src/modules/10_order/components/step/step02.vue +++ b/src/modules/10_order/components/step/step02.vue @@ -458,8 +458,8 @@ const pagination = ref({ - - + + เพิ่มข้อมูล @@ -599,11 +599,11 @@ const pagination = ref({ - + + - + - + บันทึกข้อมูล - - + + @@ -691,8 +684,6 @@ const pagination = ref({ (); const filter = ref(""); const modal = ref(false); -const search = ref(""); + const expanded = ref([]); const selected = ref(""); const nodesTree = ref([]); const selectedModal = ref([]); -const filterModal = ref(""); -const visibleColumnsModal = ref(["no", "idCard", "name", "position"]); -const columnsModal = ref([ - { - name: "no", - align: "left", - label: "ลำดับ", - field: "no", - sortable: false, - }, - { - name: "idCard", - align: "left", - label: "เลขประจำตัวประชาชน", - field: "idCard", - sortable: true, - sort: (a: string, b: string) => - a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), - }, - { - name: "name", - align: "left", - label: "ชื่อ-นามสกุล", - field: "name", - sortable: true, - sort: (a: string, b: string) => - a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), - }, - { - name: "position", - align: "left", - label: "ตำแหน่ง", - field: "position", - sortable: true, - sort: (a: string, b: string) => - a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), - }, -]); - const rowsModal = ref([]); const optionSelect = ref([ @@ -245,7 +206,6 @@ const getData = async (id: string) => { }; // เลือกรายชื่อจากหน่วยงาน const saveData = async () => { - const id = route.params.orderid ? route.params.orderid.toString() : localStorage.getItem("orderId") @@ -377,8 +337,8 @@ const updateData = (row: DataCopyOrder) => { - - + + เพิ่มข้อมูล @@ -506,11 +466,11 @@ const updateData = (row: DataCopyOrder) => { - + + - + { > { > บันทึกข้อมูล - - - - + +