refactor(接口测试): 优化定时导入列表展示,支持swaggerURL的模糊搜索

This commit is contained in:
wxg0103 2024-05-10 10:46:44 +08:00 committed by 刘瑞斌
parent af7be7395e
commit 040acff39d
3 changed files with 6 additions and 2 deletions

View File

@ -53,6 +53,10 @@
task.resource_name like concat('%', #{request.keyword},'%')
or
task.resource_num like concat('%', #{request.keyword},'%')
<if test="request.scheduleTagType == 'API_IMPORT'">
or task.swagger_url like concat('%', #{request.keyword},'%')
</if>
)
</if>
<include refid="taskCenterScheduleFilters">

View File

@ -55,7 +55,7 @@ export default {
'project.taskCenter.batchDisableTask': 'Are you sure to disable {num} tasks?',
'project.taskCenter.batchEnableTaskContent': 'Enabling will execute the task',
'project.taskCenter.batchDisableTaskContent': 'Closing will affect the execution of the task',
'project.taskCenter.swaggerUrl': 'Swagger Url',
'project.taskCenter.swaggerUrl': 'Swagger URL',
'project.taskCenter.confirmEnable': 'Confirm enable',
'project.taskCenter.confirmDisable': 'Confirm disable',
'project.taskCenter.enableSuccess': 'Enable successfully',

View File

@ -53,7 +53,7 @@ export default {
'project.taskCenter.batchDisableTask': '确定关闭 {num} 个任务吗?',
'project.taskCenter.batchEnableTaskContent': '开启会执行任务',
'project.taskCenter.batchDisableTaskContent': '关闭后会影响任务的执行',
'project.taskCenter.swaggerUrl': 'Swagger Url',
'project.taskCenter.swaggerUrl': 'Swagger URL',
'project.taskCenter.confirmEnable': '确认开启',
'project.taskCenter.confirmDisable': '确认关闭',
'project.taskCenter.enableSuccess': '开启成功',