Blame view

src/router/index.js 33 KB
aea3399d   liufangjia   feat: 代码提交
1
2
3
4
5
  import Vue from "vue";
  import Router from "vue-router";
  import Login from "@/views/login/index";
  import Layout from "@/views/layout/layout";
  import HomeMain from "@/views/index/mainIndex";
13b58a42   梁保满   备题组卷部分前端页面基本完成
6
  
c1b532ad   梁保满   权限配置,路由基础设置
7
  // 不是必须加载的组件使用懒加载
aea3399d   liufangjia   feat: 代码提交
8
9
10
11
12
13
14
15
16
17
18
  const NotFound = () => import("@/views/page404");
  const ExaminationPaper = () => import("@/views/examinationPaper/index");
  const ExaminationPaperAdd = () => import("@/views/examinationPaper/add");
  const ExaminationPaperAddQs = () => import("@/views/examinationPaper/addQs");
  const ExaminationPaperEdit = () => import("@/views/examinationPaper/edit");
  const ExaminationPaperRecycle = () =>
    import("@/views/examinationPaper/recycle");
  const ExaminationPaperArchiving = () =>
    import("@/views/examinationPaper/archiving");
  const Portrait = () => import("@/views/portrait/index");
  const PortraitDetail = () => import("@/views/portrait/detail");
e371f2dc   梁保满   软件下载,学校,班级老师等报表导入...
19
  
aea3399d   liufangjia   feat: 代码提交
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
  const Ask = () => import("@/views/basic/ask/index");
  const AskList = () => import("@/views/basic/ask/list");
  const AskAnalysis = () => import("@/views/basic/ask/analysis");
  const AskArchiving = () => import("@/views/basic/ask/archiving");
  const Test = () => import("@/views/basic/test/index");
  const TestList = () => import("@/views/basic/test/list");
  const TestAnalysis = () => import("@/views/basic/test/analysis");
  const TestArchiving = () => import("@/views/basic/test/archiving");
  const DataSync = () => import("@/views/basic/dataSync/index");
  const Card = () => import("@/views/basic/card/index");
  const Analysis = () => import("@/views/basic/analysis/index");
  const Device = () => import("@/views/basic/device/index");
  const DeviceLog = () => import("@/views/basic/device/log");
  const Down = () => import("@/views/basic/down/index");
  const DownClient = () => import("@/views/basic/down/client");
  const SetUpAccount = () => import("@/views/basic/setUp/account");
  const SetUpConglomerate = () => import("@/views/basic/setUp/conglomerate");
  const SetUpSchool = () => import("@/views/basic/setUp/school");
  const SetUpTeacher = () => import("@/views/basic/setUp/teacher");
  const SetUpStudent = () => import("@/views/basic/setUp/student");
  const SetUpPersonalSetUpStudent = () =>
    import("@/views/basic/setUp/PersonalStudent");
  const ArchivedClazz = () => import("@/views/basic/setUp/archivedClazz");
  const UserInfo = () => import("@/views/basic/userInfo/index");
77ebf04d   梁保满   个人版
44
  
6dc19f47   梁保满   路由及文件名调整
45
  // 个人版
d01c5799   梁保满   随堂问 报表开发
46
47
48
49
50
51
52
53
54
55
56
  // const PersonalAsk = () => import("@/views/personal/ask/index")
  // const PersonalAskAnalysis = () => import("@/views/personal/ask/analysis")
  // const PersonalArchiving = () => import("@/views/personal/ask/archiving")
  // const PersonalTest = () => import("@/views/personal/test/index")
  // const PersonalTestAnalysis = () => import("@/views/personal/test/analysis")
  // const PersonalTestArchiving = () => import("@/views/personal/test/archiving")
  // const PersonalDataSync = () => import("@/views/personal/dataSync/index")
  // const PersonalSetUpStudent = () => import("@/views/personal/setUp/student")
  // const PersonalDown = () => import("@/views/personal/down/index")
  // const PersonalUserInfo = () => import("@/views/personal/userInfo/index")
  
6dc19f47   梁保满   路由及文件名调整
57
  // 超级管理员
aea3399d   liufangjia   feat: 代码提交
58
59
60
61
  const AdminDevice = () => import("@/views/admin/device/index");
  const AdminDeviceLog = () => import("@/views/admin/device/log");
  const AdminAccount = () => import("@/views/admin/account/index");
  const AdminClientVersion = () => import("@/views/admin/clientVersion/index");
c1b532ad   梁保满   权限配置,路由基础设置
62
63
  
  /**
aea3399d   liufangjia   feat: 代码提交
64
   * v1.4
8ef22809   梁保满   软件下载页面添加.net环境下载
65
   */
aea3399d   liufangjia   feat: 代码提交
66
67
68
  const SetUpClazz = () => import("@/views/basic/setUp/clazz");
  const Archived = () => import("@/views/basic/setUp/archived");
  const DeviceError = () => import("@/views/basic/device/error");
8ef22809   梁保满   软件下载页面添加.net环境下载
69
  
f45b3c05   LH_PC   云平台新UI界面
70
  // v1.5 年级组长
aea3399d   liufangjia   feat: 代码提交
71
72
73
74
  const gradeAnalysis = () =>
    import("@/views/basic/askTestQuestion/gradeAnalysis");
  const gradeDetail = () =>
    import("@/views/basic/askTestQuestion/gradeAnalysisDetail");
f45b3c05   LH_PC   云平台新UI界面
75
  
aea3399d   liufangjia   feat: 代码提交
76
77
78
79
80
81
82
83
84
85
  const askTestQuestion = () => import("@/views/basic/askTestQuestion/index");
  const askTestDetail = () => import("@/views/basic/askTestQuestion/view");
  const askTestUpdate = () => import("@/views/basic/askTestQuestion/update");
  const askTestReport = () => import("@/views/basic/askTestQuestion/report");
  const wrongQuestion = () =>
    import("@/views/basic/askTestQuestion/wrongQuestion");
  const askTestReportDetail = () =>
    import("@/views/basic/askTestQuestion/detail");
  const askTestReportRecycle = () =>
    import("@/views/basic/askTestQuestion/recycle");
f45b3c05   LH_PC   云平台新UI界面
86
  
8ef22809   梁保满   软件下载页面添加.net环境下载
87
  /**
c1b532ad   梁保满   权限配置,路由基础设置
88
89
   * 重写路由的push方法
   */
aea3399d   liufangjia   feat: 代码提交
90
  const routerPush = Router.prototype.push;
236b1f0e   梁保满   周末-飞书bug
91
  Router.prototype.push = function push(location) {
aea3399d   liufangjia   feat: 代码提交
92
93
94
    return routerPush.call(this, location).catch((error) => error);
  };
  Vue.use(Router);
