add
wangpengfei
2023-07-21 c4cc5a54d61b05d98d28b21710b3c1531bc05302
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
package response
 
import (
    "aps_crm/model"
)
 
type (
    CaptchaResponse struct {
        CaptchaId     string `json:"captchaId"`
        PicPath       string `json:"picPath"`
        CaptchaLength int    `json:"captchaLength"`
        OpenCaptcha   bool   `json:"openCaptcha"`
    }
 
    UserResponse struct {
        User model.User `json:"user"`
    }
 
    LoginResponse struct {
        User      model.User `json:"user"`
        Token     string     `json:"token"`
        ExpiresAt int64      `json:"expiresAt"`
    }
 
    MenusResponse struct {
        Menus []*model.Menu `json:"menus"`
    }
 
    MenuResponse struct {
        Menu model.Menu `json:"menu"`
    }
 
    CountryResponse struct {
        List []*model.Country `json:"list"`
    }
 
    ProvinceResponse struct {
        List []*model.Province `json:"list"`
    }
 
    CityResponse struct {
        List []*model.City `json:"list"`
    }
 
    RegionResponse struct {
        List []*model.Region `json:"list"`
    }
 
    ContactResponse struct {
        List []*model.ContactDetail `json:"list"`
    }
 
    ClientResponse struct {
        List []*model.Client `json:"list"`
    }
 
    ClientStatusResponse struct {
        List []*model.ClientStatus `json:"list"`
    }
 
    ClientTypeResponse struct {
        List []*model.ClientType `json:"list"`
    }
 
    ClientOriginResponse struct {
        List []*model.ClientOrigin `json:"list"`
    }
 
    ClientLevelResponse struct {
        List []*model.ClientLevel `json:"list"`
    }
 
    IndustryResponse struct {
        List []*model.Industry `json:"list"`
    }
 
    EnterpriseNatureResponse struct {
        List []*model.EnterpriseNature `json:"list"`
    }
 
    RegisteredCapitalResponse struct {
        List []*model.RegisteredCapital `json:"list"`
    }
 
    EnterpriseScaleResponse struct {
        List []*model.EnterpriseScale `json:"list"`
    }
 
    SalesLeadsResponse struct {
        List []*model.SalesLeads `json:"list"`
    }
 
    SalesSourceResponse struct {
        List []*model.SalesSources `json:"list"`
    }
 
    FollowRecordResponse struct {
        List []*model.FollowRecord `json:"list"`
    }
 
    SaleChanceResponse struct {
        List []*model.SaleChance `json:"list"`
    }
 
    SaleStageResponse struct {
        List []*model.SaleStage `json:"list"`
    }
 
    SaleTypeResponse struct {
        List []*model.SaleType `json:"list"`
    }
 
    RegularCustomersResponse struct {
        List []*model.RegularCustomers `json:"list"`
    }
 
    PossibilityResponse struct {
        List []*model.Possibility `json:"list"`
    }
 
    StatusResponse struct {
        List []*model.Status `json:"list"`
    }
 
    QuotationResponse struct {
        List []*model.Quotation `json:"list"`
    }
 
    MasterOrderResponse struct {
        List []*model.MasterOrder `json:"list"`
    }
 
    SubOrderResponse struct {
        List []*model.SubOrder `json:"list"`
    }
 
    SalesDetailsResponse struct {
        List []*model.SalesDetails `json:"list"`
    }
 
    SalesReturnResponse struct {
        List []*model.SalesReturn `json:"list"`
    }
 
    SalesRefundResponse struct {
        List []*model.SalesRefund `json:"list"`
    }
 
    ContractResponse struct {
        List []*model.Contract `json:"list"`
    }
 
    PlanResponse struct {
        List []*model.Plan `json:"list"`
    }
 
    ServiceContractsResponse struct {
        List []*model.ServiceContract `json:"list"`
    }
 
    OrderManageResponse struct {
        List []*model.OrderManage `json:"list"`
    }
 
    ServiceFollowupResponse struct {
        List []*model.ServiceFollowup `json:"list"`
    }
 
    CustomerServiceSheetResponse struct {
        List []*model.CustomerServiceSheet `json:"list"`
    }
 
    ServiceFeeManageResponse struct {
        List []*model.ServiceFeeManage `json:"list"`
    }
 
    MenuTreeResponse struct {
        List []model.Menu `json:"list"`
    }
 
    DataResponse struct {
 
        // 服务人员是否来过
        IsVisit []*model.IsVisit `json:"isVisit"`
 
        // 国家数据
        Country []*model.Country `json:"country"`
        // 省份数据
        Province []*model.Province `json:"province"`
        // 城市数据
        City []*model.City `json:"city"`
        // 区域数据
        Region []*model.Region `json:"region"`
        // 客户等级
        ClientLevel []*model.ClientLevel `json:"client_level"`
        // 客户状态
        ClientStatus []*model.ClientStatus `json:"client_status"`
        // 客户类型
        ClientType []*model.ClientType `json:"client_type"`
        // 客户来源
        ClientOrigin []*model.ClientOrigin `json:"client_origin"`
        // 行业
        Industry []*model.Industry `json:"industry"`
        // 企业性质
        EnterpriseNature []*model.EnterpriseNature `json:"enterprise_nature"`
        // 注册资金
        RegisteredCapital []*model.RegisteredCapital `json:"registered_capital"`
        // 企业规模
        EnterpriseScale []*model.EnterpriseScale `json:"enterprise_scale"`
        // 销售阶段
        SaleStage []*model.SaleStage `json:"sale_stage"`
        // 销售类型
        SaleType []*model.SaleType `json:"sale_type"`
        // 商机来源
        SalesSource []*model.SalesSources `json:"sales_source"`
        // 老客户营销
        RegularCustomers []*model.RegularCustomers `json:"regular_customers"`
        // Member
        Member []*model.User `json:"member"`
        // 部门
        Department []*model.Department `json:"department"`
        // 满意度
        Satisfaction []*model.Satisfaction `json:"satisfaction"`
        // 及时率
        TimelyRate []*model.TimelyRate `json:"timely_rate"`
        // 解决率
        SolveRate []*model.SolveRate `json:"solve_rate"`
    }
 
    DepartmentResponse struct {
        List []*model.Department `json:"list"`
    }
 
    SatisfactionResponse struct {
        List []*model.Satisfaction `json:"list"`
    }
 
    TimelyRateResponse struct {
        List []*model.TimelyRate `json:"list"`
    }
 
    SolveRateResponse struct {
        List []*model.SolveRate `json:"list"`
    }
 
    IsVisitResponse struct {
        List []*model.IsVisit `json:"list"`
    }
)