panxiandiao_i 5 жил өмнө
parent
commit
20290a5d1e

+ 3 - 3
src/router/index.js

@@ -265,21 +265,21 @@ export const constantRoutes = [
         meta: { title: '缺陷管理' }
       },
       {
-        path: 'bugCreate',
+        path: '/Platform/defectManagement/bugCreate',
         name: '新建Bug',
         hidden: true,
         component: () => import('@/views/Platform/bugManage/bugCreate'),
         meta: { title: '新建Bug' }
       },
       {
-        path: 'bugQuery',
+        path: '/Platform/defectManagement/bugQuery',
         name: '查看Bug',
         hidden: true,
         component: () => import('@/views/Platform/bugManage/bugQuery'),
         meta: { title: '查看Bug' }
       },
       {
-        path: 'bugUpdate',
+        path: '/Platform/defectManagement/bugUpdate',
         name: '更新Bug',
         hidden: true,
         component: () => import('@/views/Platform/bugManage/bugUpdate'),

+ 3 - 3
src/views/projectManage/taskList/taskPreview.vue

@@ -366,7 +366,7 @@ export default {
             this.$router.push({ path: '/Platform/presentation/ClientAcceptance', query: { task: ele }}) // 客户端准出
             break
           case 4:
-            this.$router.push({ path: '/Platform/defectManagement/bugCreate', query: { id: ele.id }}) // 缺陷报告
+            this.$router.push({ name: '新建Bug', query: { id: ele.id }}) // 缺陷报告
             break
         }
       } else {
@@ -381,7 +381,7 @@ export default {
             this.$router.push({ path: '/Platform/presentation/Acceptance', query: { task: ele }}) // 服务端准出
             break
           case 4:
-            this.$router.push({ path: '/Platform/defectManagement/bugCreate', query: { id: ele.id }}) // 缺陷报告
+            this.$router.push({ name: '新建Bug', query: { id: ele.id }}) // 缺陷报告
             break
         }
       }
@@ -403,7 +403,7 @@ export default {
     },
     // bug报告跳转
     turnToBugCreate(e) {
-      this.$router.push({ path: '/Platform/defectManagement/bugQuery', query: { id: e }}) // 缺陷报告
+      this.$router.push({ name: '查看Bug', query: { id: e }}) // 缺陷报告
     },
     successFun(successText) {
       this.$notify({ title: 'Success', message: `${successText} Successfully`, type: 'success', duration: 2000 })