更新jsite server字段

This commit is contained in:
jingrow 2025-07-26 13:15:19 +08:00
parent b920a74e35
commit a85024c01f
2 changed files with 14 additions and 8 deletions

View File

@ -35,14 +35,13 @@
"in_standard_filter": 1, "in_standard_filter": 1,
"label": "状态", "label": "状态",
"options": "Pending\nInstalling\nActive\nBroken\nArchived", "options": "Pending\nInstalling\nActive\nBroken\nArchived",
"read_only": 1, "read_only": 1
"reqd": 1
}, },
{ {
"fieldname": "title", "fieldname": "title",
"fieldtype": "Data", "fieldtype": "Data",
"label": "标题", "in_list_view": 1,
"reqd": 1 "label": "标题"
}, },
{ {
"fieldname": "column_break_4", "fieldname": "column_break_4",
@ -66,7 +65,7 @@
"fieldtype": "Data", "fieldtype": "Data",
"in_list_view": 1, "in_list_view": 1,
"label": "公网IP", "label": "公网IP",
"set_only_once": 1 "read_only": 1
}, },
{ {
"collapsible": 1, "collapsible": 1,
@ -108,11 +107,14 @@
{ {
"fieldname": "end_date", "fieldname": "end_date",
"fieldtype": "Date", "fieldtype": "Date",
"label": "到期时间" "in_list_view": 1,
"label": "到期时间",
"read_only": 1
}, },
{ {
"fieldname": "region", "fieldname": "region",
"fieldtype": "Data", "fieldtype": "Data",
"in_list_view": 1,
"label": "地域", "label": "地域",
"read_only": 1 "read_only": 1
}, },
@ -125,31 +127,35 @@
{ {
"fieldname": "bandwidth", "fieldname": "bandwidth",
"fieldtype": "Data", "fieldtype": "Data",
"in_list_view": 1,
"label": "带宽Mbps", "label": "带宽Mbps",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "cpu", "fieldname": "cpu",
"fieldtype": "Data", "fieldtype": "Data",
"in_list_view": 1,
"label": "CPU", "label": "CPU",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "memory", "fieldname": "memory",
"fieldtype": "Data", "fieldtype": "Data",
"in_list_view": 1,
"label": "内存", "label": "内存",
"read_only": 1 "read_only": 1
}, },
{ {
"fieldname": "disk_size", "fieldname": "disk_size",
"fieldtype": "Data", "fieldtype": "Data",
"in_list_view": 1,
"label": "硬盘容量", "label": "硬盘容量",
"read_only": 1 "read_only": 1
} }
], ],
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"links": [], "links": [],
"modified": "2025-07-25 22:37:43.914945", "modified": "2025-07-26 13:13:06.510636",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Jcloud", "module": "Jcloud",
"name": "Jsite Server", "name": "Jsite Server",

View File

@ -28,6 +28,6 @@ class JsiteServer(Document):
ssh_user: DF.Data | None ssh_user: DF.Data | None
status: DF.Literal["Pending", "Installing", "Active", "Broken", "Archived"] status: DF.Literal["Pending", "Installing", "Active", "Broken", "Archived"]
team: DF.Link | None team: DF.Link | None
title: DF.Data title: DF.Data | None
# end: auto-generated types # end: auto-generated types
pass pass