2020-10-28 20:00:27 +08:00
{$layout "layout_popup"}
< h3 > 选择分组< / h3 >
2020-11-10 12:47:24 +08:00
< form method = "post" class = "ui form" data-tea-action = "$" data-tea-success = "success" >
2020-10-28 20:00:27 +08:00
< input type = "hidden" name = "groupId" :value = "groupId" / >
< table class = "ui table definition selectable" >
< tr >
< td class = "title" > 选择分组< / td >
< td >
< div v-if = "groups.length > 0" >
2020-12-10 16:11:41 +08:00
< a href = "" class = "ui label small basic" v-for = "group in groups" :class = "{blue:group.id == groupId}" style = "margin-bottom:0.5em" @ click . prevent = "selectGroup(group)" > {{group.name}}< / a >
2020-10-28 20:00:27 +08:00
< p class = "comment" > 点击可已选中要使用的分组。< / p >
< / div >
< div v-else >
2021-01-31 16:03:52 +08:00
< p class = "comment" > 当前集群下暂时还没有可以使用的分组。< / p >
2020-10-28 20:00:27 +08:00
< / div >
< / td >
< / tr >
< / table >
< submit-btn > 确定< / submit-btn >
< / form >