updated route retirement

This commit is contained in:
Warunee Tamkoo 2024-08-01 14:44:43 +07:00
parent 483fc2943a
commit ebd4702356
6 changed files with 160 additions and 138 deletions

View file

@ -299,7 +299,9 @@ const pagination = ref({
<q-td
v-for="col in props.cols"
:key="col.id"
@click="router.push(`/retirement/out/${props.row.id}`)"
@click="
router.push(`/retirement/dismiss-order/${props.row.id}`)
"
>
<div v-if="col.name === 'no'">
{{ props.rowIndex + 1 }}
@ -307,13 +309,15 @@ const pagination = ref({
<div
v-else
:class="col.name === 'organizationPositionOld' ? 'table_ellipsis' : ''"
:class="
col.name === 'organizationPositionOld'
? 'table_ellipsis'
: ''
"
>
{{ col.value ? col.value : "-" }}
</div>
</q-td>
</q-tr>
</template>
</d-table>