增加contact和investor
This commit is contained in:
parent
efd1eb5f25
commit
c3fb770607
@ -1,43 +0,0 @@
|
|||||||
{
|
|
||||||
"actions": [],
|
|
||||||
"allow_rename": 1,
|
|
||||||
"creation": "2025-11-15 19:45:22.315890",
|
|
||||||
"engine": "InnoDB",
|
|
||||||
"field_order": [
|
|
||||||
"title"
|
|
||||||
],
|
|
||||||
"fields": [
|
|
||||||
{
|
|
||||||
"fieldname": "title",
|
|
||||||
"fieldtype": "Data",
|
|
||||||
"label": "Title"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"grid_page_length": 50,
|
|
||||||
"index_web_pages_for_search": 1,
|
|
||||||
"links": [],
|
|
||||||
"modified": "2025-11-15 19:45:56.502813",
|
|
||||||
"modified_by": "Administrator",
|
|
||||||
"module": "Jcapital",
|
|
||||||
"name": "Investor",
|
|
||||||
"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": []
|
|
||||||
}
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
// Copyright (c) 2025, Jingrow and contributors
|
// Copyright (c) 2025, Jingrow and contributors
|
||||||
// For license information, please see license.txt
|
// For license information, please see license.txt
|
||||||
|
|
||||||
// jingrow.ui.form.on("Investor", {
|
// jingrow.ui.form.on("Jcapital Contact", {
|
||||||
// refresh(frm) {
|
// refresh(frm) {
|
||||||
|
|
||||||
// },
|
// },
|
||||||
@ -0,0 +1,81 @@
|
|||||||
|
{
|
||||||
|
"actions": [],
|
||||||
|
"allow_rename": 1,
|
||||||
|
"creation": "2025-11-15 19:59:17.347120",
|
||||||
|
"engine": "InnoDB",
|
||||||
|
"field_order": [
|
||||||
|
"title",
|
||||||
|
"position",
|
||||||
|
"company",
|
||||||
|
"investor",
|
||||||
|
"email",
|
||||||
|
"phone",
|
||||||
|
"notes"
|
||||||
|
],
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"fieldname": "title",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"label": "姓名",
|
||||||
|
"reqd": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "position",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"label": "职位"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "company",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"label": "公司/机构"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "investor",
|
||||||
|
"fieldtype": "Link",
|
||||||
|
"label": "关联投资者",
|
||||||
|
"options": "Jcapital Investor"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "email",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"label": "邮箱"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "phone",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"label": "电话"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "notes",
|
||||||
|
"fieldtype": "Text Editor",
|
||||||
|
"label": "备注"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"grid_page_length": 50,
|
||||||
|
"index_web_pages_for_search": 1,
|
||||||
|
"links": [],
|
||||||
|
"modified": "2025-11-15 20:01:52.044098",
|
||||||
|
"modified_by": "Administrator",
|
||||||
|
"module": "Jcapital",
|
||||||
|
"name": "Jcapital Contact",
|
||||||
|
"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": []
|
||||||
|
}
|
||||||
@ -5,5 +5,5 @@
|
|||||||
from jingrow.model.page import Page
|
from jingrow.model.page import Page
|
||||||
|
|
||||||
|
|
||||||
class Investor(Page):
|
class JcapitalContact(Page):
|
||||||
pass
|
pass
|
||||||
@ -5,5 +5,5 @@
|
|||||||
from jingrow.tests.utils import JingrowTestCase
|
from jingrow.tests.utils import JingrowTestCase
|
||||||
|
|
||||||
|
|
||||||
class TestInvestor(JingrowTestCase):
|
class TestJcapitalContact(JingrowTestCase):
|
||||||
pass
|
pass
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
// Copyright (c) 2025, Jingrow and contributors
|
||||||
|
// For license information, please see license.txt
|
||||||
|
|
||||||
|
// jingrow.ui.form.on("Jcapital Investor", {
|
||||||
|
// refresh(frm) {
|
||||||
|
|
||||||
|
// },
|
||||||
|
// });
|
||||||
@ -0,0 +1,98 @@
|
|||||||
|
{
|
||||||
|
"actions": [],
|
||||||
|
"allow_rename": 1,
|
||||||
|
"creation": "2025-11-15 19:45:22.315890",
|
||||||
|
"engine": "InnoDB",
|
||||||
|
"field_order": [
|
||||||
|
"title",
|
||||||
|
"investor_type",
|
||||||
|
"status",
|
||||||
|
"investment_stage",
|
||||||
|
"investment_focus",
|
||||||
|
"phone",
|
||||||
|
"email",
|
||||||
|
"website",
|
||||||
|
"description"
|
||||||
|
],
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"fieldname": "title",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"in_list_view": 1,
|
||||||
|
"label": "投资者名称",
|
||||||
|
"reqd": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"default": "机构",
|
||||||
|
"fieldname": "investor_type",
|
||||||
|
"fieldtype": "Select",
|
||||||
|
"label": "投资者类型",
|
||||||
|
"options": "\n个人\n机构"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"default": "活跃",
|
||||||
|
"fieldname": "status",
|
||||||
|
"fieldtype": "Select",
|
||||||
|
"label": "状态",
|
||||||
|
"options": "\n活跃\n非活跃"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "investment_stage",
|
||||||
|
"fieldtype": "Select",
|
||||||
|
"label": "投资阶段",
|
||||||
|
"options": "\n种子轮\n天使轮\nPre-A轮\nA轮\nB轮\nC轮\nD轮及以上\n不限"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "investment_focus",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"label": "投资领域"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "email",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"label": "邮箱"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "phone",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"label": "电话"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "website",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"label": "网站"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "description",
|
||||||
|
"fieldtype": "Text Editor",
|
||||||
|
"label": "描述"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"grid_page_length": 50,
|
||||||
|
"index_web_pages_for_search": 1,
|
||||||
|
"links": [],
|
||||||
|
"modified": "2025-11-15 20:12:57.852534",
|
||||||
|
"modified_by": "Administrator",
|
||||||
|
"module": "Jcapital",
|
||||||
|
"name": "Jcapital Investor",
|
||||||
|
"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": []
|
||||||
|
}
|
||||||
@ -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 JcapitalInvestor(Page):
|
||||||
|
pass
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
# Copyright (c) 2025, Jingrow and Contributors
|
||||||
|
# See license.txt
|
||||||
|
|
||||||
|
# import jingrow
|
||||||
|
from jingrow.tests.utils import JingrowTestCase
|
||||||
|
|
||||||
|
|
||||||
|
class TestJcapitalInvestor(JingrowTestCase):
|
||||||
|
pass
|
||||||
8
jcapital/locale/zh.po
Normal file
8
jcapital/locale/zh.po
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
msgid "Jcapital"
|
||||||
|
msgstr "投融资"
|
||||||
|
|
||||||
|
msgid "Jcapital Investor"
|
||||||
|
msgstr "投资机构"
|
||||||
|
|
||||||
|
msgid "Jcapital Contact"
|
||||||
|
msgstr "投资机构联系人"
|
||||||
Loading…
x
Reference in New Issue
Block a user