diff --git a/packages/ui/certd-client/src/views/certd/history/crud.tsx b/packages/ui/certd-client/src/views/certd/history/crud.tsx index 2402fd42..1898c38a 100644 --- a/packages/ui/certd-client/src/views/certd/history/crud.tsx +++ b/packages/ui/certd-client/src/views/certd/history/crud.tsx @@ -65,6 +65,15 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat } } }, + search: { + formItem: { + labelCol: { + style: { + width: "120px" + } + } + } + }, rowHandle: { minWidth: 200, fixed: "right", diff --git a/packages/ui/certd-server/src/controller/pipeline/history-controller.ts b/packages/ui/certd-server/src/controller/pipeline/history-controller.ts index f090c13d..f30500ee 100644 --- a/packages/ui/certd-server/src/controller/pipeline/history-controller.ts +++ b/packages/ui/certd-server/src/controller/pipeline/history-controller.ts @@ -47,6 +47,7 @@ export class HistoryController extends CrudController { let pipelineIds: any = null; const pipelineTitle = body.query?.pipelineTitle; + delete body.query.pipelineTitle; if (pipelineTitle) { const pipelines = await this.pipelineService.list({ query: pipelineQuery, diff --git a/packages/ui/certd-server/src/plugins/plugin-host/plugin/host-shell-execute/index.ts b/packages/ui/certd-server/src/plugins/plugin-host/plugin/host-shell-execute/index.ts index e64798cc..f671577d 100644 --- a/packages/ui/certd-server/src/plugins/plugin-host/plugin/host-shell-execute/index.ts +++ b/packages/ui/certd-server/src/plugins/plugin-host/plugin/host-shell-execute/index.ts @@ -6,6 +6,7 @@ import { SshClient } from '../../lib/ssh.js'; title: '执行远程主机脚本命令', icon: 'tabler:brand-powershell', group: pluginGroups.host.key, + desc: '可以执行重启nginx等操作让证书生效', input: {}, default: { strategy: {