feat(1.4.0-beta1): 1. 修复重试任务详情名称错误 2. 修复状态筛选错误

This commit is contained in:
opensnail 2025-02-23 22:37:18 +08:00
parent 4bd7d65616
commit 55346e298c
3 changed files with 18 additions and 5 deletions

View File

@ -38,6 +38,19 @@ async function getRetrySceneList(groupName: string) {
}
}
// const renderOption = ({ node, option }: { node: VNode; option: SelectOption }) => {
// h(
// NTooltip,
// {
// trigger: 'hover'
// },
// {
// trigger: () => node,
// default: () => option.label
// }
// );
// };
watch(
() => props.groupName,
() => {

View File

@ -24,18 +24,18 @@ const visible = defineModel<boolean>('visible', {
<NTabs type="segment" animated>
<NTabPane :name="0" :tab="$t('page.log.info')">
<NDescriptions label-placement="top" bordered :column="2">
<NDescriptionsItem :label="$t('page.retryLog.groupName')" :span="2">
<NDescriptionsItem :label="$t('page.retryTask.groupName')" :span="2">
{{ rowData?.groupName }}
</NDescriptionsItem>
<NDescriptionsItem :label="$t('page.retryLog.sceneName')" :span="2">
<NDescriptionsItem :label="$t('page.retryTask.sceneName')" :span="2">
{{ rowData?.sceneName }}
</NDescriptionsItem>
<NDescriptionsItem :label="$t('page.retryLog.retryStatus')" :span="1">
<NDescriptionsItem :label="$t('page.retryTask.taskStatus')" :span="1">
<NTag :type="tagColor(rowData?.taskStatus!)">
{{ $t(retryTaskStatusTypeRecord[rowData?.taskStatus!]) }}
</NTag>
</NDescriptionsItem>
<NDescriptionsItem :label="$t('page.retryLog.taskType')" :span="1">
<NDescriptionsItem :label="$t('page.retryTask.taskType')" :span="1">
<NTag :type="tagColor(rowData?.taskType!)">{{ $t(retryTaskTypeRecord[rowData?.taskType!]) }}</NTag>
</NDescriptionsItem>
<NDescriptionsItem :label="$t('common.createDt')">{{ rowData?.createDt }}</NDescriptionsItem>

View File

@ -39,7 +39,7 @@ function search() {
<NFormItemGi span="24 s:12 m:6" :label="$t('page.retryTask.retryId')" path="bizNo" class="pr-24px">
<NInput v-model:value="model.retryId" :placeholder="$t('page.retryTask.form.retryId')" clearable />
</NFormItemGi>
<NFormItemGi span="24 s:12 m:6" :label="$t('page.retry.retryStatus')" path="taskBatchStatus" class="pr-24px">
<NFormItemGi span="24 s:12 m:6" :label="$t('page.retry.retryStatus')" path="retryStatus" class="pr-24px">
<NSelect
v-model:value="model.taskStatus"
:placeholder="$t('page.retry.form.retryStatus')"