Commit 1f444afa authored by 黎博's avatar 黎博

修改路由

parent 3e7ea127
...@@ -67,28 +67,28 @@ const router = new Router({ ...@@ -67,28 +67,28 @@ const router = new Router({
component: Main component: Main
}, },
{ {
path: '/xyqb/genLoanData', path: '/xyqb/gen',
name: '数据', name: '数据',
component: XyqbGenLoanData component: XyqbGenLoanData
}, },
{ {
path: '/xyqb/getLoanData', path: '/xyqb/get',
name: '数据', name: '数据',
component: XyqbGetLoanData component: XyqbGetLoanData
}, },
{ {
path: '/vcc/getData', path: '/vcc/get',
name: '数据', name: 'VCC捞数据',
component: VccGetData component: VccGetData
}, },
{ {
path: '/vcc/genData', path: '/vcc/gen',
name: 'VCC捞数据', name: '数据',
component: VccGenData component: VccGenData
}, },
{ {
path: '/vcc/checkData', path: '/vcc/check',
name: '数据', name: '数据',
component: VccCheckData component: VccCheckData
}, },
{ {
...@@ -97,12 +97,12 @@ const router = new Router({ ...@@ -97,12 +97,12 @@ const router = new Router({
component: Mock component: Mock
}, },
{ {
path: '/effect/kdsp/decrypt', path: '/effect/decrypt',
name: 'kdsp解密', name: 'kdsp解密',
component: kdspDecrypt component: kdspDecrypt
}, },
{ {
path: '/effect/jenkins/build', path: '/effect/build',
name: '构建记录', name: '构建记录',
component: JenkinsBuildInfo component: JenkinsBuildInfo
}, },
...@@ -113,17 +113,17 @@ const router = new Router({ ...@@ -113,17 +113,17 @@ const router = new Router({
}, },
// 2021-4-08新添加项目管理页面 // 2021-4-08新添加项目管理页面
{ {
path: '/auto/ProjectList', path: '/auto/project',
name: ProjectList, name: ProjectList,
component: ProjectList component: ProjectList
}, },
{ {
path: '/auto/ModelList', path: '/auto/module',
name: ModelList, name: ModelList,
component: ModelList component: ModelList
}, },
{ {
path: '/auto/InterfaceList', path: '/auto/interface',
name: InterfaceList, name: InterfaceList,
component: InterfaceList component: InterfaceList
}, },
...@@ -133,7 +133,7 @@ const router = new Router({ ...@@ -133,7 +133,7 @@ const router = new Router({
component: AddInterface component: AddInterface
}, },
{ {
path: '/auto/CaseList', path: '/auto/testcase',
name: CaseList, name: CaseList,
component: CaseList component: CaseList
}, },
...@@ -143,7 +143,7 @@ const router = new Router({ ...@@ -143,7 +143,7 @@ const router = new Router({
component: AddCase component: AddCase
}, },
{ {
path: '/auto/SceneList', path: '/auto/scene',
name: SceneList, name: SceneList,
component: SceneList component: SceneList
}, },
...@@ -154,7 +154,7 @@ const router = new Router({ ...@@ -154,7 +154,7 @@ const router = new Router({
component: EditScene component: EditScene
}, },
{ {
path: '/jira/notify', path: '/qa/process',
component: JiraNotify component: JiraNotify
}, },
{ {
...@@ -175,7 +175,7 @@ const router = new Router({ ...@@ -175,7 +175,7 @@ const router = new Router({
}, },
// 添加报告 // 添加报告
{ {
path: '/auto/ReportList', path: '/auto/report',
name: ReportList, name: ReportList,
component: ReportList component: ReportList
}, },
...@@ -186,7 +186,7 @@ const router = new Router({ ...@@ -186,7 +186,7 @@ const router = new Router({
}, },
// 添加同步数据库 // 添加同步数据库
{ {
path: '/effect/SynDatabase', path: '/effect/database',
name: SynDatabase, name: SynDatabase,
component: SynDatabase component: SynDatabase
} }
......
...@@ -385,7 +385,7 @@ export default { ...@@ -385,7 +385,7 @@ export default {
editCase(this.caseForm).then((resp) => { editCase(this.caseForm).then((resp) => {
if (resp.data.data === true) { if (resp.data.data === true) {
this.$message.success('修改成功!') this.$message.success('修改成功!')
this.$router.push('CaseList') this.$router.push('testcase')
// 刷新列表页 // 刷新列表页
this.sendResh() this.sendResh()
} else { } else {
...@@ -398,7 +398,7 @@ export default { ...@@ -398,7 +398,7 @@ export default {
if (resp.data.data === true) { if (resp.data.data === true) {
this.$message.success('添加成功!') this.$message.success('添加成功!')
// 返回列表页 // 返回列表页
this.$router.push('CaseList') this.$router.push('testcase')
// 刷新列表页 // 刷新列表页
this.sendResh() this.sendResh()
} else { } else {
...@@ -413,7 +413,7 @@ export default { ...@@ -413,7 +413,7 @@ export default {
// 取消按钮 // 取消按钮
cancelCaseFrom() { cancelCaseFrom() {
// 返回列表页 // 返回列表页
this.$router.push('CaseList') this.$router.push('testcase')
}, },
// 刷新列表 // 刷新列表
sendResh() { sendResh() {
......
...@@ -373,7 +373,7 @@ export default { ...@@ -373,7 +373,7 @@ export default {
editInterface(this.interfaceForm).then((resp) => { editInterface(this.interfaceForm).then((resp) => {
if (resp.data.data === true) { if (resp.data.data === true) {
this.$message.success('修改成功!') this.$message.success('修改成功!')
this.$router.push('InterfaceList') this.$router.push('interface')
// 刷新列表页 // 刷新列表页
this.sendResh() this.sendResh()
} else { } else {
...@@ -386,7 +386,7 @@ export default { ...@@ -386,7 +386,7 @@ export default {
if (resp.data.data === true) { if (resp.data.data === true) {
this.$message.success('添加成功!') this.$message.success('添加成功!')
// 返回列表页 // 返回列表页
this.$router.push('InterfaceList') this.$router.push('interface')
// 刷新列表页 // 刷新列表页
this.sendResh() this.sendResh()
this.interfaceForm.name = '' this.interfaceForm.name = ''
...@@ -408,7 +408,7 @@ export default { ...@@ -408,7 +408,7 @@ export default {
// 取消按钮 // 取消按钮
cancelInterfaceFrom() { cancelInterfaceFrom() {
// 返回列表页 // 返回列表页
this.$router.push('InterfaceList') this.$router.push('interface')
}, },
// 导入heads和请求参数 // 导入heads和请求参数
importMsg() { importMsg() {
......
...@@ -609,7 +609,7 @@ export default { ...@@ -609,7 +609,7 @@ export default {
if (resp.data.data === true) { if (resp.data.data === true) {
this.$message.success('保存成功!') this.$message.success('保存成功!')
// 返回列表页 // 返回列表页
this.$router.push({ path: 'SceneList' }) this.$router.push({ path: 'scene' })
// 刷新列表页 // 刷新列表页
this.sendResh() this.sendResh()
} else { } else {
...@@ -623,7 +623,7 @@ export default { ...@@ -623,7 +623,7 @@ export default {
// 取消按钮事件 // 取消按钮事件
cancelSceneCaseFrom() { cancelSceneCaseFrom() {
// 返回列表页 // 返回列表页
this.$router.push({ path: 'SceneList' }) this.$router.push({ path: 'scene' })
}, },
// 刷新列表 // 刷新列表
sendResh() { sendResh() {
......
...@@ -281,7 +281,7 @@ export default { ...@@ -281,7 +281,7 @@ export default {
}, },
// 查看报告 // 查看报告
checkReport(row) { checkReport(row) {
this.$router.push({ path: 'ReportList' }) this.$router.push({ path: 'report' })
// bus使用 // bus使用
this.$nextTick(function () { this.$nextTick(function () {
// DOM 现在更新了 // DOM 现在更新了
......
...@@ -9,13 +9,13 @@ ...@@ -9,13 +9,13 @@
"id": 1, "id": 1,
"title": "现金捞", "title": "现金捞",
"icon": "iconfont icon-money", "icon": "iconfont icon-money",
"path": "/xyqb/getLoanData" "path": "/xyqb/get"
}, },
{ {
"id": 2, "id": 2,
"title": "现金造", "title": "现金造",
"icon": "iconfont icon-money2", "icon": "iconfont icon-money2",
"path": "/xyqb/genLoanData" "path": "/xyqb/gen"
} }
] ]
}, },
...@@ -28,19 +28,19 @@ ...@@ -28,19 +28,19 @@
"id": 1, "id": 1,
"title": "消金查", "title": "消金查",
"icon": "iconfont icon-query", "icon": "iconfont icon-query",
"path": "/vcc/checkData" "path": "/vcc/check"
}, },
{ {
"id": 2, "id": 2,
"title": "消金捞", "title": "消金捞",
"icon": "iconfont icon-consumption-fill", "icon": "iconfont icon-consumption-fill",
"path": "/vcc/getData" "path": "/vcc/get"
}, },
{ {
"id": 3, "id": 3,
"title": "消金造", "title": "消金造",
"icon": "iconfont icon-consumption", "icon": "iconfont icon-consumption",
"path": "/vcc/genData" "path": "/vcc/gen"
}, },
{ {
"id": 4, "id": 4,
...@@ -78,13 +78,13 @@ ...@@ -78,13 +78,13 @@
"id": 1, "id": 1,
"title": "kdsp解密", "title": "kdsp解密",
"icon": "iconfont icon-shujujiemi", "icon": "iconfont icon-shujujiemi",
"path": "/effect/kdsp/decrypt" "path": "/effect/decrypt"
}, },
{ {
"id": 2, "id": 2,
"title": "构建记录", "title": "构建记录",
"icon": "iconfont icon-structure", "icon": "iconfont icon-structure",
"path": "/effect/jenkins/build" "path": "/effect/build"
}, },
{ {
"id": 3, "id": 3,
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
"id": 6, "id": 6,
"title": "同步数据库", "title": "同步数据库",
"icon": "iconfont icon-cached", "icon": "iconfont icon-cached",
"path": "/effect/SynDatabase" "path": "/effect/database"
} }
] ]
}, },
...@@ -121,50 +121,50 @@ ...@@ -121,50 +121,50 @@
"id": 1, "id": 1,
"title": "项目管理", "title": "项目管理",
"icon": "iconfont icon-xiangmu1", "icon": "iconfont icon-xiangmu1",
"path": "/auto/ProjectList" "path": "/auto/project"
}, },
{ {
"id": 2, "id": 2,
"title": "模块管理", "title": "模块管理",
"icon": "iconfont icon-modular", "icon": "iconfont icon-modular",
"path": "/auto/ModelList" "path": "/auto/module"
}, },
{ {
"id": 3, "id": 3,
"title": "接口管理", "title": "接口管理",
"icon": "iconfont icon-interface", "icon": "iconfont icon-interface",
"path": "/auto/InterfaceList" "path": "/auto/interface"
}, },
{ {
"id": 4, "id": 4,
"title": "用例管理", "title": "用例管理",
"icon": "iconfont icon-case", "icon": "iconfont icon-case",
"path": "/auto/CaseList" "path": "/auto/testcase"
}, },
{ {
"id": 5, "id": 5,
"title": "场景管理", "title": "场景管理",
"icon": "iconfont icon-scenes", "icon": "iconfont icon-scenes",
"path": "/auto/SceneList" "path": "/auto/scene"
}, },
{ {
"id": 6, "id": 6,
"title": "报告管理", "title": "报告管理",
"icon": "iconfont icon-report", "icon": "iconfont icon-report",
"path": "/auto/ReportList" "path": "/auto/report"
} }
] ]
}, },
{ {
"id": 6, "id": 6,
"title": "Jira相关", "title": "质量保证",
"icon": "iconfont icon-jira", "icon": "iconfont icon-jira",
"child": [ "child": [
{ {
"id": 1, "id": 1,
"title": "jira-钉钉通知", "title": "测试流程",
"icon": "iconfont icon-notice", "icon": "iconfont icon-notice",
"path": "/jira/notify" "path": "/qa/process"
} }
] ]
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment