Your Name 3 年前
父节点
当前提交
5f136c2f30
共有 1 个文件被更改,包括 28 次插入278 次删除
  1. 28
    278
      config/routes.js

+ 28
- 278
config/routes.js 查看文件

@@ -86,29 +86,12 @@ export default [
86 86
                 hideInMenu: true,
87 87
                 component: './customer/Customer/PrivateCustomer/CustomerDetail',
88 88
               },
89
-              // {
90
-              //   path: '/customer/customerlist/list',
91
-              //   name: '客户列表old',
92
-              //   component: './customer/customerlist/index copy.jsx',
93
-              // },
94
-              // {
95
-              //   path: '/customer/customerlist/customerDetail',
96
-              //   name: '私客详情',
97
-              //   hideInMenu: true,
98
-              //   component: './customer/customerlist/customerDetail',
99
-              // },
100 89
               {
101 90
                 path: '/customer/customer/StatusChange',
102 91
                 name: '状态变更',
103 92
                 hideInMenu: true,
104 93
                 component: './customer/Customer/StatusChange',
105 94
               },
106
-
107
-              // {
108
-              //   path: '/customer/drift/list',
109
-              //   name: '游客列表',
110
-              //   component: './customer/drift/index',
111
-              // },
112 95
               {
113 96
                 path: '/customer/customerlist/publicCustomerDetail',
114 97
                 name: '公客详情',
@@ -140,47 +123,6 @@ export default [
140 123
               },
141 124
             ],
142 125
           },
143
-          {
144
-            path: '/staff',
145
-            name: '员工管理',
146
-            component: '../layouts/BlankLayout',
147
-            routes: [
148
-              {
149
-                path: '/staff/Staff/List',
150
-                name: '员工列表',
151
-                component: './staff/Staff/List',
152
-              },
153
-              {
154
-                path: '/staff/Staff/Edit',
155
-                name: '编辑员工',
156
-                hideInMenu: true,
157
-                component: './staff/Staff/Edit',
158
-              },
159
-              {
160
-                path: '/staff/Role/List',
161
-                name: '角色管理',
162
-                component: './staff/Role/List',
163
-              },
164
-              {
165
-                path: '/staff/Role/Edit',
166
-                name: '编辑角色',
167
-                hideInMenu: true,
168
-                component: './staff/Role/Edit',
169
-              },
170
-              {
171
-                path: '/staff/Organization/List',
172
-                name: '组织架构',
173
-                component: './staff/Organization',
174
-              },
175
-
176
-              // {
177
-              //   path: '/staff/list/distribution',
178
-              //   name: '分配归属',
179
-              //   hideInMenu: true,
180
-              //   component: './staff/list/distribution',
181
-              // },
182
-            ],
183
-          },
184 126
           {
185 127
             path: '/Live',
186 128
             name: '视频直播',
@@ -481,12 +423,6 @@ export default [
481 423
                 name: '客户留言',
482 424
                 component: './system/messageList',
483 425
               },
484
-              // {
485
-              //   path: '/home/recommend/auditcopy',
486
-              //   name: '回访确认',
487
-              //   hideInMenu: true,
488
-              //   component: './home/Recommend/auditCopy',
489
-              // },
490 426
             ],
491 427
           },
