feat(web): 增加服务个数显示

This commit is contained in:
v-zhangjc9
2024-04-26 14:16:03 +08:00
parent d899556bfd
commit bfdfc05c65
3 changed files with 16 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
const commonInfo = {
// baseUrl: 'http://132.126.207.130:35690/hudi_services/service_web',
baseUrl: '/hudi_services/service_web',
clusters: {
// hudi同步运行集群和yarn队列名称

View File

@@ -16,7 +16,11 @@ function cloudCrud(title, path) {
loadDataOnce: true,
perPage: 100,
columns: [
{name: 'name', label: '名称'},
{
label: '名称',
type: 'tpl',
tpl: `\${name} \${IF(size === undefined, '', '<span class="font-bold label label-primary">' + size + '</span>')}`
},
{
name: 'status',
label: '状态',