forked from tianshigeily360/bjsfa-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bjsfa.js
740 lines (734 loc) · 16.3 KB
/
bjsfa.js
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
const Mock = 'mockjs';
let data = ({
// 店铺接口
visitIn: [{
id: 1,
pid: 231093,
name: '文悦超市',
area: '44m',
ditch: '平山阳光仓库',
type: '混合型',
bossName: '武老板',
subon: '2019-05-08 16:54:26',
phone: 17835816757,
distance: '500m',
address: "乌鲁木齐大西桥",
del: 0
},
{
id: 2,
pid: 231093,
name: '世纪超市',
area: '44m',
ditch: '平山阳光仓库',
type: '混合型',
bossName: '牛老板',
subon: '2019-05-08 16:54:26',
phone: 17835816757,
distance: '200m',
del: 0,
address: "乌鲁木齐大西桥"
},
{
id: 3,
pid: 231093,
name: '北冰洋超市',
area: '44m',
ditch: '平山阳光仓库',
type: '混合型',
bossName: '加老板',
subon: '2019-05-08 16:54:26',
phone: 17835816757,
distance: '2km',
del: 0,
address: "乌鲁木齐大西桥"
},
{
id: 4,
pid: 231093,
name: '幸福超市',
area: '44m',
ditch: '平山阳光仓库',
type: '混合型',
bossName: '张老板',
subon: '2019-05-08 16:54:26',
phone: 17835816757,
distance: '300m',
del: 0,
address: "乌鲁木齐大西桥"
},
{
id: 5,
pid: 231093,
name: '时间超市',
area: '44m',
ditch: '平山阳光仓库',
type: '混合型',
bossName: '罗老板',
subon: '2019-05-08 16:54:26',
phone: 17835816757,
distance: '600m',
del: 0,
address: "乌鲁木齐大西桥"
},
{
id: 6,
pid: 231093,
name: '姥爷超市',
area: '44m',
ditch: '平山阳光仓库',
type: '混合型',
bossName: '李老板',
subon: '2019-05-08 16:54:26',
phone: 17835816757,
distance: '800m',
del: 0,
address: "乌鲁木齐大西桥"
},
{
id: 7,
pid: 231093,
name: '文悦超市',
area: '44m',
ditch: '平山阳光仓库',
type: '混合型',
bossName: '武老板',
subon: '2019-05-08 16:54:26',
phone: 17835816757,
distance: '500m',
del: 0,
address: "乌鲁木齐大西桥"
},
{
id: 8,
pid: 231093,
name: '文悦超市',
area: '44m',
ditch: '平山阳光仓库',
type: '混合型',
bossName: '武老板',
subon: '2019-05-08 16:54:26',
phone: 17835816757,
distance: '500m',
del: 0,
address: "乌鲁木齐大西桥"
}
],
// 仓库接口
repo: [
{
id: 1,
reponame: '新乐阳光仓库',
del: 0
},
{
id: 2,
reponame: '李小贤仓库',
del: 0
},
{
id: 3,
reponame: '武渝东仓库',
del: 0
},
{
id: 4,
reponame: '张亚如仓库',
del: 0
},
{
id: 5,
reponame: '牛桂荣仓库',
del: 0
},
{
id: 6,
reponame: '加敏仓库',
del: 0
},
{
id: 7,
reponame: '罗凤霞仓库',
del: 0
},
],
// 培训资料接口
// 培训图文接口
trainingImg: [{
id: 1,
title: '七度空间纯棉超薄哦',
text: '武渝东三年奋达科技示范户我i据贺卡市场是连接符号打开几十年',
img: 'https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2675641121,2895192120&fm=26&gp=0.jpg',
del: 0,
monery: "19.50",
number: "1"
},
{
id: 2,
title: '护舒宝纯棉超薄哦',
text: '武渝东三年奋达科技示范户我i据贺卡市场是连接符号打开几十年',
img: 'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3519951658,837889124&fm=26&gp=0.jpg',
del: 0,
monery: "19.50",
number: "1"
},
{
id: 3,
title: '七度空间纯棉超薄哦',
text: '武渝东三年奋达科技示范户我i据贺卡市场是连接符号打开几十年',
img: 'https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2675641121,2895192120&fm=26&gp=0.jpg',
del: 0,
monery: "19.50",
number: "1"
},
{
id: 4,
title: '护舒宝纯棉超薄哦',
text: '武渝东三年奋达科技示范户我i据贺卡市场是连接符号打开几十年',
img: 'https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2675641121,2895192120&fm=26&gp=0.jpg',
del: 0,
monery: "19.50",
number: "1"
},
{
id: 5,
title: '护舒宝纯棉超薄哦',
text: '武渝东三年奋达科技示范户我i据贺卡市场是连接符号打开几十年',
img: 'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3519951658,837889124&fm=26&gp=0.jpg',
del: 0,
monery: "19.50",
number: "1"
},
{
id: 6,
title: '护舒宝纯棉超薄哦',
text: '武渝东三年奋达科技示范户我i据贺卡市场是连接符号打开几十年',
img: 'https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2675641121,2895192120&fm=26&gp=0.jpg',
del: 0,
monery: "19.50",
number: "1"
},
],
// 培训问答接口
answer: [
{
id: 1,
question: '武渝东帅吗?',
trueAnswer: '帅',
answer: '不帅嘛',
del: 0
},
{
id: 2,
question: '兔子和乌龟比什么绝对不会输',
trueAnswer: '仰卧起坐',
answer1: '跳远',
answer2: '赛跑',
del: 0
},
{
id: 3,
question: 'What’s the Chinese for “talk big”?',
trueAnswer: '吹牛',
answer1: '说谎话',
answer2: '骂人',
answer3: '很大',
del: 0
},
{
id: 4,
question: '地球上出现的潮汐是由于',
trueAnswer: '地月吸引力',
answer1: '地球自转',
answer2: '地球公转',
answer3: '黄赤交角',
del: 0
},
{
id: 5,
question: '中国最大的商业银行是',
trueAnswer: '中国工商银行',
answer1: '中国华夏银行',
answer2: '中国农业银行',
answer3: '中国邮政储蓄',
del: 0
}
],
// 数据同步接口
dataSync: [
{
id: 1,
title: '结束拜访',
text: '武渝东爱上了你擦科技处卡',
number: 002100,
subon: '2014.12.23 12:24:00',
del: 0
},
{
id: 2,
title: '下单数据',
text: '武渝东爱上了你擦科技处卡',
number: 002100,
subon: '2014.12.23 12:24:00',
del: 0
},
{
id: 3,
title: '结束拜访',
text: '武渝东爱上了你擦科技处卡',
number: 002100,
subon: '2014.12.23 12:24:00',
del: 0
}
],
// 首页九宫格接口
menuList: [{
id: 1,
menuName: '公司通告',
imgUrl: 'http://192.168.0.126:7777/server/img/gstg.png',
url: '/notice',
del: 0
},
{
id: 2,
menuName: '进店拜访',
imgUrl: 'http://192.168.0.126:7777/server/img/jdbf.png',
url: '/visitshop',
del: 0
},
{
id: 3,
menuName: '电话订单',
imgUrl: 'http://192.168.0.126:7777/server/img/dhdd.png',
url: '/phoneorder',
del: 0
},
{
id: 4,
menuName: '培训资料',
imgUrl: 'http://192.168.0.126:7777/server/img/pxzl.png',
url: '/training',
del: 0
},
{
id: 5,
menuName: '数据同步',
imgUrl: 'http://192.168.0.126:7777/server/img/sjtb.png',
url: '/asyncdata',
del: 0
},
{
id: 6,
menuName: '新增门店',
imgUrl: 'http://192.168.0.126:7777/server/img/xzmd.png',
url: '/addedshop',
del: 0
},
{
id: 7,
menuName: '消息中心',
imgUrl: 'http://192.168.0.126:7777/server/img/xxzx.png',
url: '/message',
del: 0
},
{
id: 8,
menuName: '订单状态',
imgUrl: 'http://192.168.0.126:7777/server/img/ddzt.png',
url: '/orders',
del: 0
}
],
// 首页 echart 接口
echartData: [{
month: '16%',
sale: '77%',
count: 266
}],
// 公告通过title 接口
announce: [{
id: 1,
pid: 1,
title: '销售代表团建通知',
subon: '2016年11月21日',
del: 0
},
{
id: 2,
pid: 2,
title: '代表团建通知',
subon: '2016年11月21日',
del: 0
},
{
id: 3,
pid: 3,
title: '产品团建通知',
subon: '2016年11月21日',
del: 0
},
{
id: 4,
pid: 4,
title: '销售关于项目通知',
subon: '2016年11月21日',
del: 0
},
{
id: 5,
pid: 5,
title: '销售代表通知',
subon: '2016年11月21日',
del: 0
},
{
id: 6,
pid: 6,
title: '代表团建通知',
subon: '2016年11月21日',
del: 0
}
],
// 公告信息text 接口
message: [
{
id: 1,
pid: 1,
title: '<h1>代表团全体成员</h1>',
text: '<p>武渝东安抚巨化股份卡刷点卡不插卡社保卡办事处爱丽丝打开计算机的卡萨丁卡萨诺安科技报道擦</p>',
subon: '2016.5.12-2016.5.14',
address: '北京双龙峡冰瀑',
del: 0
},
{
id: 2,
pid: 2,
title: '<h1>全体成员</h1>',
text: '<p>武渝东安抚巨化股份卡刷点卡不插卡社保卡办事处爱丽丝打开计算机的卡萨丁卡萨诺安科技报道擦</p>',
subon: '2016.5.12-2016.5.14',
address: '北京双龙峡冰瀑',
del: 0
},
{
id: 3,
pid: 3,
title: '<h1>销售代表团全体成员</h1>',
text: '<p>武渝东安抚巨化股份卡刷点卡不插卡社保卡办事处爱丽丝打开计算机的卡萨丁卡萨诺安科技报道擦</p>',
subon: '2016.5.12-2016.5.14',
address: '北京双龙峡冰瀑',
del: 0
},
{
id: 4,
pid: 4,
title: '<h1>hhh全体成员</h1>',
text: '<p>武渝东安抚巨化股份卡刷点卡不插卡社保卡办事处爱丽丝打开计算机的卡萨丁卡萨诺安科技报道擦</p>',
subon: '2016.5.12-2016.5.14',
address: '北京双龙峡冰瀑',
del: 0
},
{
id: 5,
pid: 5,
title: '<h1>ggg全体成员</h1>',
text: '<p>武渝东安抚巨化股份卡刷点卡不插卡社保卡办事处爱丽丝打开计算机的卡萨丁卡萨诺安科技报道擦</p>',
subon: '2016.5.12-2016.5.14',
address: '北京双龙峡冰瀑',
del: 0
},
{
id: 6,
pid: 6,
title: '<h1>mmm全体成员</h1>',
text: '<p>武渝东安抚巨化股份卡刷点卡不插卡社保卡办事处爱丽丝打开计算机的卡萨丁卡萨诺安科技报道擦</p>',
subon: '2016.5.12-2016.5.14',
address: '北京双龙峡冰瀑',
del: 0
}
],
// #region 店内活动接口
// 入口
activity: [{
id: 1,
shopId: 1,
month: 23343,
year: 47575,
percent: '34'
},
{
id: 2,
shopId: 3,
month: 43875,
year: 95858,
percent: '54'
},
{
id: 3,
shopId: 2,
month: 57635,
year: 23445,
percent: '56'
},
{
id: 4,
shopId: 6,
month: 34342,
year: 32434,
percent: '36'
},
{
id: 5,
shopId: 5,
month: 34324,
year: 32423,
percent: '76'
},
{
id: 6,
shopId: 8,
month: 23424,
year: 43244,
percent: '47'
},
{
id: 7,
shopId: 7,
month: 43244,
year: 56755,
percent: '47'
},
{
id: 8,
shopId: 4,
month: 2344,
year: 23423,
percent: '28'
},
],
//下单页头部菜单接口
orderMenu: [{
id: 1,
menuName: "促销",
},
{
id: 2,
menuName: "全部",
},
{
id: 3,
menuName: "PSKU-N",
},
{
id: 4,
menuName: "PSKU-M",
},
{
id: 5,
menuName: "PSKU-Y",
},
],
orderList: [
{
id: 1,
menuId: 1,
title: '巧克力威化饼',
serial: 34577,
monery: 78.00,
number: 12,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=3857246371,3665907822&fm=26&gp=0.jpg"
},
{
id: 2,
menuId: 1,
title: '巧克力威化饼',
serial: 34577,
monery: 78.00,
number: 12,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=3857246371,3665907822&fm=26&gp=0.jpg"
},
{
id: 3,
menuId: 1,
title: '巧克力威化饼',
serial: 34577,
monery: 78.00,
number: 12,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=3857246371,3665907822&fm=26&gp=0.jpg"
},
{
id: 4,
menuId: 1,
title: '巧克力威化饼',
serial: 34577,
monery: 78.00,
number: 12,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=3857246371,3665907822&fm=26&gp=0.jpg"
},
{
id: 5,
menuId: 1,
title: '巧克力威化饼',
serial: 34577,
monery: 78.00,
number: 12,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=3857246371,3665907822&fm=26&gp=0.jpg"
},
{
id: 6,
menuId: 1,
title: '巧克力威化饼',
serial: 34577,
monery: 78.00,
number: 12,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=3857246371,3665907822&fm=26&gp=0.jpg"
},
{
id: 7,
menuId: 1,
title: '巧克力威化饼',
serial: 34577,
monery: 78.00,
number: 12,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=3857246371,3665907822&fm=26&gp=0.jpg"
},
{
id: 8,
menuId: 1,
title: '巧克力威化饼',
serial: 34577,
monery: 78.00,
number: 12,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=3857246371,3665907822&fm=26&gp=0.jpg"
},
{
id: 9,
menuId: 1,
title: '巧克力威化饼',
serial: 34577,
monery: 78.00,
number: 12,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=3857246371,3665907822&fm=26&gp=0.jpg"
},
{
id: 10,
menuId: 1,
title: '巧克力威化饼',
serial: 34577,
monery: 78.00,
number: 12,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=3857246371,3665907822&fm=26&gp=0.jpg"
},
{
id:11,
menuId: 3,
title: '曲奇饼',
serial: 34577,
monery: 28.00,
number: 22,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=2165682634,1275439937&fm=26&gp=0.jpg"
},
{
id:12,
menuId: 3,
title: '曲奇饼',
serial: 34577,
monery: 28.00,
number: 22,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=2165682634,1275439937&fm=26&gp=0.jpg"
},
{
id:13,
menuId: 3,
title: '曲奇饼',
serial: 34577,
monery: 28.00,
number: 22,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=2165682634,1275439937&fm=26&gp=0.jpg"
},
{
id:14,
menuId: 3,
title: '曲奇饼',
serial: 34577,
monery: 28.00,
number: 22,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=2165682634,1275439937&fm=26&gp=0.jpg"
},
{
id:15,
menuId: 3,
title: '曲奇饼',
serial: 34577,
monery: 28.00,
number: 22,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=2165682634,1275439937&fm=26&gp=0.jpg"
},
{
id:16,
menuId: 3,
title: '曲奇饼',
serial: 34577,
monery: 28.00,
number: 22,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=2165682634,1275439937&fm=26&gp=0.jpg"
},
{
id:17,
menuId: 3,
title: '曲奇饼',
serial: 34577,
monery: 28.00,
number: 22,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=2165682634,1275439937&fm=26&gp=0.jpg"
},
{
id:18,
menuId: 3,
title: '曲奇饼',
serial: 34577,
monery: 28.00,
number: 22,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=2165682634,1275439937&fm=26&gp=0.jpg"
},
{
id:19,
menuId: 3,
title: '曲奇饼',
serial: 34577,
monery: 28.00,
number: 22,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=2165682634,1275439937&fm=26&gp=0.jpg"
},
{
id:20,
menuId: 3,
title: '曲奇饼',
serial: 34577,
monery: 28.00,
number: 22,
repertory: 1200,
img: "http://img3.imgtn.bdimg.com/it/u=2165682634,1275439937&fm=26&gp=0.jpg"
},
]
// #endregion
})
module.exports = data;