guci-date 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js ADDED
@@ -0,0 +1,1235 @@
1
+ import Vue from 'vue';
2
+ import Router from 'vue-router';
3
+
4
+
5
+ // 解决编程式路由往同一地址跳转时会报错的情况
6
+ const originalPush = Router.prototype.push;
7
+ const originalReplace = Router.prototype.replace;
8
+
9
+ // push
10
+ Router.prototype.push = function push(location, onResolve, onReject) {
11
+ if (onResolve || onReject)
12
+ return originalPush.call(this, location, onResolve, onReject);
13
+ return originalPush.call(this, location).catch(err => err);
14
+ };
15
+
16
+ //replace
17
+ Router.prototype.replace = function push(location, onResolve, onReject) {
18
+ if (onResolve || onReject)
19
+ return originalReplace.call(this, location, onResolve, onReject);
20
+ return originalReplace.call(this, location).catch(err => err);
21
+ };
22
+
23
+
24
+
25
+ import Home from '@/home/Home';
26
+ import Login from '@/pages/Login';
27
+ import Register from '@/pages/Register';
28
+ import Admin from '@/pages/Admin';
29
+ import ManagerMain from '@/manager/ManagerMain';
30
+ import Teacherlist from '@/manager/components/TeacherList';
31
+ import TeacherDetail from '@/manager/components/TeacherDetail';
32
+ import PayrollSummary from '@/manager/components/PayrollSummary';
33
+ import Teachersetting from '@/manager/components/TeacherSetting';
34
+ import TeachAreaSetting from '@/manager/components/TeachAreaSetting';
35
+ import SystemData from '@/manager/SystemData';
36
+ import CustomerMange from '@/manager/CustomerMange';
37
+ import CustomerCollect from '@/manager/CustomerCollect';
38
+
39
+ import Onlinecourse from '@/manager/components/OnlineCourse';
40
+ import studydocs from '@/manager/components/StudyDocs';
41
+ import HomeWork from '@/manager/components/HomeWork';
42
+ import exercise from '@/manager/components/Exercise';
43
+ import classroomlist from '@/manager/components/ClassroomList';
44
+ import teachbuildinglist from '@/manager/components/TeachBuildingList';
45
+ import CourseTable from '@/manager/components/CourseTable';
46
+ import StudentCourseTable from '@/home/components/CourseTable';
47
+ import EmptyClassroom from '@/home/components/EmptyClassroom';
48
+ import StudentCenter from '@/home/components/Center';
49
+ import StudentPassword from '@/home/components/Password';
50
+ import courseinfolist from '@/manager/components/CourseInfoList';
51
+ import Studenlist from '@/manager/components/StudentList';
52
+ import currentStudents from '@/manager/components/StudentList';
53
+ import ContractProduct from '@/manager/components/ContractProduct';
54
+ import Classtasklist from '@/manager/components/ClassTaskList';
55
+ import Classtasklistnew from '@/manager/components/ClassTaskListnew';
56
+ import ScheduleDetails from '@/manager/components/ScheduleDetails';
57
+
58
+ // import StudentDetail from '@/manager/components/StudentDetail';
59
+ import StudentDetail from '@/manager/components/StudentDetail(copy)';
60
+
61
+
62
+ import Classmanager from '@/manager/components/ClassManager';
63
+ import UpdatePass from '@/pages/components/UpdatePass';
64
+ import StudentDoc from '@/home/components/StudentDoc';
65
+ import Onlinecategory from '@/manager/components/OnlineCategory';
66
+ import help from '@/manager/components/Help';
67
+ import StudentMain from '@/home/StudentMain';
68
+ import authmanagement from '@/manager/components/AuthManagement'
69
+ import rolemanagement from '@/manager/components/RoleManagement'
70
+ import usermanagement from '@/manager/components/UserManagement'
71
+ import Ordercustomer from '@/manager/components/OrderCustomer'
72
+ import TemplateSet from '@/manager/components/TemplateSet'
73
+
74
+ import OnlineDiagnosis from '@/manager/components/OnlineDiagnosis'
75
+ import Offlinediagnosis from '@/manager/components/Offlinediagnosis'
76
+ import DiagnosisDetail from '@/manager/components/DiagnosisDetail'
77
+
78
+ import operationlog from '@/manager/components/OperationLog'
79
+ import addrecruitment from '@/manager/components/AddRecruitment';
80
+ import viewrecruitment from '@/manager/components/ViewRecruitment';
81
+
82
+ import Classdetails from '@/manager/components/ClassDetails.vue'
83
+ import Analyticstatistics from '@/manager/components/Analyticstatistics'
84
+ import Datatable from '@/statistics/Datatable'
85
+ import DatatableId from '@/statistics/DatatableId'
86
+ import salaryview from '@/manager/salary/salaryview.vue'
87
+ import mysalary from '@/manager/salary/mysalary.vue'
88
+ import FiveLessons from '@/manager/components/FiveLessons.vue'
89
+ import SalarPlan from '@/manager/salary/SalarPlan.vue'
90
+ //
91
+ import feedBack from '@/manager/afterSales/feedBack.vue'
92
+ import communicate from '@/manager/afterSales/communicate.vue'
93
+ import fistClass from '@/manager/afterSales/fistClass.vue'
94
+ import fiveClass from '@/manager/afterSales/fiveClass.vue'
95
+
96
+ import weekendReminder from '@/manager/afterSales/weekendReminder.vue'
97
+ import weekendTask from '@/manager/afterSales/weekendTask.vue'
98
+ import weekendQA from '@/manager/afterSales/weekendQA.vue'
99
+
100
+ import chatDetail from '@/manager/afterSales/chatDetail.vue'
101
+ import chatDetailTask from '@/manager/afterSales/chatDetailTask.vue'
102
+ import chatDetailQA from '@/manager/afterSales/chatDetailQA.vue'
103
+
104
+ import asYouPlease from '@/manager/afterSales/asYouPlease.vue'
105
+
106
+
107
+
108
+ // 课消统计
109
+ // import CourseSalesStatistics from '@/manager/afterSales/CourseSalesStatistics.vue'
110
+ // import CourseSalesStatisticsDetails from '@/manager/afterSales/CourseSalesStatisticsDetails.vue'
111
+
112
+ // Vue3
113
+ import CourseSalesStatistics from '@/manager/createComponents/CourseSalesStatistics.vue'
114
+ import CourseSalesStatisticsDetails from '@/manager/createComponents/CourseSalesStatisticsDetails.vue'
115
+
116
+
117
+
118
+ import fiveClassDetail from '@/manager/components/FiveClass.vue'
119
+
120
+ import ClassSchedule from '@/manager/components/ClassSchedule.vue'
121
+ import FirstClassHistory from '@/manager/components/FirstClassHistory.vue'
122
+
123
+ import salesStatistics from '@/manager/components/salesStatistics.vue'
124
+ import CourseStatistics from '@/manager/components/CourseStatistics.vue'
125
+ import LineChart from "@/manager/components/LineChart.vue"
126
+ import TeacherCost from '@/manager/components/TeacherCost.vue'
127
+ import HousingManagement from '@/manager/components/HousingManagement.vue'
128
+ // import SalarPlan from '@/manager/components/SalarPlan.vue'
129
+ import SalarPlanDialog from '@/manager/components/SalarPlanDialog.vue'
130
+ import MonthOverallNum from '@/manager/components/MonthOverallNum.vue'
131
+ import DayOverallNum from '@/manager/components/DayOverallNum.vue'
132
+ import ContractPlan from '@/manager/components/ContractPlan.vue'
133
+ import PersonalParticulars from '@/manager/components/PersonalParticulars.vue'
134
+ import StudentManagement from '@/manager/components/StudentManagement.vue'
135
+
136
+
137
+
138
+
139
+ // =================================================================>>>>>>>>>>
140
+ import agencyTasks from '@/manager/assembly/agencyTasks';
141
+ import addDelegatedTasks from '@/manager/assembly/addDelegatedTasks';
142
+ import taskNameManage from '@/manager/assembly/taskNameManage';
143
+
144
+ import model from '@/manager/afterSales/model';
145
+
146
+ import TrainingManagement from '@/initAssembly/TrainingManagement'
147
+ import ApprovalManagement from '@/initAssembly/ApprovalManagement'
148
+ import TrainingEntrance from '@/initAssembly/TrainingEntrance'
149
+ import addQuestionnaire from '@/InitializationFile/addQuestionnaire'
150
+ import answerEntrance from '@/InitializationFile/answerEntrance'
151
+ import trainingFiles from '@/initAssembly/trainingFiles'
152
+ import resultQuery from '@/InitializationFile/resultQuery'
153
+
154
+ import IntelligentScheduling from '@/IntelligentScheduling/IntelligentScheduling'
155
+ import CourseSchedulingRecords from '@/IntelligentScheduling/CourseSchedulingRecords'
156
+
157
+
158
+ import organizationalStructure from '@/teamOrganization/organizationalStructure'
159
+ import InterviewManagement from '@/InterviewManagement/InterviewManagement'
160
+ import templateSettings from '@/InterviewManagement/templateSettings'
161
+ import offerFollowUp from '@/InterviewManagement/offerFollowUp'
162
+
163
+ import PreSchedule from '@/PreSchedule/PreSchedule'
164
+ import PreSchedulenew from '@/PreSchedule/PreSchedule-new'
165
+
166
+
167
+
168
+ import telephoneCommunicationCalendar from '@/newsMessage-components/telephoneCommunicationCalendar'
169
+ import telephoneCommunicationRecord from '@/newsMessage-components/telephoneCommunicationRecord'
170
+
171
+
172
+ import AttendanceManagement from '@/AnonymousLetterManagement/AttendanceManagement'
173
+ import LeaveApprovalManagement from '@/AnonymousLetterManagement/LeaveApprovalManagement'
174
+ import PaymentApprovalManagement from '@/AnonymousLetterManagement/PaymentApprovalManagement'
175
+
176
+
177
+ import HolidayClassPlan from '@/HolidayClassPlan/HolidayClassPlan'
178
+
179
+
180
+ import OrderAmountApproval from '@/ApprovalManagement/OrderAmountApproval'
181
+ import CourseCancellationApproval from '@/ApprovalManagement/CourseCancellationApproval'
182
+ import CancelCourseClosureApproval from '@/ApprovalManagement/CancelCourseClosureApproval'
183
+
184
+
185
+ import WeeklyTestScoreRules from '@/WeeklyTestPerformanceManagement/WeeklyTestScoreRules'
186
+ import WeeklyTestScoreViewing from '@/WeeklyTestPerformanceManagement/WeeklyTestScoreViewing'
187
+
188
+ import dataBoard from '@/dataBoard/dataBoard'
189
+ import PromotionAndProtectionRulesManagement from '@/PromotionAndProtectionRulesManagement/PromotionAndProtectionRulesManagement'
190
+ import IntermediateTeacherGradeProtectionManagement from '@/IntermediateTeacherGradeProtectionManagement/IntermediateTeacherGradeProtectionManagement'
191
+ import PromotionRuleManagement from '@/PromotionRuleManagement/PromotionRuleManagement'
192
+
193
+
194
+
195
+ import PromotionTaskApproval from '@/TaskApproval/PromotionTaskApproval'
196
+ import DowngradeTaskApproval from '@/TaskApproval/DowngradeTaskApproval'
197
+ import Map from '@/ApprovalManagement/Map'
198
+
199
+
200
+
201
+ import FileSpace from '@/FileSpace/FileSpace'
202
+ import fileManagement from '@/FileSpace/fileManagement'
203
+ import DownloadManagement from '@/FileSpace/DownloadManagement'
204
+ import customerManagement from '@/customerManagement/customerManagement'
205
+ import questionnaireManagement from '@/customerManagement/questionnaireManagement'
206
+
207
+ import dictionaryManaged from '@/dictionaryManaged/dictionaryManaged'
208
+
209
+
210
+ import ProjectSettings from '@/PointsManagement/ProjectSettings'
211
+ import PointsDetails from '@/PointsManagement/PointsDetails'
212
+ import PointsApproval from '@/PointsManagement/PointsApproval'
213
+
214
+ import SigningPlan from '@/NewSigningPlanFiles/SigningPlan'
215
+ import AddSigningPlan from '@/NewSigningPlanFiles/AddSigningPlan'
216
+ import TeacherSignedContract from '@/NewSigningPlanFiles/TeacherSignedContract'
217
+
218
+
219
+
220
+ Vue.use(Router)
221
+
222
+
223
+ const router = new Router({
224
+ routes: [
225
+ {
226
+ path: '/',
227
+ name: '登录',
228
+ component: Admin,
229
+ meta:{
230
+ title: '登录',
231
+ requireAuth: false,
232
+ }
233
+ },
234
+ {
235
+ path: '/ManagerMain',
236
+ name: '蒙正后台管理系统',
237
+ component: ManagerMain,
238
+ meta:{
239
+ title: '蒙正后台管理系统',
240
+ requireAuth: true,
241
+ },
242
+ children: [
243
+ {
244
+ path: '/customerMange',
245
+ name: '查看客资',
246
+ component: CustomerMange,
247
+ meta:{
248
+ title: '查看客资',
249
+ requireAuth: true,
250
+ }
251
+ },
252
+ {
253
+ path: '/customerCollect',
254
+ name: '添加客资',
255
+ component: CustomerCollect,
256
+ meta:{
257
+ title: '添加客资',
258
+ requireAuth: true,
259
+ }
260
+ },
261
+ {
262
+ path: '/onlinediagnosis',
263
+ name: '线上诊断',
264
+ component: OnlineDiagnosis,
265
+ meta:{
266
+ title: '线上诊断',
267
+ requireAuth: true,
268
+ }
269
+ },
270
+ {
271
+ path: '/offlinediagnosis',
272
+ name: '线下诊断',
273
+ component: Offlinediagnosis,
274
+ meta:{
275
+ title: '线下诊断',
276
+ requireAuth: true,
277
+ }
278
+ },
279
+ {
280
+ path: '/ordercustomer',
281
+ name: '成单客资',
282
+ component: Ordercustomer,
283
+ meta:{
284
+ title: '成单客资',
285
+ requireAuth: true,
286
+ }
287
+ },
288
+ {
289
+ path: '/templateset',
290
+ name: '模板设置',
291
+ component: TemplateSet,
292
+ meta:{
293
+ title: '模板设置',
294
+ requireAuth: true,
295
+ }
296
+ },
297
+ // {
298
+ // path: '/classtasklist',
299
+ // name: '课表排课',
300
+ // component: Classtasklist,
301
+ // meta:{
302
+ // title: '课表排课',
303
+ // requireAuth: true,
304
+ // }
305
+ // },
306
+ {
307
+ path: '/classtasklist',
308
+ name: '课表排课',
309
+ component: Classtasklistnew,
310
+ meta:{
311
+ title: '课表排课',
312
+ requireAuth: true,
313
+ }
314
+ },
315
+ {
316
+ path: '/classdetails',
317
+ name: '查看课表',
318
+ component: Classdetails,
319
+ meta:{
320
+ title: '查看课表',
321
+ requireAuth: true,
322
+ }
323
+ },
324
+ {
325
+ path: '/onlinecourse',
326
+ name: '网课列表',
327
+ component: Onlinecourse,
328
+ meta:{
329
+ title: '网课列表',
330
+ requireAuth: true,
331
+ }
332
+ },
333
+ {
334
+ path: '/onlinecategory',
335
+ name: '课程类别',
336
+ component: Onlinecategory,
337
+ meta:{
338
+ title: '课程类别',
339
+ requireAuth: true,
340
+ }
341
+ },
342
+ {
343
+ path: '/teacherlist',
344
+ name: '所有讲师',
345
+ component: Teacherlist,
346
+ meta:{
347
+ title: '所有讲师',
348
+ requireAuth: true,
349
+ }
350
+ },
351
+ {
352
+ path: '/teachersetting',
353
+ name: '职级设置',
354
+ component: Teachersetting,
355
+ meta:{
356
+ title: '职级设置',
357
+ requireAuth: true,
358
+ }
359
+ },
360
+ {
361
+ path: '/classmanager',
362
+ name: '所有班级',
363
+ component: Classmanager,
364
+ meta:{
365
+ title: '所有班级',
366
+ requireAuth: true,
367
+ }
368
+ },
369
+ {
370
+ path: '/studentlist',
371
+ name: '所有学生',
372
+ component: Studenlist,
373
+ meta:{
374
+ title: '所有班级',
375
+ requireAuth: true,
376
+ }
377
+ },
378
+ {
379
+ path: '/currentStudents',
380
+ name: '在读学生',
381
+ component: currentStudents,
382
+ meta:{
383
+ title: '在读学生',
384
+ requireAuth: true,
385
+ }
386
+ },
387
+ {
388
+ path: '/ContractPlan',
389
+ name: '签约方案',
390
+ component: ContractPlan,
391
+ meta:{
392
+ title: '签约方案',
393
+ requireAuth: true,
394
+ }
395
+ },
396
+ {
397
+ path: '/SigningPlan',
398
+ name: '签约方案(新)',
399
+ component: SigningPlan,
400
+ meta:{
401
+ title: '签约方案(新)',
402
+ requireAuth: true,
403
+ }
404
+ },
405
+ {
406
+ path: '/AddSigningPlan',
407
+ name: '添加签约方案(新)',
408
+ component: AddSigningPlan,
409
+ meta:{
410
+ title: '添加签约方案(新)',
411
+ requireAuth: true,
412
+ }
413
+ },
414
+ {
415
+ path: '/TeacherSignedContract',
416
+ name: '老师签约',
417
+ component: TeacherSignedContract,
418
+ meta:{
419
+ title: '老师签约',
420
+ requireAuth: true,
421
+ }
422
+ },
423
+ {
424
+ path: '/studydocs',
425
+ name: '学习文档',
426
+ component: studydocs,
427
+ meta:{
428
+ title: '学习文档',
429
+ requireAuth: true,
430
+ }
431
+ },
432
+ {
433
+ path: '/exercise',
434
+ name: '在线测试',
435
+ component: exercise,
436
+ meta:{
437
+ title: '在线测试',
438
+ requireAuth: true,
439
+ }
440
+ },
441
+ {
442
+ path: '/courseinfolist',
443
+ name: '教材列表',
444
+ component: courseinfolist,
445
+ meta:{
446
+ title: '教材列表',
447
+ requireAuth: true,
448
+ }
449
+ },
450
+ {
451
+ path: '/teachbuildinglist',
452
+ name: '教学楼管理',
453
+ component: teachbuildinglist,
454
+ meta:{
455
+ title: '教学楼管理',
456
+ requireAuth: true,
457
+ }
458
+ },
459
+ {
460
+ path: '/classroomlist',
461
+ name: '教室列表',
462
+ component: classroomlist,
463
+ meta:{
464
+ title: '教室列表',
465
+ requireAuth: true,
466
+ }
467
+ },
468
+ {
469
+ path: '/help',
470
+ name: '使用说明',
471
+ component: help,
472
+ meta:{
473
+ title: '使用说明',
474
+ requireAuth: true,
475
+ }
476
+ },
477
+ {
478
+ path: '/usermanagement',
479
+ name: '用户管理',
480
+ component: usermanagement,
481
+ meta:{
482
+ title: '用户管理',
483
+ requireAuth: true,
484
+ }
485
+ },
486
+ {
487
+ path: '/rolemanagement',
488
+ name: '角色管理',
489
+ component: rolemanagement,
490
+ meta:{
491
+ title: '角色管理',
492
+ requireAuth: true,
493
+ }
494
+ },
495
+ {
496
+ path: '/authmanagement',
497
+ name: '权限管理',
498
+ component: authmanagement,
499
+ meta:{
500
+ title: '权限管理',
501
+ requireAuth: true,
502
+ }
503
+ },
504
+ {
505
+ path: '/operationlog',
506
+ name: '操作日志',
507
+ component: operationlog,
508
+ meta:{
509
+ title: '操作日志',
510
+ requireAuth: true,
511
+ }
512
+ },
513
+ {
514
+ path: '/addrecruitment',
515
+ name: '添加招聘',
516
+ component: addrecruitment,
517
+ meta:{
518
+ title: '添加招聘',
519
+ requireAuth: true,
520
+ }
521
+ },
522
+ {
523
+ path: '/viewrecruitment',
524
+ name: '查看招聘',
525
+ component: viewrecruitment,
526
+ meta:{
527
+ title: '查看招聘',
528
+ requireAuth: true,
529
+ }
530
+ },
531
+ {
532
+ path: '/Datatable',
533
+ name: '数据图表',
534
+ component: Datatable,
535
+ meta:{
536
+ title: '数据图表',
537
+ requireAuth: true,
538
+ }
539
+ },
540
+ {
541
+ path: '/ClassSchedule',
542
+ name: '课时统计',
543
+ component: ClassSchedule,
544
+ meta:{
545
+ title: '课时统计',
546
+ requireAuth: true,
547
+ }
548
+ },
549
+ {
550
+ path: '/salesStatistics',
551
+ name: '课销统计',
552
+ component: salesStatistics,
553
+ meta:{
554
+ title: '课销统计',
555
+ requireAuth: true,
556
+ }
557
+ },
558
+ {
559
+ path: '/salaryview',
560
+ name: '薪酬查看',
561
+ component: salaryview,
562
+ meta:{
563
+ title: '薪酬查看',
564
+ requireAuth: true,
565
+ }
566
+ },
567
+ {
568
+ path: '/mysalary',
569
+ name: '我的工资条',
570
+ component: mysalary,
571
+ meta:{
572
+ title: '我的工资条',
573
+ requireAuth: true,
574
+ }
575
+ },
576
+ {
577
+ path: '/SalarPlan',
578
+ name: '薪资方案',
579
+ component: SalarPlan,
580
+ meta:{
581
+ title: '薪资方案',
582
+ requireAuth: true,
583
+ }
584
+ },
585
+ {
586
+ path: '/feedBack',
587
+ name: '教师课后反馈',
588
+ component: feedBack,
589
+ meta:{
590
+ title: '教师课后反馈',
591
+ requireAuth: true,
592
+ }
593
+ },
594
+ {
595
+ path: '/communicate',
596
+ name: '规划师沟通',
597
+ component: communicate,
598
+ meta:{
599
+ title: '规划师沟通',
600
+ requireAuth: true,
601
+ }
602
+ },
603
+ {
604
+ path: '/fistClass',
605
+ name: '首次课计划',
606
+ component: fistClass,
607
+ meta:{
608
+ title: '首次课计划',
609
+ requireAuth: true,
610
+ }
611
+ },
612
+ {
613
+ path: '/fiveClass',
614
+ name: '五次课计划',
615
+ component: fiveClass,
616
+ meta:{
617
+ title: '五次课计划',
618
+ requireAuth: true,
619
+ }
620
+ },
621
+ {
622
+ path: '/HousingManagement',
623
+ name: '房屋管理',
624
+ component: HousingManagement,
625
+ meta:{
626
+ title: '房屋管理',
627
+ requireAuth: true,
628
+ }
629
+ },
630
+ {
631
+ path: '/StudentManagement',
632
+ name: '学管管理',
633
+ component: StudentManagement,
634
+ meta:{
635
+ title: '学管管理',
636
+ requireAuth: true,
637
+ }
638
+ },
639
+ {
640
+ path: '/PersonalParticulars/:id/:time/:name',
641
+ name: '个人资料',
642
+ component: PersonalParticulars,
643
+ meta:{
644
+ title: '个人资料',
645
+ requireAuth: true,
646
+ }
647
+ },
648
+ {
649
+ path: '/teacher-detail/:id',
650
+ name: '教师详细信息',
651
+ component: TeacherDetail,
652
+ props: true,
653
+ meta:{
654
+ title: '教师详细信息',
655
+ requireAuth: true,
656
+ }
657
+ },
658
+ {
659
+ path: '/student-detail/:id/:peagNum',
660
+ name: '学生详细信息',
661
+ component: StudentDetail,
662
+ props: true,
663
+ meta:{
664
+ title: '学生详细信息',
665
+ requireAuth: true,
666
+ }
667
+ },
668
+ {
669
+ path: '/agencyTasks',
670
+ name: '代办任务管理',
671
+ component: agencyTasks,
672
+ props: true,
673
+ meta:{
674
+ title: '代办任务管理',
675
+ requireAuth: true,
676
+ }
677
+ },
678
+ {
679
+ path: '/addDelegatedTasks',
680
+ name: '添加代办任务',
681
+ component: addDelegatedTasks,
682
+ props: true,
683
+ meta:{
684
+ title: '添加代办任务',
685
+ requireAuth: true,
686
+ }
687
+ },
688
+ {
689
+ path: '/taskNameManage',
690
+ name: '任务名称管理',
691
+ component: taskNameManage,
692
+ props: true,
693
+ meta:{
694
+ title: '任务名称管理',
695
+ requireAuth: true,
696
+ }
697
+ },
698
+ {
699
+ path: '/diagnosisdetail',
700
+ name: '诊断信息查看',
701
+ component: DiagnosisDetail,
702
+ meta:{
703
+ title: '诊断信息查看',
704
+ requireAuth: true,
705
+ }
706
+ },
707
+ {
708
+ path: '/CourseStatistics',
709
+ name: "课消统计图",
710
+ component: CourseStatistics,
711
+ meta:{
712
+ title: '课消统计图',
713
+ requireAuth: true,
714
+ }
715
+ },
716
+ {
717
+ path: '/LineChart',
718
+ name: "折线图",
719
+ component: LineChart,
720
+ meta:{
721
+ title: '折线图',
722
+ requireAuth: true,
723
+ }
724
+ },
725
+ {
726
+ path: "/MonthOverallNum",
727
+ name: '月总体课消数',
728
+ component: MonthOverallNum,
729
+ meta:{
730
+ title: '月总体课消数',
731
+ requireAuth: true,
732
+ }
733
+ },
734
+ {
735
+ path: '/DayOverallNum',
736
+ name: '日课消数统计',
737
+ component: DayOverallNum,
738
+ meta:{
739
+ title: '日课消数统计',
740
+ requireAuth: true,
741
+ }
742
+ },
743
+ {
744
+ path: '/model',
745
+ name: '蜡烛',
746
+ component: model,
747
+ meta:{
748
+ title: '蜡烛',
749
+ requireAuth: true,
750
+ }
751
+ },
752
+ {
753
+ path: '/CourseSalesStatistics',
754
+ name: '课消统计',
755
+ component: CourseSalesStatistics,
756
+ meta:{
757
+ title: '课消统计',
758
+ requireAuth: true,
759
+ }
760
+ },
761
+ {
762
+ path: '/CourseSalesStatisticsDetails',
763
+ name: '课消统计详情',
764
+ component: CourseSalesStatisticsDetails,
765
+ meta:{
766
+ title: '课消统计详情',
767
+ requireAuth: true,
768
+ }
769
+ },
770
+ {
771
+ path: '/weekendReminder',
772
+ name: '叮嘱',
773
+ component: weekendReminder,
774
+ meta:{
775
+ title: '叮嘱',
776
+ requireAuth: true,
777
+ // keepAlive: true,
778
+ }
779
+ },
780
+ {
781
+ path: '/weekendTask',
782
+ name: '作业',
783
+ component: weekendTask,
784
+ meta:{
785
+ title: '作业',
786
+ requireAuth: true,
787
+ // keepAlive: true,
788
+ }
789
+ },
790
+ {
791
+ path: '/weekendQA',
792
+ name: '答疑',
793
+ component: weekendQA,
794
+ meta:{
795
+ title: '答疑',
796
+ requireAuth: true,
797
+ // keepAlive: true,
798
+ }
799
+ },
800
+ {
801
+ path: '/chatDetail',
802
+ name: '叮嘱聊天室',
803
+ component: chatDetail,
804
+ meta:{
805
+ title: '叮嘱聊天室',
806
+ requireAuth: true,
807
+ }
808
+ },
809
+ {
810
+ path: '/chatDetailTask',
811
+ name: '作业聊天室',
812
+ component: chatDetailTask,
813
+ meta:{
814
+ title: '作业聊天室',
815
+ requireAuth: true,
816
+ }
817
+ },
818
+ {
819
+ path: '/chatDetailQA',
820
+ name: '答疑聊天室',
821
+ component: chatDetailQA,
822
+ meta:{
823
+ title: '答疑聊天室',
824
+ requireAuth: true,
825
+ }
826
+ },
827
+ {
828
+ path: '/asYouPlease',
829
+ name: '删除历史',
830
+ component: asYouPlease,
831
+ meta:{
832
+ title: '删除历史',
833
+ requireAuth: true,
834
+ }
835
+ },
836
+ {
837
+ path: '/TrainingManagement',
838
+ name: '添加方案',
839
+ component: TrainingManagement,
840
+ meta:{
841
+ title: '添加方案',
842
+ requireAuth: true,
843
+ }
844
+ },
845
+ {
846
+ path: '/ApprovalManagement',
847
+ name: '审批管理',
848
+ component: ApprovalManagement,
849
+ meta:{
850
+ title: '审批管理',
851
+ requireAuth: true,
852
+ }
853
+ },
854
+ {
855
+ path: '/TrainingEntrance',
856
+ name: '培训入口',
857
+ component: TrainingEntrance,
858
+ meta:{
859
+ title: '培训入口',
860
+ requireAuth: true,
861
+ }
862
+ },
863
+ {
864
+ path: '/trainingFiles',
865
+ name: '培训档案',
866
+ component: trainingFiles,
867
+ meta:{
868
+ title: '培训档案',
869
+ requireAuth: true,
870
+ }
871
+ },
872
+ {
873
+ path: '/addQuestionnaire',
874
+ name: '添加问卷',
875
+ component: addQuestionnaire,
876
+ meta:{
877
+ title: '添加问卷',
878
+ requireAuth: true,
879
+ }
880
+ },
881
+ {
882
+ path: '/answerEntrance',
883
+ name: '答题入口',
884
+ component: answerEntrance,
885
+ meta:{
886
+ title: '答题入口',
887
+ requireAuth: true,
888
+ }
889
+ },
890
+ {
891
+ path: '/resultQuery',
892
+ name: '结果查询',
893
+ component: resultQuery,
894
+ meta:{
895
+ title: '结果查询',
896
+ requireAuth: true,
897
+ }
898
+ },
899
+ {
900
+ path: '/IntelligentScheduling',
901
+ name: '智能排课',
902
+ component: IntelligentScheduling,
903
+ meta:{
904
+ title: '智能排课',
905
+ requireAuth: true,
906
+ }
907
+ },
908
+ {
909
+ path: '/CourseSchedulingRecords',
910
+ name: '排课记录',
911
+ component: CourseSchedulingRecords,
912
+ meta:{
913
+ title: '排课排课',
914
+ requireAuth: true,
915
+ }
916
+ },
917
+
918
+ {
919
+ path: '/organizationalStructure',
920
+ name: '组织架构',
921
+ component: organizationalStructure,
922
+ meta:{
923
+ title: '组织架构',
924
+ requireAuth: true,
925
+ }
926
+ },
927
+ {
928
+ path: '/InterviewManagement',
929
+ name: '面试管理',
930
+ component: InterviewManagement,
931
+ meta:{
932
+ title: '面试管理',
933
+ requireAuth: true,
934
+ }
935
+ },
936
+ {
937
+ path: '/templateSettings',
938
+ name: '模版设置',
939
+ component: templateSettings,
940
+ meta:{
941
+ title: '模版设置',
942
+ requireAuth: true,
943
+ }
944
+ },
945
+ {
946
+ path: '/offerFollowUp',
947
+ name: 'offer跟进',
948
+ component: offerFollowUp,
949
+ meta:{
950
+ title: 'offer跟进',
951
+ requireAuth: true,
952
+ }
953
+ },
954
+ // {
955
+ // path: '/PreSchedule',
956
+ // name: '预排课表',
957
+ // component: PreSchedule,
958
+ // meta:{
959
+ // title: '预排课表',
960
+ // requireAuth: true,
961
+ // }
962
+ // },
963
+ {
964
+ path: '/PreSchedule',
965
+ name: '预排课表',
966
+ component: PreSchedulenew,
967
+ meta:{
968
+ title: '预排课表',
969
+ requireAuth: true,
970
+ }
971
+ },
972
+
973
+ {
974
+ path: '/telephoneCommunicationCalendar',
975
+ name: '电话沟通日历',
976
+ component: telephoneCommunicationCalendar,
977
+ meta:{
978
+ title: '电话沟通日历',
979
+ requireAuth: true,
980
+ }
981
+ },
982
+ {
983
+ path: '/telephoneCommunicationRecord',
984
+ name: '电话沟通记录',
985
+ component: telephoneCommunicationRecord,
986
+ meta:{
987
+ title: '电话沟通记录',
988
+ requireAuth: true,
989
+ }
990
+ },
991
+ {
992
+ path: '/AttendanceManagement',
993
+ name: '考勤管理',
994
+ component: AttendanceManagement,
995
+ meta:{
996
+ title: '考勤管理',
997
+ requireAuth: true,
998
+ }
999
+ },{
1000
+ path: '/LeaveApprovalManagement',
1001
+ name: '请假审批管理',
1002
+ component: LeaveApprovalManagement,
1003
+ meta:{
1004
+ title: '请假审批管理',
1005
+ requireAuth: true,
1006
+ }
1007
+ },{
1008
+ path: '/PaymentApprovalManagement',
1009
+ name: '付款审批管理',
1010
+ component: PaymentApprovalManagement,
1011
+ meta:{
1012
+ title: '付款审批管理',
1013
+ requireAuth: true,
1014
+ }
1015
+ },
1016
+ {
1017
+ path: '/HolidayClassPlan',
1018
+ name: '假期课计划',
1019
+ component: HolidayClassPlan,
1020
+ meta:{
1021
+ title: '假期课计划',
1022
+ requireAuth: true,
1023
+ }
1024
+ },
1025
+ {
1026
+ path: '/OrderAmountApproval',
1027
+ name: '成单金额审批',
1028
+ component: OrderAmountApproval,
1029
+ meta:{
1030
+ title: '成单金额审批',
1031
+ requireAuth: true,
1032
+ }
1033
+ },
1034
+ {
1035
+ path: '/CourseCancellationApproval',
1036
+ name: '课消审批',
1037
+ component: CourseCancellationApproval,
1038
+ meta:{
1039
+ title: '课消审批',
1040
+ requireAuth: true,
1041
+ }
1042
+ },
1043
+ {
1044
+ path: '/CancelCourseClosureApproval',
1045
+ name: '取消结课审批',
1046
+ component: CancelCourseClosureApproval,
1047
+ meta:{
1048
+ title: '取消结课审批',
1049
+ requireAuth: true,
1050
+ }
1051
+ },
1052
+ {
1053
+ path: '/WeeklyTestScoreRules',
1054
+ name: '周测成绩等级规则',
1055
+ component: WeeklyTestScoreRules,
1056
+ meta:{
1057
+ title: '周测成绩等级规则',
1058
+ requireAuth: true,
1059
+ }
1060
+ },
1061
+ {
1062
+ path: '/WeeklyTestScoreViewing',
1063
+ name: '周测成绩查看',
1064
+ component: WeeklyTestScoreViewing,
1065
+ meta:{
1066
+ title: '周测成绩查看',
1067
+ requireAuth: true,
1068
+ }
1069
+ },
1070
+ {
1071
+ path: '/dataBoard',
1072
+ name: '数据看板',
1073
+ component: dataBoard,
1074
+ meta:{
1075
+ title: '数据看板',
1076
+ requireAuth: true,
1077
+ }
1078
+ },
1079
+ {
1080
+ path: '/PromotionAndProtectionRulesManagement',
1081
+ name: '晋升保级规则管理',
1082
+ component: PromotionAndProtectionRulesManagement,
1083
+ meta:{
1084
+ title: '晋升保级规则管理',
1085
+ requireAuth: true,
1086
+ }
1087
+ },
1088
+ {
1089
+ path: '/IntermediateTeacherGradeProtectionManagement',
1090
+ name: '中级老师保级管理',
1091
+ component: IntermediateTeacherGradeProtectionManagement,
1092
+ meta:{
1093
+ title: '中级老师保级管理',
1094
+ requireAuth: true,
1095
+ }
1096
+ },
1097
+ {
1098
+ path: '/PromotionRuleManagement',
1099
+ name: '晋升规则管理',
1100
+ component: PromotionRuleManagement,
1101
+ meta:{
1102
+ title: '晋升规则管理',
1103
+ requireAuth: true,
1104
+ }
1105
+ },
1106
+ {
1107
+ path: '/PromotionTaskApproval',
1108
+ name: '晋升任务审批',
1109
+ component: PromotionTaskApproval,
1110
+ meta:{
1111
+ title: '晋升任务审批',
1112
+ requireAuth: true,
1113
+ }
1114
+ },
1115
+ {
1116
+ path: '/DowngradeTaskApproval',
1117
+ name: '降级任务审批',
1118
+ component: DowngradeTaskApproval,
1119
+ meta:{
1120
+ title: '降级任务审批',
1121
+ requireAuth: true,
1122
+ }
1123
+ },
1124
+ {
1125
+ path: '/Map',
1126
+ name: '地图',
1127
+ component: Map,
1128
+ meta:{
1129
+ title: '地图',
1130
+ requireAuth: true,
1131
+ }
1132
+ },
1133
+ {
1134
+ path: '/FileSpace',
1135
+ name: '文件空间',
1136
+ component: FileSpace,
1137
+ meta:{
1138
+ title: '文件空间',
1139
+ requireAuth: true,
1140
+ }
1141
+ },
1142
+ {
1143
+ path: '/fileManagement',
1144
+ name: '文件审批',
1145
+ component: fileManagement,
1146
+ meta:{
1147
+ title: '文件审批',
1148
+ requireAuth: true,
1149
+ }
1150
+ },
1151
+ {
1152
+ path: '/DownloadManagement',
1153
+ name: '下载管理',
1154
+ component: DownloadManagement,
1155
+ meta:{
1156
+ title: '下载管理',
1157
+ requireAuth: true,
1158
+ }
1159
+ },
1160
+ {
1161
+ path: '/customerManagement',
1162
+ name: '客户管理',
1163
+ component: customerManagement,
1164
+ meta:{
1165
+ title: '客户管理',
1166
+ requireAuth: true,
1167
+ }
1168
+ },
1169
+ {
1170
+ path: '/questionnaireManagement',
1171
+ name: '问卷管理',
1172
+ component: questionnaireManagement,
1173
+ meta:{
1174
+ title: '问卷管理',
1175
+ requireAuth: true,
1176
+ }
1177
+ },
1178
+ {
1179
+ path: '/dictionaryManaged',
1180
+ name: '字典管理',
1181
+ component:dictionaryManaged,
1182
+ meta:{
1183
+ title: '字典管理',
1184
+ requireAuth: true,
1185
+ }
1186
+ },
1187
+ {
1188
+ path: '/ProjectSettings',
1189
+ name: '项目设置',
1190
+ component:ProjectSettings,
1191
+ meta:{
1192
+ title: '项目设置',
1193
+ requireAuth: true,
1194
+ }
1195
+ },
1196
+ {
1197
+ path: '/PointsDetails',
1198
+ name: '积分详情',
1199
+ component:PointsDetails,
1200
+ meta:{
1201
+ title: '积分详情',
1202
+ requireAuth: true,
1203
+ }
1204
+ },
1205
+ {
1206
+ path: '/PointsApproval',
1207
+ name: '积分审批',
1208
+ component:PointsApproval,
1209
+ meta:{
1210
+ title: '积分审批',
1211
+ requireAuth: true,
1212
+ }
1213
+ },
1214
+ ]
1215
+ },
1216
+ ]
1217
+ })
1218
+
1219
+
1220
+ // router.beforeEach((to, from, next) => {
1221
+ // if (to.meta.requireAuth) {
1222
+ // if (window.localStorage.getItem('teacher') || window.localStorage.getItem("admin")) {
1223
+ // next()
1224
+ // } else {
1225
+ // next({ path: '/'})
1226
+ // }
1227
+ // }
1228
+ // next()
1229
+ // })
1230
+
1231
+
1232
+ export default router
1233
+
1234
+
1235
+