edit select person in probation system

This commit is contained in:
Warunee Tamkoo 2024-11-07 15:42:52 +07:00
parent 884fe69e2c
commit 1ae929acbf
5 changed files with 46 additions and 14 deletions

View file

@ -143,6 +143,11 @@ const probation_statusOP = ref<any>([
label: "ดึงรายชื่อไปออกคำสั่งแล้ว",
disable: true,
},
{
id: 9,
label: "ออกคำสั่งเสร็จแล้ว",
disable: true,
},
]);
/** get ข้อมูล งานที่ได้รับมอบหมาย */
@ -371,7 +376,10 @@ onMounted(async () => {
<div class="row col-12 q-col-gutter-sm">
<div>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
v-if="
checkPermission($route)?.attrIsUpdate &&
(probation_status == 1 || probation_status == 7)
"
@click="router.push(`/probation/add/${personalId}`)"
flat
round
@ -414,7 +422,6 @@ onMounted(async () => {
map-options
:options="columns"
option-value="name"
style="min-width: 140px"
class="col-xs-12 col-sm-3 col-md-2"
/>
@ -462,7 +469,10 @@ onMounted(async () => {
<q-tooltip>รายละเอยด</q-tooltip>
</q-btn>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
v-if="
checkPermission($route)?.attrIsUpdate &&
(probation_status == 1 || probation_status == 7)
"
flat
dense
round