constants.js
25.3 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
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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
/*
* @Author: limin
* @Date: 2019-09-01 19:06:01
* @Last Modified by: chenwq
* @Last Modified time: 2021-07-12 16:33:07
*/
export const TYPE_NAME = "confType"
/**
* 前端基础数据管理对应的接口名称的key
*/
export const BaseData = {
channelType: "channelType",
productType: "productType",
productServiceItemList: "productServiceItemList",
positionTypeList: "positionTypeList", // 太阳膜商品部位
extendedPosiTypeList: "extendedPosiTypeList" // 延保类商品部位
}
/**
* 超级管理员类型
*/
export const SUPPER_ADMIN = true //
// 商户类型 - 除广汇外
export const userType = {
// 1: '员工',
// 2: '门店',
// 3: '市级经销商',
// 4: '省级经销商',
// 5: '工厂',
1: "工厂",
2: "省代",
3: "市代",
4: "门店"
}
// 商户类型 - 广汇
export const ghUserType = {
1: "员工",
2: "门店",
3: "片区",
4: "大区",
5: "总部",
6: "供应商"
}
// 商户类型 - 除广汇外
export const userTypeList = [
{
confId: 1,
confLabel: "员工"
},
{
confId: 2,
confLabel: "门店"
},
{
confId: 3,
confLabel: "市级经销商"
},
{
confId: 4,
confLabel: "省级经销商"
},
{
confId: 5,
confLabel: "工厂"
}
]
// 商户类型 - 广汇
export const ghUserTypeList = [
{
confId: 1,
confLabel: "员工"
},
{
confId: 2,
confLabel: "门店"
},
{
confId: 3,
confLabel: "片区"
},
{
confId: 4,
confLabel: "大区"
},
{
confId: 5,
confLabel: "总部"
},
{
confId: 6,
confLabel: "供应商"
}
]
// 商户分类
export const merchantClassifyList = [
{
confId: 1,
confLabel: "批发/零售商"
},
{
confId: 2,
confLabel: "4S店"
},
{
confId: 3,
confLabel: "综合汽贸店"
},
{
confId: 4,
confLabel: "综合后服务门店 "
},
{
confId: 5,
confLabel: "厂家"
},
{
confId: 6,
confLabel: "园区店"
},
{
confId: 7,
confLabel: "服务商"
},
{
confId: 8,
confLabel: "虚拟园区店"
}
]
// 商户分类 - 4S店(2)和服务商(7)- 查全部(2和7,排除园区店{id:6})
export const merchantStoreServiceList = [
{
confId: 2,
confLabel: "4S店"
},
{
confId: 7,
confLabel: "服务商"
},
{
confId: -1,
confLabel: "园区店"
}
]
// 手续费
export const deductChargeFlagObj = {
Y: "扣除手续费(按0.6%的标准)",
N: "不扣除手续费"
}
// 导流方分润手续费
export const shop4sDeductChargeFlagObj = {
Y: "导流方分润扣除手续费",
N: "导流方分润不扣除手续费"
}
// 服务商分润手续费
export const partnerDeductChargeFlagObj = {
Y: "服务商分润扣除手续费",
N: "服务商分润不扣除手续费"
}
// 品牌商
export const brandMerchantList = [
{
confId: "1",
confValue: "3M/福膜"
},
{
confId: "2",
confValue: "强生/福膜"
},
{
confId: "3",
confValue: "强生/斯帝飞"
},
{
confId: "4",
confValue: "3M/斯帝飞"
},
{
confId: "5",
confValue: "3M/今蓝"
},
{
confId: "6",
confValue: "量子/今蓝"
},
{
confId: "7",
confValue: "强生"
},
{
confId: "8",
confValue: "今蓝"
},
{
confId: "9",
confValue: "琥珀"
},
{
confId: "10",
confValue: "嘀嘀虎"
},
{
confId: "11",
confValue: "康得新"
}
]
// 分账方式
export const divisionTypeList = [
{
confId: "1",
confLabel: "线下对账"
},
{
confId: "2",
confLabel: "线上分账"
}
]
// 支付方式
export const payTypeList = [
{
confId: "1",
confLabel: "微信支付"
},
{
confId: "2",
confLabel: "4S店支付"
},
{
confId: "3",
confLabel: "POS机收款"
},
{
confId: "4",
confLabel: "支付宝支付"
},
{
confId: "5",
confLabel: "嘀加收款"
}
]
export const payType = {
1: "微信支付",
2: "4S店支付",
3: "POS机收款",
4: "支付宝支付",
5: "嘀加收款"
}
// 订单类型
export const orderTypeList = [
{
confId: "1",
confLabel: "正常"
},
{
confId: "2",
confLabel: "异常"
},
{
confId: "3",
confLabel: "正常测试"
},
{
confId: "4",
confLabel: "异常测试"
},
{
confId: "5",
confLabel: "未收款"
},
{
confId: "-1",
confLabel: "无"
}
]
// 分账状态
export const divisionStatusList = [
{
confId: "1",
confLabel: "待分账"
},
{
confId: "2",
confLabel: "分账中"
},
{
confId: "3",
confLabel: "分账成功"
},
{
confId: "4",
confLabel: "分账失败"
},
{
confId: "5",
confLabel: "异常"
}
]
// 提现状态
export const withdrawStatusList = [
{
confId: 1,
confLabel: "提现中"
},
{
confId: 2,
confLabel: "提现成功"
},
{
confId: 3,
confLabel: "提现失败"
}
]
// 提现渠道
export const withdrawChannelList = [
{
confId: 1,
confLabel: "小程序"
},
{
confId: 2,
confLabel: "PC后台"
}
]
// 出库状态
export const warehouseStatusList = [
{
confId: 1,
confLabel: "待出库"
},
{
confId: 3,
confLabel: "出库中"
},
{
confId: 4,
confLabel: "出库成功"
},
{
confId: 5,
confLabel: "出库失败"
}
]
// 获取最近n个月,默认6个月
export function getCurrentSixMonth(n = 5) {
return [new Date(new Date().setMonth(new Date().getMonth() - n)), new Date()]
}
// 新值,旧值,整数部分位数,小数部分位数,最小值,最大值,规则
export function limitPrice(
newValue,
oldValue,
intergerDigit,
pointDigit,
minValue,
maxValue,
regRule
) {
var reg = {
priceReg: /^\d[\d\.]*$/, // eslint-disable-line
numReg: /^[1-9]\d*$/
}
regRule = regRule || "priceReg"
if (
newValue &&
((minValue && newValue < minValue) || (maxValue && newValue > maxValue))
) {
return oldValue || ""
}
if (newValue && reg[regRule].test(newValue + "")) {
if (/\./.test(newValue)) {
newValue = newValue + ""
var interger = newValue.split(".")[0]
var point = newValue.split(".")[1]
var intergerNum =
interger.length > intergerDigit ? oldValue.split(".")[0] : interger
var pointNum =
point.length > pointDigit ? point.slice(0, pointDigit) : point
newValue = pointDigit
? intergerNum + "." + pointNum
: newValue.split(".")[0]
} else {
newValue =
newValue.length > intergerDigit
? oldValue.slice(0, intergerDigit)
: newValue
}
return newValue
} else {
return newValue ? oldValue : ""
}
}
/**
* 时间控件-限制月份
*/
export const rangePickerOptions = {
disabledDate(date) {
console.log(date)
console.log(new Date())
if (date > new Date()) {
return true
}
return false
}
}
/**
* 时间控件-(0-30天内的日期)
*/
export const appointDays = 35
export const afterTodayOptions = {
disabledDate(date) {
if (
date < new Date(new Date().toLocaleDateString()) ||
date >
new Date(new Date().setDate(new Date().getDate() + (appointDays - 1)))
) {
return true
}
return false
}
}
// 园区店模式/经营模式
export const manageTypeList = [
{ confId: 0, confLabel: "园区店" },
{ confId: 1, confLabel: "驻店" }
]
// 导流方渠道
export const sourceChannelTypeList = [
{ confId: 1, confLabel: "嘀加渠道" },
{ confId: 2, confLabel: "广汇渠道" }
]
export const warrantyProList = [1, 4, 6, 12, 14]
// 所属场景
export const sceneCodeList = [
{ confId: 1, confValue: "精品升级" },
{ confId: 2, confValue: "次新车转化" },
{ confId: 3, confValue: "售后众筹" },
{ confId: 0, confValue: "会员权益/升级" },
{ confId: 4, confValue: "积分商城" }
]
// 所属场景
export const sceneList = {
1: "精品升级",
2: "次新车转化",
3: "售后众筹",
0: "会员权益/升级",
4: "积分商城"
}
// 导流方下拉选项对应
export const attrToVal = [
{
confId: 3,
confLabel: "city"
},
{
// confId: 4,
confId: 2,
confLabel: "province"
},
{
// confId: 5,
confId: 1,
confLabel: "factory"
}
]
export const sceneType = {
1: "精品升级",
2: "次新车转化",
3: "售后众筹",
0: "会员权益/升级",
4: "积分商城"
}
export const proportionType = {
1: "(毛利)",
2: "(收入)",
3: "(固定金额)",
4: "(产值-流量成本)",
5: "(产值-流量成本-其他费用不包含产品成本)",
6: "(产值-流量成本-其他费用包含产品成本)",
8: "(收入-自定义其他费用)",
9: "(收入-其他费用)"
}
export const targetType = {
1: "流量方",
2: "服务商",
3: "公共"
}
// 太阳膜部位
// export const positionTypeList = [
// {
// position: 1,
// confName: "前档玻璃",
// deductionStandard: 1
// },
// {
// position: 2,
// confName: "侧后档玻璃",
// deductionStandard: 2
// },
// {
// position: 3,
// confName: "单帖侧窗一个",
// deductionStandard: 0.4
// },
// {
// position: 4,
// confName: "单帖后档一个",
// deductionStandard: 0.8
// },
// {
// position: 5,
// confName: "单帖小天窗",
// deductionStandard: 0.4
// },
// {
// position: 6,
// confName: "单帖中天窗",
// deductionStandard: 0.8
// },
// {
// position: 7,
// confName: "单帖全景天窗",
// deductionStandard: 1
// }
// ]
// 太阳膜适用车型
export const applicableModelTypeList = [
{
confId: 1,
confName: "小轿车"
},
{
confId: 2,
confName: "SUV"
},
{
confId: 3,
confName: "MPV"
},
{
confId: 4,
confName: "货车"
}
]
/**
1-太阳膜
4-车衣(众筹)
6-改色膜(众筹)
12-车衣
14-改色膜
*/
export const membraneTypeList = [1, 4, 6, 12, 14]
export const businessType = [
{
optionId: 1,
optionLabel: "1.2"
},
{
optionId: 2,
optionLabel: "1.3"
},
{
optionId: 3,
optionLabel: "2.0"
}
]
export const orderManageStatusList = [
{ confId: "1", confName: "待付款" },
{ confId: "2", confName: "已支付" },
{ confId: "3", confName: "已失效" },
// { confId: '21', confName: '待收货(待核销)' },
{ confId: "21", confName: "待核销" },
{ confId: "22", confName: "已核销" },
// { confId: '22', confName: '已收货(已核销)' },
{ confId: "6", confName: "待发货" },
// { confId: '7', confName: '待核销' },
// { confId: '8', confName: '已核销' },
{ confId: "9", confName: "售后中" },
{ confId: "10", confName: "售后完成" },
{ confId: "11", confName: "待审批" }
]
export const orderManageStatusList_integral = [
{ confId: "1", confName: "待付款" },
{ confId: "2", confName: "已支付" },
{ confId: "3", confName: "已失效" },
// { confId: '21', confName: '待收货(待核销)' },
{ confId: "21", confName: "待核销" },
{ confId: "22", confName: "已核销" },
// { confId: '22', confName: '已收货(已核销)' },
{ confId: "6", confName: "待发货" },
// { confId: '7', confName: '待核销' },
// { confId: '8', confName: '已核销' },
{ confId: "9", confName: "售后中" },
{ confId: "10", confName: "售后完成" },
{ confId: "11", confName: "待审批" }
// { confId: "1", confName: "待付款" },
// { confId: "2", confName: "已支付" },
// { confId: "3", confName: "已失效" },
// // { confId: '21', confName: '待收货(待核销)' },
// { confId: "21", confName: "已发货" },
// { confId: "22", confName: "已收货" },
// // { confId: '22', confName: '已收货(已核销)' },
// { confId: "6", confName: "待发货" },
// // { confId: '7', confName: '待核销' },
// // { confId: '8', confName: '已核销' },
// { confId: "9", confName: "售后中" },
// { confId: "10", confName: "售后完成" },
// { confId: "11", confName: "待审批" }
]
export const orderSourceList = [
{ confId: "1", confName: "商城订单" },
{ confId: "2", confName: "直播订单" },
{ confId: "3", confName: "活动订单" },
{ confId: "4", confName: "众筹订单" }
]
export const deliveryTypeList = [
{ confId: "1", confName: "到店核销" },
{ confId: "2", confName: "快递到家" }
]
export const afterSaleStatusList = [
{ confId: "1", confName: "待审核" },
{ confId: "2", confName: "审核成功" },
{ confId: "3", confName: "审核失败" },
{ confId: "4", confName: "待确认" },
{ confId: "5", confName: "退款中" },
{ confId: "6", confName: "已退款" },
{ confId: "7", confName: "退款失败" }
]
export const invouceType = [
{ confId: 1, confName: "未入库" },
{ confId: 2, confName: "已入库" },
{ confId: 3, confName: "部分入库" }
]
// 服务商管理 采购模式
export const procureModeList = [
{ confId: 1, confName: "直营" },
{ confId: 2, confName: "批发" },
{ confId: 3, confName: "代销" }
]
// 开店审核 申请状态
export const applyStatus = [
{ confId: 1, confName: "待审核" },
{ confId: 2, confName: "已审核" },
{ confId: 3, confName: "已驳回" }
]
// 店面配置 业务性质
export const businessNature = [
{ confId: 1, confName: "直营渠道" },
{ confId: 2, confName: "直营4S店" },
// { confId: 3, confName: "合资收购" },
{ confId: 4, confName: "投资收购-利丰" },
{ confId: 5, confName: "投资收购-内蒙古" },
{ confId: 7, confName: "投资收购-龙南" },
{ confId: 8, confName: "投资收购-湖北正旺" },
{ confId: 6, confName: "服务商投资" },
{ confId: 9, confName: "系统实施-新疆东捷" },
{ confId: 10, confName: "系统实施-捷通达" }
]
// 店面配置 业务性质
export const businessNatureShow = {
1: "直营渠道",
2: "直营4S店",
3: "合资收购"
}
// 店面配置 门店类型
export const storeType = [
{ confId: 1, confName: "嘀加" },
{ confId: 2, confName: "广汇" },
{ confId: 3, confName: "直营" }
]
// 店面配置 部署场景
export const sceneForShop = [
{ confId: 1, confValue: "1.1精品升级" },
{ confId: 4, confValue: "1.2次新车升配" },
{ confId: 3, confValue: "1.3售后众筹" },
{ confId: 0, confValue: "2.1会员权益/升级" },
{ confId: 2, confValue: "2.2续保膨胀金" }
]
// 店面配置 员工类型
export const staffBusinessType = [
{ confId: 0, confValue: "驻店人员" },
{ confId: 1, confValue: "门店销售" }
]
// 店面配置 人员设置列表-部署场景
export const sceneForPerson = [
{ confId: "1", confValue: "1.1" },
{ confId: "4", confValue: "1.2" },
{ confId: "3", confValue: "1.3" },
{ confId: "0", confValue: "2.1" },
{ confId: "2", confValue: "2.2" }
]
// 库存管理 订单类型
export const upgradeFlags = [
{ confId: "Y", confValue: "升级" },
{ confId: "N", confValue: "战败" }
]
// 转账管理 状态
export const transferAccountsStatusList = [
{ confId: 0, confValue: "商务领导审核" },
{ confId: 1, confValue: "运营审核" },
{ confId: 2, confValue: "财务确认" },
{ confId: 3, confValue: "转账中" },
{ confId: 4, confValue: "已转账" },
{ confId: 5, confValue: "到账中" },
{ confId: 6, confValue: "已到账" },
{ confId: 7, confValue: "转账失败" },
{ confId: 8, confValue: "到账失败" },
{ confId: 9, confValue: "驳回" }
]
export const transferAccountsStatusShow = {
0: "商务领导审核",
1: "运营审核",
2: "财务确认",
3: "转账中",
4: "已转账",
5: "到账中",
6: "已到账",
7: "转账失败",
8: "到账失败",
9: "驳回"
}
// 转账管理 转账类型
export const transferTypeList = [
{ confId: 1, confValue: "服务商款项" },
{ confId: 2, confValue: "流量方款项" }
]
export const transferTypeShow = { 1: "服务商款项", 2: "流量方款项" }
// 提现管理 状态
export const withdrawalManageStatusList = [
{ confId: 5, confValue: "到账中" },
{ confId: 6, confValue: "已到账" },
{ confId: 8, confValue: "到账失败" }
]
// 库存管理模式
export const stockManagementModeList = [
{ confId: 2, confName: "不使用膜卷号" },
{ confId: 1, confName: "使用膜卷号" }
]
// 转账管理-预警状态
export const warningStatus = [
{ confId: "Y", confValue: "正常" },
{ confId: "N", confValue: "异常" }
]
// 规则审核-类型
export const ruleReview_type = [
{ confId: 1, confValue: "清分" },
{ confId: 3, confValue: "对账" }
]
export const ruleReview_type_show = {
1: "清分",
3: "对账"
}
// 规则审核-状态
export const ruleReview_status = [
{ confId: 1, confValue: "待审核" },
{ confId: 2, confValue: "已审核" },
{ confId: 3, confValue: "已驳回" },
{ confId: 4, confValue: "逾期未审" },
{ confId: 5, confValue: "已撤销" },
{ confId: 6, confValue: "异常" }
]
// 服务商类型
export const partnerTypeList = [
{ confId: 1, confName: "普通" },
{ confId: 2, confName: "个体" }
]
// 驻店管理 所属业务对应
export const sceneForInStore = [
{ confId: "1", confValue: "1.1" },
{ confId: "4", confValue: "1.2" },
{ confId: "3", confValue: "1.3" },
{ confId: "0", confValue: "2.1" },
{ confId: "2", confValue: "2.2" }
]
// 下载报表 报表类型
export const downloadReportManage_reportType = [
{ confId: "merchantPerformance", confValue: "门店业绩数据表" },
{ confId: "sellerPerformance", confValue: "零售人员业绩提成数据表" },
{ confId: "multiCategoryOperation", confValue: "多品类运营" },
{ confId: "multiCategoryOperationMerchant", confValue: "多品类运营-门店" },
{ confId: "selleruseruserdipadanalysis", confValue: "驻店人员平板使用分析" },
{ confId: "dailybehaviorsummary", confValue: "日行为汇总表" },
{ confId: "weeklybehaviorsummary", confValue: "周行为汇总表" },
{ confId: "businessDataSummary", confValue: "业务数据汇总" }
]
// 下载报表 业务类型
export const downloadReportManage_businessType = [
{ confId: "jingpin", confValue: "精品升级" },
{ confId: "quanyi", confValue: "权益" },
{ confId: "yanbao", confValue: "延保" }
]
// 驻店管理-员工状态
export const staffStatusList = [
{ confId: "N", confValue: "启用" },
{ confId: "I", confValue: "禁用" },
{ confId: "D", confValue: "已删除" }
]
// 人员管理-员工审核-审核状态
export const auditStatusList = [
{ confId: 0, confValue: "待审核" },
{ confId: 1, confValue: "已审核" },
{ confId: 2, confValue: "已驳回" }
]
// 人员管理-员工审核-审核状态
export const auditTypeList = [
{ confId: 0, confValue: "变更" },
{ confId: 1, confValue: "新增" },
{ confId: 2, confValue: "删除" }
]
// 人员管理-员工审核-审核状态
export const refundExamine_status = [
{ confId: 0, confValue: "运营审核" },
{ confId: 1, confValue: "商务审核" },
{ confId: 2, confValue: "财务复核" },
{ confId: 3, confValue: "财务结算" },
{ confId: 4, confValue: "已完成" },
{ confId: 5, confValue: "驳回" }
]
// 虚拟对公账户银盛到账模式
export const receiptModeList = [
{ confId: 1, confValue: "T+1" },
{ confId: 2, confValue: "D+1" }
]
// 发票税率
export const invoiceTaxRateList = [
{ confId: 0, confValue: "专票1%" },
{ confId: 1, confValue: "专票3%" },
{ confId: 2, confValue: "专票6%" },
{ confId: 3, confValue: "专票13%" },
{ confId: 4, confValue: "普票1%" },
{ confId: 5, confValue: "普票3%" },
{ confId: 6, confValue: "普票6%" },
{ confId: 7, confValue: "普票13%" },
{ confId: 8, confValue: "不需要开票" }
]
// 合作模式
export const cooperationModeList = [
{ confId: 0, confValue: "单店" },
{ confId: 1, confValue: "集团" }
]
// 收款方式
export const paymentMethodList = [
{ confId: 0, confValue: "嘀加收款" },
{ confId: 1, confValue: "门店收款" }
]
// 服务商分类
export const partnerClassifyList = [
{ confId: 0, confValue: "服务商" },
{ confId: 1, confValue: "直营" }
]
// 子业务
export const subBusinessList = [
{ confId: "0", confValue: "权益" },
{ confId: "1", confValue: "延保" }
]
// 商品库-发卷宝-领用明细-预约状态
export const inviteStatusList = [
{ confId: 1, confValue: "待预约" },
{ confId: 2, confValue: "已预约" },
{ confId: 3, confValue: "取消预约" },
{ confId: 4, confValue: "已施工" },
{ confId: 5, confValue: "过期到店" },
{ confId: 6, confValue: "已撤销" },
{ confId: 7, confValue: "已支付" }
]
// 内容管理-员工群发-内容类型
export const contentTypeList = [
{ confId: 1, confValue: "图文" },
{ confId: 2, confValue: "视频" },
{ confId: 3, confValue: "pdf" }
]
// 内容管理-员工群发-发送状态
export const sendStatusList = [
{ confId: 1, confValue: "草稿" },
{ confId: 2, confValue: "待发送" },
{ confId: 3, confValue: "已发送" }
]
// 预警管理 所属业务
export const businessOpt = [
{ confId: 2, confValue: "轻改" },
{ confId: 3, confValue: "权益" },
{ confId: 4, confValue: "延保" }
]
// 预警管理 所属业务 显示文字
export const businessOptShowText = {
2: "轻改",
3: "权益",
4: "延保"
}
// 预警管理 优先级
export const priorityOpt = [
{ confId: 1, confValue: "高" },
{ confId: 2, confValue: "中" },
{ confId: 3, confValue: "低" }
]
// 预警管理 优先级 显示文字
export const priorityShowText = {
1: "高",
2: "中",
3: "低"
}
// 预警管理 预警阶段
export const warnStageyOpt = [
{ confId: 1, confValue: "第一阶段" },
{ confId: 2, confValue: "第二阶段" }
]
// 预警管理 状态
export const statusOpt = [
{ confId: 1, confValue: "待处理" },
{ confId: 2, confValue: "预约处理" },
{ confId: 3, confValue: "已完成" },
{ confId: 0, confValue: "无需处理" }
]
// 预警管理 筛选
export const filterOpt = [
{ confId: 1, confValue: "我负责的" },
{ confId: 2, confValue: "待我处理的" },
{ confId: 3, confValue: "我处理过的" }
]
// 驻店积分管理 状态
export const pointStatusOpt = [
{ confId: 1, confValue: "启用" },
{ confId: 0, confValue: "停用" }
]
// 驻店积分管理 积分增减
export const pointValueSignOpt = [
{ confId: 0, confValue: "积分增加" },
{ confId: -1, confValue: "积分扣减" }
]
// 成长等级 奖励类型
export const levelTypeOpt = [
{ confId: 1, confValue: "积分区间" },
{ confId: 2, confValue: "勋章" }
]
// 成长等级 等级名称
export const levelNameOpt = [
{ confId: "青铜萌新", confValue: "青铜萌新" },
{ confId: "白银熟手", confValue: "白银熟手" },
{ confId: "黄金能手", confValue: "黄金能手" },
{ confId: "钻石专家", confValue: "钻石专家" },
{ confId: "学习之星", confValue: "学习之星" },
{ confId: "全勤之星", confValue: "全勤之星" },
{ confId: "零售导师", confValue: "零售导师" },
{ confId: "平板接待精英", confValue: "平板接待精英" }
]
// 成长等级 开启状态
export const openStateOpt = [
{ confId: true, confValue: "启用" },
{ confId: false, confValue: "停用" }
]
// 员工职级
export const staffLevelList = [
{ confId: 0, confValue: "实习生(理论)" },
{ confId: 1, confValue: "实习生(实践)" },
{ confId: 2, confValue: "初级驻店" },
{ confId: 3, confValue: "中级驻店" },
{ confId: 4, confValue: "高级驻店" },
{ confId: 5, confValue: "小店长" },
{ confId: 6, confValue: "大店长" },
{ confId: 7, confValue: "初级区域督导" },
{ confId: 8, confValue: "中级区域督导" },
{ confId: 9, confValue: "高级区域督导" }
]
// 所属业务
export const staffSceneLabelList = [
{ confId: "1", confValue: "轻改" },
{ confId: "0", confValue: "会员权益/升级" }
]
// 财资数据 收支标志
export const cdSignOpt = [
{ confId: 0, confValue: "收入" },
{ confId: 1, confValue: "支出" }
]
// 财资数据 同步状态
export const jdSyncOpt = [
{ confId: 0, confValue: "失败" },
{ confId: 1, confValue: "成功" }
]
// 财资数据 回单状态
export const receiptStatusOpt = [
{ confId: 0, confValue: "否" },
{ confId: 1, confValue: "是" }
]
// 财资数据 操作项
export const operationTypeOpt = [
{ confId: 1, confValue: "重推财资数据" },
{ confId: 2, confValue: "推送财资数据" },
{ confId: 3, confValue: "获取财资数据" }
]
// 财资数据 操作项
export const operationResultOpt = [
{ confId: "Y", confValue: "成功" },
{ confId: "N", confValue: "失败" }
]
// 订单管理 会员权益订单 上传协议
export const zyVoucherStatusOpt = [
{ confId: "0", confValue: "无需上传" },
{ confId: "1", confValue: "待上传" },
{ confId: "2", confValue: "已上传" }
]
// 嘀加上架 审批类型
export const approveTypeOpt = [
{ confId: 1, confValue: "嘀加上架与销售合同" },
{ confId: 2, confValue: "嘀加上架修改" }
]
// 嘀加上架 系统状态
export const systemStatusOpt = [
{ confId: 1, confValue: "运营确认" },
{ confId: 2, confValue: "已转OA" },
{ confId: 3, confValue: "完成上架更新" },
{ confId: 4, confValue: "驳回" },
{ confId: 5, confValue: "处理中" }
]
// 嘀加上架 审批状态
export const approveStatusOpt = [
{ confId: 1, confValue: "审批中" },
{ confId: 2, confValue: "已通过" },
{ confId: 3, confValue: "已驳回" },
{ confId: 4, confValue: "已撤销" }
]
// 嘀加上架 业务线
export const businessLineOpt = [
{ confId: 1, confValue: "权益" },
{ confId: 2, confValue: "延保" }
]