qinzhipeng_v 5 years ago
parent
commit
845450dc76
2 changed files with 363 additions and 414 deletions
  1. 344 401
      src/router/index.js
  2. 19 13
      src/views/projectManage/taskList/taskIndex.vue

+ 344 - 401
src/router/index.js

@@ -60,158 +60,138 @@ export const constantRoutes = [{
   hidden: true
 },
 
-// {
-//   path: '/home',
-//   component: Layout,
-//   redirect: '/dashboard',
-//   children: [{
-//     path: 'dashboard',
-//     name: 'Dashboard',
-//     component: () => import('@/views/dashboard/index'),
-//     meta: { title: 'Dashboard', icon: 'dashboard' }
-//   }]
-// },
 {
-  path: '/Platform',
+  path: '/Platform/Workbench',
+  name: '工作台',
   component: Layout,
-  redirect: '/Platform/useCasePage',
-  name: '质惠平台',
-  meta: { title: '质惠平台', icon: '质惠平台' },
+  redirect: '/Platform/Workbench/PersonalWorkbench',
+  meta: { title: '工作台', icon: '工作台' },
   children: [{
-    path: '/Platform/projectManage',
-    name: '项目管理',
+    path: 'PersonalWorkbench',
+    name: '个人工作台',
+    component: () =>
+          import('@/views/Platform/Workbench/PersonalWorkbench'),
+    meta: { title: '个人工作台' }
+  },
+  {
+    path: 'TeamWorkbench',
+    name: '团队工作台',
+    component: () =>
+          import('@/views/Platform/Workbench/TeamWorkbench'),
+    meta: { title: '团队工作台' }
+  }
+  ]
+},
+
+{
+  path: '/Platform/projectManage',
+  name: '项目管理',
+  component: Layout,
+  redirect: '/Platform/projectManage/projectList/projectIndex',
+  meta: { title: '项目管理', icon: '项目管理' },
+  children: [{
+    path: 'projectIndex',
+    name: '项目',
     component: () =>
-          import('@/views/projectManage/projectList/testa'),
-    redirect: '/Platform/projectManage/projectList/projectIndex',
-    meta: { title: '项目管理', icon: '项目管理' },
-    children: [{
-      path: 'projectIndex',
-      name: '项目',
-      component: () =>
               import('@/views/projectManage/projectList/projectIndex'),
-      meta: { title: '项目' }
-    },
-    {
-      path: 'projectViewDetails',
-      name: '项目详情',
-      hidden: true,
-      component: () =>
+    meta: { title: '项目' }
+  },
+  {
+    path: 'projectViewDetails',
+    name: '项目详情',
+    hidden: true,
+    component: () =>
               import('@/views/projectManage/projectList/projectViewDetails'),
-      meta: { title: '项目详情' }
-    },
-    // {
-    //   path: 'projectList',
-    //   name: '项目列表',
-    //   // hidden: true,
-    //   component: () => import('@/views/projectManage/projectList/projectListIndex'),
-    //   meta: { title: '项目列表' }
-    // },
-    // {
-    //   path: 'projectCreate',
-    //   hidden: true,
-    //   name: '项目创建',
-    //   component: () => import('@/views/projectManage/projectList/projectCreate'),
-    //   meta: { title: '项目创建' }
-    // },
-    // {
-    //   path: 'projectPreview',
-    //   hidden: true,
-    //   name: '项目查看',
-    //   component: () => import('@/views/projectManage/projectList/projectPreview'),
-    //   meta: { title: '项目查看' }
-    // },
-    {
-      path: 'taskIndex',
-      name: '任务',
-      component: () =>
-              import('@/views/projectManage/taskList/taskIndex'),
-      meta: { title: '任务' }
-    },
-    {
-      path: 'taskViewDetails',
-      name: '任务详情',
-      hidden: true,
-      component: () =>
-              import('@/views/projectManage/taskList/taskViewDetails'),
-      meta: { title: '任务详情' }
-    },
-    {
-      path: 'taskList',
-      name: '任务列表',
-      component: () =>
-              import('@/views/projectManage/taskList/taskListIndex'),
-      meta: { title: '任务列表' }
-    },
-    {
-      path: 'taskCreate',
-      hidden: true,
-      name: '任务创建',
-      component: () =>
-              import('@/views/projectManage/taskList/taskCreate'),
-      meta: { title: '任务创建' }
-    },
-    {
-      path: 'taskPreview',
-      hidden: true,
-      name: '任务查看',
-      component: () =>
-              import('@/views/projectManage/taskList/taskPreview'),
-      meta: { title: '任务查看' }
-    },
-    {
-      path: 'taskUpdate',
-      hidden: true,
-      name: '任务更新',
-      component: () =>
-              import('@/views/projectManage/taskList/taskUpdateCreate'),
-      meta: { title: '任务更新' }
-    },
-    {
-      path: 'versionsCalendar',
-      // hidden: true,
-      name: '版本日历',
-      component: () =>
-              import('@/views/projectManage/taskList/versionsCalendar'),
-      meta: { title: '版本日历' }
-    },
-    {
-      path: 'requirement',
-      name: '需求',
-      component: () =>
+    meta: { title: '项目详情' }
+  },
+  {
+    path: 'requirement',
+    name: '需求',
+    component: () =>
               import('@/views/projectManage/requirement/list/index.vue'),
-      meta: { title: '需求' }
-    },
-    {
-      path: 'requirementDetails/:id',
-      name: '需求详情',
-      hidden: true,
-      props: true,
-      component: () =>
+    meta: { title: '需求' }
+  },
+  {
+    path: 'requirementDetails/:id',
+    name: '需求详情',
+    hidden: true,
+    props: true,
+    component: () =>
               import('@/views/projectManage/requirement/details/index.vue'),
-      meta: { title: '需求详情' }
-    },
-    {
-      path: 'version',
-      name: '版本',
-      component: () =>
+    meta: { title: '需求详情' }
+  },
+  {
+    path: 'taskIndex',
+    name: '任务',
+    component: () =>
+              import('@/views/projectManage/taskList/taskIndex'),
+    meta: { title: '任务' }
+  },
+  {
+    path: 'taskViewDetails',
+    name: '任务详情',
+    hidden: true,
+    component: () =>
+              import('@/views/projectManage/taskList/taskViewDetails'),
+    meta: { title: '任务详情' }
+  },
+  {
+    path: 'version',
+    name: '版本',
+    component: () =>
               import('@/views/projectManage/version/list/index.vue'),
-      meta: { title: '版本' }
-    }
-    ]
+    meta: { title: '版本' }
+  },
+  {
+    path: 'versionsCalendar',
+    name: '版本日历',
+    component: () =>
+              import('@/views/projectManage/taskList/versionsCalendar'),
+    meta: { title: '版本日历' }
+  },
+  {
+    path: '/Platform/defectManagement',
+    name: '缺陷',
+    component: () =>
+          import('@/views/Platform/defectManagement'),
+    meta: { title: '缺陷' }
+  },
+  {
+    path: '/Platform/defectManagement/bugCreate',
+    name: '新建Bug',
+    hidden: true,
+    component: () =>
+          import('@/views/Platform/bugManage/bugCreate'),
+    meta: { title: '新建Bug' }
+  },
+  {
+    path: '/Platform/defectManagement/bugQuery',
+    name: '查看Bug',
+    hidden: true,
+    component: () =>
+          import('@/views/Platform/bugManage/bugQuery'),
+    meta: { title: '查看Bug' }
+  },
+  {
+    path: '/Platform/defectManagement/bugUpdate',
+    name: '更新Bug',
+    hidden: true,
+    component: () =>
+          import('@/views/Platform/bugManage/bugUpdate'),
+    meta: { title: '更新Bug' }
   },
   {
     path: '/Platform/useCasePage',
-    name: '测试计划管理',
+    name: '测试',
     component: () =>
           import('@/views/Platform/useCasePage'),
-    meta: { title: '测试计划管理' },
+    meta: { title: '测试' },
     children: [{
       path: 'useCasePage',
-      name: '用例管理',
-      hidden: true,
+      name: '测试用例',
       component: () =>
               import('@/views/Platform/useCasePage'),
-      meta: { title: '用例管理' }
+      meta: { title: '测试用例' }
     },
     {
       path: 'createUse',
@@ -232,21 +212,19 @@ export const constantRoutes = [{
     {
       path: 'testPageData',
       name: '测试计划',
-      hidden: true,
       component: () =>
               import('@/views/Platform/testPage.vue'),
       meta: { title: '测试计划' }
     }
     ]
   },
-
   {
     path: '/Platform/presentation',
-    name: '报告管理',
+    name: '报告',
     component: () =>
           import('@/views/Platform/presentation/testa'),
     redirect: '/Platform/presentation/testPresentation',
-    meta: { title: '报告管理' },
+    meta: { title: '报告' },
     children: [{
       path: 'testPresentation',
       name: '日报报告',
@@ -333,147 +311,15 @@ export const constantRoutes = [{
       meta: { title: '新增客户端提测报告' }
     }
     ]
-  },
-  {
-    path: '/Platform/defectManagement',
-    name: '缺陷管理',
-    component: () =>
-          import('@/views/Platform/defectManagement'),
-    meta: { title: '缺陷管理' }
-  },
-  {
-    path: '/Platform/defectManagement/bugCreate',
-    name: '新建Bug',
-    hidden: true,
-    component: () =>
-          import('@/views/Platform/bugManage/bugCreate'),
-    meta: { title: '新建Bug' }
-  },
-  {
-    path: '/Platform/defectManagement/bugQuery',
-    name: '查看Bug',
-    hidden: true,
-    component: () =>
-          import('@/views/Platform/bugManage/bugQuery'),
-    meta: { title: '查看Bug' }
-  },
-  {
-    path: '/Platform/defectManagement/bugUpdate',
-    name: '更新Bug',
-    hidden: true,
-    component: () =>
-          import('@/views/Platform/bugManage/bugUpdate'),
-    meta: { title: '更新Bug' }
-  },
-  {
-    path: '/Platform/setUp',
-    // component: Layout,
-    name: '设置',
-    hidden: true,
-    // meta: { title: '设置' },
-    component: () =>
-          import('@/views/Platform/setUp/testa'),
-    meta: { title: '设置' },
-    children: [{
-      path: 'systemSetup',
-      name: '系统设置',
-      hidden: true,
-      component: () =>
-              import('@/views/Platform/setUp/systemSetup/testa'),
-      meta: { title: '系统设置' },
-      children: [{
-        path: 'bizPage',
-        name: '业务线',
-        hidden: true,
-        component: () =>
-                  import('@/views/Platform/setUp/systemSetup/bizPage'),
-        meta: { title: '业务线' }
-      },
-      {
-        path: 'platformPage',
-        name: '平台类型',
-        hidden: true,
-        component: () =>
-                  import('@/views/Platform/setUp/systemSetup/platformPage'),
-        meta: { title: '平台类型' }
-      },
-      {
-        path: 'modulePage',
-        name: '业务模块',
-        hidden: true,
-        component: () =>
-                  import('@/views/Platform/setUp/systemSetup/modulePage'),
-        meta: { title: '业务模块' }
-      },
-      {
-        path: 'projectPage',
-        name: '工程模块',
-        hidden: true,
-        component: () =>
-                  import('@/views/Platform/setUp/systemSetup/projectPage'),
-        meta: { title: '工程模块' }
-      },
-      {
-        path: 'confList',
-        name: '业务配置列表',
-        hidden: true,
-        component: () =>
-                  import('@/views/Platform/setUp/systemSetup/confList'),
-        meta: { title: '业务配置列表' }
-      },
-      {
-        path: 'addConf',
-        name: '新增配置',
-        hidden: true,
-        component: () =>
-                  import('@/views/Platform/setUp/systemSetup/addConf'),
-        meta: { title: '新增配置' }
-      }
-
-      ]
-    },
-    {
-      path: 'teamPage',
-      name: '团队设置',
-      hidden: true,
-      component: () =>
-              import('@/views/Platform/setUp/teamPage'),
-      meta: { title: '团队设置' }
-    }
-    ]
-  }
-  ]
-},
-{
-  path: '/Platform/Workbench',
-  name: '工作台',
-  component: Layout,
-  redirect: '/Platform/Workbench/PersonalWorkbench',
-  meta: { title: '工作台', icon: '工作台' },
-  children: [{
-    path: 'PersonalWorkbench',
-    name: '个人工作台',
-    component: () =>
-          import('@/views/Platform/Workbench/PersonalWorkbench'),
-    meta: { title: '个人工作台' }
-  },
-  {
-    path: 'TeamWorkbench',
-    name: '团队工作台',
-    component: () =>
-          import('@/views/Platform/Workbench/TeamWorkbench'),
-    meta: { title: '团队工作台' }
-  }
-  ]
+  }]
 },
 
 {
   path: '/env-platform',
   component: Layout,
-  hidden: true,
   redirect: '/env-platform/env',
   name: '环境',
-  meta: { title: '环境平台', icon: 'env_platform' },
+  meta: { title: '环境管理', icon: 'env_platform' },
   children: [{
     path: 'env',
     name: 'env',
@@ -533,142 +379,166 @@ export const constantRoutes = [{
   }
   ]
 },
-
 {
-  path: '/mock',
+  path: '/views',
   component: Layout,
-  hidden: true,
-  redirect: '/mock/interface',
-  name: 'Mock',
-  meta: { title: 'Mock服务', icon: 'MQ' },
+  name: '工具集合',
+  meta: { title: '工具集合', icon: 'MQ' },
   children: [{
-    path: 'interface',
-    name: 'Interface',
+    path: '/views/mock',
+    name: 'Mock服务',
     component: () =>
+    import('@/views/Platform/presentation/testa'),
+    meta: { title: 'Mock服务' },
+    children: [{
+      path: 'interface',
+      name: 'Interface',
+      component: () =>
           import('@/views/mock/interface'),
-    meta: { title: 'dubbo mock' }
-  },
-  {
-    path: 'interface/:rule',
-    name: 'Rule',
-    hidden: true,
-    component: () =>
+      meta: { title: 'dubbo mock' }
+    },
+    {
+      path: 'interface/:rule',
+      name: 'Rule',
+      hidden: true,
+      component: () =>
           import('@/views/mock/rule'),
-    meta: { title: 'dubbo规则' }
-  },
-  {
-    path: 'httpmock',
-    name: 'httpmock',
-    component: () =>
+      meta: { title: 'dubbo规则' }
+    },
+    {
+      path: 'httpmock',
+      name: 'httpmock',
+      component: () =>
           import('@/views/mock/httpmock'),
-    meta: { title: 'http mock' }
-  },
-  {
-    path: 'httpmock/:httprule',
-    name: 'Httprule',
-    hidden: true,
-    component: () =>
+      meta: { title: 'http mock' }
+    },
+    {
+      path: 'httpmock/:httprule',
+      name: 'Httprule',
+      hidden: true,
+      component: () =>
           import('@/views/mock/httprule'),
-    meta: { title: 'httpmock规则' }
-  }
-  ]
-},
-
-{
-  path: '/data',
-  component: Layout,
-  hidden: true,
-  redirect: '/data/upload-file',
-  name: '数据中心',
-  meta: { title: '数据中心', icon: 'examlpe' },
-  children: [{
-    path: 'upload-file',
-    name: 'jar包管理',
-    component: () =>
-          import('@/views/data/upload.vue'),
-    meta: { title: 'jar包管理' }
-  },
-  {
-    path: 'item',
-    name: '动态数据',
-    component: () =>
-          import('@/views/data/index.vue'),
-    meta: { title: '动态数据' }
-  }
-  ]
-},
-
-{
-  path: '/virtualDevices',
-  component: Layout,
-  hidden: true,
-  redirect: '/virtualDevices/HTvehicle',
-  name: '虚拟硬件',
-  meta: { title: '虚拟硬件', icon: 'zhiliangdapan' },
-  children: [{
-    path: 'HTvehicle',
-    name: '单车',
-    component: () =>
-          import('@/views/virtualDevices/HTvehicle'),
-    meta: { title: '单车' }
-  },
-  {
-    path: 'ebike',
-    name: '电单车',
-    component: () =>
-          import('@/views/virtualDevices/HMvehicle.vue'),
-    meta: { title: '电单车' }
-  },
-  {
-    path: 'ebike/ebikeCreate',
-    name: '新增电单车',
-    hidden: true,
-    component: () =>
-          import('@/views/virtualDevices/HMvehicleCreate.vue'),
-    meta: { title: '新增电单车' }
-  }
-  ]
-},
-
-{
-  path: '/online-quality',
-  component: Layout,
-  hidden: true,
-  redirect: '/online-quality/check-list',
-  name: '上线质检',
-  meta: { title: '上线质检', icon: '上线质检' },
-  children: [{
-    path: 'check-list',
-    name: '模板管理',
-    component: () =>
-          import('@/views/online-quality/CheckConfig/index.vue'),
-    meta: { title: '模板管理' }
+      meta: { title: 'httpmock规则' }
+    }
+    ]
   },
   {
-    path: 'history-task',
-    name: '历史任务',
+    path: '/online-quality',
     component: () =>
-          import('@/views/online-quality/HistoryTask/index.vue'),
-    meta: { title: '历史任务' }
+    import('@/views/Platform/presentation/testa'),
+    redirect: '/online-quality/check-list',
+    name: '上线质检',
+    meta: { title: '上线质检' },
+    children: [{
+      path: 'check-list',
+      name: '模板管理',
+      component: () =>
+            import('@/views/online-quality/CheckConfig/index.vue'),
+      meta: { title: '模板管理' }
+    },
+    {
+      path: 'history-task',
+      name: '历史任务',
+      component: () =>
+            import('@/views/online-quality/HistoryTask/index.vue'),
+      meta: { title: '历史任务' }
+    },
+    {
+      path: 'history-task-details/:taskId',
+      props: true,
+      name: '历史任务详情',
+      hidden: true,
+      component: () =>
+            import('@/views/online-quality/HistoryTask/taskDetails.vue'),
+      meta: { title: '历史任务详情' }
+    },
+    {
+      path: 'block-server',
+      name: '阻断服务',
+      component: () =>
+            import('@/views/online-quality/BlockServer/index.vue'),
+      meta: { title: '阻断服务' }
+    }
+    ]
   },
   {
-    path: 'history-task-details/:taskId',
-    props: true,
-    name: '历史任务详情',
-    hidden: true,
+    path: '/virtualDevices',
     component: () =>
-          import('@/views/online-quality/HistoryTask/taskDetails.vue'),
-    meta: { title: '历史任务详情' }
+    import('@/views/Platform/presentation/testa'),
+    redirect: '/virtualDevices/HTvehicle',
+    name: '虚拟硬件',
+    meta: { title: '虚拟硬件' },
+    children: [{
+      path: 'HTvehicle',
+      name: '单车',
+      component: () =>
+            import('@/views/virtualDevices/HTvehicle'),
+      meta: { title: '单车' }
+    },
+    {
+      path: 'ebike',
+      name: '电单车',
+      component: () =>
+            import('@/views/virtualDevices/HMvehicle.vue'),
+      meta: { title: '电单车' }
+    },
+    {
+      path: 'ebike/ebikeCreate',
+      name: '新增电单车',
+      hidden: true,
+      component: () =>
+            import('@/views/virtualDevices/HMvehicleCreate.vue'),
+      meta: { title: '新增电单车' }
+    }
+    ]
   },
   {
-    path: 'block-server',
-    name: '阻断服务',
+    path: '/data',
     component: () =>
-          import('@/views/online-quality/BlockServer/index.vue'),
-    meta: { title: '阻断服务' }
+    import('@/views/Platform/presentation/testa'),
+    redirect: '/data/upload-file',
+    name: '数据构造',
+    meta: { title: '数据构造' },
+    children: [{
+      path: 'upload-file',
+      name: 'jar包管理',
+      component: () =>
+            import('@/views/data/upload.vue'),
+      meta: { title: 'jar包管理' }
+    },
+    {
+      path: 'item',
+      name: '动态数据',
+      component: () =>
+            import('@/views/data/index.vue'),
+      meta: { title: '动态数据' }
+    }
+    ]
   }
   ]
 },
+// {
+//   path: '/data',
+//   component: Layout,
+//   redirect: '/data/upload-file',
+//   name: '数据构造',
+//   meta: { title: '数据构造', icon: 'examlpe' },
+//   children: [{
+//     path: 'upload-file',
+//     name: 'jar包管理',
+//     component: () =>
+//           import('@/views/data/upload.vue'),
+//     meta: { title: 'jar包管理' }
+//   },
+//   {
+//     path: 'item',
+//     name: '动态数据',
+//     component: () =>
+//           import('@/views/data/index.vue'),
+//     meta: { title: '动态数据' }
+//   }
+//   ]
+// },
 
 { path: '*', redirect: '/404', hidden: true },
 
@@ -742,22 +612,95 @@ export const constantRoutes = [{
   }
   ]
 },
+
 {
-  path: '/ToConfigure',
-  name: '组织配置',
+  path: '/Platform/setUp',
   component: Layout,
-  redirect: '/ToConfigure/configure',
-  // hidden: true,
-  meta: { title: '组织配置', icon: '上线质检' },
-  children: [{
-    path: 'configure',
-    name: '组织配置',
-    // hidden: true,
-    component: () =>
-        import('@/views/ToConfigure/configure'),
-    meta: { title: '组织配置', icon: '组织配置' }
-  }]
+  name: '配置',
+  meta: { title: '配置', icon: '组织配置' },
+  children: [
+    {
+      path: 'configure',
+      name: '组织配置',
+      component: () =>
+          import('@/views/ToConfigure/configure'),
+      meta: { title: '组织配置' }
+    },
+    {
+      path: 'systemSetup',
+      name: '系统设置',
+      component: () =>
+            import('@/views/Platform/setUp/systemSetup/testa'),
+      meta: { title: '系统设置' },
+      children: [{
+        path: 'bizPage',
+        name: '业务线',
+        component: () =>
+                import('@/views/Platform/setUp/systemSetup/bizPage'),
+        meta: { title: '业务线' }
+      },
+      {
+        path: 'platformPage',
+        name: '平台类型',
+        component: () =>
+                import('@/views/Platform/setUp/systemSetup/platformPage'),
+        meta: { title: '平台类型' }
+      },
+      {
+        path: 'modulePage',
+        name: '业务模块',
+        component: () =>
+                import('@/views/Platform/setUp/systemSetup/modulePage'),
+        meta: { title: '业务模块' }
+      },
+      {
+        path: 'projectPage',
+        name: '工程模块',
+        component: () =>
+                import('@/views/Platform/setUp/systemSetup/projectPage'),
+        meta: { title: '工程模块' }
+      },
+      {
+        path: 'confList',
+        name: '业务配置列表',
+        component: () =>
+                import('@/views/Platform/setUp/systemSetup/confList'),
+        meta: { title: '业务配置列表' }
+      },
+      {
+        path: 'addConf',
+        name: '新增配置',
+        component: () =>
+                import('@/views/Platform/setUp/systemSetup/addConf'),
+        meta: { title: '新增配置' }
+      }
+
+      ]
+    },
+    {
+      path: 'teamPage',
+      name: '团队设置',
+      component: () =>
+            import('@/views/Platform/setUp/teamPage'),
+      meta: { title: '团队设置' }
+    }
+  ]
 }
+// {
+//   path: '/ToConfigure',
+//   name: '组织配置',
+//   component: Layout,
+//   redirect: '/ToConfigure/configure',
+//   // hidden: true,
+//   meta: { title: '组织配置', icon: '上线质检' },
+//   children: [{
+//     path: 'configure',
+//     name: '组织配置',
+//     component: () =>
+//         import('@/views/ToConfigure/configure'),
+//     meta: { title: '组织配置', icon: '组织配置' }
+//   }]
+// }
 ]
 
 const createRouter = () => new Router({

+ 19 - 13
src/views/projectManage/taskList/taskIndex.vue

@@ -196,9 +196,7 @@
           :header-cell-style="{ background: '#6AB4FF', color: '#FFFFFF' }"
           show-overflow-tooltip="true"
         >
-          <el-table-column label="" min-width="30" align="center">
-            {{ '' }}
-          </el-table-column>
+          <el-table-column label min-width="30" align="center">{{ '' }}</el-table-column>
           <el-table-column label="任务名称" min-width="200" show-overflow-tooltip>
             <template slot-scope="scope">
               <span style="cursor: pointer;" @click="link_task(scope.row.id)">{{ scope.row.name }}</span>
@@ -223,16 +221,26 @@
             <template slot-scope="scope">{{ scope.row.noTestString }}</template>
           </el-table-column>
           <el-table-column label="开发负责人" min-width="80" align="center">
-            <template slot-scope="scope">{{ scope.row.rdObject !== null? scope.row.rdObject.name: '' }}</template>
+            <template
+              slot-scope="scope"
+            >{{ scope.row.rdObject !== null? scope.row.rdObject.name: '' }}</template>
           </el-table-column>
           <el-table-column label="测试负责人" min-width="80" align="center">
-            <template slot-scope="scope">{{ scope.row.qaObject !== null?scope.row.qaObject.name: '' }}</template>
+            <template
+              slot-scope="scope"
+            >{{ scope.row.qaObject !== null?scope.row.qaObject.name: '' }}</template>
           </el-table-column>
           <el-table-column label="开发" min-width="80" align="center" show-overflow-tooltip>
-            <template slot-scope="scope">{{ scope.row.rdList }}</template>
+            <template slot-scope="scope">
+              <div v-for="item of scope.row.rdList" :key="item">{{ item.name }}</div>
+              <!-- {{ scope.row.rdList }} -->
+            </template>
           </el-table-column>
           <el-table-column label="测试" min-width="100" align="center" show-overflow-tooltip>
-            <template slot-scope="scope">{{ scope.row.qaList }}</template>
+            <template slot-scope="scope">
+              <div v-for="item of scope.row.qaList" :key="item">{{ item.name }}</div>
+              <!-- {{ scope.row.qaList }} -->
+            </template>
           </el-table-column>
           <el-table-column label="创建日期" min-width="120" align="center" show-overflow-tooltip>
             <template slot-scope="scope">{{ scope.row.createTime }}</template>
@@ -343,12 +351,10 @@ export default {
         // 获取项目(查询)
         this.projectList = res.data
       })
-      configShowRequirementVersionEnum('').then(
-        res => {
-          // 获取需求(查询)
-          this.demandList = res.data.belongingRequire
-        }
-      )
+      configShowRequirementVersionEnum('').then(res => {
+        // 获取需求(查询)
+        this.demandList = res.data.belongingRequire
+      })
     },
     remoteMethod(query) {
       // 人员查询