perf: 优化流水线页面,增加下次执行时间、查看证书显示

This commit is contained in:
xiaojunnuo
2025-06-07 01:19:37 +08:00
parent 2a19b61b7a
commit c820315409
8 changed files with 146 additions and 72 deletions

View File

@@ -110,6 +110,7 @@ export class PipelineService extends BaseService<PipelineEntity> {
}
async add(bean: PipelineEntity) {
bean.status = ResultType.none
await this.save(bean);
return bean;
}
@@ -191,6 +192,9 @@ export class PipelineService extends BaseService<PipelineEntity> {
await this.checkMaxPipelineCount(bean, pipeline, domains);
}
if (!bean.status ){
bean.status = ResultType.none;
}
if (!isUpdate) {
//如果是添加先保存一下获取到id更新pipeline.id
await this.addOrUpdate(bean);