diff --git a/src/api/05_placement/api.placement.ts b/src/api/05_placement/api.placement.ts index b9cc81f9b..b29f33155 100644 --- a/src/api/05_placement/api.placement.ts +++ b/src/api/05_placement/api.placement.ts @@ -3,6 +3,7 @@ const placement = `${env.API_PLACEMENT_URI}/placement`; const orgTree = `${env.API_URI_ORG_TREE}`; const order = `${env.API_PLACEMENT_URI}`; const receive = `${env.API_PLACEMENT_URI}/placement/Receive`; +const transfer = `${placement}/transfer`; export default { MainDetail: (year: number) => `${placement}/exam/${year}`, @@ -63,47 +64,37 @@ export default { nextStep: (orderId: string) => `${order}/order/next/${orderId}`, prevStep: (orderId: string) => `${order}/order/prev/${orderId}`, executeOrder: (orderId: string) => `${order}/order/execute/${orderId}`, - createOrder: () => `${order}/order/detail`, - examroundOrder: () => `${order}/order/detail/exam-round`, - - //ข้อมูลเลือกรายชื่อออกคำสั่ง, ลบรายชื่อ - personsOrder: (orderId: string) => `${order}/order/persons/${orderId}`, - personsselectedOrder: (orderId: string) => `${order}/order/persons-selected/${orderId}`, - - //เปลี่ยน status ของคำสั่งไปขั้นตอนถัดไป - nextOrder: (orderId: string) => `${order}/order/next/${orderId}`, - //เปลี่ยน status ของคำสั่งไปขั้นตอนถัดไป - preventOrder: (orderId: string) => `${order}/order/prev/${orderId}`, - - //สลับลำดับข้อมูลในบัญชีแนบท้ายขึ้น - swapUpOrder: (personalId: string) => `${order}/order/swap/up/${personalId}`, - //สลับลำดับข้อมูลในบัญชีแนบท้ายลง + personsOrder: (orderId: string) => `${order}/order/persons/${orderId}`, //ข้อมูลเลือกรายชื่อออกคำสั่ง, ลบรายชื่อ + personsselectedOrder: (orderId: string) => + `${order}/order/persons-selected/${orderId}`, + nextOrder: (orderId: string) => `${order}/order/next/${orderId}`, //เปลี่ยน status ของคำสั่งไปขั้นตอนถัดไป + preventOrder: (orderId: string) => `${order}/order/prev/${orderId}`, //เปลี่ยน status ของคำสั่งไปขั้นตอนถัดไป + swapUpOrder: (personalId: string) => `${order}/order/swap/up/${personalId}`, //สลับลำดับข้อมูลในบัญชีแนบท้ายขึ้น swapDownOrder: (personalId: string) => - `${order}/order/swap/down/${personalId}`, - - //บันทึกข้อมูลเงินเดือนสำหรับผู้บรรจุ - salaryOrder: (id: string) => `${order}/order/salary/${id}`, - - // popup แสดงรายชื่อตามหน่วยงานที่เลือก , popup เลือกรายชื่อส่งสำเนา - copyOrderPersonsId: (id: string) => `${order}/order/copy-order/persons/${id}`, - + `${order}/order/swap/down/${personalId}`, //สลับลำดับข้อมูลในบัญชีแนบท้ายลง + salaryOrder: (id: string) => `${order}/order/salary/${id}`, //บันทึกข้อมูลเงินเดือนสำหรับผู้บรรจุ + copyOrderPersonsId: (id: string) => `${order}/order/copy-order/persons/${id}`, // popup แสดงรายชื่อตามหน่วยงานที่เลือก , popup เลือกรายชื่อส่งสำเนา copyOrder: `${order}/order/copy-order`, - copyOrderId: (id: string) => `${order}/order/copy-order/${id}`, - attachmentId: (id: string) => `${order}/order/attachment/${id}`, - attachmentOrderId: (orderId: string) => `${order}/order/attachment/order-file/${orderId}`, attachmentFileId: (orderId: string) => `${order}/order/attachment/file/${orderId}`, - orderReady: (id: string) => `${order}/order/ready/${id}`, attachmentOrder: (orderId: string) => `${order}/order/attachment/${orderId}`, + //receive ระบบรับโอน receiveData: () => `${receive}`, receiveDataId: (id: string) => `${receive}/${id}`, receivePosition: (id: string) => `${receive}/position/${id}`, + + //tranfer ระบบคำขอโอน + transfer, + transferId: (id: string) => `${transfer}/${id}`, + transferUser: `${transfer}/user`, + transferUserId: (id: string) => `${transfer}/user/${id}`, + transferConfirmId: (id: string) => `${transfer}/confirm/${id}`, }; diff --git a/src/interface/request/main/main.ts b/src/interface/request/main/main.ts index 8b9fda266..ab401c6ff 100644 --- a/src/interface/request/main/main.ts +++ b/src/interface/request/main/main.ts @@ -111,6 +111,22 @@ const menuList = readonly([ path: "registry", role: "registry", }, + { + key: 10, + icon: "o_contact_page", + activeIcon: "registry_employee_page", + label: "ทะเบียนประวัติลูกจ้าง", + path: "registry-employee", + role: "registryEmployee", + }, + { + key: 10, + icon: "o_list", + activeIcon: "order", + label: "ออกคำสั่ง", + path: "order", + role: "placement", + }, { key: 5, icon: "o_search", @@ -192,12 +208,12 @@ const menuList = readonly([ path: "placement", role: "placement", }, - { - key: 6.2, - label: "ออกคำสั่ง" /* ออกคำสั่งบรรจุ */, - path: "Orderplacement", - role: "placement", - }, + // { + // key: 6.2, + // label: "ออกคำสั่ง" /* ออกคำสั่งบรรจุ */, + // path: "Orderplacement", + // role: "placement", + // }, { key: 6.3, label: "การทดลองงาน" /* การทดลองงาน */, @@ -206,7 +222,7 @@ const menuList = readonly([ }, { key: 6.4, - label: "รายการคำขอโอน" /* */, + label: "รายการขอโอน" /* */, path: "transfer", role: "placement", }, @@ -218,13 +234,36 @@ const menuList = readonly([ }, { key: 6.6, - label: "คำสั่งช่วยราชการ/ส่งตัวกลับ" /* */, - path: "repatriation-order", + label: "รายการช่วยราชการ" /* */, + path: "help-government", + role: "placement", + }, + { + key: 6.7, + label: "รายการส่งตัวกลับ" /* */, + path: "repatriate", + role: "placement", + }, + { + key: 6.8, + label: "รายการแต่งตั้ง-เลื่อน" /* */, + path: "appoint-promote", + role: "placement", + }, + { + key: 6.9, + label: "รายการย้าย" /* */, + path: "move-list", + role: "placement", + }, + { + key: 6.10, + label: "รายการอื่นๆ" /* */, + path: "other", role: "placement", }, ], }, - { key: 7, icon: "mdi-account-cancel-outline", @@ -241,31 +280,43 @@ const menuList = readonly([ }, { key: 7.2, - label: "ลาออก", + label: "รายการลาออก", path: "resign", role: "retirement", }, + // { + // key: 7.3, + // label: "คำสั่งลาออก", + // path: "resign-order", + // role: "retirement", + // }, { key: 7.3, - label: "คำสั่งลาออก", - path: "resign-order", - role: "retirement", - }, - { - key: 7.4, label: "Exit interview", // path: "", role: "retirement", }, { - key: 7.5, - label: "ถึงแก่กรรม", + key: 7.4, + label: "รายการบันทึกการถึงแก่กรรม", path: "deceased", role: "retirement", }, + { + key: 7.5, + label: "รายการให้ออก", + path: "dismiss-order", + role: "retirement", + }, { key: 7.6, - label: "คำสั่งให้ออก ปลดออก ไล่ออก", + label: "รายการปลดออก", + path: "dismiss-order", + role: "retirement", + }, + { + key: 7.7, + label: "รายการไล่ออก", path: "dismiss-order", role: "retirement", }, @@ -363,14 +414,6 @@ const menuList = readonly([ }, ], }, - { - key: 10, - icon: "o_contact_page", - activeIcon: "contact_page", - label: "ทะเบียนประวัติลูกจ้าง", - path: "registryEmployee", - role: "registryEmployee", - }, ]); const tabList = readonly([ diff --git a/src/modules/04_registry/components/Profile.vue b/src/modules/04_registry/components/Profile.vue index db03c712a..b2cda7dd5 100644 --- a/src/modules/04_registry/components/Profile.vue +++ b/src/modules/04_registry/components/Profile.vue @@ -154,33 +154,63 @@ - + + + + + ช่วยราชการ + + + + + + ส่งตัวกลับ + + + + + + แต่งตั้ง-เลื่อน + + + + + + ย้าย + + ถึงแก่กรรม - + ให้ออกจากราชการ - + ปลดออกจากราชการ - + ไล่ออกจากราชการ + + + + อื่นๆ + + @@ -986,8 +1016,8 @@ const closeKp7Short = () => { dialogShort.value = false; }; -const clickaddOrder = () => { - router.push("/dismiss-order/add"); +const postAdd = () => { + // router.push("/dismiss-order/add"); }; const downloadKP7 = () => {}; diff --git a/src/modules/05_placement/components/OrderPlacement/step/step02.vue b/src/modules/05_placement/components/OrderPlacement/step/step02.vue index a64b88f85..34b0634df 100644 --- a/src/modules/05_placement/components/OrderPlacement/step/step02.vue +++ b/src/modules/05_placement/components/OrderPlacement/step/step02.vue @@ -372,7 +372,6 @@ const columns = ref([ const rows = ref([]); const rows2 = ref([]); const selected = ref([]); -const orderId = ref(route.params.orderid.toString()); onMounted(async () => { await conditionData(); @@ -602,7 +601,14 @@ const putSalary = async (salary: any) => { const modalAddChange = async () => { modalAdd.value = !modalAdd.value; if (modalAdd.value == true) { - await fetchaddlist(orderId.value); + const id = route.params.orderid + ? route.params.orderid.toString() + : localStorage.getItem("orderId") + ? localStorage.getItem("orderId") + : null; + if (id !== null) { + await fetchaddlist(id); + } } else await conditionData(); }; const fetchaddlist = async (id: string) => { @@ -656,18 +662,25 @@ const saveModalAdd = () => { } }; const addlist = async (data: Object) => { - await http - .post(config.API.personsOrder(orderId.value), data) - .then(() => { - success($q, "บันทึกสำเร็จ"); - }) - .catch((e: any) => { - console.log(e); - messageError($q, e); - }) - .finally(() => { - modalAddChange(); - }); + const id = route.params.orderid + ? route.params.orderid.toString() + : localStorage.getItem("orderId") + ? localStorage.getItem("orderId") + : null; + if (id !== null) { + await http + .post(config.API.personsOrder(id), data) + .then(() => { + success($q, "บันทึกสำเร็จ"); + }) + .catch((e: any) => { + console.log(e); + messageError($q, e); + }) + .finally(() => { + modalAddChange(); + }); + } }; const click = (e: any) => { diff --git a/src/modules/05_placement/components/PersonalList/Table.vue b/src/modules/05_placement/components/PersonalList/Table.vue index bb19d36fa..40c9ee9ec 100644 --- a/src/modules/05_placement/components/PersonalList/Table.vue +++ b/src/modules/05_placement/components/PersonalList/Table.vue @@ -1140,7 +1140,7 @@ const paginationLabel = (start: number, end: number, total: number) => { { -import { ref, computed } from "vue"; +import { ref, computed, onMounted } from "vue"; import type { QTableProps } from "quasar"; import { useQuasar } from "quasar"; import { useRouter } from "vue-router"; +import { useCounterMixin } from "@/stores/mixin"; + +import http from "@/plugins/http"; +import config from "@/app.config"; + import DialogFooter from "@/modules/05_placement/components/PersonalList/DialogFooter.vue"; import DialogHeader from "@/modules/05_placement/components/PersonalList/DialogHeader.vue"; +import type { ResponseData } from "@/modules/05_placement/interface/response/Transfer"; + const selected = ref([]); const checkSelected = computed(() => { if (selected.value.length === 0) { return true; } }); -const clickClose = () => { - modal.value = false; -}; const $q = useQuasar(); -const modal = ref(false); -const popup = () => { - modal.value = true; -}; const router = useRouter(); -const pagination = ref({ - sortBy: "desc", - descending: false, - page: 1, - rowsPerPage: 10, -}); -const paging = ref(true); -const paginationLabel = (start: string, end: string, total: string) => { - if (paging.value == true) return " " + start + "-" + end + " ใน " + total; - else return start + "-" + end + " ใน " + total; -}; +const mixin = useCounterMixin(); + +const { date2Thai, messageError, showLoader, hideLoader, success } = mixin; + +const modal = ref(false); const visibleColumns = ref([ "no", "fullname", @@ -63,53 +57,7 @@ const resetFilter = () => { // const nextPage = (id:string) => { // router.push("/retirement/resign/"+id); // }; -const rows = ref([ - { - personalId: "08db721d-add6-47b0-8a13-5f45d106e8d1", - fullname: "นางสาวอย พชช", - position: "นักบริหาร", - positionLevel: "ต้น", - oc: "สำนักงานคณะกรรมการข้าราชการกรุงเทพมหานคร", - agency: "กลุ่มงานกุมารเวชกรรม", - status: "รออนุมัติ", - }, - { - personalId: "08db721d-adf2-4842-8056-1abb1539356e", - fullname: "นางสาววญ สพ", - position: "นักจัดการงานทั่วไป", - positionLevel: "ปฏิบัติการ", - oc: "กลุ่มงานช่วยนักบริหาร", - agency: "กลุ่มงานข้อมูลเมือง", - status: "รออนุมัติ", - }, - { - personalId: "08db721d-ae3d-4b8c-8cf0-b86b5a2ed8bb", - fullname: "นางสาววญ สพ", - position: "นักจัดการงานทั่วไป", - positionLevel: "ปฏิบัติการ", - oc: "กลุ่มงานช่วยนักบริหาร", - agency: "กลุ่มงานข้อมูลเมือง", - status: "รออนุมัติ", - }, - { - personalId: "08db721d-afde-4ed4-8bc6-f0ad83e61c4d", - fullname: "นางสาววญ สพ", - position: "นักจัดการงานทั่วไป", - positionLevel: "ปฏิบัติการ", - oc: "กลุ่มงานช่วยนักบริหาร", - agency: "กลุ่มงานข้อมูลเมือง", - status: "รออนุมัติ", - }, - { - personalId: "08db721d-b24e-45d7-8a65-3f28ef4948a4", - fullname: "นางสาววญ สพ", - position: "นักจัดการงานทั่วไป", - positionLevel: "ปฏิบัติการ", - oc: "กลุ่มงานช่วยนักบริหาร", - agency: "กลุ่มงานข้อมูลเมือง", - status: "รออนุมัติ", - }, -]); +const rows = ref([]); const rows2 = ref([ { personalId: "0a846508-4932-40de-9a9e-5b519492217c", @@ -287,6 +235,49 @@ const columns2 = ref([ style: "font-size: 14px", }, ]); + +const openModal = () => (modal.value = true); +const closeModal = () => (modal.value = false); + +onMounted(async () => { + await getData(); +}); + +const getData = async () => { + showLoader(); + await http + .get(config.API.transfer) + .then((res: any) => { + const data = res.data.result; + let list: ResponseData[] = []; + data.map((r: ResponseData) => { + list.push({ + createdAt: new Date(), + date: new Date(), + id: r.id ?? "", + isActive: r.isActive ? r.isActive : false, + organization: r.organization ?? "", + organizationPositionOld: r.organizationPositionOld ?? "", + posNo: r.posNo ?? "", + position: r.position ?? "", + positionLevel: r.positionLevel ?? "", + positionLevelOld: r.positionLevelOld ?? "", + positionNumberOld: r.positionNumberOld ?? "", + positionTypeOld: r.positionTypeOld ?? "", + reason: r.id ?? "", + salary: r.salary !== null ? r.salary : 0, + status: r.status ?? "", + }); + }); + rows.value = list; + }) + .catch((e) => { + messageError($q, e); + }) + .finally(() => { + hideLoader(); + }); +}; - + diff --git a/src/modules/05_placement/interface/response/Transfer.ts b/src/modules/05_placement/interface/response/Transfer.ts new file mode 100644 index 000000000..19a1523a9 --- /dev/null +++ b/src/modules/05_placement/interface/response/Transfer.ts @@ -0,0 +1,38 @@ +interface ResponseData { + createdAt: Date; + date: Date; + id: string; + isActive: boolean; + organization: string; + organizationPositionOld: string; + posNo: string; + position: string; + positionLevel: string; + positionLevelOld: string; + positionNumberOld: string; + positionTypeOld: string; + reason: string; + salary: number; + status: string; +} + +interface TypeFile { + fileName: string; + pathName: string; +} + +interface ResponseDataDetail { + createdAt: Date; + date: Date; + id: string; + organization: string; + organizationPositionOld: string; + positionLevelOld: string; + positionNumberOld: string; + positionTypeOld: string; + reason: string; + salary: number; + status: string; +} + +export type { ResponseData, ResponseDataDetail, TypeFile }; diff --git a/src/modules/05_placement/router.ts b/src/modules/05_placement/router.ts index 8425c525a..12cbb254e 100644 --- a/src/modules/05_placement/router.ts +++ b/src/modules/05_placement/router.ts @@ -8,18 +8,6 @@ const PlacementDetail = () => import("@/modules/05_placement/components/PersonalList/Detail.vue"); const PlacementPersonalDetail = () => import("@/modules/05_placement/components/PersonalDetail/Detail.vue"); -const addOrderPlacement = () => - import( - "@/modules/05_placement/components/OrderPlacement/addOrderPlacement.vue" - ); -const MainOrderPlacement = () => - import( - "@/modules/05_placement/components/OrderPlacement/MainOrderPlacement.vue" - ); -const detailOrderReplace = () => - import( - "@/modules/05_placement/components/OrderPlacement/detailOrderPlacement.vue" - ); // ระบบทดลองงาน const mainProbation = () => @@ -86,46 +74,6 @@ export default [ Role: "placement", }, }, - { - path: "/placement/order", - name: "Orderplacement", - component: MainOrderPlacement, - meta: { - Auth: true, - Key: [6.2], - Role: "placement", - }, - }, - { - path: "/placement/order/add", - name: "Orderplacementadd", - component: detailOrderReplace, - meta: { - Auth: true, - Key: [6.9], - Role: "placement", - }, - }, - { - path: "/placement/order/detail/:orderid", - name: "OrderplacementDetail", - component: detailOrderReplace, - meta: { - Auth: true, - Key: [6.2], - Role: "placement", - }, - }, - { - path: "/placement/addOrderPlacement", - name: "addOrderPlacement", - component: addOrderPlacement, - meta: { - Auth: true, - Key: [6.2], - Role: "placement", - }, - }, { path: "/probation", name: "probation", diff --git a/src/modules/07_insignia/components/1_Proposals/addProposals.vue b/src/modules/07_insignia/components/1_Proposals/addProposals.vue index 24b001041..8a2cfc5ab 100644 --- a/src/modules/07_insignia/components/1_Proposals/addProposals.vue +++ b/src/modules/07_insignia/components/1_Proposals/addProposals.vue @@ -158,10 +158,10 @@ label="อัปโหลดเอกสารประกอบ" hide-bottom-space lazy-rules - :rules="[ - (val) => val || 'กรุณาเลือกไฟล์หนังสือถึงหน่วยงานที่รับโอน', - ]" > + @@ -261,7 +261,7 @@ const editData = async (id: string) => { const formData = new FormData(); formData.append("Name", roundInsig.value); formData.append("year", parseInt(yearly.value).toString()); - formData.append("amount", datelast.value.toString()); + formData.append("Amount", datelast.value.toString()); if (dateStart.value !== null) { formData.append("startDate", dateToISO(dateStart.value)); } @@ -275,13 +275,14 @@ const editData = async (id: string) => { console.log(formData); showLoader(); await http - .put(config.API.editRoundInsignia(id)) + .put(config.API.editRoundInsignia(id), formData) .then(async () => {}) .catch((e) => { messageError($q, e); }) .finally(async () => { hideLoader(); + clickBack(); }); console.log(formData); }; diff --git a/src/modules/08_registryEmployee/router.ts b/src/modules/08_registryEmployee/router.ts index 130b90438..49f48ff78 100644 --- a/src/modules/08_registryEmployee/router.ts +++ b/src/modules/08_registryEmployee/router.ts @@ -17,8 +17,8 @@ const EditDetail = defineAsyncComponent( export default [ { - path: "/registryEmployee", - name: "registryEmployee", + path: "/registry-employee", + name: "registry-employee", component: Main, meta: { Auth: true, @@ -37,7 +37,7 @@ export default [ // }, // }, { - path: "/registryEmployee/add", + path: "/registry-employee/add", name: "registryEmployeeAdd", component: Detail, meta: { @@ -47,7 +47,7 @@ export default [ }, }, { - path: "/registryEmployee/edit/:id", + path: "/registry-employee/edit/:id", name: "registryEmployeeEdit", component: EditDetail, meta: { diff --git a/src/modules/08_registryEmployee/views/Main.vue b/src/modules/08_registryEmployee/views/Main.vue index 36e9e8553..5e84ae330 100644 --- a/src/modules/08_registryEmployee/views/Main.vue +++ b/src/modules/08_registryEmployee/views/Main.vue @@ -1343,7 +1343,7 @@ const modalOpenClose = () => { }; const next = (id: string) => { - router.push(`/registryEmployee/${id}`); + router.push(`/registry-employee/${id}`); }; const resetFilter = () => { @@ -1381,13 +1381,13 @@ const clickClose = async () => { const clickAdd = () => { // modal.value = true; - router.push(`/registryEmployee/add`); + router.push(`/registry-employee/add`); // router.push(`/placement/detail`); }; // ดูรายการแก้ไขรายชื่อ const redirectToPage = (id?: string) => { - router.push(`/registryEmployee/edit/${id}`); + router.push(`/registry-employee/edit/${id}`); }; const editDetail = async (row: any) => { await getPosition(row.id); diff --git a/src/modules/08_registryEmployee/views/information.vue b/src/modules/08_registryEmployee/views/information.vue index 8a030d692..f27c210a9 100644 --- a/src/modules/08_registryEmployee/views/information.vue +++ b/src/modules/08_registryEmployee/views/information.vue @@ -1112,7 +1112,7 @@ const saveData = async () => { }; const clickBack = () => { - router.push({ name: "registryEmployee" }); + router.push("/registry-employee"); }; const getClass = (val: boolean) => { diff --git a/src/modules/09_coin/components/1_Proposals/addProposals.vue b/src/modules/09_coin/components/1_Proposals/addProposals.vue index d889ddd5b..b3a014055 100644 --- a/src/modules/09_coin/components/1_Proposals/addProposals.vue +++ b/src/modules/09_coin/components/1_Proposals/addProposals.vue @@ -158,10 +158,10 @@ label="อัปโหลดเอกสารประกอบ" hide-bottom-space lazy-rules - :rules="[ - (val) => val || 'กรุณาเลือกไฟล์หนังสือถึงหน่วยงานที่รับโอน', - ]" > + @@ -297,7 +297,7 @@ const editData = async (id: string) => { console.log(formData); showLoader(); await http - .put(config.API.editRoundInsignia(id)) + .put(config.API.editRoundInsignia(id), formData) .then(async () => { await uploadDocData(); }) @@ -306,6 +306,7 @@ const editData = async (id: string) => { }) .finally(async () => { hideLoader(); + clickBack(); }); console.log(formData); }; diff --git a/src/modules/05_placement/components/OrderPlacement/addOrderPlacement.vue b/src/modules/10_order/components/Add.vue similarity index 100% rename from src/modules/05_placement/components/OrderPlacement/addOrderPlacement.vue rename to src/modules/10_order/components/Add.vue diff --git a/src/modules/05_placement/components/OrderPlacement/detailOrderPlacement.vue b/src/modules/10_order/components/Detail.vue similarity index 88% rename from src/modules/05_placement/components/OrderPlacement/detailOrderPlacement.vue rename to src/modules/10_order/components/Detail.vue index 35f34e817..8a5c8b4db 100644 --- a/src/modules/05_placement/components/OrderPlacement/detailOrderPlacement.vue +++ b/src/modules/10_order/components/Detail.vue @@ -24,7 +24,6 @@ import { useRouter } from "vue-router"; import { ref, defineAsyncComponent, onMounted, onUnmounted } from "vue"; import type { QStepper } from "quasar"; -import { useProbationDataStore } from "@/modules/05_placement/store"; import { useRoute } from "vue-router"; import http from "@/plugins/http"; import config from "@/app.config"; @@ -32,24 +31,22 @@ const route = useRoute(); const orderId_params = route.params.orderid; -const probationData = useProbationDataStore(); -const { stepOrder, setStepOrder } = probationData; const step01 = defineAsyncComponent( () => - import("@/modules/05_placement/components/OrderPlacement/step/step01.vue") + import("@/modules/10_order/components/step/step01.vue") ); const step02 = defineAsyncComponent( () => - import("@/modules/05_placement/components/OrderPlacement/step/step02.vue") + import("@/modules/10_order/components/step/step02.vue") ); const step03 = defineAsyncComponent( () => - import("@/modules/05_placement/components/OrderPlacement/step/step03.vue") + import("@/modules/10_order/components/step/step03.vue") ); const step04 = defineAsyncComponent( () => - import("@/modules/05_placement/components/OrderPlacement/step/step04.vue") + import("@/modules/10_order/components/step/step04.vue") ); const router = useRouter(); diff --git a/src/modules/05_placement/components/OrderPlacement/MainOrderPlacement.vue b/src/modules/10_order/components/Main.vue similarity index 76% rename from src/modules/05_placement/components/OrderPlacement/MainOrderPlacement.vue rename to src/modules/10_order/components/Main.vue index ea400107e..f5ed2ae12 100644 --- a/src/modules/05_placement/components/OrderPlacement/MainOrderPlacement.vue +++ b/src/modules/10_order/components/Main.vue @@ -4,33 +4,12 @@
- +
- + เพิ่มข้อมูล + + + + + +
+
+ + + + +
+ +
+ + + + + +
+ + + + + + + + +
+
+
+
+ +
+ +
+ + +
+ +
+ + +
+
+
+
+
+ + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/modules/05_placement/components/OrderPlacement/step/step03.vue b/src/modules/10_order/components/step/step03.vue similarity index 100% rename from src/modules/05_placement/components/OrderPlacement/step/step03.vue rename to src/modules/10_order/components/step/step03.vue diff --git a/src/modules/05_placement/components/OrderPlacement/step/step04.vue b/src/modules/10_order/components/step/step04.vue similarity index 65% rename from src/modules/05_placement/components/OrderPlacement/step/step04.vue rename to src/modules/10_order/components/step/step04.vue index 182c2598a..f6945d914 100644 --- a/src/modules/05_placement/components/OrderPlacement/step/step04.vue +++ b/src/modules/10_order/components/step/step04.vue @@ -1,36 +1,22 @@