Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit 7f16b76

Browse files
committed
修改 远程服务字样到守护进程
1 parent b9f5bd0 commit 7f16b76

File tree

9 files changed

+28
-28
lines changed

9 files changed

+28
-28
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mcsmanager-ui",
3-
"version": "1.5.0",
3+
"version": "1.6.0",
44
"scripts": {
55
"serve": "vue-cli-service serve",
66
"build": "vue-cli-service build",

src/app/router.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const routes = [
102102
},
103103
{
104104
path: "/container",
105-
name: "远程服务环境",
105+
name: "服务环境",
106106
component: Container
107107
},
108108
{

src/app/views/ImageManager.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
</Panel>
4444

4545
<Panel>
46-
<template #title>远程服务镜像列表</template>
46+
<template #title>远程主机镜像列表</template>
4747
<template #default>
4848
<el-table :data="images" stripe style="width: 100%" size="small">
4949
<el-table-column label="ID">
@@ -70,7 +70,7 @@
7070
</Panel>
7171

7272
<Panel>
73-
<template #title>远程服务容器列表</template>
73+
<template #title>远程主机容器列表</template>
7474
<template #default>
7575
<el-table :data="containers" stripe style="width: 100%" size="small">
7676
<el-table-column prop="Command" label="ID">

src/app/views/Instances.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
style="width: 320px"
3737
v-model="currentRemoteUuid"
3838
filterable
39-
placeholder="请选择远程服务地址"
39+
placeholder="请选择远程守护进程地址"
4040
size="small"
4141
@change="remoteSelectHandle"
4242
>
@@ -87,7 +87,7 @@
8787
<div class="instance-table-warpper">
8888
<div>
8989
<p class="color-red" v-if="!currentRemoteUuid">
90-
未选择任何远程服务,请通过这里选择一个地址。若没有任何可选项,请前往“分布式服务”界面进行设置
90+
未选择任何远程守护进程,请通过这里选择一个地址。若没有任何可选项,请前往“分布式服务”界面进行设置
9191
</p>
9292
</div>
9393
<div>
@@ -193,7 +193,7 @@ export default {
193193
multipleSelection: [], // 表格多选属性
194194
startedInstance: 0,
195195
loading: true,
196-
availableService: [], // 可用和不可用远程服务列表
196+
availableService: [], // 可用和不可用守护进程列表
197197
unavailableService: [],
198198
199199
page: 1,
@@ -251,10 +251,10 @@ export default {
251251
this.remoteSelectHandle();
252252
}
253253
},
254-
// 获取分布式服务具体实例列表
254+
// 获取守护进程具体实例列表
255255
async remoteSelectHandle() {
256256
try {
257-
if (!this.currentRemoteUuid) throw new Error("还未选择远程服务器");
257+
if (!this.currentRemoteUuid) throw new Error("还未选择远程守护进程");
258258
this.startedInstance = 0;
259259
this.instances = [];
260260
this.loading = true;
@@ -287,11 +287,11 @@ export default {
287287
});
288288
});
289289
this.loading = false;
290-
// 记录当前选择的远程服务,方便下次直接加载
290+
// 记录当前选择的守护进程,方便下次直接加载
291291
localStorage.setItem("pageSelectedRemoteUuid", this.currentRemoteUuid);
292292
} catch (error) {
293293
this.$notify({
294-
title: "访问远程服务异常",
294+
title: "访问远程守护进程异常",
295295
message: error.toString(),
296296
type: "error"
297297
});
@@ -319,7 +319,7 @@ export default {
319319
},
320320
toNewInstance() {
321321
if (!this.currentRemoteUuid) {
322-
return this.$message({ type: "info", message: "请先在左侧下拉框中选择远程服务" });
322+
return this.$message({ type: "info", message: "请先在左侧下拉框中选择守护进程" });
323323
}
324324
router.push({ path: `/new_instace/${this.currentRemoteUuid}` });
325325
},

src/app/views/Overview.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<template #title>分布式服务总览</template>
6565
<template #default>
6666
<p>
67-
确保所有远程服务均在线,离线状态将导致此远程服务以及相关功能不可用,可能会影响使用体验与数据。
67+
确保所有守护进程均在线,离线状态将导致此守护进程以及相关功能不可用,可能会影响使用体验与数据。
6868
<br />
6969
面板端 {{ panelVersion }} 所需最低守护进程版本:{{ specifiedDaemonVersion }}
7070
</p>
@@ -331,7 +331,7 @@ export default {
331331
warn: data.record.banips > 0
332332
}
333333
];
334-
// 装载远程服务信息
334+
// 装载守护进程信息
335335
this.servicesStatus = [];
336336
for (const iterator of remote) {
337337
if (iterator.system) {

src/app/views/Services.vue

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
<template>
2929
<Panel>
30-
<template #title>远程服务管理</template>
30+
<template #title>远程守护进程管理</template>
3131
<template #default>
3232
<div class="flex flex-space-between">
3333
<ItemGroup>
@@ -43,15 +43,15 @@
4343
</template>
4444
</Panel>
4545
<Panel>
46-
<template #title>所有分布式服务总览</template>
46+
<template #title>已配置的守护进程</template>
4747
<template #default>
4848
<p>
49-
远程服务(远程主机)必须确保全部在线且互相网络畅通,面板连接需公开放行远程服务端口与配置密钥
49+
远程守护进程(在任何物理主机上)必须确保全部在线且互相网络畅通,面板连接需公开放行守护进程端口与配置密钥
5050
<br />
51-
网页需要能直接连接远程服务(上传,下载与控制台),避免使用除 localhost
51+
网页需要能直接连接远程守护进程(上传,下载与控制台),避免使用除 localhost
5252
外的局域网段任何IP,必须使用外网IP或域名进行连接。
5353
<br />
54-
面板端所需最低守护进程版本:{{ specifiedDaemonVersion }}
54+
面板端对应的守护进程版本:{{ specifiedDaemonVersion }}
5555
</p>
5656
<el-table :data="services" style="width: 100%" size="small">
5757
<el-table-column label="地址" width="170">
@@ -145,7 +145,7 @@
145145
</Panel>
146146

147147
<Dialog v-model="isNewService">
148-
<template #title>新增远程服务</template>
148+
<template #title>新增远程守护进程</template>
149149
<template #default>
150150
<div>
151151
<div class="sub-title">备注信息</div>
@@ -155,7 +155,7 @@
155155
size="small"
156156
></el-input>
157157
<div class="sub-title row-mt">
158-
<div class="sub-title-title">远程服务所在主机的IP地址</div>
158+
<div class="sub-title-title">守护进程所在主机的IP地址</div>
159159
<div class="sub-title-info">
160160
<b>必须使用外网地址</b>或 localhost 地址,否则将导致远程实例无法连接
161161
</div>
@@ -165,7 +165,7 @@
165165
placeholder="必填,列如 mcsmanager.com,43.123.211.12"
166166
size="small"
167167
></el-input>
168-
<div class="sub-title row-mt">远程服务端口</div>
168+
<div class="sub-title row-mt">守护进程端口</div>
169169
<el-input
170170
v-model="newServiceInfo.port"
171171
placeholder="必填,列如 24444"
@@ -207,7 +207,7 @@
207207
检测到您的连接IP为 :{{ newServiceInfo.ip }},似乎是一个内网地址?
208208
</div>
209209
<div class="sub-title-info">
210-
面板与远程服务端均要能够让用户访问,以此行为设计即可实现流量分流减轻中心面板端的压力。
210+
面板与守护进程端均要能够让用户访问,以此行为设计即可实现流量分流减轻中心面板端的压力。
211211
</div>
212212
</div>
213213
<div class="sub-title">
@@ -383,7 +383,7 @@ export default {
383383
},
384384
// 删除服务
385385
async deleteService(uuid) {
386-
await this.$confirm("此操作将永久删除该远程服务,是否继续?", "警告", {
386+
await this.$confirm("此操作将永久删除该守护进程,是否继续?", "警告", {
387387
confirmButtonText: "删除",
388388
cancelButtonText: "取消",
389389
type: "warning"

src/app/views/Terminal.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,10 +434,10 @@
434434
<template #default>
435435
<div class="sub-title">
436436
<p class="sub-title-title">
437-
{{ unavailableIp ? `浏览器无法连接到 ${unavailableIp}` : "浏览器无法与远程服务建立连接" }}
437+
{{ unavailableIp ? `浏览器无法连接到 ${unavailableIp}` : "浏览器无法与守护进程建立连接" }}
438438
</p>
439439
<p class="sub-title-info">
440-
<span>可能是您未开放远程服务的端口导致,或是使用了内网地址的缘故</span>
440+
<span>可能是您未开放守护进程的端口导致,或是使用了内网地址的缘故</span>
441441
</p>
442442
<div>
443443
<img

src/app/views/UserResources.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
</div>
9898
<div class="row-mt">
9999
<el-table :data="userInfo.instances" stripe style="width: 100%" size="small">
100-
<el-table-column label="远程服务节点">
100+
<el-table-column label="所属守护进程">
101101
<template #default="{ row }"> {{ row.hostIp }}({{ row.remarks }}) </template>
102102
</el-table-column>
103103
<el-table-column prop="nickname" label="实例名称" width="240"></el-table-column>

src/components/SelectInstance.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export default {
132132
},
133133
async remoteSelectHandle() {
134134
try {
135-
if (!this.selectedServiceUuid) throw new Error("还未选择远程服务器");
135+
if (!this.selectedServiceUuid) throw new Error("还未选择远程守护进程");
136136
const hostIp = this.selectedServiceUuid.split(" ")[1];
137137
const serviceUuid = this.selectedServiceUuid.split(" ")[0];
138138
this.loading = true;

0 commit comments

Comments
 (0)