mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-12 19:30:26 +08:00
“服务分组”改为“网站分组”
This commit is contained in:
@@ -42,7 +42,7 @@ func (this *CreatePopupAction) RunPost(params struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 创建日志
|
// 创建日志
|
||||||
defer this.CreateLog(oplogs.LevelInfo, "创建服务分组 %d", createResp.ServerGroupId)
|
defer this.CreateLog(oplogs.LevelInfo, "创建网站分组 %d", createResp.ServerGroupId)
|
||||||
|
|
||||||
this.Success()
|
this.Success()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ func (this *DeleteAction) RunPost(params struct {
|
|||||||
GroupId int64
|
GroupId int64
|
||||||
}) {
|
}) {
|
||||||
// 创建日志
|
// 创建日志
|
||||||
defer this.CreateLog(oplogs.LevelInfo, "删除代理服务分组 %d", params.GroupId)
|
defer this.CreateLog(oplogs.LevelInfo, "删除代理网站分组 %d", params.GroupId)
|
||||||
|
|
||||||
// 检查是否正在使用
|
// 检查是否正在使用
|
||||||
countResp, err := this.RPC().ServerRPC().CountAllEnabledServersWithServerGroupId(this.AdminContext(), &pb.CountAllEnabledServersWithServerGroupIdRequest{ServerGroupId: params.GroupId})
|
countResp, err := this.RPC().ServerRPC().CountAllEnabledServersWithServerGroupId(this.AdminContext(), &pb.CountAllEnabledServersWithServerGroupIdRequest{ServerGroupId: params.GroupId})
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ func (this *UpdateAction) RunPost(params struct {
|
|||||||
Must *actions.Must
|
Must *actions.Must
|
||||||
}) {
|
}) {
|
||||||
// 创建日志
|
// 创建日志
|
||||||
defer this.CreateLog(oplogs.LevelInfo, "修改代理服务分组 %d", params.GroupId)
|
defer this.CreateLog(oplogs.LevelInfo, "修改网站分组 %d", params.GroupId)
|
||||||
|
|
||||||
params.Must.
|
params.Must.
|
||||||
Field("name", params.Name).
|
Field("name", params.Name).
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ func (this *SortAction) RunPost(params struct {
|
|||||||
GroupIds []int64
|
GroupIds []int64
|
||||||
}) {
|
}) {
|
||||||
// 创建日志
|
// 创建日志
|
||||||
defer this.CreateLog(oplogs.LevelInfo, "修改服务分组排序")
|
defer this.CreateLog(oplogs.LevelInfo, "修改网站分组排序")
|
||||||
|
|
||||||
_, err := this.RPC().ServerGroupRPC().UpdateServerGroupOrders(this.AdminContext(), &pb.UpdateServerGroupOrdersRequest{ServerGroupIds: params.GroupIds})
|
_, err := this.RPC().ServerGroupRPC().UpdateServerGroupOrders(this.AdminContext(), &pb.UpdateServerGroupOrdersRequest{ServerGroupIds: params.GroupIds})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ func FindAllMenuMaps(nodeLogsType string, countUnreadNodeLogs int64, countUnread
|
|||||||
"code": "cert",
|
"code": "cert",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "服务分组",
|
"name": "网站分组",
|
||||||
"url": "/servers/groups",
|
"url": "/servers/groups",
|
||||||
"code": "group",
|
"code": "group",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -184,7 +184,7 @@ Vue.component("http-header-policy-box", {
|
|||||||
<div v-if="((!vIsLocation && !vIsGroup) || requestHeaderRef.isPrior) && type == 'request'">
|
<div v-if="((!vIsLocation && !vIsGroup) || requestHeaderRef.isPrior) && type == 'request'">
|
||||||
<div v-if="vHasGroupRequestConfig">
|
<div v-if="vHasGroupRequestConfig">
|
||||||
<div class="margin"></div>
|
<div class="margin"></div>
|
||||||
<warning-message>由于已经在当前<a :href="vGroupSettingUrl + '#request'">服务分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
<warning-message>由于已经在当前<a :href="vGroupSettingUrl + '#request'">网站分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
||||||
</div>
|
</div>
|
||||||
<div :class="{'opacity-mask': vHasGroupRequestConfig}">
|
<div :class="{'opacity-mask': vHasGroupRequestConfig}">
|
||||||
<h4>设置请求Header <a href="" @click.prevent="addSettingHeader(vRequestHeaderPolicy.id)" style="font-size: 0.8em">[添加新Header]</a></h4>
|
<h4>设置请求Header <a href="" @click.prevent="addSettingHeader(vRequestHeaderPolicy.id)" style="font-size: 0.8em">[添加新Header]</a></h4>
|
||||||
@@ -257,7 +257,7 @@ Vue.component("http-header-policy-box", {
|
|||||||
<div v-if="((!vIsLocation && !vIsGroup) || responseHeaderRef.isPrior) && type == 'response'">
|
<div v-if="((!vIsLocation && !vIsGroup) || responseHeaderRef.isPrior) && type == 'response'">
|
||||||
<div v-if="vHasGroupResponseConfig">
|
<div v-if="vHasGroupResponseConfig">
|
||||||
<div class="margin"></div>
|
<div class="margin"></div>
|
||||||
<warning-message>由于已经在当前<a :href="vGroupSettingUrl + '#response'">服务分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
<warning-message>由于已经在当前<a :href="vGroupSettingUrl + '#response'">网站分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
||||||
</div>
|
</div>
|
||||||
<div :class="{'opacity-mask': vHasGroupResponseConfig}">
|
<div :class="{'opacity-mask': vHasGroupResponseConfig}">
|
||||||
<h4>设置响应Header <a href="" @click.prevent="addSettingHeader(vResponseHeaderPolicy.id)" style="font-size: 0.8em">[添加新Header]</a></h4>
|
<h4>设置响应Header <a href="" @click.prevent="addSettingHeader(vResponseHeaderPolicy.id)" style="font-size: 0.8em">[添加新Header]</a></h4>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="right-box with-menu">
|
<div class="right-box with-menu">
|
||||||
<div v-if="hasGroupConfig">
|
<div v-if="hasGroupConfig">
|
||||||
<div class="margin"></div>
|
<div class="margin"></div>
|
||||||
<warning-message>由于已经在当前<a :href="groupSettingURL">服务分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
<warning-message>由于已经在当前<a :href="groupSettingURL">网站分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div :class="{'opacity-mask': hasGroupConfig}">
|
<div :class="{'opacity-mask': hasGroupConfig}">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<div v-if="hasGroupConfig">
|
<div v-if="hasGroupConfig">
|
||||||
<div class="margin"></div>
|
<div class="margin"></div>
|
||||||
<warning-message>由于已经在当前<a :href="groupSettingURL">服务分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
<warning-message>由于已经在当前<a :href="groupSettingURL">网站分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div :class="{'opacity-mask': hasGroupConfig}">
|
<div :class="{'opacity-mask': hasGroupConfig}">
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="right-box with-menu">
|
<div class="right-box with-menu">
|
||||||
<div v-if="hasGroupConfig">
|
<div v-if="hasGroupConfig">
|
||||||
<div class="margin"></div>
|
<div class="margin"></div>
|
||||||
<warning-message>由于已经在当前<a :href="groupSettingURL">服务分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
<warning-message>由于已经在当前<a :href="groupSettingURL">网站分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div :class="{'opacity-mask': hasGroupConfig}">
|
<div :class="{'opacity-mask': hasGroupConfig}">
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="right-box with-menu">
|
<div class="right-box with-menu">
|
||||||
<div v-if="hasGroupConfig">
|
<div v-if="hasGroupConfig">
|
||||||
<div class="margin"></div>
|
<div class="margin"></div>
|
||||||
<warning-message>由于已经在当前<a :href="groupSettingURL">服务分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
<warning-message>由于已经在当前<a :href="groupSettingURL">网站分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div :class="{'opacity-mask': hasGroupConfig}">
|
<div :class="{'opacity-mask': hasGroupConfig}">
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="right-box with-menu">
|
<div class="right-box with-menu">
|
||||||
<div v-if="hasGroupConfig">
|
<div v-if="hasGroupConfig">
|
||||||
<div class="margin"></div>
|
<div class="margin"></div>
|
||||||
<warning-message>由于已经在当前<a :href="groupSettingURL">服务分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
<warning-message>由于已经在当前<a :href="groupSettingURL">网站分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div :class="{'opacity-mask': hasGroupConfig}">
|
<div :class="{'opacity-mask': hasGroupConfig}">
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="right-box with-menu">
|
<div class="right-box with-menu">
|
||||||
<div v-if="hasGroupConfig">
|
<div v-if="hasGroupConfig">
|
||||||
<div class="margin"></div>
|
<div class="margin"></div>
|
||||||
<warning-message>由于已经在当前<a :href="groupSettingURL">服务分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
<warning-message>由于已经在当前<a :href="groupSettingURL">网站分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div :class="{'opacity-mask': hasGroupConfig}">
|
<div :class="{'opacity-mask': hasGroupConfig}">
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="right-box with-menu">
|
<div class="right-box with-menu">
|
||||||
<div v-if="hasGroupConfig">
|
<div v-if="hasGroupConfig">
|
||||||
<div class="margin"></div>
|
<div class="margin"></div>
|
||||||
<warning-message>由于已经在当前<a :href="groupSettingURL">服务分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
<warning-message>由于已经在当前<a :href="groupSettingURL">网站分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
||||||
</div>
|
</div>
|
||||||
<div :class="{'opacity-mask': hasGroupConfig}">
|
<div :class="{'opacity-mask': hasGroupConfig}">
|
||||||
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
|
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<div v-if="hasGroupConfig">
|
<div v-if="hasGroupConfig">
|
||||||
<div class="margin"></div>
|
<div class="margin"></div>
|
||||||
<warning-message>由于已经在当前<a :href="groupSettingURL">服务分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
<warning-message>由于已经在当前<a :href="groupSettingURL">网站分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div :class="{'opacity-mask': hasGroupConfig}">
|
<div :class="{'opacity-mask': hasGroupConfig}">
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="right-box with-menu">
|
<div class="right-box with-menu">
|
||||||
<div v-if="hasGroupConfig">
|
<div v-if="hasGroupConfig">
|
||||||
<div class="margin"></div>
|
<div class="margin"></div>
|
||||||
<warning-message>由于已经在当前<a :href="groupSettingURL">服务分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
<warning-message>由于已经在当前<a :href="groupSettingURL">网站分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div :class="{'opacity-mask': hasGroupConfig}">
|
<div :class="{'opacity-mask': hasGroupConfig}">
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="right-box with-menu">
|
<div class="right-box with-menu">
|
||||||
<div v-if="hasGroupConfig">
|
<div v-if="hasGroupConfig">
|
||||||
<div class="margin"></div>
|
<div class="margin"></div>
|
||||||
<warning-message>由于已经在当前<a :href="groupSettingURL">服务分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
<warning-message>由于已经在当前<a :href="groupSettingURL">网站分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div :class="{'opacity-mask': hasGroupConfig}">
|
<div :class="{'opacity-mask': hasGroupConfig}">
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="right-box with-menu">
|
<div class="right-box with-menu">
|
||||||
<div v-if="hasGroupConfig">
|
<div v-if="hasGroupConfig">
|
||||||
<div class="margin"></div>
|
<div class="margin"></div>
|
||||||
<warning-message>由于已经在当前<a :href="groupSettingURL">服务分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
<warning-message>由于已经在当前<a :href="groupSettingURL">网站分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div :class="{'opacity-mask': hasGroupConfig}">
|
<div :class="{'opacity-mask': hasGroupConfig}">
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="right-box with-menu">
|
<div class="right-box with-menu">
|
||||||
<div v-if="hasGroupConfig">
|
<div v-if="hasGroupConfig">
|
||||||
<div class="margin"></div>
|
<div class="margin"></div>
|
||||||
<warning-message>由于已经在当前<a :href="groupSettingURL">服务分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
<warning-message>由于已经在当前<a :href="groupSettingURL">网站分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div :class="{'opacity-mask': hasGroupConfig}">
|
<div :class="{'opacity-mask': hasGroupConfig}">
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="right-box with-menu">
|
<div class="right-box with-menu">
|
||||||
<div v-if="hasGroupConfig">
|
<div v-if="hasGroupConfig">
|
||||||
<div class="margin"></div>
|
<div class="margin"></div>
|
||||||
<warning-message>由于已经在当前<a :href="groupSettingURL">服务分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
<warning-message>由于已经在当前<a :href="groupSettingURL">网站分组</a>中进行了对应的配置,在这里的配置将不会生效。</warning-message>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div :class="{'opacity-mask': hasGroupConfig}">
|
<div :class="{'opacity-mask': hasGroupConfig}">
|
||||||
|
|||||||
Reference in New Issue
Block a user