Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qa-platform-ui
Commits
1f444afa
Commit
1f444afa
authored
Jun 24, 2021
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改路由
parent
3e7ea127
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
46 additions
and
46 deletions
+46
-46
index.js
src/router/index.js
+20
-20
AddCase.vue
src/views/auto/AddCase.vue
+3
-3
AddInterface.vue
src/views/auto/AddInterface.vue
+3
-3
EditScene.vue
src/views/auto/EditScene.vue
+2
-2
SceneList.vue
src/views/auto/SceneList.vue
+1
-1
menu.json
src/views/layout/leftAside/menu.json
+17
-17
No files found.
src/router/index.js
View file @
1f444afa
...
...
@@ -67,28 +67,28 @@ const router = new Router({
component
:
Main
},
{
path
:
'
/xyqb/gen
LoanData
'
,
name
:
'
捞
数据
'
,
path
:
'
/xyqb/gen
'
,
name
:
'
造
数据
'
,
component
:
XyqbGenLoanData
},
{
path
:
'
/xyqb/get
LoanData
'
,
name
:
'
造
数据
'
,
path
:
'
/xyqb/get
'
,
name
:
'
捞
数据
'
,
component
:
XyqbGetLoanData
},
{
path
:
'
/vcc/get
Data
'
,
name
:
'
查
数据
'
,
path
:
'
/vcc/get
'
,
name
:
'
VCC捞
数据
'
,
component
:
VccGetData
},
{
path
:
'
/vcc/gen
Data
'
,
name
:
'
VCC捞
数据
'
,
path
:
'
/vcc/gen
'
,
name
:
'
造
数据
'
,
component
:
VccGenData
},
{
path
:
'
/vcc/check
Data
'
,
name
:
'
造
数据
'
,
path
:
'
/vcc/check
'
,
name
:
'
查
数据
'
,
component
:
VccCheckData
},
{
...
...
@@ -97,12 +97,12 @@ const router = new Router({
component
:
Mock
},
{
path
:
'
/effect/
kdsp/
decrypt
'
,
path
:
'
/effect/decrypt
'
,
name
:
'
kdsp解密
'
,
component
:
kdspDecrypt
},
{
path
:
'
/effect/
jenkins/
build
'
,
path
:
'
/effect/build
'
,
name
:
'
构建记录
'
,
component
:
JenkinsBuildInfo
},
...
...
@@ -113,17 +113,17 @@ const router = new Router({
},
// 2021-4-08新添加项目管理页面
{
path
:
'
/auto/
ProjectLis
t
'
,
path
:
'
/auto/
projec
t
'
,
name
:
ProjectList
,
component
:
ProjectList
},
{
path
:
'
/auto/
ModelList
'
,
path
:
'
/auto/
module
'
,
name
:
ModelList
,
component
:
ModelList
},
{
path
:
'
/auto/
InterfaceList
'
,
path
:
'
/auto/
interface
'
,
name
:
InterfaceList
,
component
:
InterfaceList
},
...
...
@@ -133,7 +133,7 @@ const router = new Router({
component
:
AddInterface
},
{
path
:
'
/auto/
CaseList
'
,
path
:
'
/auto/
testcase
'
,
name
:
CaseList
,
component
:
CaseList
},
...
...
@@ -143,7 +143,7 @@ const router = new Router({
component
:
AddCase
},
{
path
:
'
/auto/
SceneList
'
,
path
:
'
/auto/
scene
'
,
name
:
SceneList
,
component
:
SceneList
},
...
...
@@ -154,7 +154,7 @@ const router = new Router({
component
:
EditScene
},
{
path
:
'
/
jira/notify
'
,
path
:
'
/
qa/process
'
,
component
:
JiraNotify
},
{
...
...
@@ -175,7 +175,7 @@ const router = new Router({
},
// 添加报告
{
path
:
'
/auto/
ReportLis
t
'
,
path
:
'
/auto/
repor
t
'
,
name
:
ReportList
,
component
:
ReportList
},
...
...
@@ -186,7 +186,7 @@ const router = new Router({
},
// 添加同步数据库
{
path
:
'
/effect/
SynD
atabase
'
,
path
:
'
/effect/
d
atabase
'
,
name
:
SynDatabase
,
component
:
SynDatabase
}
...
...
src/views/auto/AddCase.vue
View file @
1f444afa
...
...
@@ -385,7 +385,7 @@ export default {
editCase
(
this
.
caseForm
).
then
((
resp
)
=>
{
if
(
resp
.
data
.
data
===
true
)
{
this
.
$message
.
success
(
'
修改成功!
'
)
this
.
$router
.
push
(
'
CaseList
'
)
this
.
$router
.
push
(
'
testcase
'
)
// 刷新列表页
this
.
sendResh
()
}
else
{
...
...
@@ -398,7 +398,7 @@ export default {
if
(
resp
.
data
.
data
===
true
)
{
this
.
$message
.
success
(
'
添加成功!
'
)
// 返回列表页
this
.
$router
.
push
(
'
CaseList
'
)
this
.
$router
.
push
(
'
testcase
'
)
// 刷新列表页
this
.
sendResh
()
}
else
{
...
...
@@ -413,7 +413,7 @@ export default {
// 取消按钮
cancelCaseFrom
()
{
// 返回列表页
this
.
$router
.
push
(
'
CaseList
'
)
this
.
$router
.
push
(
'
testcase
'
)
},
// 刷新列表
sendResh
()
{
...
...
src/views/auto/AddInterface.vue
View file @
1f444afa
...
...
@@ -373,7 +373,7 @@ export default {
editInterface
(
this
.
interfaceForm
).
then
((
resp
)
=>
{
if
(
resp
.
data
.
data
===
true
)
{
this
.
$message
.
success
(
'
修改成功!
'
)
this
.
$router
.
push
(
'
InterfaceList
'
)
this
.
$router
.
push
(
'
interface
'
)
// 刷新列表页
this
.
sendResh
()
}
else
{
...
...
@@ -386,7 +386,7 @@ export default {
if
(
resp
.
data
.
data
===
true
)
{
this
.
$message
.
success
(
'
添加成功!
'
)
// 返回列表页
this
.
$router
.
push
(
'
InterfaceList
'
)
this
.
$router
.
push
(
'
interface
'
)
// 刷新列表页
this
.
sendResh
()
this
.
interfaceForm
.
name
=
''
...
...
@@ -408,7 +408,7 @@ export default {
// 取消按钮
cancelInterfaceFrom
()
{
// 返回列表页
this
.
$router
.
push
(
'
InterfaceList
'
)
this
.
$router
.
push
(
'
interface
'
)
},
// 导入heads和请求参数
importMsg
()
{
...
...
src/views/auto/EditScene.vue
View file @
1f444afa
...
...
@@ -609,7 +609,7 @@ export default {
if
(
resp
.
data
.
data
===
true
)
{
this
.
$message
.
success
(
'
保存成功!
'
)
// 返回列表页
this
.
$router
.
push
({
path
:
'
SceneList
'
})
this
.
$router
.
push
({
path
:
'
scene
'
})
// 刷新列表页
this
.
sendResh
()
}
else
{
...
...
@@ -623,7 +623,7 @@ export default {
// 取消按钮事件
cancelSceneCaseFrom
()
{
// 返回列表页
this
.
$router
.
push
({
path
:
'
SceneList
'
})
this
.
$router
.
push
({
path
:
'
scene
'
})
},
// 刷新列表
sendResh
()
{
...
...
src/views/auto/SceneList.vue
View file @
1f444afa
...
...
@@ -281,7 +281,7 @@ export default {
},
// 查看报告
checkReport
(
row
)
{
this
.
$router
.
push
({
path
:
'
ReportLis
t
'
})
this
.
$router
.
push
({
path
:
'
repor
t
'
})
// bus使用
this
.
$nextTick
(
function
()
{
// DOM 现在更新了
...
...
src/views/layout/leftAside/menu.json
View file @
1f444afa
...
...
@@ -9,13 +9,13 @@
"id"
:
1
,
"title"
:
"现金捞"
,
"icon"
:
"iconfont icon-money"
,
"path"
:
"/xyqb/get
LoanData
"
"path"
:
"/xyqb/get"
},
{
"id"
:
2
,
"title"
:
"现金造"
,
"icon"
:
"iconfont icon-money2"
,
"path"
:
"/xyqb/gen
LoanData
"
"path"
:
"/xyqb/gen"
}
]
},
...
...
@@ -28,19 +28,19 @@
"id"
:
1
,
"title"
:
"消金查"
,
"icon"
:
"iconfont icon-query"
,
"path"
:
"/vcc/check
Data
"
"path"
:
"/vcc/check"
},
{
"id"
:
2
,
"title"
:
"消金捞"
,
"icon"
:
"iconfont icon-consumption-fill"
,
"path"
:
"/vcc/get
Data
"
"path"
:
"/vcc/get"
},
{
"id"
:
3
,
"title"
:
"消金造"
,
"icon"
:
"iconfont icon-consumption"
,
"path"
:
"/vcc/gen
Data
"
"path"
:
"/vcc/gen"
},
{
"id"
:
4
,
...
...
@@ -78,13 +78,13 @@
"id"
:
1
,
"title"
:
"kdsp解密"
,
"icon"
:
"iconfont icon-shujujiemi"
,
"path"
:
"/effect/
kdsp/
decrypt"
"path"
:
"/effect/decrypt"
},
{
"id"
:
2
,
"title"
:
"构建记录"
,
"icon"
:
"iconfont icon-structure"
,
"path"
:
"/effect/
jenkins/
build"
"path"
:
"/effect/build"
},
{
"id"
:
3
,
...
...
@@ -108,7 +108,7 @@
"id"
:
6
,
"title"
:
"同步数据库"
,
"icon"
:
"iconfont icon-cached"
,
"path"
:
"/effect/
SynD
atabase"
"path"
:
"/effect/
d
atabase"
}
]
},
...
...
@@ -121,50 +121,50 @@
"id"
:
1
,
"title"
:
"项目管理"
,
"icon"
:
"iconfont icon-xiangmu1"
,
"path"
:
"/auto/
ProjectLis
t"
"path"
:
"/auto/
projec
t"
},
{
"id"
:
2
,
"title"
:
"模块管理"
,
"icon"
:
"iconfont icon-modular"
,
"path"
:
"/auto/
ModelList
"
"path"
:
"/auto/
module
"
},
{
"id"
:
3
,
"title"
:
"接口管理"
,
"icon"
:
"iconfont icon-interface"
,
"path"
:
"/auto/
InterfaceList
"
"path"
:
"/auto/
interface
"
},
{
"id"
:
4
,
"title"
:
"用例管理"
,
"icon"
:
"iconfont icon-case"
,
"path"
:
"/auto/
CaseList
"
"path"
:
"/auto/
testcase
"
},
{
"id"
:
5
,
"title"
:
"场景管理"
,
"icon"
:
"iconfont icon-scenes"
,
"path"
:
"/auto/
SceneList
"
"path"
:
"/auto/
scene
"
},
{
"id"
:
6
,
"title"
:
"报告管理"
,
"icon"
:
"iconfont icon-report"
,
"path"
:
"/auto/
ReportLis
t"
"path"
:
"/auto/
repor
t"
}
]
},
{
"id"
:
6
,
"title"
:
"
Jira相关
"
,
"title"
:
"
质量保证
"
,
"icon"
:
"iconfont icon-jira"
,
"child"
:
[
{
"id"
:
1
,
"title"
:
"
jira-钉钉通知
"
,
"title"
:
"
测试流程
"
,
"icon"
:
"iconfont icon-notice"
,
"path"
:
"/
jira/notify
"
"path"
:
"/
qa/process
"
}
]
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment