mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-09 08:34:02 +08:00
阶段性提交
This commit is contained in:
12
web/views/@default/clusters/cluster/node/install.js
Normal file
12
web/views/@default/clusters/cluster/node/install.js
Normal file
@@ -0,0 +1,12 @@
|
||||
Tea.context(function () {
|
||||
this.updateNodeIsInstalled = function (isInstalled) {
|
||||
teaweb.confirm("确定要将当前节点修改为未安装状态?", function () {
|
||||
this.$post("/clusters/cluster/node/updateInstallStatus")
|
||||
.params({
|
||||
nodeId: this.nodeId,
|
||||
isInstalled: isInstalled ? 1 : 0
|
||||
})
|
||||
.refresh()
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user