refactor: delete kabab action
This commit is contained in:
parent
3bc941dd25
commit
7fba54a376
1 changed files with 0 additions and 12 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { QTable, QTableProps, QTableSlots } from 'quasar';
|
import { QTable, QTableProps, QTableSlots } from 'quasar';
|
||||||
|
|
||||||
import KebabAction from 'components/shared/KebabAction.vue';
|
|
||||||
import QuotationCard from 'src/components/05_quotation/QuotationCard.vue';
|
import QuotationCard from 'src/components/05_quotation/QuotationCard.vue';
|
||||||
import BadgeComponent from 'src/components/BadgeComponent.vue';
|
import BadgeComponent from 'src/components/BadgeComponent.vue';
|
||||||
import AvatarGroup from 'src/components/shared/AvatarGroup.vue';
|
import AvatarGroup from 'src/components/shared/AvatarGroup.vue';
|
||||||
|
|
@ -27,8 +26,6 @@ const props = withDefaults(
|
||||||
|
|
||||||
defineEmits<{
|
defineEmits<{
|
||||||
(e: 'view', data: RequestData): void;
|
(e: 'view', data: RequestData): void;
|
||||||
(e: 'edit', id: string): void;
|
|
||||||
(e: 'delete', id: string): void;
|
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
function getCustomerName(
|
function getCustomerName(
|
||||||
|
|
@ -155,15 +152,6 @@ function getEmployeeName(
|
||||||
flat
|
flat
|
||||||
@click.stop="$emit('view', props.row)"
|
@click.stop="$emit('view', props.row)"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<KebabAction
|
|
||||||
:idName="`btn-kebab-${props.row.quotation.workName}`"
|
|
||||||
status="'ACTIVE'"
|
|
||||||
hide-toggle
|
|
||||||
@view="$emit('view', props.row)"
|
|
||||||
@edit="$emit('edit', props.row.id)"
|
|
||||||
@delete="$emit('delete', props.row.id)"
|
|
||||||
/>
|
|
||||||
</q-td>
|
</q-td>
|
||||||
</q-tr>
|
</q-tr>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue