Skip to content

Commit

Permalink
调整部署明细表头
Browse files Browse the repository at this point in the history
  • Loading branch information
huashetianzu committed May 3, 2024
1 parent 0edb5be commit 17d4d25
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ DHorse是一个轻量级、简单易用的云应用管理平台,具有多云

| Java | kubernetes | Harbor |
| :----: | :----: | :----: |
| >=8 | [1.18, 1.27] | >=2.0.0 |
| >=8 | [1.18, 1.29] | >=2.0.0 |

2.下载安装文件

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package org.dhorse.rest.component;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.beans.factory.support.BeanDefinitionRegistry;
import org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DynamicBeanRegistry implements BeanDefinitionRegistryPostProcessor {

@Override
public void postProcessBeanDefinitionRegistry(BeanDefinitionRegistry registry) throws BeansException {
// BeanDefinitionBuilder builder = BeanDefinitionBuilder.genericBeanDefinition(ClassUtils.class);
// BeanDefinition beanDefinition = builder.getRawBeanDefinition();
// registry.registerBeanDefinition("classUtils", beanDefinition);
}

@Override
public void postProcessBeanFactory(ConfigurableListableBeanFactory factory) throws BeansException {

}
}
8 changes: 4 additions & 4 deletions static/page/deployment_version/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,12 @@
};
},
cols: [[
{field: 'versionName', title: '版本号', width: '35%'},
{field: 'versionName', title: '版本号', width: '25%'},
{field: 'branchName', title: '分支(标签)'},
{field: 'envName', title: '环境名称', hide: envName},
{field: 'status', title: '状态', width: '7%', templet: '#statusBar'},
{field: 'creationTime', title: '构建开始时间', width: '13%'},
{field: 'updateTime', title: '构建结束时间', width: '13%'},
{field: 'status', title: '状态', width: '14%', templet: '#statusBar'},
{field: 'creationTime', title: '构建开始时间', width: '16%'},
{field: 'updateTime', title: '构建结束时间', width: '16%'},
{title: '操作', toolbar: '#currentTableBar'}
]],
limits: [10, 20],
Expand Down

0 comments on commit 17d4d25

Please sign in to comment.