Skip to content

Commit

Permalink
Merge pull request #6892 from ioito/hotfix/qx-remove-useless-code-0705
Browse files Browse the repository at this point in the history
fix: remove useless code
  • Loading branch information
GuoLiBin6 committed Jul 10, 2024
2 parents b7e2db3 + 68460d3 commit 118daaa
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 214 deletions.
2 changes: 0 additions & 2 deletions containers/Cloudenv/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
"cloudenv.cloudgroup_delete_tip": "Delete@:dictionary.cloudgroup",
"cloudenv.coludgroup_text001": "Cloud Users",
"cloudenv.coludgroup_text002": "Delete cloud users",
"cloudenv.coludgroup_text003": "Delete cache",
"cloudenv.coludgroup_text004": "Permission group cache",
"cloudenv.coludgroup_text005": "Number of Permissions",
"cloudenv.coludgroup_text006": "Number of Users",
"cloudenv.clouduser_list_t1": "Username",
Expand Down
2 changes: 0 additions & 2 deletions containers/Cloudenv/locales/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
"cloudenv.cloudgroup_delete_tip": "削除@:dictionary.cloudgroup",
"cloudenv.coludgroup_text001": "クラウドユーザー",
"cloudenv.coludgroup_text002": "クラウドユーザーの削除",
"cloudenv.coludgroup_text003": "キャッシュの削除",
"cloudenv.coludgroup_text004": "権限グループキャッシュ",
"cloudenv.coludgroup_text005": "権限の数",
"cloudenv.coludgroup_text006": "ユーザーの数",
"cloudenv.clouduser_list_t1": "ユーザー名",
Expand Down
2 changes: 0 additions & 2 deletions containers/Cloudenv/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
"cloudenv.cloudgroup_delete_tip": "删除@:dictionary.cloudgroup",
"cloudenv.coludgroup_text001": "云用户",
"cloudenv.coludgroup_text002": "删除云用户",
"cloudenv.coludgroup_text003": "删除缓存",
"cloudenv.coludgroup_text004": "权限组缓存",
"cloudenv.coludgroup_text005": "权限数量",
"cloudenv.coludgroup_text006": "用户数量",
"cloudenv.clouduser_list_t1": "用户名",
Expand Down
127 changes: 0 additions & 127 deletions containers/Compute/views/secgroup/sidepage/Cache.vue

This file was deleted.