c1b532ad   梁保满   权限配置,路由基础设置
95
  let defaultRouter = [
236b1f0e   梁保满   周末-飞书bug
96
97
    {
      path: "/",
c1b532ad   梁保满   权限配置,路由基础设置
98
99
      redirect: "/index",
      hidden: true,
aea3399d   liufangjia   feat: 代码提交
100
      children: [],
c1b532ad   梁保满   权限配置,路由基础设置
101
102
103
104
105
106
    },
    {
      path: "/login",
      component: Login,
      name: "登录",
      hidden: true,
aea3399d   liufangjia   feat: 代码提交
107
      children: [],
c1b532ad   梁保满   权限配置,路由基础设置
108
109
110
    },
    {
      path: "/index",
f45b3c05   LH_PC   云平台新UI界面
111
112
113
      iconImage: require("@/assets/images/aside/shouye-default.png"),
      selectedIconImage: require("@/assets/images/aside/shouye-selected.png"),
      // iconCls: "fa fa-home", // 图标样式class
4c4f7640   梁保满   路由表,路由前端文件
114
      name: "应用首页",
c1b532ad   梁保满   权限配置,路由基础设置
115
116
117
118
119
120
121
122
      component: Layout,
      alone: true,
      children: [
        {
          path: "/index",
          iconCls: "fa fa-dashboard", // 图标样式class
          name: "主页",
          component: HomeMain,
aea3399d   liufangjia   feat: 代码提交
123
124
125
          children: [],
        },
      ],
c1b532ad   梁保满   权限配置,路由基础设置
126
    },
e823fb79   阿宝   集团管理员
127
    {
8ef22809   梁保满   软件下载页面添加.net环境下载
128
129
      path: "/deviceError",
      iconCls: "fa fa-home", // 图标样式class
f45b3c05   LH_PC   云平台新UI界面
130
      name: "异常设备信息菜单",
8ef22809   梁保满   软件下载页面添加.net环境下载
131
132
133
134
135
136
137
      component: Layout,
      hidden: true,
      children: [
        {
          path: "/deviceError",
          name: "异常设备信息",
          component: DeviceError,
aea3399d   liufangjia   feat: 代码提交
138
139
140
          hidden: true,
        },
      ],
8ef22809   梁保满   软件下载页面添加.net环境下载
141
142
    },
    {
77ebf04d   梁保满   个人版
143
144
      path: "/userInfo",
      iconCls: "fa fa-user", // 图标样式class
f45b3c05   LH_PC   云平台新UI界面
145
      name: "个人信息菜单",
77ebf04d   梁保满   个人版
146
147
148
149
150
151
152
      component: Layout,
      hidden: true,
      children: [
        {
          path: "/userInfo",
          iconCls: "fa fa-user", // 图标样式class
          name: "个人信息",
d01c5799   梁保满   随堂问 报表开发
153
          component: UserInfo,
aea3399d   liufangjia   feat: 代码提交
154
155
156
          children: [],
        },
      ],
77ebf04d   梁保满   个人版
157
158
    },
    {
c1b532ad   梁保满   权限配置,路由基础设置
159
160
161
162
      path: "/404",
      component: NotFound,
      name: "404",
      hidden: true,
aea3399d   liufangjia   feat: 代码提交
163
164
165
      children: [],
    },
  ];
6dc19f47   梁保满   路由及文件名调整
166
  //标准版路由表
