1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
| import Main from '@/components/main'
| import parentView from '@/components/parent-view'
|
| /**
| * iview-admin中meta除了原生参数外可配置的参数:
| * meta: {
| * title: { String|Number|Function }
| * 显示在侧边栏、面包屑和标签栏的文字
| * 使用'{{ 多语言字段 }}'形式结合多语言使用,例子看多语言的路由配置;
| * 可以传入一个回调函数,参数是当前路由对象,例子看动态路由和带参路由
| * hideInBread: (false) 设为true后此级路由将不会出现在面包屑中,示例看QQ群路由配置
| * hideInMenu: (false) 设为true后在左侧菜单不会显示该页面选项
| * notCache: (false) 设为true后页面在切换标签后不会缓存,如果需要缓存,无需设置这个字段,而且需要设置页面组件name属性和路由配置的name一致
| * access: (null) 可访问该页面的权限数组,当前路由设置的权限会影响子路由
| * icon: (-) 该页面在左侧菜单、面包屑和标签导航处显示的图标,如果是自定义图标,需要在图标名称前加下划线'_'
| * beforeCloseName: (-) 设置该字段,则在关闭当前tab页时会去'@/router/before-close.js'里寻找该字段名对应的方法,作为关闭前的钩子函数
| * }
| */
| export default [{
| path: '/login',
| name: 'login',
| meta: {
| title: '登录',
| hideInMenu: true
| },
| component: () =>
| // import ('@/view/login/LoginView.vue')
| import('@/view/login/login.vue')
| },
| {
| path: '/forgot',
| name: 'forgot',
| meta: {
| title: '忘记密码',
| hideInMenu: true
| },
| component: () =>
| import('@/view/login/forgot.vue')
| },
| {
| path: '/register',
| name: 'register',
| meta: {
| title: '注册',
| hideInMenu: true
| },
| component: () =>
| import('@/view/login/RegisterView.vue')
| },
| {
| path: '/UserAgreement',
| name: 'UserAgreement',
| meta: {
| title: '用户协议',
| hideInMenu: true
| },
| component: () =>
| import('@/view/login/UserAgreement.vue')
| },
|
| {
| path: '/privacyPolicy',
| name: 'privacyPolicy',
| meta: {
| title: '隐私政策',
| hideInMenu: true
| },
| component: () =>
| import('@/view/login/privacyPolicy.vue')
| },
| {
| path: '/newList',
| name: 'newList',
| meta: {
| title: '新闻',
| hideInMenu: true
| },
| component: () =>
| import('@/view/login/newList.vue')
| },
|
|
| {
| path: '/globe',
| name: 'globe',
| redirect: '/globePage',
| component: Main,
| meta: {
| hideInMenu: true
| },
| children: [{
| path: '/globePage/:name',
| name: 'globePage',
| meta: {
| hideInMenu: true,
| title: '全球新闻',
| icon: 'custom custom-guquan',
| },
| component: () =>
| import('@/view/MacroData/MacroDataNew/newDetail.vue')
| }]
| },
|
|
|
| {
| path: '/',
| name: '_home',
| redirect: '/home',
| component: Main,
| meta: {
| hideInMenu: true,
| notCache: true
| },
| children: [{
| path: '/home',
| name: 'home',
| meta: {
| hideInMenu: true,
| title: '首页',
| notCache: true,
| // icon: 'md-home'
| icon: 'custom custom-home',
| },
| component: () =>
| import('@/view/single-page/home')
| }]
| },
|
|
|
|
|
|
| {
| path: '/authority',
| name: 'authority',
| meta: {
| // access: ['no_admin'],
| icon: 'custom custom-xiangmuzhuti',
| title: '升级VIP',
| hideInMenu: true
| },
| component: Main,
| children: [{
| path: '/authority',
| name: 'authority',
| meta: {
| hideInMenu: true,
| title: '升级VIP',
| icon: 'custom custom-xiangmuzhuti'
| },
| component: () =>
| import('@/view/authority/authority.vue')
| },
|
| ]
| },
| {
| path: '/authorityVIP',
| name: 'authorityVIP',
| meta: {
| // access: ['no_admin'],
| icon: 'custom custom-xiangmuzhuti',
| title: '查看VIP',
| hideInMenu: true
| },
| component: Main,
| children: [{
| path: '/authorityVIP',
| name: 'authorityVIP',
| meta: {
| hideInMenu: true,
| title: '查看VIP',
| icon: 'custom custom-xiangmuzhuti'
| },
| component: () =>
| import('@/view/authority/authority.vue')
| },
|
| ]
| },
| {
| path: '/changePassword',
| name: 'changePassword',
| meta: {
| // access: ['no_admin'],
| icon: 'custom custom-xiangmuzhuti',
| title: '账号管理',
| hideInMenu: true
| },
| component: Main,
| children: [{
| path: '/changePassword',
| name: 'changePassword',
| meta: {
| hideInMenu: true,
| title: '账号管理',
| icon: 'custom custom-xiangmuzhuti'
| },
| component: () =>
| import('@/view/changePassword/changePassword1.vue')
| },
|
| ]
| },
| {
| path: '/rechargeManagement',
| name: 'rechargeManagement',
| meta: {
| // access: ['no_admin'],
| icon: 'custom custom-xiangmuzhuti',
| title: '账单管理',
| hideInMenu: true
| },
| component: Main,
| children: [{
| path: '/rechargeManagement',
| name: 'rechargeManagement',
| meta: {
| hideInMenu: true,
| title: '账单管理',
| icon: 'custom custom-xiangmuzhuti'
| },
| component: () =>
| import('@/view/changePassword/rechargeManagement.vue')
| },
|
| ]
| },
| {
| path: '/consumptionRecords',
| name: 'consumptionRecords',
| meta: {
| // access: ['no_admin'],
| icon: 'custom custom-xiangmuzhuti',
| title: '消费记录',
| hideInMenu: true
| },
| component: Main,
| children: [{
| path: '/consumptionRecords',
| name: 'consumptionRecords',
| meta: {
| hideInMenu: true,
| title: '消费记录',
| icon: 'custom custom-xiangmuzhuti'
| },
| component: () =>
| import('@/view/changePassword/consumptionRecords.vue')
| },
|
| ]
| },
| {
| path: '/custom',
| name: 'custom',
| meta: {
| // access: ['no_admin'],
| icon: 'custom custom-ego-favfull',
| title: '我的自选'
| },
| component: Main,
| children: [{
| path: '/customPage',
| name: 'customPage',
| meta: {
| title: '我的自选',
| icon: 'custom custom-ego-favfull'
| },
| component: () =>
| import('@/view/custom-page/custom-page.vue')
| },
|
| ]
| },
|
| {
| path: '/MacroData',
| name: 'MacroData',
| meta: {
| icon: 'custom custom-bigdata-full',
| title: '宏观\n数据'
| },
| component: Main,
| children: [{
| path: '/MacroDataNew',
| name: 'MacroDataNew',
| meta: {
| icon: 'custom custom-gongkaiguquan',
| title: '新闻大数据'
| },
| component: parentView,
| children: [
| {
| path: '/Alerts',
| name: 'Alerts',
| meta: {
| icon: 'custom custom-guquan',
| title: '7*24小时快讯'
| },
| component: () =>
| import('@/view/MacroData/MacroDataNew/Alerts.vue')
| },
| {
| path: '/alertsGlobe',
| name: 'alertsGlobe',
| meta: {
| icon: 'custom custom-guquan',
| title: '全球新闻资讯'
| },
| component: () =>
| import('@/view/MacroData/MacroDataNew/alertsGlobe.vue')
| },
| {
| // access: ['no_admin'],
| path: '/rongNew',
| name: 'rongNew',
| meta: {
| icon: 'custom custom-guquan',
| title: '融资租赁新闻资讯'
| },
| component: () =>
| import('@/view/MacroData/MacroDataNew/rongNew.vue')
| },
| ]
| },
| {
| path: '/Macroeconomic',
| name: 'Macroeconomic',
| meta: {
| icon: 'custom custom-fangkuan',
| title: '宏观大数据'
| },
| component: parentView,
| children: [{
| path: '/Macroeconomic-ch',
| name: 'Macroeconomic-ch',
| meta: {
| icon: 'custom custom-fangkuan',
| title: `中国宏观经济待上线`
| },
| component: () =>
| import('@/view/MacroData/Macroeconomic/Macroeconomic-ch.vue')
| },
| {
| path: '/Macroeconomic-am',
| name: 'Macroeconomic-am',
| meta: {
| icon: 'custom custom-fangkuan',
| title: `美国宏观经济待上线`
| },
| component: () =>
| import('@/view/MacroData/Macroeconomic/Macroeconomic-am.vue')
| },
| // {
| // path: '/Astock',
| // name: 'Astock',
| // meta: {
| // notCache: true,
| // icon: 'custom custom-fangkuan',
| // title: 'A股市场全景分析待上线'
| // },
| // component: () =>
| // import('@/view/risk-control/Astock.vue')
| // },
| ]
| },
|
| ]
| },
|
|
| {
| path: '/MacIndustryAnalysisroData',
| name: 'MacIndustryAnalysisroData',
| meta: {
| icon: 'custom custom-bigdata-full',
| title: '产业\n分析'
| },
| component: Main,
| children: [
| {
| path: '/agriculture',
| name: 'agriculture',
| meta: {
| icon: 'custom custom-gongkaiguquan',
| title: '农林牧渔'
| },
| component: parentView,
| children: [
| {
| path: '/agricultureIndustryMap',
| name: 'agricultureIndustryMap',
| meta: {
| icon: 'custom custom-guquan',
| title: '农林牧渔-产业图谱'
| },
| component: () =>
| import('@/view/MacIndustryAnalysisroData/agriculture/IndustryMap1.vue')
| },
| {
| path: '/agricultureComSearch',
| name: 'agricultureComSearch',
| meta: {
| icon: 'custom custom-guquan',
| title: '农林牧渔-主营分析'
| },
| component: () =>
| import('@/view/MacIndustryAnalysisroData/agriculture/comSearch.vue')
| },
| // {
|
| // path: '/agricultureChain',
| // name: 'agricultureChain',
| // meta: {
| // icon: 'custom custom-guquan',
| // title: '农林牧渔-产业链分析'
| // },
| // component: () =>
| // import('@/view/MacIndustryAnalysisroData/agriculture/Chain.vue')
| // },
| ]
| },
| {
| path: '/traffic',
| name: 'traffic',
| meta: {
| icon: 'custom custom-gongkaiguquan',
| title: '交通物流'
| },
| component: parentView,
| children: [
| {
| path: '/trafficIndustryMap',
| name: 'trafficIndustryMap',
| meta: {
| icon: 'custom custom-guquan',
| title: '交通物流-产业图谱待上线'
| },
| component: () =>
| import('@/view/MacIndustryAnalysisroData/traffic/IndustryMap.vue')
| },
| {
| path: '/trafficComSearch',
| name: 'trafficComSearch',
| meta: {
| icon: 'custom custom-guquan',
| title: '交通物流-主营分析待上线'
| },
| component: () =>
| import('@/view/MacIndustryAnalysisroData/traffic/comSearch.vue')
| },
| // {
|
| // path: '/trafficChain',
| // name: 'trafficChain',
| // meta: {
| // icon: 'custom custom-guquan',
| // title: '交通物流-产业链分析'
| // },
| // component: () =>
| // import('@/view/MacIndustryAnalysisroData/traffic/Chain.vue')
| // },
| ]
| },
| ]
| },
| {
| path: '/businessOpportunity',
| name: 'businessOpportunity',
| meta: {
| icon: 'custom custom-bigdata-full',
| title: '商机\n挖掘'
| },
| component: Main,
| children: [
| {
| path: '/agriculture',
| name: 'agriculture',
| meta: {
| icon: 'custom custom-gongkaiguquan',
| title: '农林牧渔'
| },
| component: parentView,
| children: [
| {
| path: '/agricultureProsperity',
| name: 'agricultureProsperity',
| meta: {
| icon: 'custom custom-guquan',
| title: '农林牧渔-景气度矩阵'
| },
| component: () =>
| import('@/view/businessOpportunity/agriculture/Prosperity.vue')
| },
| {
|
| path: '/agricultureChainStatistics',
| name: 'agricultureChainstatistics',
| meta: {
| icon: 'custom custom-guquan',
| title: '农林牧渔-上市地位'
| },
| component: () =>
| import('@/view/businessOpportunity/agriculture/ChainStatistics.vue')
| },
| {
| path: '/agricultureIndustryPlat',
| name: 'agricultureIndustryPlat',
| meta: {
| icon: 'custom custom-guquan',
| title: '农林牧渔-产业地图'
| },
| component: () =>
| import('@/view/businessOpportunity/agriculture/IndustryPlat.vue')
| },
|
| ]
| },
| {
| path: '/traffic',
| name: 'traffic',
| meta: {
| icon: 'custom custom-gongkaiguquan',
| title: '交通物流'
| },
| component: parentView,
| children: [
| {
| path: '/trafficProsperity',
| name: 'trafficProsperity',
| meta: {
| icon: 'custom custom-guquan',
| title: '交通物流-景气度矩阵待上线'
| },
| component: () =>
| import('@/view/businessOpportunity/traffic/Prosperity.vue')
| },
| {
|
| path: '/trafficChainStatistics',
| name: 'trafficChainStatistics',
| meta: {
| icon: 'custom custom-guquan',
| title: '交通物流-上市地位待上线'
| },
| component: () =>
| import('@/view/businessOpportunity/traffic/ChainStatistics.vue')
| },
| {
| path: '/trafficIndustryPlat',
| name: 'trafficIndustryPlat',
| meta: {
| icon: 'custom custom-guquan',
| title: '交通物流-产业地图待上线'
| },
| component: () =>
| import('@/view/businessOpportunity/traffic/IndustryPlat.vue')
| },
|
|
| ]
| },
| ]
| },
| {
| path: '/largeModel',
| name: 'largeModel',
| meta: {
| icon: 'custom custom-bigdata-full',
| title: '大模\n型'
| },
| component: Main,
| children: [
| {
| path: '/GPT',
| name: 'GPT',
| meta: {
| icon: 'custom custom-gongkaiguquan',
| title: '通用大模型'
| },
| component: parentView,
| children: [
| {
| path: '/GPT',
| name: 'GPT',
| meta: {
| icon: 'custom custom-guquan',
| title: '智能问答'
| },
| component: () =>
| import('@/view/largeModel/gpt.vue')
| },
| ]
| },
| {
| path: '/intelligentPush',
| name: 'intelligentPush',
| meta: {
| icon: 'custom custom-gongkaiguquan',
| title: '垂直大模型'
| },
| component: parentView,
| children: [
| {
| path: '/intelligentPush',
| name: 'intelligentPush',
| meta: {
| icon: 'custom custom-guquan',
| title: '农业大模型'
| },
| component: () =>
| import('@/view/largeModel/intelligentPush.vue')
| },
|
| ]
| }
|
| ]
| },
|
|
| {
| path: '/401',
| name: 'error_401',
| meta: {
| hideInMenu: true
| },
| component: () =>
| import('@/view/error-page/401.vue')
| },
| {
| path: '/500',
| name: 'error_500',
| meta: {
| hideInMenu: true
| },
| component: () =>
| import('@/view/error-page/500.vue')
| },
| {
| path: '*',
| name: 'error_404',
| meta: {
| hideInMenu: true
| },
| component: () =>
| import('@/view/error-page/404.vue')
| }
| ]
|
|