feat(sj_1.3.0-beta1): 优化定时任务搜索条件及页面展示

This commit is contained in:
Srzou 2024-12-26 20:28:52 +08:00
parent ef2ac40748
commit fcad1db885
3 changed files with 18 additions and 2 deletions

View File

@ -1009,6 +1009,7 @@ declare namespace Api {
| 'groupName'
| 'jobName'
| 'argsStr'
| 'executorInfo'
| 'argsType'
| 'jobStatus'
| 'routeKey'

View File

@ -69,7 +69,13 @@ const { columnChecks, columns, data, getData, loading, mobilePagination, searchP
key: 'groupName',
title: $t('page.jobTask.groupName'),
align: 'left',
width: 180
width: 150
},
{
key: 'executorInfo',
title: $t('page.jobTask.executorInfo'),
align: 'left',
width: 120
},
{
key: 'nextTriggerAt',

View File

@ -27,13 +27,22 @@ function search() {
</script>
<template>
<SearchForm :model="model" @search="search" @reset="reset">
<SearchForm btn-span="12 s:24 m:24 l:24 xl:24" :model="model" @search="search" @reset="reset">
<NFormItemGi span="24 s:12 m:6" :label="$t('page.jobTask.groupName')" path="groupName" class="pr-24px">
<SelectGroup v-model:value="model.groupName" clearable />
</NFormItemGi>
<NFormItemGi span="24 s:12 m:6" :label="$t('page.jobTask.jobName')" path="jobName" class="pr-24px">
<NInput v-model:value="model.jobName" :placeholder="$t('page.jobTask.form.jobName')" clearable />
</NFormItemGi>
<NFormItemGi
span="24 s:12 m:6"
:label="$t('page.jobTask.executorInfo')"
path="executorInfo"
class="pr-24px"
:label-width="100"
>
<NInput v-model:value="model.executorInfo" :placeholder="$t('page.jobTask.form.executorInfo')" clearable />
</NFormItemGi>
<NFormItemGi span="24 s:12 m:6" :label="$t('page.jobTask.jobStatus')" path="jobStatus" class="pr-24px">
<NSelect
v-model:value="model.jobStatus"