e5e4a3e6   梁保满   v1.3
167
  let addrouters = [
13b58a42   梁保满   备题组卷部分前端页面基本完成
168
169
170
171
172
    {
      path: "/examinationPaper",
      iconCls: "fa fa-file-text", // 图标样式class
      name: "备题组卷",
      component: Layout,
f45b3c05   LH_PC   云平台新UI界面
173
174
      alone: false,
      hidden: true,
13b58a42   梁保满   备题组卷部分前端页面基本完成
175
176
177
178
      children: [
        {
          path: "/examinationPaper",
          iconCls: "fa fa-file-text", // 图标样式class
e3b0e3e7   梁保满   季度时间格式调整
179
          name: "examinationPaper",
13b58a42   梁保满   备题组卷部分前端页面基本完成
180
          component: ExaminationPaper,
aea3399d   liufangjia   feat: 代码提交
181
          children: [],
13b58a42   梁保满   备题组卷部分前端页面基本完成
182
183
184
185
        },
        {
          path: "/examinationPaperAdd",
          iconCls: "", // 图标样式class
e3b0e3e7   梁保满   季度时间格式调整
186
          name: "examinationPaperAdd",
13b58a42   梁保满   备题组卷部分前端页面基本完成
187
          component: ExaminationPaperAdd,
236b1f0e   梁保满   周末-飞书bug
188
          parent: "examinationPaper",
aea3399d   liufangjia   feat: 代码提交
189
          children: [],
13b58a42   梁保满   备题组卷部分前端页面基本完成
190
191
        },
        {
ce278878   梁保满   2-2 bugfix
192
          path: "/examinationPaperAddQs",
4c2f99b0   梁保满   修改组卷
193
          iconCls: "", // 图标样式class
ce278878   梁保满   2-2 bugfix
194
195
          name: "examinationPaperAddQs",
          component: ExaminationPaperAddQs,
4c2f99b0   梁保满   修改组卷
196
          parent: "examinationPaper",
aea3399d   liufangjia   feat: 代码提交
197
          children: [],
4c2f99b0   梁保满   修改组卷
198
199
        },
        {
13b58a42   梁保满   备题组卷部分前端页面基本完成
200
201
202
203
          path: "/examinationPaperEdit",
          iconCls: "", // 图标样式class
          name: "修改答题卡",
          component: ExaminationPaperEdit,
236b1f0e   梁保满   周末-飞书bug
204
          parent: "examinationPaper",
aea3399d   liufangjia   feat: 代码提交
205
          children: [],
13b58a42   梁保满   备题组卷部分前端页面基本完成
206
207
208
209
        },
        {
          path: "/examinationPaperRecycle",
          iconCls: "", // 图标样式class
e5e4a3e6   梁保满   v1.3
210
          name: "回收站答题卡",
13b58a42   梁保满   备题组卷部分前端页面基本完成
211
          component: ExaminationPaperRecycle,
236b1f0e   梁保满   周末-飞书bug
212
          parent: "examinationPaper",
aea3399d   liufangjia   feat: 代码提交
213
          children: [],
13b58a42   梁保满   备题组卷部分前端页面基本完成
214
        },
e5e4a3e6   梁保满   v1.3
215
216
217
218
219
220
221
        {
          path: "/examinationPaperArchiving",
          iconCls: "", // 图标样式class
          name: "已归档答题卡",
          component: ExaminationPaperArchiving,
          parent: "examinationPaper",
          hidden: true,
aea3399d   liufangjia   feat: 代码提交
222
          children: [],
e5e4a3e6   梁保满   v1.3
223
        },
aea3399d   liufangjia   feat: 代码提交
224
      ],
13b58a42   梁保满   备题组卷部分前端页面基本完成
225
226
    },
    {
f45b3c05   LH_PC   云平台新UI界面
227
228
229
      path: "/testGrade",
      iconImage: require("@/assets/images/aside/test-default.png"),
      name: "即时测",
13b58a42   梁保满   备题组卷部分前端页面基本完成
230
      component: Layout,
13b58a42   梁保满   备题组卷部分前端页面基本完成
231
232
      children: [
        {
f45b3c05   LH_PC   云平台新UI界面
233
234
235
          path: "/testGradeReport",
          iconImage: require("@/assets/images/aside/suitangwen-baobiao-default.png"),
          selectedIconImage: require("@/assets/images/aside/suitangwen-baobiao-selected.png"),
aea3399d   liufangjia   feat: 代码提交
236
          name: "即时测报表",
f45b3c05   LH_PC   云平台新UI界面
237
238
          demoRoles: ["ROLE_NIANJI"],
          component: gradeAnalysis,
aea3399d   liufangjia   feat: 代码提交
239
240
241
          children: [],
        },
        {
f45b3c05   LH_PC   云平台新UI界面
242
243
244
245
246
          path: "/testGradeReportDetail",
          iconCls: "",
          name: "testGradeReportDetail",
          demoRoles: ["ROLE_NIANJI"],
          component: gradeDetail,
e5e4a3e6   梁保满   v1.3
247
          hidden: true,
aea3399d   liufangjia   feat: 代码提交
248
249
250
          children: [],
        },
      ],
13b58a42   梁保满   备题组卷部分前端页面基本完成
251
252
    },
    {
f45b3c05   LH_PC   云平台新UI界面
253
254
255
      path: "/askTeacher",
      iconImage: require("@/assets/images/aside/ask-default.png"),
      name: "随堂问",
13b58a42   梁保满   备题组卷部分前端页面基本完成
256
      component: Layout,
aea3399d   liufangjia   feat: 代码提交
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
      children: [
        {
          path: "/askPreparationQuestions",
          iconImage: require("@/assets/images/aside/paper-default.png"),
          selectedIconImage: require("@/assets/images/aside/paper-selected.png"),
          name: "备题",
          demoRoles: ["ROLE_JIAOSHI"],
          component: askTestQuestion,
          children: [],
        },
        {
          path: "/askReport",
          iconImage: require("@/assets/images/aside/suitangwen-baobiao-default.png"),
          selectedIconImage: require("@/assets/images/aside/suitangwen-baobiao-selected.png"),
          name: "报表",
          demoRoles: ["ROLE_JIAOSHI", "ROLE_BANZHUREN"],
          component: askTestReport,
          children: [],
        },
        {
          path: "/askPreparationQuestionsDetail",
          iconCls: "",
          name: "askPreparationQuestionsDetail",
          demoRoles: ["ROLE_JIAOSHI"],
          component: askTestDetail,
          hidden: true,
          children: [],
        },
        {
          path: "/askPreparationQuestionsUpdate",
          iconCls: "",
          name: "askPreparationQuestionsUpdate",
          demoRoles: ["ROLE_JIAOSHI"],
          component: askTestUpdate,
          hidden: true,
          children: [],
        },
        {
          path: "/askReportDetail",
          iconCls: "",
          name: "askReportDetail",
          demoRoles: ["ROLE_JIAOSHI"],
          component: askTestReportDetail,
          hidden: true,
          children: [],
        },
        {
          path: "/askPreparationQuestionsRecycle",
          iconCls: "",
          name: "askPreparationQuestionsRecycle",
          demoRoles: ["ROLE_JIAOSHI"],
          component: askTestReportRecycle,
          hidden: true,
          children: [],
        },
        {
          path: "/askPreparationQuestionsAdd",
          iconCls: "",
          name: "askPreparationQuestionsAdd",
          demoRoles: ["ROLE_JIAOSHI"],
          component: ExaminationPaperAddQs,
          hidden: true,
          children: [],
        },
      ],
f45b3c05   LH_PC   云平台新UI界面
322
323
324
325
326
327
    },
    {
      path: "/testTeacher",
      iconImage: require("@/assets/images/aside/test-default.png"),
      name: "即时测",
      component: Layout,
aea3399d   liufangjia   feat: 代码提交
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
      children: [
        {
          path: "/testPaper",
          iconImage: require("@/assets/images/aside/paper-default.png"),
          selectedIconImage: require("@/assets/images/aside/paper-selected.png"),
          name: "组卷",
          demoRoles: ["ROLE_JIAOSHI"],
          component: askTestQuestion,
          children: [],
        },
        {
          path: "/testReport",
          iconImage: require("@/assets/images/aside/suitangwen-baobiao-default.png"),
          selectedIconImage: require("@/assets/images/aside/suitangwen-baobiao-selected.png"),
          name: "报表",
          demoRoles: ["ROLE_JIAOSHI", "ROLE_BANZHUREN"],
          component: askTestReport,
          children: [],
        },
        {
          path: "/wrongQuestion",
2b8ad65b   刘有才luck   feat: 代码提交
349
350
          iconImage: require("@/assets/images/aside/wrong-question-default.png"),
          selectedIconImage: require("@/assets/images/aside/wrong-question.png"),
aea3399d   liufangjia   feat: 代码提交
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
          name: "错题组卷",
          demoRoles: ["ROLE_JIAOSHI"],
          component: wrongQuestion,
          children: [],
        },
        {
          path: "/testPaperQuestionsDetail",
          iconCls: "",
          name: "testPaperQuestionsDetail",
          demoRoles: ["ROLE_JIAOSHI"],
          component: askTestDetail,
          hidden: true,
          children: [],
        },
        {
          path: "/testPaperQuestionsUpdate",
          iconCls: "",
          name: "testPaperQuestionsUpdate",
          demoRoles: ["ROLE_JIAOSHI"],
          component: askTestUpdate,
          hidden: true,
          children: [],
        },
        {
          path: "/testReportDetail",
          iconCls: "",
          name: "testReportDetail",
          demoRoles: ["ROLE_JIAOSHI", "ROLE_BANZHUREN"],
          component: askTestReportDetail,
          hidden: true,
          children: [],
        },
        {
          path: "/testReportRecycle",
          iconCls: "",
          name: "testReportRecycle",
          demoRoles: ["ROLE_JIAOSHI"],
          component: askTestReportRecycle,
          hidden: true,
          children: [],
        },
        {
          path: "/testPaperRecycle",
          iconCls: "",
          name: "testPaperRecycle",
          demoRoles: ["ROLE_JIAOSHI"],
          component: askTestReportRecycle,
          hidden: true,
          children: [],
        },
        {
          path: "/testPaperAdd",
          iconCls: "",
          name: "testPaperAdd",
          demoRoles: ["ROLE_JIAOSHI"],
          component: ExaminationPaperAdd,
          hidden: true,
          children: [],
        },
      ],
13b58a42   梁保满   备题组卷部分前端页面基本完成
411
    },
13b58a42   梁保满   备题组卷部分前端页面基本完成
412
413
414
415
416
417
418
419
420
421
    {
      path: "/setUpConglomerate",
      iconCls: "fa fa-building", // 图标样式class
      name: "学校管理",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/setUpConglomerate",
          iconCls: "fa fa-building",
aea3399d   liufangjia   feat: 代码提交
422
          name: "集团管理",
13b58a42   梁保满   备题组卷部分前端页面基本完成
423
          component: SetUpConglomerate,
aea3399d   liufangjia   feat: 代码提交
424
          children: [],
13b58a42   梁保满   备题组卷部分前端页面基本完成
425
        },
aea3399d   liufangjia   feat: 代码提交
426
      ],
13b58a42   梁保满   备题组卷部分前端页面基本完成
427
428
429
430
431
432
433
434
435
436
437
    },
    {
      path: "/setUpAccount",
      iconCls: "fa fa-id-card-o", // 图标样式class
      name: "账号管理",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/setUpAccount",
          iconCls: "fa fa-id-card-o",
aea3399d   liufangjia   feat: 代码提交
438
          name: "",
13b58a42   梁保满   备题组卷部分前端页面基本完成
439
          component: SetUpAccount,
aea3399d   liufangjia   feat: 代码提交
440
          children: [],
13b58a42   梁保满   备题组卷部分前端页面基本完成
441
        },
aea3399d   liufangjia   feat: 代码提交
442
      ],
13b58a42   梁保满   备题组卷部分前端页面基本完成
443
    },
f45b3c05   LH_PC   云平台新UI界面
444
  
