workflow
This commit is contained in:
parent
7eb2c0ce2f
commit
1eead8c579
2 changed files with 15 additions and 4 deletions
|
|
@ -9,6 +9,7 @@ import config from "@/app.config";
|
|||
import { useCounterMixin } from "@/stores/mixin";
|
||||
|
||||
import Dialog from "@/modules/03_retire/views/DialogRetire.vue";
|
||||
import Workflow from "@/components/Workflow/Main.vue";
|
||||
|
||||
const $q = useQuasar();
|
||||
const route = useRoute();
|
||||
|
|
@ -25,7 +26,11 @@ const {
|
|||
dialogConfirm,
|
||||
} = mixin;
|
||||
|
||||
const id = ref<string>(""); //เก็บ id path
|
||||
const id = ref<string>(
|
||||
router.currentRoute.value.name !== "AddRetire"
|
||||
? route.params.id.toString()
|
||||
: ""
|
||||
); //เก็บ id path
|
||||
const myform = ref<QForm | null>(null); //form
|
||||
const tranferOrg = ref(""); //สถานที่ยื่นขอลาออกจากราชการ
|
||||
const dateCommand = ref<Date>(new Date()); //วันที่ยื่นขอลาออกจากราชการ
|
||||
|
|
@ -155,11 +160,11 @@ function downloadFile(data: string) {
|
|||
*/
|
||||
onMounted(() => {
|
||||
if (route.params.id !== undefined) {
|
||||
id.value = route.params.id.toString();
|
||||
fectDataresign(id.value);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="col-12 row justify-center">
|
||||
<div class="col-xs-12 col-sm-12 col-md-11">
|
||||
|
|
@ -498,6 +503,7 @@ onMounted(() => {
|
|||
</div>
|
||||
</q-card>
|
||||
</div>
|
||||
|
||||
<div class="col-12 row" v-if="routeName != 'AddRetire'">
|
||||
<q-card bordered class="row col-12 text-dark q-mt-sm">
|
||||
<div
|
||||
|
|
@ -561,6 +567,10 @@ onMounted(() => {
|
|||
</div>
|
||||
</q-card>
|
||||
</div>
|
||||
|
||||
<div class="col-12 row" v-if="routeName != 'AddRetire'">
|
||||
<Workflow :id="id" sys-name="RETIREMENT_RESIFNATION" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue