feat(sj_1.1.0-beta1): 工作流批次、重试批次、重试日志添加时间筛选
This commit is contained in:
parent
e8cc54a4df
commit
6ed5136d18
7
src/typings/api.d.ts
vendored
7
src/typings/api.d.ts
vendored
@ -703,7 +703,7 @@ declare namespace Api {
|
||||
Api.RetryDeadLetter.DeadLetter,
|
||||
'id' | 'uniqueId' | 'groupName' | 'sceneName' | 'idempotentId' | 'bizNo' | 'taskType' | 'createDt'
|
||||
> &
|
||||
CommonSearchParams
|
||||
CommonSearchParams & { beginDate: number; endDate: number }
|
||||
>;
|
||||
|
||||
/** DeadLetter list */
|
||||
@ -1115,7 +1115,8 @@ declare namespace Api {
|
||||
|
||||
/** workflowBatch search params */
|
||||
type WorkflowBatchSearchParams = CommonType.RecordNullable<
|
||||
Pick<Api.WorkflowBatch.WorkflowBatch, 'workflowId' | 'groupName' | 'taskBatchStatus'> & CommonSearchParams
|
||||
Pick<Api.WorkflowBatch.WorkflowBatch, 'workflowId' | 'groupName' | 'taskBatchStatus'> &
|
||||
CommonSearchParams & { beginDate: number; endDate: number }
|
||||
>;
|
||||
|
||||
/** workflowBatch list */
|
||||
@ -1165,7 +1166,7 @@ declare namespace Api {
|
||||
/** retryLog search params */
|
||||
type RetryLogSearchParams = CommonType.RecordNullable<
|
||||
Pick<Api.RetryLog.RetryLog, 'uniqueId' | 'groupName' | 'sceneName' | 'idempotentId' | 'bizNo' | 'retryStatus'> &
|
||||
CommonSearchParams
|
||||
CommonSearchParams & { beginDate: number; endDate: number }
|
||||
>;
|
||||
|
||||
/** retryLog list */
|
||||
|
@ -30,7 +30,9 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
||||
page: 1,
|
||||
size: 10,
|
||||
groupName: null,
|
||||
sceneName: null
|
||||
sceneName: null,
|
||||
beginDate: null,
|
||||
endDate: null
|
||||
// if you want to use the searchParams in Form, you need to define the following properties, and the value is null
|
||||
// the value can not be undefined, otherwise the property in Form will not be reactive
|
||||
},
|
||||
|
@ -33,6 +33,9 @@ function search() {
|
||||
<NFormItemGi span="24 s:12 m:6" :label="$t('page.retryLog.sceneName')" path="sceneName" class="pr-24px">
|
||||
<SelectScene v-model:value="model.sceneName" :group-name="model.groupName as string" />
|
||||
</NFormItemGi>
|
||||
<NFormItemGi span="24 s:24 m:15 l:12 xl:9" :label="$t('page.common.createTime')" path="createTime" class="pr-24px">
|
||||
<DatetimeRange v-model:begin-date="model.beginDate" v-model:end-date="model.endDate" />
|
||||
</NFormItemGi>
|
||||
</SearchForm>
|
||||
</template>
|
||||
|
||||
|
@ -31,7 +31,9 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
||||
sceneName: null,
|
||||
idempotentId: null,
|
||||
bizNo: null,
|
||||
retryStatus: null
|
||||
retryStatus: null,
|
||||
beginDate: null,
|
||||
endDate: null
|
||||
},
|
||||
searchParams: {
|
||||
retryStatus
|
||||
|
@ -52,6 +52,9 @@ function search() {
|
||||
clearable
|
||||
/>
|
||||
</NFormItemGi>
|
||||
<NFormItemGi span="24 s:24 m:15 l:12 xl:9" :label="$t('page.common.createTime')" path="createTime" class="pr-24px">
|
||||
<DatetimeRange v-model:begin-date="model.beginDate" v-model:end-date="model.endDate" />
|
||||
</NFormItemGi>
|
||||
</SearchForm>
|
||||
</template>
|
||||
|
||||
|
@ -22,7 +22,9 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
||||
// the value can not be undefined, otherwise the property in Form will not be reactive
|
||||
workflowId: null,
|
||||
groupName: null,
|
||||
taskBatchStatus: null
|
||||
taskBatchStatus: null,
|
||||
beginDate: null,
|
||||
endDate: null
|
||||
},
|
||||
searchParams: {
|
||||
workflowId,
|
||||
|
@ -67,6 +67,9 @@ groupNameUpdate('');
|
||||
>
|
||||
<TaskBatchStatus v-model:value="model.taskBatchStatus" />
|
||||
</NFormItemGi>
|
||||
<NFormItemGi span="24 s:24 m:15 l:12 xl:9" :label="$t('page.common.createTime')" path="createTime" class="pr-24px">
|
||||
<DatetimeRange v-model:begin-date="model.beginDate" v-model:end-date="model.endDate" />
|
||||
</NFormItemGi>
|
||||
</SearchForm>
|
||||
</template>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user