-
基本信息
+
{{ $t('Basic Information') }}
-
+
{{ getOwnerTypeText(selectedOwner.c_regtype) }}
-
+
{{ getRealNameStatusText(selectedOwner.r_status) }}
-
+
{{ selectedOwner.c_org_m || '-' }}
-
+
{{ getDisplayName(selectedOwner) }}
@@ -225,26 +225,26 @@
-
联系信息
+
{{ $t('Contact Information') }}
-
+
{{ selectedOwner.c_em || '-' }}
-
+
{{ selectedOwner.c_ph || '-' }}
-
+
{{ selectedOwner.c_st_m || '-' }}
-
+
{{ selectedOwner.c_ct_m || '-' }}
-
+
{{ selectedOwner.c_adr_m || '-' }}
@@ -252,14 +252,14 @@
-
证件信息
+
{{ $t('ID Information') }}
-
+
{{ getCertificateTypeName(selectedOwner.c_idtype_gswl) }}
-
+
{{ selectedOwner.c_idnum_gswl || '-' }}
@@ -274,13 +274,13 @@
@click="closeDetailDialog"
variant="outline"
>
- 关闭
+ {{ $t('Close') }}
@@ -293,7 +293,7 @@
-
编辑域名所有者
+
{{ $t('Edit Domain Owner') }}
@@ -559,29 +559,29 @@ export default {
// 获取实名认证状态文本
getRealNameStatusText(status) {
if (!status || status === '') {
- return '未实名认证';
+ return this.$t('Not Real-name Verified');
}
// 根据r_status字段判断实名认证状态
// 0: 未实名, 1: 实名成功, 2: 实名中, 3: 实名失败, 4: 认证过期, 5: 待审核
const statusMap = {
- '0': '未实名认证',
- '1': '已实名认证',
- '2': '实名认证中',
- '3': '实名认证失败',
- '4': '实名认证过期',
- '5': '待审核'
+ '0': this.$t('Not Real-name Verified'),
+ '1': this.$t('Real-name Verified'),
+ '2': this.$t('Real-name Verification in Progress'),
+ '3': this.$t('Real-name Verification Failed'),
+ '4': this.$t('Real-name Verification Expired'),
+ '5': this.$t('Pending Review')
};
- return statusMap[status] || '未实名认证';
+ return statusMap[status] || this.$t('Not Real-name Verified');
},
// 获取所有者类型文本
getOwnerTypeText(type) {
- if (!type || type === '') return '未知';
+ if (!type || type === '') return this.$t('Unknown');
const typeMap = {
- 'I': '个人',
- 'E': '企业/组织'
+ 'I': this.$t('Individual'),
+ 'E': this.$t('Enterprise/Organization')
};
- return typeMap[type] || '未知';
+ return typeMap[type] || this.$t('Unknown');
},
// 获取地址信息
@@ -597,25 +597,25 @@ export default {
getCertificateTypeName(type) {
const typeMap = {
// 字符串格式映射
- 'SFZ': '身份证',
- 'HZ': '护照',
- 'GAJMTX': '港澳居民来往内地通行证',
- 'TWJMTX': '台湾居民来往大陆通行证',
- 'WJLSFZ': '外国人永久居留身份证',
- 'GAJZZ': '港澳台居民居住证',
- 'ORG': '组织机构代码证',
- 'YYZZ': '工商营业执照',
- 'TYDM': '统一社会信用代码',
+ 'SFZ': this.$t('ID Card'),
+ 'HZ': this.$t('Passport'),
+ 'GAJMTX': this.$t('Mainland Travel Permit for Hong Kong and Macao Residents'),
+ 'TWJMTX': this.$t('Mainland Travel Permit for Taiwan Residents'),
+ 'WJLSFZ': this.$t('Permanent Residence ID Card for Foreigners'),
+ 'GAJZZ': this.$t('Residence Permit for Hong Kong, Macao and Taiwan Residents'),
+ 'ORG': this.$t('Organization Code Certificate'),
+ 'YYZZ': this.$t('Business License'),
+ 'TYDM': this.$t('Unified Social Credit Code'),
// 数字格式映射
- '1': '身份证',
- '5': '护照',
- '6': '港澳居民来往内地通行证',
- '11': '台湾居民来往大陆通行证',
- '12': '外国人永久居留身份证',
- '30': '港澳台居民居住证',
- '2': '组织机构代码证',
- '3': '工商营业执照',
- '4': '统一社会信用代码'
+ '1': this.$t('ID Card'),
+ '5': this.$t('Passport'),
+ '6': this.$t('Mainland Travel Permit for Hong Kong and Macao Residents'),
+ '11': this.$t('Mainland Travel Permit for Taiwan Residents'),
+ '12': this.$t('Permanent Residence ID Card for Foreigners'),
+ '30': this.$t('Residence Permit for Hong Kong, Macao and Taiwan Residents'),
+ '2': this.$t('Organization Code Certificate'),
+ '3': this.$t('Business License'),
+ '4': this.$t('Unified Social Credit Code')
};
return typeMap[type] || type || '-';
},
diff --git a/dashboard/src/components/JsiteDomainDNSRecords.vue b/dashboard/src/components/JsiteDomainDNSRecords.vue
index 0089b14..5e3af56 100644
--- a/dashboard/src/components/JsiteDomainDNSRecords.vue
+++ b/dashboard/src/components/JsiteDomainDNSRecords.vue
@@ -6,32 +6,32 @@
+ @click="refreshRecords"
+ :loading="$resources.dnsRecords.loading"
+ variant="outline"
+ size="sm"
+ >
+
+ {{ $t('Refresh') }}
+
+ v-if="selectedRecords.length > 0"
+ @click="batchDeleteRecords"
+ variant="outline"
+ size="sm"
+ class="text-red-600 hover:text-red-700"
+ >
+
+ {{ $t('Delete Selected') }} ({{ selectedRecords.length }})
+
+ @click="addNewRow"
+ variant="solid"
+ size="sm"
+ >
+
+ {{ $t('Add Record') }}
+