diff --git a/dashboard/src2/components/JsiteDomainOverview.vue b/dashboard/src2/components/JsiteDomainOverview.vue index 4940080..62bdfa2 100644 --- a/dashboard/src2/components/JsiteDomainOverview.vue +++ b/dashboard/src2/components/JsiteDomainOverview.vue @@ -133,6 +133,13 @@ > {{ $domain.pg.whois_protection ? '关闭隐私保护' : '开启隐私保护' }} + @@ -207,15 +214,23 @@ export default { methods: { getStatusText(status) { const statusMap = { - 'Active': '正常', - 'Expired': '已过期' + 'ok': '正常', + 'clientHold': '锁定', + 'clientUpdateProhibited': '更新锁定', + 'clientTransferProhibited': '转移锁定', + 'clientDeleteProhibited': '删除锁定', + 'clientRenewProhibited': '续费锁定' }; return statusMap[status] || status; }, getStatusVariant(status) { const variantMap = { - 'Active': 'success', - 'Expired': 'danger' + 'ok': 'success', + 'clientHold': 'danger', + 'clientUpdateProhibited': 'danger', + 'clientTransferProhibited': 'danger', + 'clientDeleteProhibited': 'danger', + 'clientRenewProhibited': 'danger' }; return variantMap[status] || 'default'; }, diff --git a/jcloud/jcloud/pagetype/domain_owner/domain_owner.json b/jcloud/jcloud/pagetype/domain_owner/domain_owner.json index 44a9070..698233a 100644 --- a/jcloud/jcloud/pagetype/domain_owner/domain_owner.json +++ b/jcloud/jcloud/pagetype/domain_owner/domain_owner.json @@ -23,6 +23,7 @@ "c_pc", "team", "r_status", + "c_status", "section_break_ssfs", "c_org_m", "c_ln_m", @@ -226,16 +227,22 @@ "label": "模板标识" }, { - "default": "0", "fieldname": "r_status", - "fieldtype": "Check", - "label": "实名认证" + "fieldtype": "Select", + "label": "实名认证", + "options": "0\n1\n2\n3\n4\n5" + }, + { + "fieldname": "c_status", + "fieldtype": "Select", + "label": "初审状态", + "options": "0\n1\n2\n3\n4" } ], "grid_page_length": 50, "index_web_pages_for_search": 1, "links": [], - "modified": "2025-08-03 12:37:48.526845", + "modified": "2025-08-05 16:44:31.926846", "modified_by": "Administrator", "module": "Jcloud", "name": "Domain Owner", diff --git a/jcloud/jcloud/pagetype/domain_owner/domain_owner.py b/jcloud/jcloud/pagetype/domain_owner/domain_owner.py index 9d3e349..602fcd4 100644 --- a/jcloud/jcloud/pagetype/domain_owner/domain_owner.py +++ b/jcloud/jcloud/pagetype/domain_owner/domain_owner.py @@ -38,10 +38,11 @@ class DomainOwner(Document): c_regtype: DF.Literal["", "I", "E"] c_st: DF.Data | None c_st_m: DF.Data | None + c_status: DF.Literal["0", "1", "2", "3", "4"] c_sysid: DF.Data | None cocode: DF.Data | None fullname: DF.Data | None - r_status: DF.Check + r_status: DF.Literal["0", "1", "2", "3", "4", "5"] reg_contact_type: DF.Literal["", "cg", "hk", "tw", "jingwai"] team: DF.Link | None title: DF.Data | None diff --git a/jcloud/jcloud/pagetype/jsite_domain/jsite_domain.json b/jcloud/jcloud/pagetype/jsite_domain/jsite_domain.json index 40ffab9..537dbc1 100644 --- a/jcloud/jcloud/pagetype/jsite_domain/jsite_domain.json +++ b/jcloud/jcloud/pagetype/jsite_domain/jsite_domain.json @@ -40,13 +40,12 @@ "options": "Team" }, { - "default": "Active", "fieldname": "status", "fieldtype": "Select", "in_list_view": 1, "in_standard_filter": 1, "label": "状态", - "options": "Active\nExpired" + "options": "ok\nclientHold\nclientUpdateProhibited" }, { "fieldname": "order_id", @@ -196,7 +195,7 @@ "grid_page_length": 50, "index_web_pages_for_search": 1, "links": [], - "modified": "2025-08-02 20:35:58.740670", + "modified": "2025-08-05 16:59:44.708289", "modified_by": "Administrator", "module": "Jcloud", "name": "Jsite Domain", diff --git a/jcloud/jcloud/pagetype/jsite_domain/jsite_domain.py b/jcloud/jcloud/pagetype/jsite_domain/jsite_domain.py index cc722cc..322d55b 100644 --- a/jcloud/jcloud/pagetype/jsite_domain/jsite_domain.py +++ b/jcloud/jcloud/pagetype/jsite_domain/jsite_domain.py @@ -34,7 +34,7 @@ class JsiteDomain(Document): period: DF.Int price: DF.Int registration_date: DF.Datetime | None - status: DF.Literal["Active", "Expired"] + status: DF.Literal["ok", "clientHold", "clientUpdateProhibited"] team: DF.Link | None whois_protection: DF.Check # end: auto-generated types