7 changes: 0 additions & 7 deletions containers/Compute/views/secgroup/sidepage/Detail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,6 @@ export default {
},
hidden: () => this.hiddenColumns.includes('guest_cnt'),
},
// {
// field: 'cache_cnt',
// title: this.$t('compute.text_1030'),
// formatter: ({ row }) => {
// return <a onClick={ () => this.$emit('tab-change', 'cache-list') }>{row.cache_cnt}</a>
// },
// },
getRegionTableColumn(),
getCopyWithContentTableColumn({
field: 'vpc',
Expand Down
3 changes: 0 additions & 3 deletions containers/Compute/views/secgroup/sidepage/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import AssociatedInstances from './AssociatedInstances'
import SecgroupDetail from './Detail'
import InDirection from './InDirection'
import OutDirection from './OutDirection'
// import CacheList from './Cache'
export default {
name: 'SecGroupSidePage',
Expand All @@ -47,7 +46,6 @@ export default {
Actions,
OutDirection,
InDirection,
// CacheList,
AssociatedInstances,
},
mixins: [SidePageMixin, WindowsMixin, ColumnsMixin, SingleActionsMixin],
Expand All @@ -57,7 +55,6 @@ export default {
{ label: this.$t('compute.text_993'), key: 'in-direction' },
{ label: this.$t('compute.text_994'), key: 'out-direction' },
{ label: this.$t('compute.associated_instances'), key: 'associated-instances' },
// { label: this.$t('compute.text_692'), key: 'cache-list' },
{ label: this.$t('compute.text_240'), key: 'event-drawer' },
]
if (this.params.hiddenSidepageTabs && this.params.hiddenSidepageTabs.includes('associated-instances')) {
Expand Down
6 changes: 0 additions & 6 deletions src/constants/expectStatus.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,6 @@ export default {
info: 'unknown',
success: ['available'],
},
cloudgroupcache: {
success: ['available'],
},
commonalert: {
info: [],
success: ['ready'],
Expand Down Expand Up @@ -410,9 +407,6 @@ export default {
success: ['ok', 'silent'],
danger: [''],
},
dnszonecache: {
success: ['available'],
},
alertresource: {
success: [],
danger: ['alerted'],
Expand Down
2 changes: 0 additions & 2 deletions src/constants/permission.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ export const PERMISSION = {
lb_loadbalancercertificates_perform_set_user_metadata: ['compute', 'loadbalancercertificates', 'perform', 'set-user-metadata'],
lb_loadbalancercertificates_change_owner: ['compute', 'loadbalancercertificates', 'perform', 'change-owner'],
lb_loadbalancercertificates_perform_public: ['compute', 'loadbalancercertificates', 'perform', 'public'],
// 证书缓存
cachedloadbalancercertificates_delete: ['compute', 'cachedloadbalancercertificates', 'delete'],
// 负载均衡集群
lb_loadbalancerclusters_list: ['compute', 'loadbalancerclusters', 'list'],
lb_loadbalancerclusters_delete: ['compute', 'loadbalancerclusters', 'delete'],
Expand Down
21 changes: 0 additions & 21 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -881,15 +881,6 @@
"reset_password": "Resetting password",
"reset_password_failed": "Failed to reset password"
},
"cloudgroupcache": {
"available": "Available",
"creating": "Creating",
"create_failed": "Create failed",
"deleting": "Deleting",
"delete_failed": "Deletion failed",
"sync_status": "Syncing status",
"unknown": "Unknown"
},
"commonalert": {
"init": "Created",
"ready": "Available",
Expand Down Expand Up @@ -947,14 +938,6 @@
"silent": "Muted",
"shield": "Shielded"
},
"dnszonecache": {
"init": "Initialize",
"deleting": "Deleting",
"delete_failed": "Deletion failed",
"creating": "Creating",
"create_failed": "Create failed",
"available": "available"
},
"alertresource": {
"alerted": "alerted"
},
Expand Down Expand Up @@ -2610,7 +2593,6 @@
"loadbalancerbackend": "Load Balance-Backend Server",
"loadbalancerbackendgroup": "Load Balance-Backend Server Group",
"loadbalancercertificate": "Load Balance-Certificate",
"cachedloadbalancercertificates": "Load Balance-Certificate-Cache",
"loadbalancerlistener": "Load Balancer Listener",
"loadbalancerlistenerrule": "Load Balance-Forwarding Strategy",
"loadbalancercluster": "Load Balance-Cluster",
Expand Down Expand Up @@ -2644,7 +2626,6 @@
"schedpolicie": "Scheduling Policy",
"schedtag": "Scheduler Tag",
"secgroup": "Security Group",
"secgroupcache": "Security Group Cache",
"secgrouprule": "Security Group Rule",
"server": "Server",
"serverip": "Server IP",
Expand Down Expand Up @@ -2689,7 +2670,6 @@
"cloudgroup": "Cloud User Groups",
"cloudusergroup": "Groups",
"clouduser": "Cloud Users",
"cloudgroupcache": "Permission group cache",
"cloudpolicy": "Cloud Permission",
"commonalert": "Policies",
"monitorresourcealerts": "Shielding Resources",
Expand Down Expand Up @@ -2735,7 +2715,6 @@
"filesystem": "File System",
"access_group": "Access Group",
"access_group_rule": "Access Group Rule",
"access_group_cache": "Access Group Cache",
"mount_target": "Mount Target",
"waf_instance": "WAF Strategy",
"message_queue": "Message Queue",
Expand Down
21 changes: 0 additions & 21 deletions src/locales/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -890,15 +890,6 @@
"reset_password": "パスワードのリセット",
"reset_password_failed": "パスワードのリセットに失敗しました"
},
"cloudgroupcache": {
"available": "利用できる",
"creating": "作成",
"create_failed": "作成に失敗しました",
"deleting": "削除",
"delete_failed": "削除に失敗しました",
"sync_status": "同期ステータス",
"unknown": "不明"
},
"commonalert": {
"init": "作成",
"ready": "利用できる",
Expand Down Expand Up @@ -956,14 +947,6 @@
"silent": "収束",
"shield": "ブロック"
},
"dnszonecache": {
"init": "初期化する",
"deleting": "削除",
"delete_failed": "削除に失敗しました",
"creating": "作成",
"create_failed": "作成に失敗しました",
"available": "利用できる"
},
"alertresource": {
"alerted": "アラームが発生しました"
},
Expand Down Expand Up @@ -2624,7 +2607,6 @@
"loadbalancerbackend": "負荷分散 - バックエンド サーバー",
"loadbalancerbackendgroup": "負荷分散 - バックエンド サーバー グループ",
"loadbalancercertificate": "負荷分散 - 証明書",
"cachedloadbalancercertificates": "負荷分散証明書キャッシュ",
"loadbalancerlistener": "負荷分散 - リスニング",
"loadbalancerlistenerrule": "負荷分散転送ポリシー",
"loadbalancercluster": "負荷分散 - クラスタリング",
Expand Down Expand Up @@ -2658,7 +2640,6 @@
"schedpolicie": "スケジューリング・ポリシー",
"schedtag": "ラベルのスケジュール設定",
"secgroup": "セキュリティ グループ",
"secgroupcache": "セキュリティグループのキャッシュ",
"secgrouprule": "セキュリティグループのルール",
"server": "仮想マシン",
"serverip": "仮想マシンの IP",
Expand Down Expand Up @@ -2703,7 +2684,6 @@
"cloudgroup": "クラウドユーザーグループ",
"cloudusergroup": "クラウドユーザーグループ",
"clouduser": "クラウドユーザー",
"cloudgroupcache": "アクセス許可グループのキャッシュ",
"cloudpolicy": "クラウドのアクセス許可",
"commonalert": "アラートポリシー",
"monitorresourcealerts": "リソースのマスキング",
Expand Down Expand Up @@ -2749,7 +2729,6 @@
"filesystem": "ファイルシステム",
"access_group": "NAS 権限グループ",
"access_group_rule": "NAS 権限グループのルール",
"access_group_cache": "NAS 権限グループのキャッシュ",
"mount_target": "NAS マウント ポイント",
"waf_instance": "WAF ポリシー",
"waf": "WAF ポリシー",
Expand Down
Loading

0 comments on commit 118daaa

Please sign in to comment.