chore: initial commit
This commit is contained in:
61
frontend/packages/lib-shared/enums/tableEnum.ts
Normal file
61
frontend/packages/lib-shared/enums/tableEnum.ts
Normal file
@@ -0,0 +1,61 @@
|
||||
export enum TableKeyEnum {
|
||||
ROLE_MEMBER = 'roleMember',
|
||||
AUTH = 'auth',
|
||||
SYSTEM_ORG_TABLE = 'systemOrgTable',
|
||||
SYSTEM_MESSAGE_TABLE = 'systemMessageTable',
|
||||
SYSTEM_ANNOUNCEMENT_TABLE = 'systemAnnouncementTable',
|
||||
MODULE_OPPORTUNITY_RULE_TABLE = 'moduleOpportunityRuleTable',
|
||||
MODULE_CLUE_POOL = 'moduleCluePool',
|
||||
MODULE_OPEN_SEA = 'moduleOpenSea',
|
||||
OPPORTUNITY_HEAD_LIST = 'opportunityHeadList',
|
||||
CUSTOMER = 'customer',
|
||||
CUSTOMER_CONTRACT = 'customerContract',
|
||||
BUSINESS_CONTRACT = 'businessContract',
|
||||
CUSTOMER_FOLLOW_RECORD = 'customerFollowRecord',
|
||||
CUSTOMER_FOLLOW_PLAN = 'customerFollowPlan',
|
||||
CUSTOMER_COLLABORATOR = 'customerCollaborator',
|
||||
CUSTOMER_OPEN_SEA = 'customerOpenSea',
|
||||
CLUE = 'clue',
|
||||
CLUE_CONVERT_CUSTOMER = 'clueConvertCustomer',
|
||||
CLUE_POOL = 'cluePool',
|
||||
PRODUCT = 'product',
|
||||
BUSINESS = 'business',
|
||||
OPPORTUNITY_QUOTATION = 'opportunityQuotation',
|
||||
LOG = 'log',
|
||||
LOGIN_LOG = 'loginLog',
|
||||
FOLLOW_PLAN = 'followPlan',
|
||||
FOLLOW_RECORD = 'followRecord',
|
||||
CONTRACT = 'contract',
|
||||
CONTRACT_PAYMENT = 'contractPayment',
|
||||
CONTRACT_PAYMENT_RECORD = 'contractPaymentRecord',
|
||||
PRICE = 'price',
|
||||
INVOICE = 'invoice',
|
||||
CONTRACT_INVOICE = 'contractInvoice',
|
||||
ORDER = 'order', // 订单
|
||||
CONTRACT_ORDER = 'contractOrder', // 合同下的订单
|
||||
// 全局搜索
|
||||
SEARCH_ADVANCED_CLUE = 'searchAdvancedClue', // 线索
|
||||
SEARCH_ADVANCED_CUSTOMER = 'searchAdvancedCustomer', // 客户
|
||||
SEARCH_ADVANCED_CONTACT = 'searchAdvancedContact', // 联系人
|
||||
SEARCH_ADVANCED_PUBLIC = 'searchAdvancedPublic', // 公海
|
||||
SEARCH_ADVANCED_CLUE_POOL = 'searchAdvancedCluePool', // 线索池
|
||||
SEARCH_ADVANCED_OPPORTUNITY = 'searchAdvancedOpportunity', // 商机
|
||||
CONTRACT_BUSINESS_NAME = 'contractBusinessName', // 工商抬头
|
||||
// 审批流
|
||||
PROCESS = 'process',
|
||||
// 自定义表单表格
|
||||
CUSTOM_FORM = 'customForm',
|
||||
CUSTOM_FORM_USER = 'customFormUser',
|
||||
}
|
||||
|
||||
// 具有特殊功能的列
|
||||
export enum SpecialColumnEnum {
|
||||
// 选择框
|
||||
SELECTION = 'selection',
|
||||
// 操作列
|
||||
OPERATION = 'operation',
|
||||
// 拖拽列
|
||||
DRAG = 'drag',
|
||||
// 序号列
|
||||
ORDER = 'crmTableOrder',
|
||||
}
|
||||
Reference in New Issue
Block a user