13b58a42   梁保满   备题组卷部分前端页面基本完成
445
446
447
    {
      path: "/",
      iconCls: "fa fa-cog",
aea3399d   liufangjia   feat: 代码提交
448
      name: "学校管理",
13b58a42   梁保满   备题组卷部分前端页面基本完成
449
450
451
452
453
      component: Layout,
      children: [
        {
          path: "/setUpSchool",
          iconCls: "fa fa-calculator",
aea3399d   liufangjia   feat: 代码提交
454
          name: "学校设置",
13b58a42   梁保满   备题组卷部分前端页面基本完成
455
          component: SetUpSchool,
aea3399d   liufangjia   feat: 代码提交
456
          children: [],
13b58a42   梁保满   备题组卷部分前端页面基本完成
457
458
        },
        {
0454f787   梁保满   班级管理,班级列表修改,科目设置
459
460
          path: "/setUpClazz",
          iconCls: "fa fa-sitemap",
aea3399d   liufangjia   feat: 代码提交
461
          name: "班级管理",
0454f787   梁保满   班级管理,班级列表修改,科目设置
462
          component: SetUpClazz,
aea3399d   liufangjia   feat: 代码提交
463
          children: [],
0454f787   梁保满   班级管理,班级列表修改,科目设置
464
465
        },
        {
13b58a42   梁保满   备题组卷部分前端页面基本完成
466
467
          path: "/setUpTeacher",
          iconCls: "fa fa-male",
aea3399d   liufangjia   feat: 代码提交
468
          name: "教师管理",
13b58a42   梁保满   备题组卷部分前端页面基本完成
469
          component: SetUpTeacher,
aea3399d   liufangjia   feat: 代码提交
470
          children: [],
13b58a42   梁保满   备题组卷部分前端页面基本完成
471
472
473
474
        },
        {
          path: "/setUpStudent",
          iconCls: "fa fa-mortar-board",
aea3399d   liufangjia   feat: 代码提交
475
          name: "学生管理",
13b58a42   梁保满   备题组卷部分前端页面基本完成
476
          component: SetUpStudent,
aea3399d   liufangjia   feat: 代码提交
477
          children: [],
13b58a42   梁保满   备题组卷部分前端页面基本完成
478
        },
e5e4a3e6   梁保满   v1.3
479
480
481
        {
          path: "/archivedClazz",
          iconCls: "fa fa-list-ul",
aea3399d   liufangjia   feat: 代码提交
482
          name: "已归档班级",
e5e4a3e6   梁保满   v1.3
483
484
          component: ArchivedClazz,
          hidden: true,
aea3399d   liufangjia   feat: 代码提交
485
          children: [],
e5e4a3e6   梁保满   v1.3
486
        },
dc56294d   梁保满   班级分班
487
488
489
        {
          path: "/archived",
          iconCls: "fa fa-list-ul",
aea3399d   liufangjia   feat: 代码提交
490
          name: "分班",
dc56294d   梁保满   班级分班
491
492
          component: Archived,
          hidden: true,
aea3399d   liufangjia   feat: 代码提交
493
          children: [],
dc56294d   梁保满   班级分班
494
        },
aea3399d   liufangjia   feat: 代码提交
495
      ],
13b58a42   梁保满   备题组卷部分前端页面基本完成
496
    },
533a17d8   梁保满   备题组卷添加批量设置答案
497
498
499
500
501
502
503
504
505
506
507
508
    {
      path: "/card",
      iconCls: "fa fa-id-card", // 图标样式class
      name: "发卡记录",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/card",
          iconCls: "fa fa-id-card", // 图标样式class
          name: "",
          component: Card,
aea3399d   liufangjia   feat: 代码提交
509
510
511
          children: [],
        },
      ],
533a17d8   梁保满   备题组卷添加批量设置答案
512
    },
13b58a42   梁保满   备题组卷部分前端页面基本完成
513
514
515
516
517
518
519
520
521
522
523
524
    {
      path: "/device",
      iconCls: "fa fa-dashboard", // 图标样式class
      name: "设备状态",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/device",
          iconCls: "fa fa-dashboard", // 图标样式class
          name: "",
          component: Device,
5be3bb70   梁保满   切换账号,缓存组件接口报错问题
525
526
527
          meta: {
            keepAlive: true,
          },
aea3399d   liufangjia   feat: 代码提交
528
          children: [],
db11048f   阿宝   设备状态,学校管理
529
530
531
532
533
534
        },
        {
          path: "/deviceLog",
          iconCls: "fa fa-list-alt", // 图标样式class
          name: "",
          component: DeviceLog,
236b1f0e   梁保满   周末-飞书bug
535
          parent: "device",
aea3399d   liufangjia   feat: 代码提交
536
537
538
          children: [],
        },
      ],
13b58a42   梁保满   备题组卷部分前端页面基本完成
539
540
541
542
543
544
545
546
547
548
549
550
551
    },
    {
      path: "/analysis",
      iconCls: "fa fa-area-chart", // 图标样式class
      name: "使用分析",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/analysis",
          iconCls: "fa fa-area-chart", // 图标样式class
          name: "",
          component: Analysis,
aea3399d   liufangjia   feat: 代码提交
552
553
554
          children: [],
        },
      ],
13b58a42   梁保满   备题组卷部分前端页面基本完成
555
556
557
558
559
560
561
562
563
564
565
566
567
    },
    {
      path: "/down",
      iconCls: "fa fa-download", // 图标样式class
      name: "软件下载",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/down",
          iconCls: "fa fa-download", // 图标样式class
          name: "发卡软件",
          component: Down,
aea3399d   liufangjia   feat: 代码提交
568
          children: [],
13b58a42   梁保满   备题组卷部分前端页面基本完成
569
570
571
572
573
574
        },
        {
          path: "/downClient",
          iconCls: "", // 图标样式class
          name: "授课端软件",
          component: DownClient,
236b1f0e   梁保满   周末-飞书bug
575
          parent: "down",
aea3399d   liufangjia   feat: 代码提交
576
577
578
          children: [],
        },
      ],
13b58a42   梁保满   备题组卷部分前端页面基本完成
579
580
581
582
583
584
585
586
587
588
589
590
591
    },
    {
      path: "/dataSync",
      iconCls: "fa fa-random", // 图标样式class
      name: "数据同步",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/dataSync",
          iconCls: "fa fa-random", // 图标样式class
          name: "",
          component: DataSync,
aea3399d   liufangjia   feat: 代码提交
592
593
594
          children: [],
        },
      ],
13b58a42   梁保满   备题组卷部分前端页面基本完成
595
    },
a74e17f6   梁保满   隐藏学生画像
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
    // {
    //   path: "/portrait",
    //   iconCls: "fa fa-users", // 图标样式class
    //   name: "学生画像",
    //   component: Layout,
    //   alone: true,
    //   children: [
    //     {
    //       path: "/portrait",
    //       iconCls: "fa fa-users", // 图标样式class
    //       name: "",
    //       component: Portrait,
    //       meta: {
    //         keepAlive: true,
    //       },
    //       children: []
    //     },
    //     {
    //       path: "/portraitDetail",
    //       iconCls: "", // 图标样式class
    //       name: "授课端软件",
    //       component: PortraitDetail,
    //       parent: "down",
    //       children: []
    //     }
    //   ]
    // },
aea3399d   liufangjia   feat: 代码提交
623
  ];
f45b3c05   LH_PC   云平台新UI界面
624
  
6dc19f47   梁保满   路由及文件名调整
625
  //长水版路由表