492 428
           {
@@ -535,17 +471,6 @@ export default [
535 471
                 hideInMenu: true,
536 472
                 component: './carouselFigure/editAdvertising',
537 473
               },
538
-              // {
539
-              //   path: '/carouselFigure/propagandaList',
540
-              //   name: '宣传位',
541
-              //   component: './carouselFigure/propagandaList',
542
-              // },
543
-              // {
544
-              //   path: '/carouselFigure/propaganda',
545
-              //   name: '宣传位编辑',
546
-              //   hideInMenu: true,
547
-              //   component: './carouselFigure/propaganda',
548
-              // },
549 474
               {
550 475
                 path: '/carouselFigure/customImg/list',
551 476
                 name: '其他',
@@ -560,65 +485,42 @@ export default [
560 485
             ],
561 486
           },
562 487
           {
563
-            path: '/system',
488
+            path: '/',
564 489
             name: '系统管理',
565 490
             component: '../layouts/BlankLayout',
566 491
             routes: [
567
-              // {
568
-              //   path: '/system/messageList',
569
-              //   name: '客户留言',
570
-              //   component: './system/messageList',
571
-              // },
572
-              // {
573
-              //   path: '/system/report',
574
-              //   name: '报表数据',
575
-              //   component: './system/report',
576
-              // },
577 492
               {
578 493
                 path: '/system/intention',
579 494
                 name: '意向值',
580 495
                 component: './system/intention',
581 496
               },
582
-
583
-              // {
584
-              //   path: '/system/housingPolicy/list',
585
-              //   name: '购房百科',
586
-              //   component: './system/housingPolicy/List',
587
-              // },
588
-              // {
589
-              //   path: '/system/housingPolicy/edit',
590
-              //   name: '购房百科编辑',
591
-              //   hideInMenu: true,
592
-              //   component: './system/housingPolicy/Edit',
593
-              // },
594
-              // {
595
-              //   path: '/system/editPolicy',
596
-              //   name: '购房政策编辑',
597
-              //   hideInMenu: true,
598
-              //   component: './system/editPolicy',
599
-              // },
600
-              // {
601
-              //   path: '/system/document/list',
602
-              //   name: '客户资料',
603
-              //   component: './system/document/list',
604
-              // },
605
-              // {
606
-              //   path: '/system/document/audit',
607
-              //   name: '客户资料审核',
608
-              //   hideInMenu: true,
609
-              //   component: './system/document/audit',
610
-              // },
611
-              // {
612
-              //   path: '/system/MiniappTheme',
613
-              //   name: '小程序主题',
614
-              //   component: './system/MiniappTheme',
615
-              // },
616
-              // {
617
-              //   path: '/system/MiniappTheme/Detail',
618
-              //   name: '小程序主题编辑',
619
-              //   component: './system/MiniappTheme/Detail',
620
-              //   hideInMenu: true,
621
-              // },
497
+              {
498
+                path: '/staff/Staff/List',
499
+                name: '员工列表',
500
+                component: './staff/Staff/List',
501
+              },
502
+              {
503
+                path: '/staff/Staff/Edit',
504
+                name: '编辑员工',
505
+                hideInMenu: true,
506
+                component: './staff/Staff/Edit',
507
+              },
508
+              {
509
+                path: '/staff/Role/List',
510
+                name: '角色管理',
511
+                component: './staff/Role/List',
512
+              },
513
+              {
514
+                path: '/staff/Role/Edit',
515
+                name: '编辑角色',
516
+                hideInMenu: true,
517
+                component: './staff/Role/Edit',
518
+              },
519
+              {
520
+                path: '/staff/Organization/List',
521
+                name: '组织架构',
522
+                component: './staff/Organization',
523
+              },
622 524
             ],
623 525
           },
624 526
           {
@@ -639,158 +541,6 @@ export default [
639 541
               },
640 542
             ],
641 543
           },
