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