e5e4a3e6   梁保满   v1.3
626
  let csAddrouters = [
3617eaad   梁保满   长水账号设置
627
628
    {
      path: "/examinationPaper",
d01c5799   梁保满   随堂问 报表开发
629
      iconCls: "fa fa-file-text",
3617eaad   梁保满   长水账号设置
630
631
632
633
634
635
      name: "备题组卷",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/examinationPaper",
d01c5799   梁保满   随堂问 报表开发
636
          iconCls: "fa fa-file-text",
3617eaad   梁保满   长水账号设置
637
          name: "examinationPaper",
6dc19f47   梁保满   路由及文件名调整
638
          component: ExaminationPaper,
aea3399d   liufangjia   feat: 代码提交
639
          children: [],
3617eaad   梁保满   长水账号设置
640
641
642
        },
        {
          path: "/examinationPaperAdd",
d01c5799   梁保满   随堂问 报表开发
643
          iconCls: "",
3617eaad   梁保满   长水账号设置
644
          name: "examinationPaperAdd",
6dc19f47   梁保满   路由及文件名调整
645
          component: ExaminationPaperAdd,
3617eaad   梁保满   长水账号设置
646
          parent: "examinationPaper",
aea3399d   liufangjia   feat: 代码提交
647
          children: [],
3617eaad   梁保满   长水账号设置
648
649
650
        },
        {
          path: "/examinationPaperEdit",
d01c5799   梁保满   随堂问 报表开发
651
          iconCls: "",
3617eaad   梁保满   长水账号设置
652
          name: "修改答题卡",
6dc19f47   梁保满   路由及文件名调整
653
          component: ExaminationPaperEdit,
3617eaad   梁保满   长水账号设置
654
          parent: "examinationPaper",
aea3399d   liufangjia   feat: 代码提交
655
          children: [],
3617eaad   梁保满   长水账号设置
656
657
658
        },
        {
          path: "/examinationPaperRecycle",
d01c5799   梁保满   随堂问 报表开发
659
          iconCls: "",
e5e4a3e6   梁保满   v1.3
660
          name: "回收站答题卡",
6dc19f47   梁保满   路由及文件名调整
661
          component: ExaminationPaperRecycle,
3617eaad   梁保满   长水账号设置
662
          parent: "examinationPaper",
aea3399d   liufangjia   feat: 代码提交
663
          children: [],
3617eaad   梁保满   长水账号设置
664
        },
e5e4a3e6   梁保满   v1.3
665
666
        {
          path: "/examinationPaperArchiving",
d01c5799   梁保满   随堂问 报表开发
667
          iconCls: "",
e5e4a3e6   梁保满   v1.3
668
669
670
671
          name: "已归档答题卡",
          component: ExaminationPaperArchiving,
          parent: "examinationPaper",
          hidden: true,
aea3399d   liufangjia   feat: 代码提交
672
          children: [],
e5e4a3e6   梁保满   v1.3
673
        },
aea3399d   liufangjia   feat: 代码提交
674
      ],
3617eaad   梁保满   长水账号设置
675
676
677
    },
    {
      path: "/ask",
d01c5799   梁保满   随堂问 报表开发
678
      iconCls: "fa fa-bar-chart",
3617eaad   梁保满   长水账号设置
679
680
681
682
683
684
      name: "随堂问报表",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/ask",
d01c5799   梁保满   随堂问 报表开发
685
          iconCls: "fa fa-bar-chart",
3617eaad   梁保满   长水账号设置
686
687
688
689
690
691
          name: "ask",
          name: "随堂问报表",
          component: Ask,
          meta: {
            keepAlive: true,
          },
aea3399d   liufangjia   feat: 代码提交
692
          children: [],
3617eaad   梁保满   长水账号设置
693
694
695
        },
        {
          path: "/askAnalysis",
d01c5799   梁保满   随堂问 报表开发
696
          iconCls: "",
3617eaad   梁保满   长水账号设置
697
698
699
          name: "随堂问报表分析",
          component: AskAnalysis,
          parent: "ask",
aea3399d   liufangjia   feat: 代码提交
700
701
702
          children: [],
        },
      ],
3617eaad   梁保满   长水账号设置
703
704
705
    },
    {
      path: "/test",
d01c5799   梁保满   随堂问 报表开发
706
      iconCls: "fa fa-pie-chart",
3617eaad   梁保满   长水账号设置
707
708
709
710
711
712
      name: "即时测报表",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/test",
d01c5799   梁保满   随堂问 报表开发
713
          iconCls: "fa fa-pie-chart",
3617eaad   梁保满   长水账号设置
714
715
716
717
718
          name: "",
          component: Test,
          meta: {
            keepAlive: true,
          },
aea3399d   liufangjia   feat: 代码提交
719
          children: [],
3617eaad   梁保满   长水账号设置
720
721
722
        },
        {
          path: "/testAnalysis",
d01c5799   梁保满   随堂问 报表开发
723
          iconCls: "",
3617eaad   梁保满   长水账号设置
724
725
726
          name: "即时测报表分析",
          component: TestAnalysis,
          parent: "test",
aea3399d   liufangjia   feat: 代码提交
727
728
729
          children: [],
        },
      ],
3617eaad   梁保满   长水账号设置
730
731
732
    },
    {
      path: "/setUpConglomerate",
d01c5799   梁保满   随堂问 报表开发
733
      iconCls: "fa fa-building",
3617eaad   梁保满   长水账号设置
734
735
736
737
738
739
740
      name: "学校管理",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/setUpConglomerate",
          iconCls: "fa fa-building",
aea3399d   liufangjia   feat: 代码提交
741
          name: "集团管理",
3617eaad   梁保满   长水账号设置
742
          component: SetUpConglomerate,
aea3399d   liufangjia   feat: 代码提交
743
          children: [],
3617eaad   梁保满   长水账号设置
744
        },
aea3399d   liufangjia   feat: 代码提交
745
      ],
3617eaad   梁保满   长水账号设置
746
747
748
    },
    {
      path: "/setUpAccount",
d01c5799   梁保满   随堂问 报表开发
749
      iconCls: "fa fa-id-card-o",
3617eaad   梁保满   长水账号设置
750
751
752
753
754
755
756
      name: "账号管理",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/setUpAccount",
          iconCls: "fa fa-id-card-o",
aea3399d   liufangjia   feat: 代码提交
757
          name: "",
3617eaad   梁保满   长水账号设置
758
          component: SetUpAccount,
aea3399d   liufangjia   feat: 代码提交
759
          children: [],
3617eaad   梁保满   长水账号设置
760
        },
aea3399d   liufangjia   feat: 代码提交
761
      ],
3617eaad   梁保满   长水账号设置
762
763
764
765
    },
    {
      path: "/",
      iconCls: "fa fa-cog",
aea3399d   liufangjia   feat: 代码提交
766
      name: "学校管理",
3617eaad   梁保满   长水账号设置
767
768
769
770
771
      component: Layout,
      children: [
        {
          path: "/setUpSchool",
          iconCls: "fa fa-calculator",
aea3399d   liufangjia   feat: 代码提交
772
          name: "学校设置",
3617eaad   梁保满   长水账号设置
773
          component: SetUpSchool,
aea3399d   liufangjia   feat: 代码提交
774
          children: [],
3617eaad   梁保满   长水账号设置
775
776
777
778
        },
        {
          path: "/setUpTeacher",
          iconCls: "fa fa-male",
aea3399d   liufangjia   feat: 代码提交
779
          name: "教师管理",
3617eaad   梁保满   长水账号设置
780
          component: SetUpTeacher,
aea3399d   liufangjia   feat: 代码提交
781
          children: [],
3617eaad   梁保满   长水账号设置
782
783
784
785
        },
        {
          path: "/setUpStudent",
          iconCls: "fa fa-mortar-board",
aea3399d   liufangjia   feat: 代码提交
786
          name: "学生管理",
3617eaad   梁保满   长水账号设置
787
          component: SetUpStudent,
aea3399d   liufangjia   feat: 代码提交
788
          children: [],
3617eaad   梁保满   长水账号设置
789
        },
aea3399d   liufangjia   feat: 代码提交
790
      ],
3617eaad   梁保满   长水账号设置
791
792
793
    },
    {
      path: "/card",
d01c5799   梁保满   随堂问 报表开发
794
      iconCls: "fa fa-id-card",
3617eaad   梁保满   长水账号设置
795
796
797
798
799
800
      name: "发卡记录",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/card",
d01c5799   梁保满   随堂问 报表开发
801
          iconCls: "fa fa-id-card",
3617eaad   梁保满   长水账号设置
802
803
          name: "",
          component: Card,
aea3399d   liufangjia   feat: 代码提交
804
805
806
          children: [],
        },
      ],
