mirror of
https://github.com/certd/certd.git
synced 2025-11-25 09:10:11 +08:00
fix: 修复历史记录不能按名称查询的bug
This commit is contained in:
@@ -65,6 +65,15 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
|
||||
}
|
||||
}
|
||||
},
|
||||
search: {
|
||||
formItem: {
|
||||
labelCol: {
|
||||
style: {
|
||||
width: "120px"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
rowHandle: {
|
||||
minWidth: 200,
|
||||
fixed: "right",
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -6,6 +6,7 @@ import { SshClient } from '../../lib/ssh.js';
|
||||
title: '执行远程主机脚本命令',
|
||||
icon: 'tabler:brand-powershell',
|
||||
group: pluginGroups.host.key,
|
||||
desc: '可以执行重启nginx等操作让证书生效',
|
||||
input: {},
|
||||
default: {
|
||||
strategy: {
|
||||
|
||||
Reference in New Issue
Block a user