|
@ -112,16 +112,7 @@ const columns = computed(() => [
|
|||
{
|
||||
align: 'right',
|
||||
label: '',
|
||||
name: 'tableActions',
|
||||
actions: [
|
||||
{
|
||||
title: t('Deny Request'),
|
||||
icon: 'thumb_down',
|
||||
class: 'fill-icon',
|
||||
action: showDenyRequestForm,
|
||||
isPrimary: true,
|
||||
},
|
||||
],
|
||||
name: 'denyOptions',
|
||||
},
|
||||
]);
|
||||
|
||||
|
@ -171,7 +162,9 @@ const getState = (isOk) => {
|
|||
|
||||
const showDenyRequestForm = (requestId, rowIndex) => {
|
||||
denyRequestId.value = requestId;
|
||||
console.log('denyRequestId.value: ', denyRequestId.value);
|
||||
denyRequestIndex.value = rowIndex;
|
||||
console.log('denyRequestIndex.value: ', denyRequestIndex.value);
|
||||
denyFormRef.value.show();
|
||||
};
|
||||
|
||||
|
@ -255,8 +248,8 @@ onBeforeMount(() => {
|
|||
{{ row.itemDescription }}
|
||||
</span>
|
||||
</template>
|
||||
<template #column-tableActions="{ row, rowIndex }">
|
||||
<QTd>
|
||||
<template #column-denyOptions="{ row, rowIndex }">
|
||||
<QTd class="sticky no-padding">
|
||||
<QIcon
|
||||
v-if="row.response?.length"
|
||||
name="insert_drive_file"
|
||||
|
|
Loading…
Reference in New Issue