From a2092c35522b640eea55aa1554fe22b72e91a282 Mon Sep 17 00:00:00 2001 From: hyunfa <1598047833@qq.com> Date: Fri, 16 Aug 2024 17:46:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20--story=3D119198632=20=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E8=8B=A5=E5=B9=B2=E9=85=8D=E7=BD=AE=E9=A1=B9=E8=B0=83?= =?UTF-8?q?=E6=95=B4=20#=20Reviewed,=20transaction=20id:=2015639?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/strategy-table.vue | 44 +++++++-------- .../components/common/strategy-template.vue | 55 ++++++++++--------- frontend/src/i18n/en.js | 2 +- frontend/src/i18n/zh.js | 2 +- frontend/src/store/modules/agent.ts | 2 +- frontend/src/store/modules/cloud.ts | 2 +- frontend/src/views/agent/agent-list.vue | 18 +++--- .../views/agent/agent-setup/agent-import.vue | 2 +- .../views/agent/agent-setup/agent-setup.vue | 2 +- .../views/agent/components/create-excel.ts | 4 +- .../src/views/agent/config/editTableConfig.ts | 26 ++++----- .../views/agent/config/importTableConfig.js | 26 ++++----- .../views/agent/config/setupTableConfig.ts | 28 +++++----- .../cloud-manager-add/cloud-manager-setup.vue | 2 +- .../cloud-detail-table.vue | 8 +-- .../components/sideslider-content-edit.vue | 6 +- .../src/views/cloud/config/netTableConfig.ts | 24 ++++---- .../views/cloud/config/proxy-detail-config.js | 14 ++--- 18 files changed, 135 insertions(+), 132 deletions(-) diff --git a/frontend/src/components/common/strategy-table.vue b/frontend/src/components/common/strategy-table.vue index 981769ea2..efcfbafb9 100644 --- a/frontend/src/components/common/strategy-table.vue +++ b/frontend/src/components/common/strategy-table.vue @@ -310,7 +310,7 @@ export default class StrategyTable extends Vue { }, { source: 'Agent', - targetAdress: 'Proxy(GSE_agent)', + targetAdress: 'Proxy(gse_agent)', protocol: 'TCP', portKey: 'io_port', use: this.$t('任务服务端口'), @@ -321,7 +321,7 @@ export default class StrategyTable extends Vue { }, { source: 'Agent', - targetAdress: 'Proxy(GSE_transit)', + targetAdress: 'Proxy(gse_data)', protocol: 'TCP', portKey: 'data_port', use: this.$t('数据上报端口'), @@ -332,7 +332,7 @@ export default class StrategyTable extends Vue { }, { source: 'Agent', - targetAdress: 'Proxy(GSE_btsvr)', + targetAdress: 'Proxy(gse_file)', protocol: 'TCP', portKey: 'file_svr_port', use: this.$t('BT传输'), @@ -343,7 +343,7 @@ export default class StrategyTable extends Vue { }, { source: 'Agent', - targetAdress: 'Proxy(GSE_btsvr)', + targetAdress: 'Proxy(gse_file)', protocol: 'TCP,UDP', portKey: 'bt_port', use: this.$t('BT传输'), @@ -354,7 +354,7 @@ export default class StrategyTable extends Vue { }, { source: 'Agent', - targetAdress: 'Proxy(GSE_btsvr)', + targetAdress: 'Proxy(gse_file)', protocol: 'UDP', portKey: 'tracker_port', use: this.$t('BT传输'), @@ -364,7 +364,7 @@ export default class StrategyTable extends Vue { targetKey: 'proxy', }, { - source: 'Proxy(GSE_btsvr)', + source: 'Proxy(gse_file)', targetAdress: 'Agent', protocol: 'TCP,UDP', portKey: 'bt_range', @@ -396,7 +396,7 @@ export default class StrategyTable extends Vue { ], Proxy: [ { - source: 'Proxy(GSE_agent)', + source: 'Proxy(gse_agent)', targetAdress: 'GSE_task', protocol: 'TCP', portKey: 'io_port', @@ -407,7 +407,7 @@ export default class StrategyTable extends Vue { targetKey: 'taskserver', }, { - source: 'Proxy(GSE_transit)', + source: 'Proxy(gse_data)', targetAdress: 'GSE_data', protocol: 'TCP', portKey: 'data_port', @@ -418,7 +418,7 @@ export default class StrategyTable extends Vue { targetKey: 'dataserver', }, { - source: 'Proxy(GSE_btsvr)', + source: 'Proxy(gse_file)', targetAdress: 'GSE_btsvr', protocol: 'TCP', portKey: 'btsvr_thrift_port', @@ -429,7 +429,7 @@ export default class StrategyTable extends Vue { targetKey: 'btfileserver', }, { - source: 'Proxy(GSE_btsvr)', + source: 'Proxy(gse_file)', targetAdress: 'GSE_btsvr', protocol: 'TCP,UDP', portKey: 'bt_port', @@ -440,7 +440,7 @@ export default class StrategyTable extends Vue { targetKey: 'btfileserver', }, { - source: 'Proxy(GSE_btsvr)', + source: 'Proxy(gse_file)', targetAdress: 'GSE_btsvr', protocol: 'UDP', portKey: 'tracker_port', @@ -452,7 +452,7 @@ export default class StrategyTable extends Vue { }, { source: 'GSE_btsvr', - targetAdress: 'Proxy(GSE_btsvr)', + targetAdress: 'Proxy(gse_file)', protocol: 'TCP', portKey: 'btsvr_thrift_port', use: this.$t('BT传输'), @@ -463,7 +463,7 @@ export default class StrategyTable extends Vue { }, { source: 'GSE_btsvr', - targetAdress: 'Proxy(GSE_btsvr)', + targetAdress: 'Proxy(gse_file)', protocol: 'TCP,UDP', portKey: 'bt_port', use: this.$t('BT传输'), @@ -474,7 +474,7 @@ export default class StrategyTable extends Vue { }, { source: 'GSE_btsvr', - targetAdress: 'Proxy(GSE_btsvr)', + targetAdress: 'Proxy(gse_file)', protocol: 'UDP', portKey: 'tracker_port', use: this.$t('BT传输'), @@ -484,8 +484,8 @@ export default class StrategyTable extends Vue { targetKey: 'agent', }, { - source: 'Proxy(GSE_btsvr)', - targetAdress: 'Proxy(GSE_btsvr)', + source: 'Proxy(gse_file)', + targetAdress: 'Proxy(gse_file)', protocol: 'TCP', portKey: 'btsvr_thrift_port', use: `${this.$t('BT传输')}${this.$t('同一子网')}`, @@ -495,8 +495,8 @@ export default class StrategyTable extends Vue { targetKey: 'agent', }, { - source: 'Proxy(GSE_btsvr)', - targetAdress: 'Proxy(GSE_btsvr)', + source: 'Proxy(gse_file)', + targetAdress: 'Proxy(gse_file)', protocol: 'TCP,UDP', portKey: 'bt_port', use: `${this.$t('BT传输')}${this.$t('同一子网')}`, @@ -506,8 +506,8 @@ export default class StrategyTable extends Vue { targetKey: 'agent', }, { - source: 'Proxy(GSE_btsvr)', - targetAdress: 'Proxy(GSE_btsvr)', + source: 'Proxy(gse_file)', + targetAdress: 'Proxy(gse_file)', protocol: 'UDP', portKey: 'tracker_port', use: `${this.$t('BT传输')}${this.$t('同一子网')}`, @@ -517,7 +517,7 @@ export default class StrategyTable extends Vue { targetKey: 'agent', }, { - source: 'Proxy(GSE_agent)', + source: 'Proxy(gse_file)', targetAdress: '', protocol: '', port: this.$t('监听随机端口'), @@ -526,7 +526,7 @@ export default class StrategyTable extends Vue { sourceKey: 'agent', }, { - source: 'Proxy(GSE_btsvr)', + source: 'Proxy(gse_file)', targetAdress: '', protocol: '', port: this.$t('监听随机端口'), diff --git a/frontend/src/components/common/strategy-template.vue b/frontend/src/components/common/strategy-template.vue index 996143482..6dd1aa20d 100644 --- a/frontend/src/components/common/strategy-template.vue +++ b/frontend/src/components/common/strategy-template.vue @@ -6,33 +6,33 @@ :key="`operation${index}`"> {{ `${ index + 1 }. ${ item }` }}
-