Initial commit (code only without large binaries)
This commit is contained in:
12
EdgeAdmin/web/views/@default/clusters/regions/nodes.js
Normal file
12
EdgeAdmin/web/views/@default/clusters/regions/nodes.js
Normal file
@@ -0,0 +1,12 @@
|
||||
Tea.context(function () {
|
||||
this.updateNodeRegion = function (node) {
|
||||
let nodeId = node.id
|
||||
let regionId = (node.region ? node.region.id : 0)
|
||||
|
||||
teaweb.popup(Tea.url(".updateNodeRegionPopup", { nodeId: nodeId, regionId: regionId }), {
|
||||
callback: function () {
|
||||
teaweb.successRefresh("保存成功")
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user