3617eaad   梁保满   长水账号设置
807
808
809
    },
    {
      path: "/device",
d01c5799   梁保满   随堂问 报表开发
810
      iconCls: "fa fa-dashboard",
3617eaad   梁保满   长水账号设置
811
812
813
814
815
816
      name: "设备状态",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/device",
d01c5799   梁保满   随堂问 报表开发
817
          iconCls: "fa fa-dashboard",
3617eaad   梁保满   长水账号设置
818
819
820
821
822
          name: "",
          component: Device,
          meta: {
            keepAlive: true,
          },
aea3399d   liufangjia   feat: 代码提交
823
          children: [],
3617eaad   梁保满   长水账号设置
824
825
826
        },
        {
          path: "/deviceLog",
d01c5799   梁保满   随堂问 报表开发
827
          iconCls: "fa fa-list-alt",
3617eaad   梁保满   长水账号设置
828
829
830
          name: "",
          component: DeviceLog,
          parent: "device",
aea3399d   liufangjia   feat: 代码提交
831
832
833
          children: [],
        },
      ],
3617eaad   梁保满   长水账号设置
834
835
836
    },
    {
      path: "/analysis",
d01c5799   梁保满   随堂问 报表开发
837
      iconCls: "fa fa-area-chart",
3617eaad   梁保满   长水账号设置
838
839
840
841
842
843
      name: "使用分析",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/analysis",
d01c5799   梁保满   随堂问 报表开发
844
          iconCls: "fa fa-area-chart",
3617eaad   梁保满   长水账号设置
845
846
          name: "",
          component: Analysis,
aea3399d   liufangjia   feat: 代码提交
847
848
849
          children: [],
        },
      ],
3617eaad   梁保满   长水账号设置
850
851
852
    },
    {
      path: "/down",
d01c5799   梁保满   随堂问 报表开发
853
      iconCls: "fa fa-download",
3617eaad   梁保满   长水账号设置
854
855
856
857
858
859
      name: "软件下载",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/down",
d01c5799   梁保满   随堂问 报表开发
860
          iconCls: "fa fa-download",
3617eaad   梁保满   长水账号设置
861
862
          name: "发卡软件",
          component: Down,
aea3399d   liufangjia   feat: 代码提交
863
          children: [],
3617eaad   梁保满   长水账号设置
864
865
866
        },
        {
          path: "/downClient",
d01c5799   梁保满   随堂问 报表开发
867
          iconCls: "",
3617eaad   梁保满   长水账号设置
868
869
870
          name: "授课端软件",
          component: DownClient,
          parent: "down",
aea3399d   liufangjia   feat: 代码提交
871
872
873
          children: [],
        },
      ],
3617eaad   梁保满   长水账号设置
874
875
876
    },
    {
      path: "/dataSync",
d01c5799   梁保满   随堂问 报表开发
877
      iconCls: "fa fa-random",
3617eaad   梁保满   长水账号设置
878
879
880
881
882
883
      name: "数据同步",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/dataSync",
d01c5799   梁保满   随堂问 报表开发
884
          iconCls: "fa fa-random",
3617eaad   梁保满   长水账号设置
885
886
          name: "",
          component: DataSync,
aea3399d   liufangjia   feat: 代码提交
887
888
889
          children: [],
        },
      ],
3617eaad   梁保满   长水账号设置
890
    },
aea3399d   liufangjia   feat: 代码提交
891
  ];
13b58a42   梁保满   备题组卷部分前端页面基本完成
892
  
6dc19f47   梁保满   路由及文件名调整
893
  //个人版版路由表
