fix bug ยื่นคำร้องขอเพิ่มข้อมูลการพัฒนารายบุคคล
This commit is contained in:
parent
d203a319b5
commit
3817416ba9
1 changed files with 4 additions and 2 deletions
|
|
@ -26,7 +26,9 @@ const router = useRouter();
|
|||
const route = useRoute();
|
||||
const isReadOnly = ref<boolean>(false);
|
||||
const isEdit = ref<boolean>(false); // เก็บ เช็ค รายละเอียด/แก้ไข
|
||||
const requestId = ref<string>(route.params.id.toString());
|
||||
const requestId = ref<string>(
|
||||
route.params.id ? route.params.id.toString() : ""
|
||||
);
|
||||
|
||||
const formData = reactive<FormDataIDP>({
|
||||
topic: "",
|
||||
|
|
@ -546,7 +548,7 @@ onMounted(() => {
|
|||
|
||||
<div class="col-12 q-mt-sm">
|
||||
<Workflow
|
||||
v-if="dataStore.officerType === 'OFFICER'"
|
||||
v-if="dataStore.officerType === 'OFFICER' && requestId"
|
||||
ref="workflowRef"
|
||||
:id="requestId"
|
||||
sys-name="REGISTRY_IDP"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue