redirect to detail exit Interviwe

This commit is contained in:
AnandaTon 2023-08-25 11:00:41 +07:00
parent 1fa878a602
commit b565983f8b
2 changed files with 60 additions and 11 deletions

View file

@ -10,7 +10,7 @@
class="q-mr-sm"
@click="router.go(-1)"
/>
รายละเอยด Exit interview ของ {{ fullname }}
รายละเอยด Exit interview ของ {{ prefix }} {{ fullname }}
</div>
<q-card bordered class="row col-12 text-dark">
<div class="bg-grey-1 q-pa-sm col-12 row items-center text-primary">
@ -283,7 +283,7 @@
<q-input
v-if="suggestFriends === false"
v-model="suggestFriendsReason"
label="กรอกอื่นๆ"
label="กรอกข้อความ"
dense
lazy-rules
disable
@ -391,7 +391,7 @@ const edit = ref<boolean>(false);
const Org = ref<string>("");
const PositionLevel = ref<string>("");
const Position = ref<string>("");
const prefix = ref<string>("");
const exitFactor = ref<any>([]);
const reasonWork = ref<any>([]);
const adjust = ref<any>([]);
@ -527,6 +527,7 @@ const getData = async () => {
PositionLevel.value = data.positionLevel ?? "";
Org.value = data.org ?? "";
fullname.value = data.fullname ?? "";
prefix.value = data.prefix ?? "";
reasonWork.value = data.reasonWork ?? [];
reasonWorkOther.value = data.ReasonWorkOther ?? "";
timeThink.value = data.TimeThink ?? 0;