diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js
index 7bb7d102..befde2df 100644
--- a/docs/docusaurus.config.js
+++ b/docs/docusaurus.config.js
@@ -89,7 +89,7 @@ const config = {
navbar: {
title: '',
logo: {
- alt: 'HIPPO-4J 动态可观测线程池框架',
+ alt: 'Hippo4j 动态可观测线程池框架',
src: 'img/hippo4j.png',
},
items: [
@@ -184,7 +184,7 @@ const config = {
items: [
{
label: 'Gitee',
- href: 'https://gitee.com/magestack/hippo4j',
+ href: 'https://gitee.com/opengoofy/hippo4j',
},
{
label: 'GitHub',
@@ -206,7 +206,7 @@ const config = {
],
},
],
- copyright: `Copyright © 2021-2022 小马哥版权所有 京ICP备2021038095号-2
+ copyright: `Copyright © 2021-2022 马丁版权所有 京ICP备2021038095号
`,
},
prism: {
diff --git a/hippo4j-ui/src/layout/components/Sidebar/Logo.vue b/hippo4j-ui/src/layout/components/Sidebar/Logo.vue
index 667ca0d6..a7cfbfcb 100755
--- a/hippo4j-ui/src/layout/components/Sidebar/Logo.vue
+++ b/hippo4j-ui/src/layout/components/Sidebar/Logo.vue
@@ -24,7 +24,7 @@ export default {
},
data() {
return {
- title: 'hippo4j 1.5.0',
+ title: 'Hippo4j 1.5.0',
logo: '',
};
},
diff --git a/hippo4j-ui/src/locale/lang/en.js b/hippo4j-ui/src/locale/lang/en.js
index 88ba730f..f1903ff8 100644
--- a/hippo4j-ui/src/locale/lang/en.js
+++ b/hippo4j-ui/src/locale/lang/en.js
@@ -19,9 +19,11 @@ export default {
NoDeletionPermissionTip: 'Contact the administrator to delete it',
emptyWarning: "The '{name}' cannot be empty",
queryFailure: 'The query fails. Please refresh the page',
- updateFailure:'Failed to modify thread pool',
- auditApprovedMessage: 'This operation will accept thread pool change requests. Do you want to continue?',
- auditRejectionMessage: 'This operation will reject the thread pool change request. Do you want to continue?',
+ updateFailure: 'Failed to modify thread-pool',
+ auditApprovedMessage:
+ 'This operation will accept thread-pool change requests. Do you want to continue?',
+ auditRejectionMessage:
+ 'This operation will reject the thread-pool change request. Do you want to continue?',
inputMessage: 'Please input {target}',
},
@@ -48,7 +50,7 @@ export default {
stack: 'Stack',
audit: 'audit',
yes: 'Yes',
- no: 'No'
+ no: 'No',
},
// 运行报表
@@ -56,7 +58,10 @@ export default {
poolInstance: 'Pool Instance',
user: 'User',
role: 'Role',
- tenants: 'Tenants'
+ tenants: 'Tenants',
+ threadPoolId: 'ThreadPool ID',
+ taskCount: 'Task Count',
+ inst: 'Instance',
},
// 租户管理
@@ -65,7 +70,7 @@ export default {
tenantRequired: 'Tenant(Required)',
tenantName: 'Tenant Name',
owner: 'Owner',
- tenantIntro: 'Tenant Intro'
+ tenantIntro: 'Tenant Intro',
},
// 项目管理
@@ -74,12 +79,12 @@ export default {
itemRequired: 'Item(Required)',
itemName: 'Item Name',
owner: 'Owner',
- itemIntro: 'Item Intro'
+ itemIntro: 'Item Intro',
},
// 线程池管理
threadPool: {
- threadPool: 'Thread Pool',
+ threadPool: 'ThreadPool',
threadPoolRequired: 'ThreadPool(Required)',
coreSize: 'Core Size',
maximumSize: 'Maximum Size',
@@ -100,7 +105,7 @@ export default {
capacityAlarm: 'Capacity Alarm',
customRejectedHandler: 'Custom Rejected Handler',
customRejectedHandlerTip: 'Please enter a custom SPI Deny Policy ID',
- threadsNumErrorTip: 'The maximum thread must be greater than or equal to the core thread'
+ threadsNumErrorTip: 'The maximum thread must be greater than or equal to the core thread',
},
// 线程池实例
@@ -132,25 +137,25 @@ export default {
lastUpdateTime: 'Last update time',
allowCoreThreadTimeOut: 'Allow Core Thread Time Out',
changeAll: 'Change All',
- stackRequestFail: 'The current thread pool has no stack information'
+ stackRequestFail: 'The current thread-pool has no stack information',
},
//线程池监控
threadPoolMonitor: {
ipPort: 'IP : Port',
ipPortRequired: 'IP : Port(Required)',
- noResultsYet: 'No results yet'
+ noResultsYet: 'No results yet',
},
//框架线程池
- frameworkThreadPool : {
+ frameworkThreadPool: {
threadPoolIDRequired: 'ThreadPool ID(Required)',
threadPoolID: 'ThreadPool ID',
- threadPoolType: 'ThreadPool Type'
+ threadPoolType: 'ThreadPool Type',
},
//线程池审核
- threadPoolAudit: {
+ threadPoolAudit: {
changeType: 'Change Type',
modifiedBy: 'Modified by',
auditStatus: 'Audit Status',
@@ -181,17 +186,18 @@ export default {
enabling: 'Enabling',
disabling: 'Disabling',
token: 'Token',
- receiverTip: 'Use English commas for multiple recipients and separate them (be careful not to have spaces)\n' +
+ receiverTip:
+ 'Use English commas for multiple recipients and separate them (be careful not to have spaces)\n' +
'-Ding: Fill in the phone number\n' +
- '-WeChat: Fill in \'userid\' and it will be sent to the user as a @ message, otherwise fill in the name, such as: XiaomaGe\n' +
- '-Lark: Fill in with \'ou_\' the unique user ID at the beginning will be sent to the user as a @ message, and filling in the phone number is normal@'
+ "-WeChat: Fill in 'userid' and it will be sent to the user as a @ message, otherwise fill in the name, such as: XiaomaGe\n" +
+ "-Lark: Fill in with 'ou_' the unique user ID at the beginning will be sent to the user as a @ message, and filling in the phone number is normal@",
},
//用户权限
userAuthority: {
userName: 'User Name',
role: 'Role',
- password: 'Password'
+ password: 'Password',
},
//日志管理
@@ -212,9 +218,9 @@ export default {
threadPoolInstance: 'ThreadPool Instance',
threadPoolMonitor: 'ThreadPool Monitor',
containerThreadPool: 'Container ThreadPool',
- tomcat: 'Tomcat',
- undertow: 'Undertow',
- jetty : 'Jetty',
+ tomcat: 'Tomcat',
+ undertow: 'Undertow',
+ jetty: 'Jetty',
frameworkThreadPool: 'Framework ThreadPool',
dubbo: 'Dubbo',
hystrix: 'Hystrix',
@@ -228,5 +234,5 @@ export default {
userAuthority: 'User Authority',
logManage: 'Log Manage',
officialWebsite: 'Official Website',
- }
-}
+ },
+};
diff --git a/hippo4j-ui/src/locale/lang/zh.js b/hippo4j-ui/src/locale/lang/zh.js
index ae064439..c1e419b9 100644
--- a/hippo4j-ui/src/locale/lang/zh.js
+++ b/hippo4j-ui/src/locale/lang/zh.js
@@ -17,9 +17,9 @@ export default {
deleteMessage: '此操作将删除 {name}, 是否继续?',
selectMessage: '请选择{target}',
NoDeletionPermissionTip: '请联系管理员删除',
- emptyWarning: "{name}不允许为空",
+ emptyWarning: '{name}不允许为空',
queryFailure: '查询失败,请尝试刷新页面',
- updateFailure:'修改线程池失败',
+ updateFailure: '修改线程池失败',
auditApprovedMessage: '此操作将接受线程池变更申请, 是否继续?',
auditRejectionMessage: '此操作将拒绝线程池变更申请, 是否继续?',
inputMessage: '请输入{target}',
@@ -48,7 +48,7 @@ export default {
stack: '堆栈',
audit: '审核',
yes: '是',
- no: '否'
+ no: '否',
},
// 运行报表
@@ -56,7 +56,10 @@ export default {
poolInstance: '线程池实例',
user: '登录用户',
role: '用户角色',
- tenants: '所属租户'
+ tenants: '所属租户',
+ threadPoolId: '线程池',
+ taskCount: '任务数',
+ inst: '实例数',
},
// 租户管理
@@ -65,7 +68,7 @@ export default {
tenantRequired: '租户(必填)',
tenantName: '租户名称',
owner: '负责人',
- tenantIntro: '租户简介'
+ tenantIntro: '租户简介',
},
// 项目管理
@@ -74,7 +77,7 @@ export default {
itemRequired: '项目(必填)',
itemName: '项目名称',
owner: '负责人',
- itemIntro: '项目简介'
+ itemIntro: '项目简介',
},
// 线程池管理
@@ -100,7 +103,7 @@ export default {
capacityAlarm: '容量报警',
customRejectedHandler: '自定义拒绝策略',
customRejectedHandlerTip: '请输入自定义 SPI 拒绝策略标识',
- threadsNumErrorTip: '最大线程必须大于等于核心线程'
+ threadsNumErrorTip: '最大线程必须大于等于核心线程',
},
// 线程池实例
@@ -132,25 +135,25 @@ export default {
lastUpdateTime: '最后更新时间',
allowCoreThreadTimeOut: '线程超时',
changeAll: '全部修改',
- stackRequestFail: '当前线程池暂无堆栈信息'
+ stackRequestFail: '当前线程池暂无堆栈信息',
},
//线程池监控
threadPoolMonitor: {
ipPort: 'IP : Port',
ipPortRequired: 'IP : Port(必填)',
- noResultsYet: '暂无结果'
+ noResultsYet: '暂无结果',
},
//框架线程池
frameworkThreadPool: {
threadPoolIDRequired: '线程池标识(必填)',
threadPoolID: '线程池标识',
- threadPoolType: '线程池类型'
+ threadPoolType: '线程池类型',
},
//线程池审核
- threadPoolAudit: {
+ threadPoolAudit: {
changeType: '变更类型',
modifiedBy: '修改人',
auditStatus: '审核状态',
@@ -181,17 +184,18 @@ export default {
enabling: '启用',
disabling: '禁用',
token: 'Token',
- receiverTip: '多个接收者使用英文逗号 , 分割 (注意不要有空格)\n' +
+ receiverTip:
+ '多个接收者使用英文逗号 , 分割 (注意不要有空格)\n' +
'- 钉钉:填写手机号\n' +
'- 企微:填写user_id会以@的消息发给用户,否则填写姓名,如:小马哥\n' +
- '- 飞书:填写ou_开头用户唯一标识会以@的消息发给用户,填写手机号则是普通的@"'
+ '- 飞书:填写ou_开头用户唯一标识会以@的消息发给用户,填写手机号则是普通的@',
},
//用户权限
userAuthority: {
userName: '用户名',
role: '角色',
- password: '密码'
+ password: '密码',
},
//日志管理
@@ -212,9 +216,9 @@ export default {
threadPoolInstance: '线程池实例',
threadPoolMonitor: '线程池监控',
containerThreadPool: '容器线程池',
- tomcat: 'Tomcat',
- undertow: 'Undertow',
- jetty : 'Jetty',
+ tomcat: 'Tomcat',
+ undertow: 'Undertow',
+ jetty: 'Jetty',
frameworkThreadPool: '框架线程池',
dubbo: 'Dubbo',
hystrix: 'Hystrix',
@@ -228,5 +232,5 @@ export default {
userAuthority: '用户权限',
logManage: '日志管理',
officialWebsite: '官网外链',
- }
-}
+ },
+};
diff --git a/hippo4j-ui/src/views/dashboard/admin/components/TransactionTable.vue b/hippo4j-ui/src/views/dashboard/admin/components/TransactionTable.vue
index 0e9b7b94..a625f534 100755
--- a/hippo4j-ui/src/views/dashboard/admin/components/TransactionTable.vue
+++ b/hippo4j-ui/src/views/dashboard/admin/components/TransactionTable.vue
@@ -1,17 +1,17 @@
-
+
{{ scope.row.groupKey }}
-
+
{{ scope.row.maxCompletedTaskCount | toThousandFilter }}
-
+
{{ row.inst }}
diff --git a/hippo4j-ui/src/views/hippo4j/item/index.vue b/hippo4j-ui/src/views/hippo4j/item/index.vue
index 7ee9844b..6ddefab7 100755
--- a/hippo4j-ui/src/views/hippo4j/item/index.vue
+++ b/hippo4j-ui/src/views/hippo4j/item/index.vue
@@ -25,7 +25,7 @@
:disabled="isEditDisabled"
@click="handleCreate"
>
- {{ $t('common.insert') }}
+ {{ $t('common.insert') }}
{{ scope.row.gmtModified }}
-
+
{{ $t('common.edit') }}
@@ -72,7 +76,7 @@
type="text"
@click="handleDelete(row)"
>
- {{ $t('common.delete') }}
+ {{ $t('common.delete') }}
@@ -85,22 +89,22 @@
@pagination="fetchData"
/>
-
+
-
+
-
+
@@ -148,7 +150,9 @@
diff --git a/hippo4j-ui/src/views/hippo4j/log/index.vue b/hippo4j-ui/src/views/hippo4j/log/index.vue
index dbe0e3c3..5bd058a8 100755
--- a/hippo4j-ui/src/views/hippo4j/log/index.vue
+++ b/hippo4j-ui/src/views/hippo4j/log/index.vue
@@ -66,7 +66,9 @@
class-name="small-padding fixed-width"
>
- {{ $t('common.detail') }}
+
+ {{ $t('common.detail') }}
+
@@ -79,13 +81,13 @@
/>
-
+
@@ -93,7 +95,7 @@
v-model="temp.bizNo"
:disabled="true"
:placeholder="$t('logManage.bizID')"
- style="width: 40%"
+ style="width: 50%"
/>
@@ -101,7 +103,7 @@
v-model="temp.operator"
:disabled="true"
:placeholder="$t('logManage.operator')"
- style="width: 40%"
+ style="width: 50%"
/>
@@ -109,7 +111,7 @@
v-model="temp.createTime"
:disabled="true"
:placeholder="$t('common.createTime')"
- style="width: 40%"
+ style="width: 50%"
/>
diff --git a/hippo4j-ui/src/views/hippo4j/notify/index.vue b/hippo4j-ui/src/views/hippo4j/notify/index.vue
index 8ceb3a60..fb493ad1 100755
--- a/hippo4j-ui/src/views/hippo4j/notify/index.vue
+++ b/hippo4j-ui/src/views/hippo4j/notify/index.vue
@@ -78,7 +78,7 @@
{{ scope.row.tenantId }}
-
+
{{ scope.row.itemId }}
@@ -129,14 +129,16 @@
class-name="small-padding fixed-width"
>
- {{$t('common.edit')}}
+
+ {{ $t('common.edit') }}
+
- {{$t('common.delete')}}
+ {{ $t('common.delete') }}
@@ -155,7 +157,7 @@
style="width: 500px; margin-left: 50px"
:rules="rules"
:model="temp"
- label-width="80px"
+ label-width="105px"
>
@@ -383,7 +387,9 @@ export default {
receives: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
secretKey: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
platform: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
- configType: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
+ configType: [
+ { required: true, message: this.$t('message.requiredError'), trigger: 'blur' },
+ ],
enable: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
},
temp: {
@@ -554,7 +560,9 @@ export default {
this.rules['interval'] = [];
}
if (configType != null && configType != undefined && alarmType === true) {
- this.rules['interval'] = [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }];
+ this.rules['interval'] = [
+ { required: true, message: this.$t('message.requiredError'), trigger: 'blur' },
+ ];
}
},
diff --git a/hippo4j-ui/src/views/hippo4j/other/alibaba-dubbo/index.vue b/hippo4j-ui/src/views/hippo4j/other/alibaba-dubbo/index.vue
index 6ce9c7ad..6d5a2f6f 100755
--- a/hippo4j-ui/src/views/hippo4j/other/alibaba-dubbo/index.vue
+++ b/hippo4j-ui/src/views/hippo4j/other/alibaba-dubbo/index.vue
@@ -110,7 +110,11 @@
{{ scope.row.queueCapacity }}
-->
-
+
- {{ $t('common.edit') }}
+
+ {{ $t('common.edit') }}
+
@@ -131,8 +137,8 @@
ref="dataForm"
:rules="rules"
:model="temp"
- label-position="left"
- label-width="110px"
+ style="width: 500px; margin-left: 50px"
+ label-width="120px"
>
@@ -160,7 +166,7 @@
@@ -283,19 +289,27 @@ export default {
},
fetchData() {
if (!this.listQuery.mark) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this. $t('frameworkThreadPool.threadPoolType') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('frameworkThreadPool.threadPoolType') }),
+ );
return;
}
if (!this.listQuery.tenantId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }),
+ );
return;
}
if (!this.listQuery.itemId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }),
+ );
return;
}
if (!this.listQuery.threadPoolKey) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this. $t('frameworkThreadPool.threadPoolID') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('frameworkThreadPool.threadPoolID') }),
+ );
return;
}
this.listLoading = true;
diff --git a/hippo4j-ui/src/views/hippo4j/other/dubbo/index.vue b/hippo4j-ui/src/views/hippo4j/other/dubbo/index.vue
index ad3847f0..33932072 100755
--- a/hippo4j-ui/src/views/hippo4j/other/dubbo/index.vue
+++ b/hippo4j-ui/src/views/hippo4j/other/dubbo/index.vue
@@ -110,7 +110,11 @@
{{ scope.row.queueCapacity }}
-->
-
+
- {{ $t('common.edit') }}
+
+ {{ $t('common.edit') }}
+
@@ -131,8 +137,8 @@
ref="dataForm"
:rules="rules"
:model="temp"
- label-position="left"
- label-width="110px"
+ style="width: 500px; margin-left: 50px"
+ label-width="120px"
>
@@ -160,7 +166,7 @@
@@ -283,19 +289,27 @@ export default {
},
fetchData() {
if (!this.listQuery.mark) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this. $t('frameworkThreadPool.threadPoolType') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('frameworkThreadPool.threadPoolType') }),
+ );
return;
}
if (!this.listQuery.tenantId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }),
+ );
return;
}
if (!this.listQuery.itemId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }),
+ );
return;
}
if (!this.listQuery.threadPoolKey) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this. $t('frameworkThreadPool.threadPoolID') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('frameworkThreadPool.threadPoolID') }),
+ );
return;
}
this.listLoading = true;
diff --git a/hippo4j-ui/src/views/hippo4j/other/hystrix/index.vue b/hippo4j-ui/src/views/hippo4j/other/hystrix/index.vue
index 79dc1f2d..8442e325 100755
--- a/hippo4j-ui/src/views/hippo4j/other/hystrix/index.vue
+++ b/hippo4j-ui/src/views/hippo4j/other/hystrix/index.vue
@@ -110,7 +110,11 @@
{{ scope.row.queueCapacity }}
-->
-
+
- {{ $t('common.edit') }}
+
+ {{ $t('common.edit') }}
+
@@ -131,8 +137,8 @@
ref="dataForm"
:rules="rules"
:model="temp"
- label-position="left"
- label-width="110px"
+ style="width: 500px; margin-left: 50px"
+ label-width="120px"
>
@@ -160,7 +166,7 @@
@@ -283,19 +289,27 @@ export default {
},
fetchData() {
if (!this.listQuery.mark) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this. $t('frameworkThreadPool.threadPoolType') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('frameworkThreadPool.threadPoolType') }),
+ );
return;
}
if (!this.listQuery.tenantId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }),
+ );
return;
}
if (!this.listQuery.itemId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }),
+ );
return;
}
if (!this.listQuery.threadPoolKey) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this. $t('frameworkThreadPool.threadPoolID') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('frameworkThreadPool.threadPoolID') }),
+ );
return;
}
this.listLoading = true;
diff --git a/hippo4j-ui/src/views/hippo4j/other/rabbitmq-stream/index.vue b/hippo4j-ui/src/views/hippo4j/other/rabbitmq-stream/index.vue
index 14b72fc9..265e77d8 100755
--- a/hippo4j-ui/src/views/hippo4j/other/rabbitmq-stream/index.vue
+++ b/hippo4j-ui/src/views/hippo4j/other/rabbitmq-stream/index.vue
@@ -110,7 +110,11 @@
{{ scope.row.queueCapacity }}
-->
-
+
- {{ $t('common.edit') }}
+
+ {{ $t('common.edit') }}
+
@@ -130,8 +136,8 @@
ref="dataForm"
:rules="rules"
:model="temp"
- label-position="left"
- label-width="110px"
+ style="width: 500px; margin-left: 50px"
+ label-width="120px"
>
@@ -159,7 +165,7 @@
@@ -282,19 +288,27 @@ export default {
},
fetchData() {
if (!this.listQuery.mark) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this. $t('frameworkThreadPool.threadPoolType') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('frameworkThreadPool.threadPoolType') }),
+ );
return;
}
if (!this.listQuery.tenantId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }),
+ );
return;
}
if (!this.listQuery.itemId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }),
+ );
return;
}
if (!this.listQuery.threadPoolKey) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this. $t('frameworkThreadPool.threadPoolID') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('frameworkThreadPool.threadPoolID') }),
+ );
return;
}
this.listLoading = true;
diff --git a/hippo4j-ui/src/views/hippo4j/other/rabbitmq/index.vue b/hippo4j-ui/src/views/hippo4j/other/rabbitmq/index.vue
index adf993e9..50613f72 100755
--- a/hippo4j-ui/src/views/hippo4j/other/rabbitmq/index.vue
+++ b/hippo4j-ui/src/views/hippo4j/other/rabbitmq/index.vue
@@ -110,7 +110,11 @@
{{ scope.row.queueCapacity }}
-->
-
+
- {{ $t('common.edit') }}
+
+ {{ $t('common.edit') }}
+
@@ -131,8 +137,8 @@
ref="dataForm"
:rules="rules"
:model="temp"
- label-position="left"
- label-width="110px"
+ style="width: 500px; margin-left: 50px"
+ label-width="120px"
>
@@ -160,7 +166,7 @@
@@ -283,19 +289,27 @@ export default {
},
fetchData() {
if (!this.listQuery.mark) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this. $t('frameworkThreadPool.threadPoolType') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('frameworkThreadPool.threadPoolType') }),
+ );
return;
}
if (!this.listQuery.tenantId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }),
+ );
return;
}
if (!this.listQuery.itemId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }),
+ );
return;
}
if (!this.listQuery.threadPoolKey) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this. $t('frameworkThreadPool.threadPoolID') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('frameworkThreadPool.threadPoolID') }),
+ );
return;
}
this.listLoading = true;
diff --git a/hippo4j-ui/src/views/hippo4j/other/rocketmq-stream/index.vue b/hippo4j-ui/src/views/hippo4j/other/rocketmq-stream/index.vue
index 5bea453b..d08f9a2e 100755
--- a/hippo4j-ui/src/views/hippo4j/other/rocketmq-stream/index.vue
+++ b/hippo4j-ui/src/views/hippo4j/other/rocketmq-stream/index.vue
@@ -110,7 +110,11 @@
{{ scope.row.queueCapacity }}
-->
-
+
- {{ $t('common.edit') }}
+
+ {{ $t('common.edit') }}
+
@@ -130,8 +136,8 @@
ref="dataForm"
:rules="rules"
:model="temp"
- label-position="left"
- label-width="110px"
+ style="width: 500px; margin-left: 50px"
+ label-width="120px"
>
@@ -159,7 +165,7 @@
@@ -282,19 +288,27 @@ export default {
},
fetchData() {
if (!this.listQuery.mark) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this. $t('frameworkThreadPool.threadPoolType') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('frameworkThreadPool.threadPoolType') }),
+ );
return;
}
if (!this.listQuery.tenantId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }),
+ );
return;
}
if (!this.listQuery.itemId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }),
+ );
return;
}
if (!this.listQuery.threadPoolKey) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this. $t('frameworkThreadPool.threadPoolID') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('frameworkThreadPool.threadPoolID') }),
+ );
return;
}
this.listLoading = true;
diff --git a/hippo4j-ui/src/views/hippo4j/other/rocketmq/index.vue b/hippo4j-ui/src/views/hippo4j/other/rocketmq/index.vue
index a37fd516..381d5a0e 100755
--- a/hippo4j-ui/src/views/hippo4j/other/rocketmq/index.vue
+++ b/hippo4j-ui/src/views/hippo4j/other/rocketmq/index.vue
@@ -110,7 +110,11 @@
{{ scope.row.queueCapacity }}
-->
-
+
- {{ $t('common.edit') }}
+
+ {{ $t('common.edit') }}
+
@@ -131,8 +137,8 @@
ref="dataForm"
:rules="rules"
:model="temp"
- label-position="left"
- label-width="110px"
+ style="width: 500px; margin-left: 50px"
+ label-width="120px"
>
@@ -160,7 +166,7 @@
@@ -283,19 +289,27 @@ export default {
},
fetchData() {
if (!this.listQuery.mark) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this. $t('frameworkThreadPool.threadPoolType') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('frameworkThreadPool.threadPoolType') }),
+ );
return;
}
if (!this.listQuery.tenantId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }),
+ );
return;
}
if (!this.listQuery.itemId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }),
+ );
return;
}
if (!this.listQuery.threadPoolKey) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this. $t('frameworkThreadPool.threadPoolID') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('frameworkThreadPool.threadPoolID') }),
+ );
return;
}
this.listLoading = true;
diff --git a/hippo4j-ui/src/views/hippo4j/server/jetty/index.vue b/hippo4j-ui/src/views/hippo4j/server/jetty/index.vue
index 487ceac0..c5cb6094 100755
--- a/hippo4j-ui/src/views/hippo4j/server/jetty/index.vue
+++ b/hippo4j-ui/src/views/hippo4j/server/jetty/index.vue
@@ -95,8 +95,12 @@
class-name="small-padding fixed-width"
>
- {{ $t('common.detail') }}
- {{ $t('common.edit') }}
+
+ {{ $t('common.detail') }}
+
+ {{ $t('common.edit') }}
+
@@ -106,7 +110,13 @@
width="1000px"
>
-
+
{{ $t('threadPoolInstance.CurrentLoad') }}
{{ runTimeTemp.currentLoad }}
@@ -126,7 +136,13 @@
-
+
{{ $t('threadPool.coreSize') }}
{{ runTimeTemp.coreSize }}
@@ -150,7 +166,13 @@
-
+
{{ $t('threadPool.queueCapacity') }}
{{ runTimeTemp.queueCapacity }}
@@ -160,7 +182,9 @@
{{ runTimeTemp.queueSize }}
- {{ $t('threadPoolInstance.queueRemainingCapacity') }}
+
+ {{ $t('threadPoolInstance.queueRemainingCapacity') }}
+
{{ runTimeTemp.queueRemainingCapacity }}
@@ -170,7 +194,13 @@
-
+
{{ $t('threadPoolInstance.totalTask') }}
{{ runTimeTemp.completedTaskCount }}
@@ -201,8 +231,8 @@
ref="dataForm"
:rules="rules"
:model="temp"
- label-position="left"
- label-width="110px"
+ style="width: 500px; margin-left: 50px"
+ label-width="120px"
>
@@ -230,7 +260,7 @@
@@ -350,11 +380,15 @@ export default {
},
fetchData() {
if (!this.listQuery.tenantId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }),
+ );
return;
}
if (!this.listQuery.itemId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }),
+ );
return;
}
this.listLoading = true;
diff --git a/hippo4j-ui/src/views/hippo4j/server/tomcat/index.vue b/hippo4j-ui/src/views/hippo4j/server/tomcat/index.vue
index b62d904f..b6ab0cf6 100755
--- a/hippo4j-ui/src/views/hippo4j/server/tomcat/index.vue
+++ b/hippo4j-ui/src/views/hippo4j/server/tomcat/index.vue
@@ -95,8 +95,12 @@
class-name="small-padding fixed-width"
>
- {{ $t('common.detail') }}
- {{ $t('common.edit') }}
+
+ {{ $t('common.detail') }}
+
+
+ {{ $t('common.edit') }}
+
@@ -106,7 +110,13 @@
width="1000px"
>
-
+
{{ $t('threadPoolInstance.CurrentLoad') }}
{{ runTimeTemp.currentLoad }}
@@ -126,7 +136,13 @@
-
+
{{ $t('threadPool.coreSize') }}
{{ runTimeTemp.coreSize }}
@@ -150,7 +166,13 @@
-
+
{{ $t('threadPool.queueCapacity') }}
{{ runTimeTemp.queueCapacity }}
@@ -160,7 +182,9 @@
{{ runTimeTemp.queueSize }}
- {{ $t('threadPoolInstance.queueRemainingCapacity') }}
+
+ {{ $t('threadPoolInstance.queueRemainingCapacity') }}
+
{{ runTimeTemp.queueRemainingCapacity }}
@@ -170,7 +194,13 @@
-
+
{{ $t('threadPoolInstance.totalTask') }}
{{ runTimeTemp.completedTaskCount }}
@@ -201,8 +231,8 @@
ref="dataForm"
:rules="rules"
:model="temp"
- label-position="left"
- label-width="110px"
+ style="width: 500px; margin-left: 50px"
+ label-width="120px"
>
@@ -240,7 +270,7 @@
@@ -272,7 +302,7 @@ export default {
UAT: 'warning',
PROD: 'danger',
};
- return statusMap[status]
+ return statusMap[status];
},
},
data() {
@@ -360,11 +390,15 @@ export default {
},
fetchData() {
if (!this.listQuery.tenantId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }),
+ );
return;
}
if (!this.listQuery.itemId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }),
+ );
return;
}
this.listLoading = true;
diff --git a/hippo4j-ui/src/views/hippo4j/server/undertow/index.vue b/hippo4j-ui/src/views/hippo4j/server/undertow/index.vue
index 840af455..f0c8f8aa 100755
--- a/hippo4j-ui/src/views/hippo4j/server/undertow/index.vue
+++ b/hippo4j-ui/src/views/hippo4j/server/undertow/index.vue
@@ -95,8 +95,12 @@
class-name="small-padding fixed-width"
>
- {{ $t('common.detail') }}
- {{ $t('common.edit') }}
+
+ {{ $t('common.detail') }}
+
+
+ {{ $t('common.edit') }}
+
@@ -106,7 +110,13 @@
width="1000px"
>
-
+
{{ $t('threadPoolInstance.CurrentLoad') }}
{{ runTimeTemp.currentLoad }}
@@ -126,7 +136,13 @@
-
+
{{ $t('threadPool.coreSize') }}
{{ runTimeTemp.coreSize }}
@@ -150,7 +166,13 @@
-
+
{{ $t('threadPool.queueCapacity') }}
{{ runTimeTemp.queueCapacity }}
@@ -160,7 +182,9 @@
{{ runTimeTemp.queueSize }}
- {{ $t('threadPoolInstance.queueRemainingCapacity') }}
+
+ {{ $t('threadPoolInstance.queueRemainingCapacity') }}
+
{{ runTimeTemp.queueRemainingCapacity }}
@@ -170,7 +194,13 @@
-
+
{{ $t('threadPoolInstance.totalTask') }}
{{ runTimeTemp.completedTaskCount }}
@@ -201,8 +231,8 @@
ref="dataForm"
:rules="rules"
:model="temp"
- label-position="left"
- label-width="110px"
+ style="width: 500px; margin-left: 50px"
+ label-width="120px"
>
@@ -240,7 +270,7 @@
@@ -360,11 +390,15 @@ export default {
},
fetchData() {
if (!this.listQuery.tenantId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('tenantManage.tenant') }),
+ );
return;
}
if (!this.listQuery.itemId) {
- this.$message.warning(this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }));
+ this.$message.warning(
+ this.$t('message.emptyWarning', { name: this.$t('projectManage.item') }),
+ );
return;
}
this.listLoading = true;
diff --git a/hippo4j-ui/src/views/hippo4j/tenant/index.vue b/hippo4j-ui/src/views/hippo4j/tenant/index.vue
index c484bc62..d47f4824 100755
--- a/hippo4j-ui/src/views/hippo4j/tenant/index.vue
+++ b/hippo4j-ui/src/views/hippo4j/tenant/index.vue
@@ -25,7 +25,7 @@
icon="el-icon-edit"
@click="handleCreate"
>
- {{ $t('common.insert') }}
+ {{ $t('common.insert') }}
{{ scope.row.gmtModified }}
-
+
{{ $t('common.edit') }}
@@ -75,12 +79,12 @@
@pagination="fetchData"
/>
-
+
@@ -88,14 +92,13 @@
v-model="temp.tenantId"
:disabled="dialogStatus === 'create' ? false : true"
:placeholder="$t('tenantManage.tenant')"
- style="width: 40%"
/>
-
+
-
+
@@ -120,7 +122,9 @@
@@ -170,14 +174,18 @@ export default {
dialogFormVisible: false,
dialogStatus: '',
textMap: {
- update: this.$t('common.edit'),
- create: this.$t('common.create'),
+ update: 'Edit',
+ create: 'Create',
},
rules: {
tenantId: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
- tenantName: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
+ tenantName: [
+ { required: true, message: this.$t('message.requiredError'), trigger: 'blur' },
+ ],
owner: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
- tenantDesc: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
+ tenantDesc: [
+ { required: true, message: this.$t('message.requiredError'), trigger: 'blur' },
+ ],
},
temp: {
id: undefined,
diff --git a/hippo4j-ui/src/views/hippo4j/threadpool/index.vue b/hippo4j-ui/src/views/hippo4j/threadpool/index.vue
index 98099c81..087ffd2c 100755
--- a/hippo4j-ui/src/views/hippo4j/threadpool/index.vue
+++ b/hippo4j-ui/src/views/hippo4j/threadpool/index.vue
@@ -91,7 +91,10 @@
{{ scope.row.coreSize }}
-
+
{{ scope.row.maxSize }}
@@ -99,13 +102,19 @@
{{ scope.row.queueType | queueFilter }}
-
+
{{ scope.row.capacity }}
{{ scope.row.rejectedType | rejectedTypeFilter }}
-
+
{{
scope.row.executeTimeOut | defaultExecuteTimeoutValue
}}
@@ -198,12 +207,12 @@
-
+
-
+
@@ -465,8 +480,8 @@ export default {
size: 500,
dialogStatus: '',
textMap: {
- update: this.$t('common.edit'),
- create: this.$t('common.create'),
+ update: 'Edit',
+ create: 'Create',
},
rules: {
tenantId: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
@@ -487,14 +502,26 @@ export default {
// },
],
queueType: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
- allowCoreThreadTimeOut: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
- keepAliveTime: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
+ allowCoreThreadTimeOut: [
+ { required: true, message: this.$t('message.requiredError'), trigger: 'blur' },
+ ],
+ keepAliveTime: [
+ { required: true, message: this.$t('message.requiredError'), trigger: 'blur' },
+ ],
isAlarm: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
- capacityAlarm: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
- livenessAlarm: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
- rejectedType: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
+ capacityAlarm: [
+ { required: true, message: this.$t('message.requiredError'), trigger: 'blur' },
+ ],
+ livenessAlarm: [
+ { required: true, message: this.$t('message.requiredError'), trigger: 'blur' },
+ ],
+ rejectedType: [
+ { required: true, message: this.$t('message.requiredError'), trigger: 'blur' },
+ ],
capacity: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
- executeTimeOut: [{ required: true, message: this.$t('message.requiredError'), trigger: 'blur' }],
+ executeTimeOut: [
+ { required: true, message: this.$t('message.requiredError'), trigger: 'blur' },
+ ],
},
temp: {
id: undefined,
diff --git a/hippo4j-ui/src/views/hippo4j/verify/index.vue b/hippo4j-ui/src/views/hippo4j/verify/index.vue
index c9aa7ac1..b10bd8f7 100644
--- a/hippo4j-ui/src/views/hippo4j/verify/index.vue
+++ b/hippo4j-ui/src/views/hippo4j/verify/index.vue
@@ -73,7 +73,7 @@
{{ scope.row.identify || '-' }}
-
+
{{ scope.row.type | modifyTypeFilter(that) }}
@@ -87,7 +87,9 @@
{{ scope.row.modifyUser }}
- {{ scope.row.verifyStatus | verifyStatusFilter(that) }}
+ {{
+ scope.row.verifyStatus | verifyStatusFilter(that)
+ }}
{{ scope.row.verifyUser }}
@@ -106,7 +108,9 @@
class-name="small-padding fixed-width"
>
- {{$t('common.audit')}}
+
+ {{ $t('common.audit') }}
+
@@ -122,9 +126,9 @@
{{ detailInfo.corePoolSize }}
@@ -333,9 +337,9 @@ export default {
},
enableFilter(type, that) {
if (1 == type) {
- return that.$t('common.yes');
+ return that.$t('common.yes');
} else if (0 == type) {
- return that.$t('common.no')
+ return that.$t('common.no');
}
},
alarmFilter(type) {
@@ -380,9 +384,9 @@ export default {
}
},
modifyTypeFilter(type, that) {
- console.log(that)
+ console.log(that);
if (1 == type) {
- return that.$t('threadPoolAudit.manage')
+ return that.$t('threadPoolAudit.manage');
} else if (2 == type) {
return that.$t('threadPoolAudit.instance');
} else if (3 == type) {
@@ -393,7 +397,7 @@ export default {
},
verifyStatusFilter(type, that) {
if (0 == type) {
- return that.$t('threadPoolAudit.unaudited')
+ return that.$t('threadPoolAudit.unaudited');
} else if (1 == type) {
return that.$t('threadPoolAudit.auditApproved');
} else if (2 == type) {
@@ -482,7 +486,7 @@ export default {
},
visible: true,
// filters中无法使用this来调用$t,通过参数that传入filters中
- that: this
+ that: this,
};
},
created() {