77ebf04d   梁保满   个人版
894
895
  const addroutersPersonal = [
    {
03bce046   梁保满   个人版调整
896
897
      path: "/setUpStudent",
      iconCls: "fa fa-mortar-board",
aea3399d   liufangjia   feat: 代码提交
898
      name: "班级名单",
03bce046   梁保满   个人版调整
899
900
901
902
903
904
      component: Layout,
      alone: true,
      children: [
        {
          path: "/setUpStudent",
          iconCls: "a fa-mortar-board",
aea3399d   liufangjia   feat: 代码提交
905
          name: "",
8ad80958   梁保满   教师学生管理,设备状态
906
          component: SetUpPersonalSetUpStudent,
aea3399d   liufangjia   feat: 代码提交
907
          children: [],
03bce046   梁保满   个人版调整
908
        },
aea3399d   liufangjia   feat: 代码提交
909
      ],
03bce046   梁保满   个人版调整
910
    },
3587d377   梁保满   归档流程调整
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
  
    // {
    //   path: "/examinationPaper",
    //   iconCls: "fa fa-file-text",
    //   name: "备题组卷",
    //   component: Layout,
    //   alone: true,
    //   children: [
    //     {
    //       path: "/examinationPaper",
    //       iconCls: "fa fa-file-text",
    //       name: "examinationPaper",
    //       component: ExaminationPaper,
    //       children: []
    //     },
    //     {
    //       path: "/examinationPaperAdd",
    //       iconCls: "",
    //       name: "examinationPaperAdd",
    //       component: ExaminationPaperAdd,
    //       parent: "examinationPaper",
    //       children: []
    //     },
    //     {
    //       path: "/examinationPaperAddQs",
    //       iconCls: "",
    //       name: "examinationPaperAddQs",
    //       component: ExaminationPaperAddQs,
    //       parent: "examinationPaper",
    //       children: []
    //     },
    //     {
    //       path: "/examinationPaperEdit",
    //       iconCls: "",
    //       name: "修改答题卡",
    //       component: ExaminationPaperEdit,
    //       parent: "examinationPaper",
    //       children: []
    //     },
    //     {
    //       path: "/examinationPaperRecycle",
    //       iconCls: "",
    //       name: "回收站答题卡",
    //       component: ExaminationPaperRecycle,
    //       parent: "examinationPaper",
    //       children: []
    //     },
    //     {
    //       path: "/examinationPaperArchiving",
    //       iconCls: "",
    //       name: "已归档答题卡",
    //       component: ExaminationPaperArchiving,
    //       parent: "examinationPaper",
    //       hidden: true,
    //       children: []
    //     },
    //   ]
    // },
    // {
    //   path: "/ask",
    //   iconCls: "fa fa-bar-chart",
    //   name: "随堂问报表",
    //   component: Layout,
    //   alone: true,
    //   children: [
    //     {
    //       path: "/ask",
    //       iconCls: "fa fa-bar-chart",
    //       name: "ask",
    //       name: "随堂问报表",
    //       component: Ask,
    //       meta: {
    //         keepAlive: false,
    //       },
    //       children: []
  
    //     },
    //     {
    //       path: "/askList",
    //       iconCls: "fa fa-bar-chart", // 图标样式class
    //       name: "ask",
    //       name: "随堂问报表",
    //       component: AskList,
    //       meta: {
    //         keepAlive: true,
    //       },
    //       children: [
    //         {
    //           path: "/askAnalysis",
    //           iconCls: "",
    //           name: "随堂问报表分析",
    //           component: AskAnalysis,
    //           parent: "ask",
    //           children: []
    //         },
    //         {
    //           path: "/askArchiving",
    //           iconCls: "",
    //           name: "随堂问已归档报表分析",
    //           component: AskArchiving,
    //           parent: "ask",
    //           hidden: true,
    //           meta: {
    //             keepAlive: true,
    //           },
    //           children: []
    //         }
    //       ]
    //     },
    //   ]
    // },
    // {
    //   path: "/test",
    //   iconCls: "fa fa-pie-chart",
    //   name: "即时测报表",
    //   component: Layout,
    //   alone: true,
    //   children: [
    //     {
    //       path: "/test",
    //       iconCls: "fa fa-pie-chart",
    //       name: "",
    //       component: Test,
    //       meta: {
    //         keepAlive: true,
    //       },
    //       children: []
    //     },
    //     {
    //       path: "/testAnalysis",
    //       iconCls: "",
    //       name: "即时测报表分析",
    //       component: TestAnalysis,
    //       parent: "test",
    //       children: []
    //     },
    //     {
    //       path: "/testArchiving",
    //       iconCls: "",
    //       name: "即时测已归档报表分析",
    //       component: TestArchiving,
    //       parent: "test",
    //       hidden: true,
    //       meta: {
    //         keepAlive: true,
    //       },
    //       children: []
    //     }
  
    //   ]
    // },
  
03bce046   梁保满   个人版调整
1063
    {
77ebf04d   梁保满   个人版
1064
      path: "/examinationPaper",
3587d377   梁保满   归档流程调整
1065
      iconCls: "fa fa-file-text", // 图标样式class
77ebf04d   梁保满   个人版
1066
1067
1068
1069
1070
1071
      name: "备题组卷",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/examinationPaper",
3587d377   梁保满   归档流程调整
1072
          iconCls: "fa fa-file-text", // 图标样式class
77ebf04d   梁保满   个人版
1073
          name: "examinationPaper",
e371f2dc   梁保满   软件下载,学校,班级老师等报表导入...
1074
          component: ExaminationPaper,
aea3399d   liufangjia   feat: 代码提交
1075
          children: [],
77ebf04d   梁保满   个人版
1076
1077
1078
        },
        {
          path: "/examinationPaperAdd",
3587d377   梁保满   归档流程调整
1079
          iconCls: "", // 图标样式class
77ebf04d   梁保满   个人版
1080
          name: "examinationPaperAdd",
e371f2dc   梁保满   软件下载,学校,班级老师等报表导入...
1081
          component: ExaminationPaperAdd,
77ebf04d   梁保满   个人版
1082
          parent: "examinationPaper",
aea3399d   liufangjia   feat: 代码提交
1083
          children: [],
77ebf04d   梁保满   个人版
1084
1085
        },
        {
ce278878   梁保满   2-2 bugfix
1086
          path: "/examinationPaperAddQs",
3587d377   梁保满   归档流程调整
1087
          iconCls: "", // 图标样式class
ce278878   梁保满   2-2 bugfix
1088
1089
          name: "examinationPaperAddQs",
          component: ExaminationPaperAddQs,
4c2f99b0   梁保满   修改组卷
1090
          parent: "examinationPaper",
aea3399d   liufangjia   feat: 代码提交
1091
          children: [],
4c2f99b0   梁保满   修改组卷
1092
1093
        },
        {
77ebf04d   梁保满   个人版
1094
          path: "/examinationPaperEdit",
3587d377   梁保满   归档流程调整
1095
          iconCls: "", // 图标样式class
77ebf04d   梁保满   个人版
1096
          name: "修改答题卡",
e371f2dc   梁保满   软件下载,学校,班级老师等报表导入...
1097
          component: ExaminationPaperEdit,
77ebf04d   梁保满   个人版
1098
          parent: "examinationPaper",
aea3399d   liufangjia   feat: 代码提交
1099
          children: [],
77ebf04d   梁保满   个人版
1100
1101
1102
        },
        {
          path: "/examinationPaperRecycle",
3587d377   梁保满   归档流程调整
1103
          iconCls: "", // 图标样式class
e5e4a3e6   梁保满   v1.3
1104
          name: "回收站答题卡",
e371f2dc   梁保满   软件下载,学校,班级老师等报表导入...
1105
          component: ExaminationPaperRecycle,
77ebf04d   梁保满   个人版
1106
          parent: "examinationPaper",
aea3399d   liufangjia   feat: 代码提交
1107
          children: [],
77ebf04d   梁保满   个人版
1108
        },
e5e4a3e6   梁保满   v1.3
1109
1110
        {
          path: "/examinationPaperArchiving",
3587d377   梁保满   归档流程调整
1111
          iconCls: "", // 图标样式class
e5e4a3e6   梁保满   v1.3
1112
1113
1114
1115
          name: "已归档答题卡",
          component: ExaminationPaperArchiving,
          parent: "examinationPaper",
          hidden: true,
aea3399d   liufangjia   feat: 代码提交
1116
          children: [],
e5e4a3e6   梁保满   v1.3
1117
        },
aea3399d   liufangjia   feat: 代码提交
1118
      ],
77ebf04d   梁保满   个人版
1119
1120
1121
    },
    {
      path: "/ask",
3587d377   梁保满   归档流程调整
1122
      iconCls: "fa fa-bar-chart", // 图标样式class
77ebf04d   梁保满   个人版
1123
1124
1125
1126
1127
1128
      name: "随堂问报表",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/ask",
3587d377   梁保满   归档流程调整
1129
          iconCls: "fa fa-bar-chart", // 图标样式class
77ebf04d   梁保满   个人版
1130
          name: "随堂问报表",
d01c5799   梁保满   随堂问 报表开发
1131
          component: Ask,
aea3399d   liufangjia   feat: 代码提交
1132
          children: [],
77ebf04d   梁保满   个人版
1133
1134
        },
        {
d01c5799   梁保满   随堂问 报表开发
1135
1136
          path: "/askList",
          iconCls: "fa fa-bar-chart", // 图标样式class
d01c5799   梁保满   随堂问 报表开发
1137
1138
          name: "随堂问报表",
          component: AskList,
d01c5799   梁保满   随堂问 报表开发
1139
1140
1141
          children: [
            {
              path: "/askAnalysis",
3587d377   梁保满   归档流程调整
1142
              iconCls: "", // 图标样式class
d01c5799   梁保满   随堂问 报表开发
1143
1144
              name: "随堂问报表分析",
              component: AskAnalysis,
3587d377   梁保满   归档流程调整
1145
              parent: "askList",
aea3399d   liufangjia   feat: 代码提交
1146
              children: [],
d01c5799   梁保满   随堂问 报表开发
1147
            },
3587d377   梁保满   归档流程调整
1148
          ],
e5e4a3e6   梁保满   v1.3
1149
        },
3587d377   梁保满   归档流程调整
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
        {
          path: "/askArchiving",
          iconCls: "", // 图标样式class
          name: "随堂问已归档报表分析",
          component: AskArchiving,
          parent: "ask",
          hidden: true,
          meta: {
            keepAlive: true,
          },
aea3399d   liufangjia   feat: 代码提交
1160
1161
1162
          children: [],
        },
      ],
