增加健康检查定时任务/健康检查可以发送消息

This commit is contained in:
刘祥超
2020-10-20 16:45:10 +08:00
parent bd484ee3e1
commit 8fdc551ad8
5 changed files with 9 additions and 9 deletions

View File

@@ -3,8 +3,8 @@ Tea.context(function () {
this.run = function () {
teaweb.confirm("确定要对当前集群下的所有节点进行健康检查吗?", function () {
teaweb.popup("/clusters/cluster/settings/healthRun?clusterId=" + this.clusterId, {
teaweb.popup("/clusters/cluster/settings/healthRunPopup?clusterId=" + this.clusterId, {
height: "25em"
})
})
}

View File

@@ -11,7 +11,7 @@
<tr>
<th>节点</th>
<th>结果</th>
<th>耗时</th>
<th nowrap="">耗时</th>
</tr>
</thead>
<tr v-for="result in results">

View File

@@ -1,7 +1,7 @@
Tea.context(function () {
this.success = NotifyPopup
this.isRequesting = false
this.isRequesting = true
this.results = []
this.countSuccess = 0
this.countFail = 0