Skip to content

Commit

Permalink
feat(frontend): 支持配置业务级单据协助人 TencentBlueKing#8126
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 25312
  • Loading branch information
royalpioneer authored and jinquantianxia committed Nov 29, 2024
1 parent 6e0342e commit ae619aa
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,6 @@
:data="item"
href-target="_blank" />
</template>
<!-- 人工确认 -->
<template v-else-if="content.status !== 'PENDING' && content.flow_type === 'PAUSE'">
<I18nT keypath="等待C确认是否执行T">
<span>{{ ticketData.creator === 'system' ? content.details.operators?.join(' , ') : ticketData.creator }}</span>
<span>{{ manualNexFlowDisaply }}</span>
</I18nT>
</template>
<template v-else-if="isPause && isTodos === false">
<div
v-for="(todosItem, index) in content.todos"
Expand Down Expand Up @@ -255,7 +248,6 @@
interface Props {
ticketData: TicketModel<unknown>;
content: FlowItem;
flows?: FlowItem[];
isTodos?: boolean;
}

Expand All @@ -274,16 +266,6 @@
retryLoading: false,
});

const manualNexFlowDisaply = computed(() => {
if (props.flows.length > 0) {
const manualIndex = props.flows.findIndex((item) => item.flow_type === 'PAUSE');
if (manualIndex > -1) {
return props.flows[manualIndex + 1].flow_type_display;
}
}
return '';
});

const isPause = computed(() => {
const { content } = props;
return content.status === 'RUNNING' && content.flow_type === 'PAUSE';
Expand Down

0 comments on commit ae619aa

Please sign in to comment.