77ebf04d   梁保满   个人版
1163
1164
1165
    },
    {
      path: "/test",
3587d377   梁保满   归档流程调整
1166
      iconCls: "fa fa-pie-chart", // 图标样式class
77ebf04d   梁保满   个人版
1167
1168
1169
1170
1171
1172
      name: "即时测报表",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/test",
3587d377   梁保满   归档流程调整
1173
          iconCls: "fa fa-pie-chart", // 图标样式class
77ebf04d   梁保满   个人版
1174
          name: "",
d01c5799   梁保满   随堂问 报表开发
1175
          component: Test,
aea3399d   liufangjia   feat: 代码提交
1176
          children: [],
77ebf04d   梁保满   个人版
1177
1178
        },
        {
3587d377   梁保满   归档流程调整
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
          path: "/testList",
          name: "",
          component: TestList,
  
          children: [
            {
              path: "/testAnalysis",
              iconCls: "", // 图标样式class
              name: "即时测报表分析",
              component: TestAnalysis,
              parent: "test",
aea3399d   liufangjia   feat: 代码提交
1190
              children: [],
3587d377   梁保满   归档流程调整
1191
            },
aea3399d   liufangjia   feat: 代码提交
1192
          ],
e5e4a3e6   梁保满   v1.3
1193
1194
1195
        },
        {
          path: "/testArchiving",
3587d377   梁保满   归档流程调整
1196
          iconCls: "", // 图标样式class
d01c5799   梁保满   随堂问 报表开发
1197
1198
          name: "即时测已归档报表分析",
          component: TestArchiving,
e5e4a3e6   梁保满   v1.3
1199
          parent: "test",
8ef22809   梁保满   软件下载页面添加.net环境下载
1200
          hidden: true,
3587d377   梁保满   归档流程调整
1201
1202
1203
          meta: {
            keepAlive: true,
          },
aea3399d   liufangjia   feat: 代码提交
1204
1205
1206
          children: [],
        },
      ],
77ebf04d   梁保满   个人版
1207
    },
3587d377   梁保满   归档流程调整
1208
  
77ebf04d   梁保满   个人版
1209
1210
    {
      path: "/portrait",
d01c5799   梁保满   随堂问 报表开发
1211
      iconCls: "fa fa-users",
77ebf04d   梁保满   个人版
1212
1213
1214
1215
1216
1217
      name: "学生画像",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/portrait",
d01c5799   梁保满   随堂问 报表开发
1218
          iconCls: "fa fa-users",
77ebf04d   梁保满   个人版
1219
          name: "",
e371f2dc   梁保满   软件下载,学校,班级老师等报表导入...
1220
          component: Portrait,
77ebf04d   梁保满   个人版
1221
1222
1223
          meta: {
            keepAlive: true,
          },
aea3399d   liufangjia   feat: 代码提交
1224
          children: [],
77ebf04d   梁保满   个人版
1225
1226
1227
        },
        {
          path: "/portraitDetail",
d01c5799   梁保满   随堂问 报表开发
1228
          iconCls: "",
77ebf04d   梁保满   个人版
1229
          name: "授课端软件",
e371f2dc   梁保满   软件下载,学校,班级老师等报表导入...
1230
          component: PortraitDetail,
77ebf04d   梁保满   个人版
1231
          parent: "down",
aea3399d   liufangjia   feat: 代码提交
1232
1233
1234
          children: [],
        },
      ],
77ebf04d   梁保满   个人版
1235
1236
    },
    {
03bce046   梁保满   个人版调整
1237
      path: "/dataSync",
d01c5799   梁保满   随堂问 报表开发
1238
      iconCls: "fa fa-random",
03bce046   梁保满   个人版调整
1239
      name: "数据同步",
77ebf04d   梁保满   个人版
1240
1241
1242
1243
      component: Layout,
      alone: true,
      children: [
        {
03bce046   梁保满   个人版调整
1244
          path: "/dataSync",
d01c5799   梁保满   随堂问 报表开发
1245
          iconCls: "fa fa-random",
03bce046   梁保满   个人版调整
1246
          name: "",
d01c5799   梁保满   随堂问 报表开发
1247
          component: DataSync,
aea3399d   liufangjia   feat: 代码提交
1248
1249
1250
          children: [],
        },
      ],
77ebf04d   梁保满   个人版
1251
1252
1253
    },
    {
      path: "/down",
d01c5799   梁保满   随堂问 报表开发
1254
      iconCls: "fa fa-download",
77ebf04d   梁保满   个人版
1255
1256
1257
1258
1259
1260
      name: "软件下载",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/down",
d01c5799   梁保满   随堂问 报表开发
1261
          iconCls: "fa fa-download",
77ebf04d   梁保满   个人版
1262
          name: "发卡软件",
d01c5799   梁保满   随堂问 报表开发
1263
          component: Down,
aea3399d   liufangjia   feat: 代码提交
1264
1265
1266
          children: [],
        },
      ],
77ebf04d   梁保满   个人版
1267
    },
aea3399d   liufangjia   feat: 代码提交
1268
  ];
77ebf04d   梁保满   个人版
1269
  
6dc19f47   梁保满   路由及文件名调整
1270
  // 超级管理员路由表
77ebf04d   梁保满   个人版
1271
1272
1273
  const addRoutersAdmin = [
    {
      path: "/account",
d01c5799   梁保满   随堂问 报表开发
1274
      iconCls: "fa fa-id-card-o",
77ebf04d   梁保满   个人版
1275
1276
1277
1278
1279
1280
1281
      name: "账号管理",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/account",
          iconCls: "fa fa-id-card-o",
aea3399d   liufangjia   feat: 代码提交
1282
          name: "",
77ebf04d   梁保满   个人版
1283
          component: AdminAccount,
aea3399d   liufangjia   feat: 代码提交
1284
          children: [],
77ebf04d   梁保满   个人版
1285
        },
aea3399d   liufangjia   feat: 代码提交
1286
      ],
77ebf04d   梁保满   个人版
1287
1288
1289
    },
    {
      path: "/device",
d01c5799   梁保满   随堂问 报表开发
1290
      iconCls: "fa fa-dashboard",
77ebf04d   梁保满   个人版
1291
1292
1293
1294
1295
1296
      name: "设备状态",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/device",
d01c5799   梁保满   随堂问 报表开发
1297
          iconCls: "fa fa-dashboard",
77ebf04d   梁保满   个人版
1298
1299
1300
1301
1302
          name: "",
          component: AdminDevice,
          meta: {
            keepAlive: true,
          },
aea3399d   liufangjia   feat: 代码提交
1303
          children: [],
77ebf04d   梁保满   个人版
1304
1305
1306
        },
        {
          path: "/deviceLog",
d01c5799   梁保满   随堂问 报表开发
1307
          iconCls: "fa fa-list-alt",
77ebf04d   梁保满   个人版
1308
1309
1310
          name: "",
          component: AdminDeviceLog,
          parent: "device",
aea3399d   liufangjia   feat: 代码提交
1311
1312
1313
          children: [],
        },
      ],
77ebf04d   梁保满   个人版
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
    },
    {
      path: "/clientVersion",
      iconCls: "fa fa-cogs", // 图标样式class
      name: "版本管理",
      component: Layout,
      alone: true,
      children: [
        {
          path: "/clientVersion",
          iconCls: "fa fa-id-card-o",
aea3399d   liufangjia   feat: 代码提交
1325
          name: "",
77ebf04d   梁保满   个人版
1326
          component: AdminClientVersion,
aea3399d   liufangjia   feat: 代码提交
1327
          children: [],
77ebf04d   梁保满   个人版
1328
        },
aea3399d   liufangjia   feat: 代码提交
1329
      ],
77ebf04d   梁保满   个人版
1330
    },
aea3399d   liufangjia   feat: 代码提交
1331
  ];
77ebf04d   梁保满   个人版
1332
  
c1b532ad   梁保满   权限配置,路由基础设置
1333
  export default new Router({
aea3399d   liufangjia   feat: 代码提交
1334
1335
1336
1337
1338
1339
1340
1341
1342
    routes: defaultRouter,
  });
  export {
    defaultRouter,
    addrouters,
    addroutersPersonal,
    addRoutersAdmin,
    csAddrouters,
  };