แก้ไขอุทธรณ์ร้องทุกข์

This commit is contained in:
Warunee Tamkoo 2023-12-13 18:06:21 +07:00
parent 27f564588c
commit 7777b27cda
7 changed files with 45 additions and 33 deletions

View file

@ -28,16 +28,26 @@ const $q = useQuasar();
function onCilckNextStep() { function onCilckNextStep() {
store.step < 9 && store.step < 9 &&
dialogConfirm($q, () => { dialogConfirm(
store.step++; $q,
}); () => {
store.step++;
},
"ยืนยันการดำเนินการ",
"ต้องการยืนยันการดำเนินการต่อใช่หรือไม่?"
);
} }
function onCilckprPeviousStep() { function onCilckprPeviousStep() {
store.step > 1 && store.step > 1 &&
dialogConfirm($q, () => { dialogConfirm(
store.step--; $q,
}); () => {
store.step--;
},
"ยืนยันการย้อนกลับ",
"ต้องการย้อนกลับใช่หรือไม่?"
);
} }
onMounted(() => { onMounted(() => {
@ -106,7 +116,7 @@ onMounted(() => {
/> />
<q-btn <q-btn
unelevated unelevated
label="ดำเนินกาต่อ" label="ดำเนินกาต่อ"
color="public" color="public"
@click="onCilckNextStep" @click="onCilckNextStep"
/> />

View file

@ -106,7 +106,7 @@ onMounted(() => {
/> />
<q-btn <q-btn
unelevated unelevated
label="ดำเนินกาต่อ" label="ดำเนินกาต่อ"
color="public" color="public"
@click="onCilckNextStep" @click="onCilckNextStep"
/> />

View file

@ -2,8 +2,8 @@
* Router * Router
*/ */
const mainPage = () => import("@/modules/06_appealComplain/views/Main.vue"); const mainPage = () => import("@/modules/07_appealComplain/views/Main.vue");
const addPage = () => import("@/modules/06_appealComplain/views/Add.vue"); const addPage = () => import("@/modules/07_appealComplain/views/Add.vue");
export default [ export default [
{ {

View file

@ -122,29 +122,29 @@ onMounted(async () => {
// //
const fecthListTransfer = async () => { const fecthListTransfer = async () => {
// showLoader(); // showLoader();
// await http // await http
// .get(config.API.listUserTransfer()) // .get(config.API.listUserTransfer())
// .then((res: any) => { // .then((res: any) => {
// let data = res.data.result; // let data = res.data.result;
// rows.value = data.map((e: any) => ({ // rows.value = data.map((e: any) => ({
// id: e.id, // id: e.id,
// date: date2Thai(e.createdAt), // date: date2Thai(e.createdAt),
// status: e.status, // status: e.status,
// statustext: statusText(e.status), // statustext: statusText(e.status),
// position: e.organizationPositionOld, // position: e.organizationPositionOld,
// noPos: e.posNo, // noPos: e.posNo,
// level: e.positionLevel, // level: e.positionLevel,
// salary: e.salary, // salary: e.salary,
// transfer: e.organization, // transfer: e.organization,
// })); // }));
// }) // })
// .catch((e: any) => { // .catch((e: any) => {
// messageError($q, e); // messageError($q, e);
// }) // })
// .finally(() => { // .finally(() => {
// hideLoader(); // hideLoader();
// }); // });
}; };
/** /**

View file

@ -8,6 +8,7 @@ import ModuleRetire from "@/modules/03_retire/router";
import ModuleCheckin from "@/modules/04_checkin/router"; import ModuleCheckin from "@/modules/04_checkin/router";
import ModuleLeave from "@/modules/05_leave/router"; import ModuleLeave from "@/modules/05_leave/router";
import ModuAssesss from "@/modules/06_assess/router"; import ModuAssesss from "@/modules/06_assess/router";
import ModuAppealComplain from "@/modules/07_appealComplain/router";
// TODO: ใช้หรือไม่? // TODO: ใช้หรือไม่?
import keycloak from "@/plugins/keycloak"; import keycloak from "@/plugins/keycloak";
@ -33,6 +34,7 @@ const router = createRouter({
...ModuleCheckin, ...ModuleCheckin,
...ModuleLeave, ...ModuleLeave,
...ModuAssesss, ...ModuAssesss,
...ModuAppealComplain,
], ],
}, },
], ],