- แก้ไขหน้าขอแก้ข้อมูลส่วนตัวเพิ่ม sys-name ของลูกจ้าง
- เพิ่มแสดง workflow หน้าขอแก้ไข IDP
This commit is contained in:
parent
2cba11b36f
commit
b8edb00a19
2 changed files with 19 additions and 2 deletions
|
|
@ -312,10 +312,13 @@ onMounted(async () => {
|
|||
|
||||
<div class="col-12 q-mt-sm">
|
||||
<Workflow
|
||||
v-if="dataStore.officerType === 'OFFICER'"
|
||||
ref="workflowRef"
|
||||
:id="requestId"
|
||||
sys-name="REGISTRY_PROFILE"
|
||||
:sys-name="
|
||||
dataStore.officerType === 'OFFICER'
|
||||
? 'REGISTRY_PROFILE'
|
||||
: 'REGISTRY_PROFILE_EMP'
|
||||
"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@ import { reactive, ref, computed, onMounted } from "vue";
|
|||
import { useRouter, useRoute } from "vue-router";
|
||||
import { useQuasar } from "quasar";
|
||||
import axios from "axios";
|
||||
import { useDataStore } from "@/stores/data";
|
||||
|
||||
import Workflow from "@/components/Workflow/Main.vue";
|
||||
|
||||
import http from "@/plugins/http";
|
||||
import config from "@/app.config";
|
||||
|
|
@ -16,12 +19,14 @@ import type {
|
|||
const $q = useQuasar();
|
||||
const { dialogConfirm, showLoader, hideLoader, messageError, success } =
|
||||
useCounterMixin();
|
||||
const dataStore = useDataStore();
|
||||
|
||||
const idRow = ref<string>("");
|
||||
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 formData = reactive<FormDataIDP>({
|
||||
topic: "",
|
||||
|
|
@ -538,6 +543,15 @@ onMounted(() => {
|
|||
><q-tooltip>บันทึก</q-tooltip></q-btn
|
||||
>
|
||||
</q-card-actions>
|
||||
|
||||
<div class="col-12 q-mt-sm">
|
||||
<Workflow
|
||||
v-if="dataStore.officerType === 'OFFICER'"
|
||||
ref="workflowRef"
|
||||
:id="requestId"
|
||||
sys-name="REGISTRY_IDP"
|
||||
/>
|
||||
</div>
|
||||
</q-form>
|
||||
</q-card>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue