constantData.js
1.81 KB
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
export const IMG_URL = 'https://img02.glsx.com.cn/weapp/resource/miniprogram/sales-assistant/'
// 缓存get方法为空的默认指定值
export const DEFAULT_GET_STORAGEKEY = ['sessionId', 'merchantId', 'userInfo']
// 缓存get方法key的对应才映射值
export const STORAGE_OBJECTkEY = {
DEFAULT_GET_STORAGEKEY,
sessionId: 'sessionId',
userInfo: 'userInfo',
system_info: 'systemInfo',
app_title: 'appTitle',
auto_login_object: 'auto_login_object',
wx_user_info: 'wx_user_info',
userPhone: 'userPhone',
firstLogin: 'firstLogin',
authphone: 'authphone',
disLikeRecordFlag: 'disLikeRecordFlag',
fileList: 'fileList',
posterId: 'posterId',
mock_data: 'mock_data',
car_brand_list: 'car_brand_list',
recordList:'recordList'
}
export const IMG_VERSION = () => {
const accountInfo = wx.getAccountInfoSync()
return accountInfo.miniProgram.version || '1.0.0'
}
export const COOPERATIONMODELIST = [{
name: '直营',
value: 1
}, {
name: '服务商',
value: 2
}]
export const SCENELIST = [{
name: '1.1 精品升级',
value: 1
}, {
name: '2.1权益升级',
value: 2
}, {
name: '2.2续保积分',
value: 3
}, {
name: '2.3延保升级',
value: 4
}, {
name: '6.1二手车',
value: 5
}]
export const TRSFFICSTATUSLIST = [{
name: '30 以下',
value: 1
}, {
name: '30-50',
value: 2
}, {
name: '50-80',
value: 3
}, {
name: '80-120',
value: 4
}, {
name: '120 以上',
value: 5
}]
export const MERCHANTMENUS = [
{
title: '延保',
index: 0
},
{
title: '权益',
index: 1
},
{
title: '轻改',
index: 2
}
]
export const ROLELIST = [{
label: '店总',
value: 1,
checked: true
}, {
label: '销售经理',
value: 2
}, {
label: '交付经理',
value: 3
}, {
label: '装饰经理',
value: 4
}, {
label: '保险经理',
value: 5
}]