642
-          // {
643
-          //   path: '/statistical',
644
-          //   name: '数据统计',
645
-          //   component: '../layouts/BlankLayout',
646
-          //   routes: [
647
-          //     {
648
-          //       path: '/statistical',
649
-          //       redirect: '/statistical/monitor',
650
-          //     },
651
-          //     {
652
-          //       path: '/statistical/monitor',
653
-          //       name: '数据报表',
654
-          //       component: './statistical/Monitor',
655
-          //     },
656
-          //     {
657
-          //       path: '/statistical/activity',
658
-          //       name: '活动统计',
659
-          //       component: './statistical/activity',
660
-          //     },
661
-          //     {
662
-          //       path: '/statistical/activity/detail',
663
-          //       name: '查看详情',
664
-          //       hideInMenu: true,
665
-          //       component: './statistical/activity/detail',
666
-          //     },
667
-          //     {
668
-          //       path: '/statistical/activity/sharePersonNum',
669
-          //       name: '分享统计',
670
-          //       hideInMenu: true,
671
-          //       component: './statistical/activity/sharePersonNum',
672
-          //     },
673
-          //     {
674
-          //       path: '/statistical/activity/shareNum',
675
-          //       name: '分享统计',
676
-          //       hideInMenu: true,
677
-          //       component: './statistical/activity/shareNum',
678
-          //     },
679
-          //     {
680
-          //       path: '/statistical/activity/addRegistNum',
681
-          //       name: '分享统计',
682
-          //       hideInMenu: true,
683
-          //       component: './statistical/activity/addRegistNum',
684
-          //     },
685
-          //     {
686
-          //       path: '/statistical/activity/visitNum',
687
-          //       name: '访问统计',
688
-          //       hideInMenu: true,
689
-          //       component: './statistical/activity/visitNum',
690
-          //     },
691
-          //     {
692
-          //       path: '/statistical/activity/visitPersonNum',
693
-          //       name: '访问统计',
694
-          //       hideInMenu: true,
695
-          //       component: './statistical/activity/visitPersonNum',
696
-          //     },
697
-          //     {
698
-          //       path: '/statistical/building',
699
-          //       name: '项目统计',
700
-          //       component: './statistical/building',
701
-          //     },
702
-          //     {
703
-          //       path: '/statistical/consultant',
704
-          //       name: '置业顾问KPI',
705
-          //       component: './statistical/consultant',
706
-          //     },
707
-
708
-          //     {
709
-          //       path: '/statistical/userSource',
710
-          //       name: '用户来源',
711
-          //       component: './indexEcharts/userSource',
712
-          //       hideInMenu: true,
713
-          //     },
714
-          //     {
715
-          //       path: '/statistical/newUsers',
716
-          //       name: '新增用户',
717
-          //       component: './indexEcharts/newUsers',
718
-          //       hideInMenu: true,
719
-          //     },
720
-          //     {
721
-          //       path: '/statistical/userBehavior',
722
-          //       name: '用户行为',
723
-          //       component: './indexEcharts/userBehavior',
724
-          //       hideInMenu: true,
725
-          //     },
726
-          //     {
727
-          //       path: '/statistical/building/detail',
728
-          //       name: '项目统计详情',
729
-          //       component: './statistical/building/detail',
730
-          //       hideInMenu: true,
731
-          //     },
732
-          //     {
733
-          //       path: '/statistical/consultant/table',
734
-          //       name: '客户总计',
735
-          //       hideInMenu: true,
736
-          //       component: './statistical/consultant/table',
737
-          //     },
738
-          //     {
739
-          //       path: '/statistical/consultant/newPersons',
740
-          //       name: '新增客户',
741
-          //       hideInMenu: true,
742
-          //       component: './statistical/consultant/table',
743
-          //     },
744
-          //     {
745
-          //       path: '/statistical/consultant/sharetable',
746
-          //       name: '分享次数',
747
-          //       hideInMenu: true,
748
-          //       component: './statistical/consultant/sharetable',
749
-          //     },
750
-          //     {
751
-          //       path: '/statistical/consultant/visitPersons',
752
-          //       name: '分享访问人数',
753
-          //       hideInMenu: true,
754
-          //       component: './statistical/consultant/visitPersons',
755
-          //     },
756
-          //     {
757
-          //       path: '/statistical/consultant/visitNum',
758
-          //       name: '分享访问次数',
759
-          //       hideInMenu: true,
760
-          //       component: './statistical/consultant/visitNum',
761
-          //     },
762
-          //     {
763
-          //       path: '/statistical/consultant/sharePersons',
764
-          //       name: '分享拓客',
765
-          //       hideInMenu: true,
766
-          //       component: './statistical/consultant/table',
767
-          //     },
768
-          //     {
769
-          //       path: '/statistical/consultant/homePagePersons',
770
-          //       name: '主页访问人数',
771
-          //       hideInMenu: true,
772
-          //       component: './statistical/consultant/homePagePersons',
773
-          //     },
774
-          //     {
775
-          //       path: '/statistical/consultant/homepageNum',
776
-          //       name: '主页访问次数',
777
-          //       hideInMenu: true,
778
-          //       component: './statistical/consultant/table',
779
-          //     },
780
-          //     {
781
-          //       path: '/statistical/consultant/chatPersons',
782
-          //       name: '咨询数',
783
-          //       hideInMenu: true,
784
-          //       component: './statistical/consultant/table',
785
-          //     },
786
-          //     {
787
-          //       path: '/statistical/consultant/favorNum',
788
-          //       name: '点赞数',
789
-          //       hideInMenu: true,
790
-          //       component: './statistical/consultant/table',
791
-          //     },
792
-          //   ],
793
-          // },
794 544
           {
795 545
             component: './404',
796 546
           },