更新域名状态选项值,域名所有者增加初审状态字段
This commit is contained in:
parent
059a4aa7b6
commit
89da3443a7
@ -133,6 +133,13 @@
|
||||
>
|
||||
{{ $domain.pg.whois_protection ? '关闭隐私保护' : '开启隐私保护' }}
|
||||
</Button>
|
||||
<Button
|
||||
@click="showUploadRealName"
|
||||
variant="outline"
|
||||
class="bg-blue-100 text-blue-700 hover:bg-blue-200"
|
||||
>
|
||||
上传实名资料
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -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';
|
||||
},
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user