refs #7283 itemRequest fix deny
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
388036a2eb
commit
3bf3e8eeaa
|
@ -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