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

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

View file

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

View file

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

View file

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

View file

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