增加FA财务顾问pagetype

This commit is contained in:
jingrow 2025-11-16 03:48:17 +08:00
parent 0620137a95
commit 7b6ffd0d19
7 changed files with 164 additions and 2 deletions

View File

@ -0,0 +1,8 @@
// Copyright (c) 2025, Jingrow and contributors
// For license information, please see license.txt
// jingrow.ui.form.on("Jcapital Financial Advisor", {
// refresh(frm) {
// },
// });

View File

@ -0,0 +1,127 @@
{
"actions": [],
"allow_rename": 1,
"creation": "2025-11-15 19:45:22.315890",
"engine": "InnoDB",
"field_order": [
"title",
"phone",
"email",
"website",
"address",
"column_break_qccm",
"status",
"importance",
"type",
"invest_stage",
"focus",
"section_break_adkt",
"description"
],
"fields": [
{
"fieldname": "title",
"fieldtype": "Data",
"in_list_view": 1,
"label": "名称",
"reqd": 1
},
{
"default": "活跃",
"fieldname": "status",
"fieldtype": "Select",
"in_list_view": 1,
"label": "状态",
"options": "\n活跃\n非活跃"
},
{
"default": "中",
"fieldname": "importance",
"fieldtype": "Select",
"in_list_view": 1,
"label": "重要性",
"options": "\n高\n中\n低"
},
{
"fieldname": "phone",
"fieldtype": "Data",
"in_list_view": 1,
"label": "电话"
},
{
"fieldname": "email",
"fieldtype": "Data",
"in_list_view": 1,
"label": "邮箱"
},
{
"fieldname": "address",
"fieldtype": "Small Text",
"label": "地址"
},
{
"fieldname": "website",
"fieldtype": "Data",
"in_list_view": 1,
"label": "网站"
},
{
"fieldname": "description",
"fieldtype": "Text Editor",
"label": "描述"
},
{
"fieldname": "column_break_qccm",
"fieldtype": "Column Break"
},
{
"fieldname": "section_break_adkt",
"fieldtype": "Section Break"
},
{
"fieldname": "invest_stage",
"fieldtype": "Select",
"label": "投资阶段",
"options": "\n种子轮\n天使轮\nPre-A轮\nA轮\nB轮\nC轮\nD轮及以上\n不限"
},
{
"default": "机构",
"fieldname": "type",
"fieldtype": "Select",
"label": "类型",
"options": "\n个人\n机构"
},
{
"fieldname": "focus",
"fieldtype": "Small Text",
"label": "聚焦领域"
}
],
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-11-16 03:45:10.982294",
"modified_by": "Administrator",
"module": "Jcapital",
"name": "Jcapital Financial Advisor",
"owner": "Administrator",
"pagetype": "PageType",
"permissions": [
{
"create": 1,
"delete": 1,
"email": 1,
"export": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "System Manager",
"share": 1,
"write": 1
}
],
"row_format": "Dynamic",
"sort_field": "modified",
"sort_order": "DESC",
"states": []
}

View File

@ -0,0 +1,9 @@
# Copyright (c) 2025, Jingrow and contributors
# For license information, please see license.txt
# import jingrow
from jingrow.model.page import Page
class JcapitalFinancialAdvisor(Page):
pass

View File

@ -0,0 +1,9 @@
# Copyright (c) 2025, Jingrow and Contributors
# See license.txt
# import jingrow
from jingrow.tests.utils import JingrowTestCase
class TestJcapitalFinancialAdvisor(JingrowTestCase):
pass

View File

@ -37,6 +37,7 @@
"default": "活跃",
"fieldname": "status",
"fieldtype": "Select",
"in_list_view": 1,
"label": "状态",
"options": "\n活跃\n非活跃"
},
@ -44,17 +45,20 @@
"default": "中",
"fieldname": "importance",
"fieldtype": "Select",
"in_list_view": 1,
"label": "重要性",
"options": "\n高\n中\n低"
},
{
"fieldname": "phone",
"fieldtype": "Data",
"in_list_view": 1,
"label": "电话"
},
{
"fieldname": "email",
"fieldtype": "Data",
"in_list_view": 1,
"label": "邮箱"
},
{
@ -65,6 +69,7 @@
{
"fieldname": "website",
"fieldtype": "Data",
"in_list_view": 1,
"label": "网站"
},
{
@ -95,7 +100,7 @@
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2025-11-16 01:17:51.278553",
"modified": "2025-11-16 03:31:07.696903",
"modified_by": "Administrator",
"module": "Jcapital",
"name": "Jcapital Investor",

View File

@ -6,3 +6,7 @@ msgstr "投资机构"
msgid "Jcapital Contact"
msgstr "投资机构联系人"
msgid "Jcapital Financial Advisor"
msgstr "财务顾问"