zhangqian
2023-08-02 6e9274c27ffc8fe7f41e2c3c06a239d4c3fb09e5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
package constvar
 
type UserStatus int
 
const (
    UserBan UserStatus = iota
    UserAlive
    UserExamineIng
)
 
type DeviceStatus int
 
const (
    DeviceAll DeviceStatus = iota + 1
    DeviceAlive
    DeviceOffline
)
 
type ClusterStatus int
 
const (
    ClusterAll ClusterStatus = iota + 1
    ClusterAlive
    ClusterOffline
)
 
type UserType int
 
const (
    UserTypeSuper   UserType = iota + 1 // 超级管理员
    UserTypePrimary                     // 主账户
    UserTypeSub                         // 子账户
)
 
type SalesStatus int
 
const (
    SalesStatusNew                           SalesStatus = iota + 1
    SalesStatusIng                                       // 进行中
    SalesStatusSuccess                                   // 成功
    SalesStatusFail                                      // 失败
    SalesStatusLevelUptoClient                           // 升级为客户
    SalesStatusLevelUptoClientAndSalesChance             // 升级为客户并且有销售机会
 
)
 
type CurrencyType int
 
const (
    CurrencyTypeCNY CurrencyType = iota + 1 // 人民币
    CurrencyTypeUSD                         // 美元
    CurrencyTypeEUR                         // 欧元
    CurrencyTypeGBP                         // 英镑
)
 
type MenuType string
 
const (
    MenuTypeClient MenuType = "client"
)
 
type VettingType int
 
const (
    VettingTypeClient VettingType = iota + 1
    VettingTypeSales
    VettingTypeSalesChance
    VettingTypeSalesChanceFollow
)
 
type ServiceContractQueryClass string
 
const (
    ServiceContractQueryClassExpireAfter30Day   ServiceContractQueryClass = "30天后过期"
    ServiceContractQueryClassExpireAfter60Day   ServiceContractQueryClass = "60天后过期"
    ServiceContractQueryClassExpiredBefore15Day ServiceContractQueryClass = "已过期15天"
    ServiceContractQueryClassExpiredBefore60Day ServiceContractQueryClass = "已过期60天"
)
 
type ServiceContractKeywordType string
 
const (
    ServiceContractKeywordContractNo        ServiceContractKeywordType = "服务合同编号"
    ServiceContractKeywordCustomerName      ServiceContractKeywordType = "客户名称"
    ServiceContractKeywordContractDate      ServiceContractKeywordType = "签约日期"
    ServiceContractKeywordContractType      ServiceContractKeywordType = "合同类型"
    ServiceContractKeywordContractStatus    ServiceContractKeywordType = "合同状态"
    ServiceContractKeywordPrincipal         ServiceContractKeywordType = "负责人"
    ServiceContractKeywordProductName       ServiceContractKeywordType = "产品名称"
    ServiceContractKeywordServiceBeginDate  ServiceContractKeywordType = "服务开始日"
    ServiceContractKeywordServiceEndDate    ServiceContractKeywordType = "服务到期日"
    ServiceContractKeywordServiceTotalPrice ServiceContractKeywordType = "价税合计"
)
 
type ServiceFollowupKeywordType string
 
const (
    ServiceFollowupKeywordFollowupNo         ServiceFollowupKeywordType = "回访单编号"
    ServiceFollowupKeywordCustomerName       ServiceFollowupKeywordType = "客户名称"
    ServiceFollowupKeywordContactName        ServiceFollowupKeywordType = "联系人姓名"
    ServiceFollowupKeywordCustomerServiceNo  ServiceFollowupKeywordType = "客户服务单"
    ServiceFollowupKeywordVisitor            ServiceFollowupKeywordType = "回访人"
    ServiceFollowupKeywordSatisfactionDegree ServiceFollowupKeywordType = "满意度"
)