index.js
3.88 KB
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
import Vue from 'vue'
import Router from 'vue-router'
import index from '@/page/index'
import tool from '@/page/tool'
import activityConfig from '@/page/activityConfig'
import activityConfigRedis from '@/page/activityConfigRedis'
import userInfo from '@/page/userInfo'
import callLinuxCommand from '@/page/callLinuxCommand'
import callLinuxLogByUid from '@/page/callLinuxLogByUid'
import apiTest from '@/page/apiTest'
import apiTestAime from '@/page/apiTestAime'
import tjUser from '@/page/tjUser'
import nlp from '@/page/nlp'
import toolAime from '@/page/toolAime'
import nlpApi from '@/page/nlpApi'
import hadoop from '@/page/hadoop'
import queryProvince from '@/page/queryProvince'
import selectActStart from '@/page/selectActStart'
import androidCode from '@/page/androidCode'
Vue.use(Router)
export default new Router({
routes: [
{
path: '/',
component: index,
meta: {
title: '测试工具平台'
},
children:[
{
path:'/',
component:tool,
meta: {
title: '测试工具平台'
}
},
{
path: '/tool',
component: tool,
meta: {
title: '测试工具平台'
}
},
{
path: '/activityConfig',
component: activityConfig,
name: 'activityConfig',
meta: {
title: '测试工具平台'
}
},
{
path: '/activityConfigRedis',
component: activityConfigRedis,
name: 'activityConfigRedis',
meta: {
title: '测试工具平台'
}
},
{
path: '/userInfo',
component: userInfo,
name: 'userInfo',
meta: {
title: '测试工具平台'
}
},
{
path: '/callLinuxCommand',
component: callLinuxCommand,
name: 'callLinuxCommand',
meta: {
title: '测试工具平台'
}
},
{
path: '/callLinuxLogByUid',
component: callLinuxLogByUid,
name: 'callLinuxLogByUid',
meta: {
title: '测试工具平台'
}
},
{
path: '/selectActStart',
component: selectActStart,
name: 'selectActStart',
meta: {
title: '测试工具平台'
}
},
{
path: '/queryProvince',
component: queryProvince,
name: 'queryProvince',
meta: {
title: '测试工具平台'
}
},
{
path: '/tjUser',
component: tjUser,
name: 'tjUser',
meta: {
title: '测试工具平台'
}
},
{
path: '/nlp',
component: nlp,
name: 'nlp',
meta: {
title: '测试工具平台'
}
},
{
path: '/toolAime',
component: toolAime,
name: 'toolAime',
meta: {
title: '测试工具平台'
}
},
{
path: '/hadoop',
component: hadoop,
name: 'hadoop',
meta: {
title: '测试工具平台'
}
},
{
path: '/androidCode',
component: androidCode,
name: 'androidCode',
meta: {
title: '测试工具平台'
}
}
]
},
{
path: '/apiTest',
component: apiTest,
name: 'apiTest',
meta: {
title: '测试工具平台'
}
},
{
path: '/apiTestAime',
component: apiTestAime,
name: 'apiTestAime',
meta: {
title: '测试工具平台'
}
},
{
path: '/nlpApi',
component: nlpApi,
name: 'nlpApi',
meta: {
title: '测试工具平台'
}
}
]
})