Skip to content

Commit

Permalink
feat(frontend): 单据管理迭代_6 TencentBlueKing#7190
Browse files Browse the repository at this point in the history
  • Loading branch information
hLinx committed Dec 4, 2024
1 parent a4395d4 commit 024a50d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import { useI18n } from 'vue-i18n';
import TicketModel from '@services/model/ticket/ticket';
import { revokeTicket } from '@services/source/ticketFlow';
import { batchProcessTicket } from '@services/source/ticketFlow';
import { useEventBus } from '@hooks';
Expand All @@ -34,7 +34,8 @@
const isCan = computed(() => props.data.status === TicketModel.STATUS_APPROVE && props.data.creator === username);
const handleRevoke = () =>
revokeTicket({
batchProcessTicket({
action: 'TERMINATE',
ticket_ids: [props.data.id],
}).then(() => {
eventBus.emit('refreshTicketStatus');
Expand Down

0 comments on commit 024a50d

Please sign in to comment.