fix: 修复历史记录不能按名称查询的bug

pull/243/head
xiaojunnuo 2024-10-30 15:19:35 +08:00
parent 764326ab16
commit 6113c388b7
3 changed files with 11 additions and 0 deletions

View File

@ -65,6 +65,15 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
}
}
},
search: {
formItem: {
labelCol: {
style: {
width: "120px"
}
}
}
},
rowHandle: {
minWidth: 200,
fixed: "right",

View File

@ -47,6 +47,7 @@ export class HistoryController extends CrudController<HistoryService> {
let pipelineIds: any = null;
const pipelineTitle = body.query?.pipelineTitle;
delete body.query.pipelineTitle;
if (pipelineTitle) {
const pipelines = await this.pipelineService.list({
query: pipelineQuery,

View File

@ -6,6 +6,7 @@ import { SshClient } from '../../lib/ssh.js';
title: '执行远程主机脚本命令',
icon: 'tabler:brand-powershell',
group: pluginGroups.host.key,
desc: '可以执行重启nginx等操作让证书生效',
input: {},
default: {
strategy: {