diff --git a/dashboard/src2/components/JsiteDomainOverview.vue b/dashboard/src2/components/JsiteDomainOverview.vue index 1abd346..e10b43d 100644 --- a/dashboard/src2/components/JsiteDomainOverview.vue +++ b/dashboard/src2/components/JsiteDomainOverview.vue @@ -201,7 +201,7 @@ export default { whoisProtectionLoading: false, domainOwner: null, realNameStatus: 'unverified', // 实名认证状态:verified, unverified - realNameInfo: null, // 实名认证信息 + }; }, methods: { @@ -390,8 +390,7 @@ export default { renderDialog(h(JsiteDomainRealNameInfoDialog, { domain: this.domain, - domainDoc: this.$domain.pg, - realNameInfo: this.realNameInfo + domainDoc: this.$domain.pg })); }, // 显示上传实名资料 @@ -408,34 +407,8 @@ export default { onUploadSuccess() { toast.success('实名资料上传成功!'); this.getDomainOwner(); // 重新获取域名所有者信息(包含实名认证状态) - this.getRealNameInfo(); // 重新获取实名详细信息 - }, - // 获取域名实名认证信息 - async getRealNameInfo() { - if (!this.$domain.pg?.domain) { - return; - } - - try { - const getRealNameRequest = createResource({ - url: 'jcloud.api.domain_west.get_west_domain_real_info', - params: { - domain: this.$domain.pg.domain - }, - onSuccess: (response) => { - if (response && response.status === "success" && response.data) { - this.realNameInfo = response.data; - } - }, - onError: (error) => { - console.error('获取域名实名信息失败:', error); - } - }); - getRealNameRequest.submit(); - } catch (error) { - console.error('获取域名实名信息失败:', error); - } }, + }, watch: { // 监听域名数据变化,重新获取所有者信息 @@ -483,8 +456,6 @@ export default { } else { this.realNameStatus = 'unverified'; } - // 获取域名实名认证信息 - this.getRealNameInfo(); }, }; \ No newline at end of file diff --git a/dashboard/src2/components/JsiteDomainRealNameInfoDialog.vue b/dashboard/src2/components/JsiteDomainRealNameInfoDialog.vue index fedba73..c5e741b 100644 --- a/dashboard/src2/components/JsiteDomainRealNameInfoDialog.vue +++ b/dashboard/src2/components/JsiteDomainRealNameInfoDialog.vue @@ -14,6 +14,8 @@
+ +
@@ -38,15 +40,36 @@
- - - - +
+
域名
+
{{ realNameData.domain || '未填写' }}
+
+
+
注册时间
+
{{ formatDateTime(realNameData.regdate) || '未填写' }}
+
+
+
到期时间
+
{{ formatDateTime(realNameData.rexpiredate) || '未填写' }}
+
+
+
域名状态
+
{{ getDomainStatusText(realNameData.status) || '未填写' }}
+
- - - +
+
实名状态
+
{{ getRealNameStatusText(realNameData.real_name_status?.r_status) || '未填写' }}
+
+
+
注册类型
+
{{ getRegTypeText(realNameData.c_regtype) || '未填写' }}
+
+
+
模板ID
+
{{ realNameData.c_sysid || '未填写' }}
+
@@ -63,71 +86,92 @@
- - - - - +
+
中文姓名
+
{{ getFullChineseName() || '未填写' }}
+
+ +
+
中文单位
+
{{ realNameData.owner.dom_org_m || '未填写' }}
+
+ +
+
邮箱
+
{{ realNameData.owner?.dom_em || '未填写' }}
+
- - - - - +
+
电话
+
{{ realNameData.owner?.dom_ph || '未填写' }}
+
+
+
传真
+
{{ realNameData.owner?.dom_fax || '未填写' }}
+
+
+
国家/地区
+
{{ realNameData.owner?.dom_co || '未填写' }}
+
+
+
省份
+
{{ realNameData.owner?.dom_st_m || '未填写' }}
+
+
+
城市
+
{{ realNameData.owner?.dom_ct_m || '未填写' }}
+
- - -
-
-
- - -
- - - - - - - - -
- - -
-
-

- - DNS服务器 -

-
-
-
-
-
DNS{{ index + 1 }}
-
{{ dns || '未设置' }}
+
+
地址
+
{{ realNameData.owner?.dom_adr_m || '未填写' }}
+
+
+
邮编
+
{{ realNameData.owner?.dom_pc || '未填写' }}
+ + +
+
+

+ + 实名证件信息 +

+
+
+
+
+
+
实名证件类型
+
{{ getDocumentTypeText(realNameData.orgfile.f_type) || '未填写' }}
+
+
+
实名证件号码
+
{{ realNameData.orgfile.f_code || '未填写' }}
+
+
+
+
+
证件上传时间
+
{{ formatDateTime(realNameData.orgfile.f_date) || '未填写' }}
+
+
+
证件ID
+
{{ realNameData.orgfile.f_sysid || '未填写' }}
+
+
+
+
+
+ +
@@ -135,63 +179,14 @@